在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
& _) L0 |+ A {' L* _. a" ~. ]" Y当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 $ n* r/ J/ Q- r/ v! T& G- F m
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
8 ^! C0 b2 X" P, R- t2 S+ V `
0 @! u* ~0 M: N" F" b, p) k3 d1 C* ^, |
4 I; `1 d; o5 h2 `! \' ]6 x- p00404990 >/$ 81EC 7C020000 sub esp, 27C 6 Z0 X& y! F C
00404996 |. 53 push ebx
+ X' v2 C s3 R4 R( s- T8 t( C00404997 |. 55 push ebp
. |4 X% G: G/ I( a: \00404998 |. 56 push esi
3 l9 O1 T/ ^" _) n3 _' }( c3 q. `( o- [00404999 |. 57 push edi $ D& G& J, ^! F4 h% l, m3 {
0040499A |. 8BF1 mov esi, ecx
7 x2 q- z8 I/ X, i* O9 D% p0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF
5 K( R) } }" H( E7 u5 _004049A1 |. E8 BAC6FFFF call 00401060
6 p+ w) s7 T* C; N' L; I' g004049A6 |. 83C4 04 add esp, 4
% D# B, O$ O3 z5 h, D" s0 E004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
1 D( c9 M4 c8 I w" B004049AE |. E8 4DC6FFFF call 00401000 & a( _) K: K1 U
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf . u+ }3 i, w$ ]" {( D: L6 A, K
004049B9 |. 83C4 04 add esp, 4 0 X% j/ o: {7 N4 X/ i; s9 k# ]
004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] ) X. v: T+ J$ d* a# S6 E
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
: F' y) ]! A7 _, P3 L004049C9 |. 53 push ebx ; /<%s> 4 E5 }7 X* C, e( ?' f
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\" ) t4 G+ C" l* v4 z" }5 N/ O) q2 R" U
004049CF |. 50 push eax ; |s
$ a$ g& b% |7 N5 _1 S004049D0 |. FFD7 call edi ; \sprintf
+ w$ x$ a; a J2 {004049D2 |. 83C4 0C add esp, 0C
. E! Y/ o7 v/ J8 C9 s004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] 3 d% P+ e1 N# e7 f
004049DC |. 51 push ecx
! \2 r& E- T" L9 d( F1 m9 Y. {004049DD |. 6A 00 push 0
: b( {2 x8 O4 K2 z: W, s. V( n( U$ y004049DF |. 8BCE mov ecx, esi
+ w, i+ j: r8 W# M004049E1 |. E8 1A0A0000 call 00405400
; d5 w' b3 }4 F004049E6 |. 53 push ebx 0 [2 c9 _' b* B
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] % x/ O( }$ ?8 @/ a$ v! }+ J
004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" - c" V" P$ T0 p6 _
004049F3 |. 52 push edx
: @! h3 c4 A2 _+ b004049F4 |. FFD7 call edi
( p& S# y1 h+ p7 A004049F6 |. 83C4 0C add esp, 0C
* R9 g8 v2 U3 w' @+ x004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] " M# B6 g5 f1 o% _* b- U
00404A00 |. 8BCE mov ecx, esi + B y7 c4 o# S z) c
00404A02 |. 50 push eax # s# j$ h2 v; E4 u
00404A03 |. 6A 02 push 2 & s# F6 a& T( ~$ U
00404A05 |. E8 F6090000 call 00405400 & p3 |4 f" |! P7 s
00404A0A |. 6A 14 push 14 ) j, a v% g; j6 ]
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] 2 G# q$ C- J4 R! ]& x$ c$ h1 ^
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
9 u6 a: U1 ~8 L$ r" H7 v1 ^+ y00404A16 |. 6A 00 push 0
" e' O! Z8 X& X" _* K' ?/ h2 m& Z00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] . |; |" z3 R$ a, O
00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
0 D4 ?- P1 U% S' i* N9 N4 J00404A24 |. E8 F71D0000 call 00406820 , _' A: C& P3 r, f
00404A29 |. 6A 10 push 10 ) i P1 n' S1 S8 f! h' [; ^
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48] 8 \0 ^2 ?' M, t9 e- U
00404A2F |. E8 2C1E0000 call 00406860 ; Q$ s0 m5 F' ]! g3 s9 V
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
5 l# l: r9 ~+ F- k6 C# ~00404A38 |. E8 A3060000 call 004050E0 , D& ]5 t) S) v9 V5 h
00404A3D |. 68 00800000 push 8000
, d0 l9 K' B3 x0 ~+ g00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
- a: @" F5 ^- m& t+ q) b7 E00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 7 M0 B5 g3 J- o8 m: u" ^
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
W* F8 m6 w% v& F00404A50 |. E8 8B060000 call 004050E0 2 D0 q% q# e/ o7 Q. z( Q
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
- x; b( |3 k6 p3 C+ g/ b00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 3 N1 J* X* r, L( Q# f+ m O9 A
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] 8 k+ [6 a/ c( p) ]; H' Y
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
" _1 }2 d# r, l ^$ ^/ E00404A6B |. 51 push ecx
, F6 x9 M$ o" ?9 x1 r3 \* j& `00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20]
* `# u. O d% s+ R$ `5 }00404A70 |. 6A 02 push 2 3 Z' t" I/ u* j5 G$ q1 ~6 O. X
00404A72 |. 52 push edx : V3 g! ^5 O3 S, q7 Z8 E3 @$ B w
00404A73 |. 8BCE mov ecx, esi
2 O+ {6 o( M: d3 }) Z00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
/ }0 V$ t" c1 [* v) N& f/ Z# K00404A7D |. E8 6E070000 call 004051F0 & B/ T, d5 n2 K7 o' Q
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] 2 x# x9 V4 H4 o3 `" A" b9 m8 A* X+ g
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav" ; H0 Y+ Q; S) d; z9 o
00404A8B |. 50 push eax % r) g$ {% X' ^4 }* k) r+ i9 B- J& \
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] 8 n& B: n" F7 y9 W7 K; a' \4 v
00404A90 |. 6A 02 push 2 4 y/ A& G: [4 R+ c4 V
00404A92 |. 51 push ecx
, @0 k/ y8 F. ~0 w7 {0 E00404A93 |. 8BCE mov ecx, esi
2 |3 m0 `7 ?. d1 P" _7 v$ D00404A95 |. E8 56070000 call 004051F0
4 I6 l- s9 y6 ^6 f! ~; P00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
9 L9 k; H6 l; D* T00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
$ ~6 B& T( p/ R9 X+ w00404AA3 |. 52 push edx $ H1 Q# _5 z! C6 n
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
( a; T4 N, J3 E' w) G6 j" W2 x00404AA8 |. 6A 00 push 0 , u3 @) I X+ ]/ j/ c
00404AAA |. 50 push eax 9 h! [3 r5 }" B4 Q1 s
00404AAB |. 8BCE mov ecx, esi
S& C* B9 G$ d$ ?9 w4 l00404AAD |. E8 3E070000 call 004051F0
6 j7 w C1 M. D00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga" * U0 d! K3 W3 D2 Z
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
2 H" p: i) [& N7 H00404ABB |. 51 push ecx
' A/ T) m5 ?2 y0 I$ C00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
+ r% r- Q5 { _2 x/ s/ q00404AC0 |. 6A 00 push 0
. g5 j) D" r3 D/ I6 Y* o4 M00404AC2 |. 52 push edx 5 L5 e6 S! b/ S* @+ \& F4 m
00404AC3 |. 8BCE mov ecx, esi
9 l ?6 @+ a, T. S00404AC5 |. E8 26070000 call 004051F0 6 V% ]5 N, ~ @, F% \. T* G' i! O
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
8 U" D$ E7 }$ d9 y! B2 E! m00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png" # B# d" a( R3 m7 X
00404AD3 |. 50 push eax
; b/ y# E7 G4 c. {! U00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
- `3 ^3 o* u: m2 _4 @# q) n00404AD8 |. 6A 00 push 0 # s+ h6 W7 Q2 q9 Q/ c
00404ADA |. 51 push ecx
# `: i a: h) U. V00404ADB |. 8BCE mov ecx, esi 7 P$ G; Q- @1 d' C- y, j
00404ADD |. E8 0E070000 call 004051F0 : g; L: F- k. }) A$ |& \
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10]
) O0 ?$ d! S- G& M% F00404AE6 |. 52 push edx + R+ o; ?% f" O% l( ~6 F8 Y- X Y
00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF . w$ Y1 a9 c+ K! C& s% z2 i
00404AEC |. E8 6FC5FFFF call 00401060 ; P( ^3 F" |: n8 Z6 P: z
00404AF1 |. 83C4 08 add esp, 8 9 x+ ?& T; G0 R+ P- L+ r
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] $ `9 ^2 g; G; [+ u
00404AF8 |. 6A 00 push 0 1 C1 A8 ?$ v) u6 I# W
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" & v; E8 Q8 R& @6 D6 k
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
% O2 T8 H2 v" R00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] 6 {/ u- o4 n) ?2 v6 s- W* b
00404B0B |. 6A 00 push 0 " F8 C7 h3 I/ r6 F
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
% O( Q" ]4 v0 d7 F7 ^7 K1 H00404B12 |. 8BC8 mov ecx, eax
; q* e7 f- a8 f! |; V00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
7 r! F' U7 z; B0 S. c( ~00404B19 |. 85C0 test eax, eax
) h0 H& h& q* S00404B1B |. 7E 1B jle short 00404B38 9 H5 t) F- b4 L& P0 F- n+ i. R
00404B1D |. 8BE8 mov ebp, eax
j7 a! U _3 G; x8 l% C00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] $ \( V/ j. n3 D; }
00404B25 |. 6A 00 |push 0 ' s2 C5 \) G# z2 I) `! d
00404B27 |. 6A 00 |push 0 D. @) |6 Z( W- ^
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> + f+ E2 H. D# F5 E1 A' ]! n
00404B2E |. 8BC8 |mov ecx, eax
1 }5 V. L0 B# ~- Y2 o9 n00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove>
" W9 @( g9 i W3 A3 c+ R+ b00404B35 |. 4D |dec ebp
# {) k; t7 L* c/ F' j00404B36 |.^ 75 E7 \jnz short 00404B1F / _4 ]! d' i5 K
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
0 Z+ W$ j8 t% t+ C00404B3E |. 6A 00 push 0
6 N v* _* S1 q/ {. m; C- F/ E00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana> 1 C- E* I, P7 \6 ]. u4 b/ a% A
00404B45 |. 8BC8 mov ecx, eax ( w. V( r, H. y" K' H* C$ a- O {
00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
' ?) n0 R A8 C: H6 u+ E& p+ n00404B4C |. 85C0 test eax, eax
7 o! w$ q3 `1 e7 c- V00404B4E |. 74 0E je short 00404B5E
) b! r6 g* C% h6 [ S* L00404B50 |. 50 push eax
: E3 _1 W9 N2 L( `00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" / n% W% U2 m0 K# c6 J% e+ a
00404B56 |. E8 A5C4FFFF call 00401000
5 k5 T. @1 e/ R3 M8 Y; N% b8 ]00404B5B |. 83C4 08 add esp, 8
% V' \ O+ F7 `) N; g0 \: w% u00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
. T2 g" \" M+ G2 y) y00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
( j% u5 F# U4 |2 K9 q3 F2 }& T. t00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString H. \8 k6 N0 n- p- \6 t
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
- _0 Q5 Q: l* W) ^- P- E3 [: P3 p00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString> 0 J7 z. f r! ?# S n/ U# u
00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 9 W! B% S3 N3 a" i$ b0 o
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile / h7 l5 K- A |! E5 U2 T0 e4 @
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] $ v k: L( X$ T! \- N6 n/ f2 T
00404B85 |. FFD5 call ebp ) d0 ]* a. ^: |
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C] / p1 W% a+ F6 q e- Z3 y* j$ n
00404B8B |. E8 E01F0000 call 00406B70
! k$ t" A& w6 E: D* D00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44] $ i3 S6 J9 Z1 h$ y8 S
00404B94 |. 50 push eax
9 }% @& R8 M5 `2 j* w00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> 1 _* R! T* u' ]$ k9 }
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C] . ~0 ?" b0 `9 O! C) d3 S( k
00404B9E |. 33C0 xor eax, eax
% ^$ T! I7 e& m0 H- v00404BA0 |. 51 push ecx ) G3 t) V+ ^" M5 z/ a4 L& \- \
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
+ t6 M( N- f* K) J00404BA5 |. 894424 50 mov dword ptr [esp+50], eax 3 D9 u4 |4 m* X! N4 v8 G
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
4 X9 J( o/ s; O# U) H) J00404BAE |. 83C4 08 add esp, 8
5 x+ | `$ b: O' O' U00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] $ |, U; C# p7 _# g, @7 M& h
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
1 Z" O: U2 \& |) \3 O+ b% P6 ~00404BBB |. 6A 01 push 1 ; h7 }7 d, o/ p
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
; A1 H$ Y0 P( f4 [7 a6 g0 ?! W* f2 t8 g00404BC1 |. E8 3A1C0000 call 00406800 6 l* C2 Y0 h( U; b
00404BC6 |. 6A 00 push 0
8 m6 F$ X8 a4 K00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
4 `5 p- @8 e" [' O2 G00404BCC |. E8 4F1C0000 call 00406820
, C# `+ b4 P* u$ U1 U0 T& i00404BD1 |. 6A 10 push 10
+ s; X/ y/ _& O# ?7 g5 ` P00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] : \& f+ }# }# y, o( f8 E7 r
00404BD7 |. E8 841C0000 call 00406860 3 L& ?3 g* ]' J: h; ^
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] 4 i+ a& F& n4 V4 _1 a& c9 Q
00404BE0 |. E8 FB040000 call 004050E0
% s+ N3 t! P" t3 A- [7 r: x- _00404BE5 |. 68 00800000 push 8000
+ q3 i9 s' q3 T- t" r; r# [7 H00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
7 `1 D5 h/ R7 p6 z5 G" d00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile % I' M; G5 I# w7 H" d! U
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
9 m- z. U" G6 v! ^+ q00404BF8 |. E8 E3040000 call 004050E0
& a. ]! f* J/ n+ E3 h3 q00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
' Y+ `: o2 Y, H! M& h' ]! M. l00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile ( B& z: ]0 F Z4 L+ ^- m
00404C0A |. 6A 00 push 0
3 z4 E% B& |. b2 c* h# N% N00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
+ R" W. E/ W' D! ?4 w( o00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
: a+ n; v# S, P1 W7 G* Q00404C15 |. 52 push edx
. c1 a- J, T+ }00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
: p2 v. l6 n+ ` _, w+ }00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
% F8 G% x2 C6 U$ q7 Y00404C1F |. 50 push eax
7 t- T A: G5 e( c' X* R. h00404C20 |. 8BCE mov ecx, esi 5 s, c4 M' ]& M6 y3 q2 s3 P
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
& l- l, Q1 x$ i4 x/ _# R00404C2A |. E8 61060000 call 00405290
9 s4 B# n u- B( Q5 p00404C2F |. B8 58B44000 mov eax, 0040B458 ! r6 q! {! ~% O, J# `0 p
00404C34 |. 894424 14 mov dword ptr [esp+14], eax
4 i, M' H( X" L$ v00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
1 w. f6 m' ?* U) ^# j5 b% D" B00404C3B |. 85C9 |test ecx, ecx
' U; _ V0 y" K, f p# z2 Y00404C3D |. 75 39 |jnz short 00404C78 & m9 G1 e2 R4 @$ @" v1 {8 o
00404C3F |. 8B08 |mov ecx, dword ptr [eax] ; i1 v6 N# y* ^& G0 i" `! r! H3 Z
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C] 2 m; m% x- I U/ N; a; T( O T
00404C48 |. 51 |push ecx ( G) n4 e& F- H$ \6 |
00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\" ) A3 [! W2 S" W! ~7 P1 y
00404C4E |. 52 |push edx 3 S" Q) W* m7 R9 e: P) h+ b
00404C4F |. FFD7 |call edi # A; @- X9 n8 y2 O9 Z3 c, O
00404C51 |. 83C4 0C |add esp, 0C
% K* H! H* f5 n& ]* d5 A& }" _00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] ! d- L' y' h& v
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] ) o+ _7 o0 p, p' v3 q7 C5 X5 V
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
7 T5 Y; t/ g) W3 x$ ^3 V* N7 A: q u3 \00404C63 |. 6A 00 |push 0 . [$ h1 W* d. K6 t8 i$ I7 r
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" 0 v: P! B9 |* _0 |
00404C6A |. 50 |push eax
5 G5 v5 A+ L& V) i% g; i' |' u: Q00404C6B |. 51 |push ecx
& V) Q4 t0 d/ K% }3 g" _00404C6C |. 52 |push edx % D1 e# W) l0 Y) _7 o3 e2 V# @
00404C6D |. 8BCE |mov ecx, esi
$ T1 m8 e2 Y+ G; g; a8 G00404C6F |. E8 1C060000 |call 00405290
' w' T. s3 x' d+ {+ x7 n6 a00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
, y# A: J+ w+ y' r4 T: }+ Q- X$ }00404C78 |> 83C0 08 |add eax, 8
5 \$ v% O( T; Q1 X00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
0 k: Y9 _/ C/ i8 l. v00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
/ `- p( Q4 j: ?3 |- j: |& @% W1 k; U00404C84 |.^ 72 B2 \jb short 00404C38
( `6 n4 b8 W% J2 e, s00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] . B1 n9 T I" a( ?- u6 D/ ^) S4 p
00404C8A |. 50 push eax ! i8 }9 n% l( o2 `" W
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF % T- m7 ~ u8 D- x- ~% K
00404C90 |. E8 CBC3FFFF call 00401060 0 T9 l+ M8 ^; @
00404C95 |. 83C4 08 add esp, 8 , L4 a* Y7 {3 j8 h. H* t
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] : S7 j6 R! |7 V. I4 ~) \( K
00404C9C |. 6A 00 push 0 " @+ h: s; z, U1 c- g6 T
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" V7 o+ T/ ^7 ~: f% A
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
! [$ {( N' W: n00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
! P6 P' X1 K" w: h% |2 b00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile + a& f& _) s' G- J7 B; L' n/ H
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
t4 e8 ?% ]$ u8 o: e* H0 |) x00404CBA |. FFD5 call ebp 3 N4 H }, T! f5 q$ J
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
. p9 f* }6 W1 ~7 c00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 5 x. |) \6 l4 |
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 1 o1 H* @4 k z4 D
00404CCA |. FFD5 call ebp
+ z0 M4 h$ i V4 h8 c7 K+ L6 H00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] 1 v( F5 S$ H& w% R
00404CD0 |. E8 1B1D0000 call 004069F0 9 H3 D) H" J& N. ~) Q# i8 |" _1 H
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] ( |9 a+ E h5 C) \ o% \6 ^
00404CD9 |. 51 push ecx
! ?; l& X O; Z% }; r5 c$ s00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete> 8 h. H/ f ` u; a* I+ Y, h* i
00404CDF |. 83C4 04 add esp, 4
; ?3 N( {1 R$ w( T1 {- e00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 9 x8 d& H9 z: l" t9 t9 @
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
% F8 R' W& f9 _" V0 d& s00404CEC |. 53 push ebx
. d" f8 K- [ x& l6 M% N( v/ F00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] * D' h* R* d3 V+ M* A9 o+ |, ^
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" y7 d$ a0 G# u1 F3 C
00404CF9 |. 52 push edx
) Q ^2 M! V h- T0 P i- l00404CFA |. FFD7 call edi
, M" `6 _ a3 i4 D00404CFC |. 83C4 0C add esp, 0C 4 n# J% g. R/ H2 Q* h6 A) A
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88] - \( ]' _. V$ i
00404D06 |. 8BCE mov ecx, esi
6 v! ?. A( }8 f00404D08 |. 50 push eax B8 t5 f/ G* l% _0 \
00404D09 |. 6A 00 push 0 . D8 p4 @* U) u( S
00404D0B |. E8 F0060000 call 00405400
7 L- {7 Z! i* [& p00404D10 |. 6A 01 push 1
8 ?2 R2 m k5 t1 w3 h/ J00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
& s% V( N3 }$ w00404D16 |. E8 E51A0000 call 00406800 7 L# f' N& z& U/ c: k& x" ]
00404D1B |. 6A 00 push 0 & n$ Z @' n6 ]
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 7 b6 x' M! D. ~+ |- C+ p2 e% E
00404D21 |. E8 FA1A0000 call 00406820
$ x% y, j6 m9 L3 `& A0 F00404D26 |. 6A 10 push 10 9 ?" Q) i2 {9 c/ R3 e+ A7 e) ?
00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48] ` E; z. ? R2 o- q
00404D2C |. E8 2F1B0000 call 00406860 ( P) z- e! |, R5 p% k9 E; v
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
2 V3 b9 [3 o& d" j- Y6 {! m00404D35 |. E8 A6030000 call 004050E0 " f* u* j' p- B `9 b5 X3 @
00404D3A |. 68 00800000 push 8000
% u7 y8 j" @8 l3 ~00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64] ( L9 l$ N$ o7 |* V. T
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
4 s; x0 B; _7 u' v00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 9 } \) r3 Z% h6 Q! e
00404D4D |. E8 8E030000 call 004050E0 & x' R! y, f/ O, A. w0 S
00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] " L" `9 L' C2 H
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile + y" u* @8 O9 k% d- J- v1 Z
00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
: d* G3 i0 n; }7 ~) m4 Z00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" - |+ ]( i4 s* h$ k8 h8 z1 R
00404D68 |. 51 push ecx
' [; m! k4 i: G: G: D, q! l00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20] % S, m0 K+ V9 Y! N# p5 B
00404D6D |. 6A 00 push 0 ) a1 `0 p. `" O% i) j7 q: r+ g
00404D6F |. 52 push edx
2 }, a# q, |1 i6 N00404D70 |. 8BCE mov ecx, esi
+ B! H/ U e! X' E9 W00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 , y( g* d3 g7 D5 W# e
00404D7A |. E8 71040000 call 004051F0
& @" S) u4 |4 e8 `# Z00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10]
/ z# g o; H# D5 q00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" % U# H7 L. O; d2 Z$ ?
00404D88 |. 50 push eax
* n* p/ i; y3 V0 D. K- q* X# V00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20] k! }; O1 ?; |) a O/ Z
00404D8D |. 6A 00 push 0 # G& z3 Z4 r" h
00404D8F |. 51 push ecx 8 U h' N8 R! f
00404D90 |. 8BCE mov ecx, esi
6 d6 j% y W0 l& D3 p00404D92 |. E8 59040000 call 004051F0 3 k$ L2 v% @; |1 v8 b
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
) P0 h$ Q4 E1 n' X% a0 c( _' S00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png" ; n Z9 z! F) B, B
00404DA0 |. 52 push edx
7 L* y8 n x8 W& t' a; u) y, C* _6 y00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20] : R6 T8 F6 }% e! l
00404DA5 |. 6A 00 push 0 / B1 H' H$ P) k$ w" d
00404DA7 |. 50 push eax
! y" o" _% l( O- k z00404DA8 |. 8BCE mov ecx, esi 7 @/ \! P, ]/ i( {! q$ s: V$ s
00404DAA |. E8 41040000 call 004051F0
2 r# i, R$ ]2 f9 l/ Y00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] - v @: ^: N- n- ^( q5 z4 |, G
00404DB3 |. 51 push ecx 8 d/ b$ [" X; C7 E9 s/ }
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF 3 `* J; d4 O" l& U
00404DB9 |. E8 A2C2FFFF call 00401060
& \) m" |* z4 t& n00404DBE |. 83C4 08 add esp, 8
' C/ C5 E( h/ q/ B; [00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
' E# x8 {7 t6 ~# n0 c00404DC5 |. 6A 00 push 0 & e& P7 j9 h: C8 ~
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
/ L2 e4 @0 E G% ^4 G3 @4 T00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
9 L( f7 ^! B7 o1 B; U00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
8 v) n( n8 s0 D6 o$ Z- O00404DD8 |. 6A 00 push 0 . r6 n( h% U8 ]
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
& A) ~& O8 ]% Y00404DDF |. 8BC8 mov ecx, eax
$ y* E+ M6 t2 [6 p00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
; l! s% L) q# l; L00404DE6 |. 85C0 test eax, eax
. W! x( z4 p+ g$ v4 x& p5 Z/ l00404DE8 |. 7E 25 jle short 00404E0F * s) T3 y* K$ v e
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
( U' D M5 H4 _00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] 1 \9 w3 p& p- J" o1 N
00404DF4 |. 6A 00 |push 0 : H+ h. @9 k3 T D$ p% s! C7 x
00404DF6 |. 6A 00 |push 0
2 K: \0 ]/ r0 C" j00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> / y' R6 T" `$ g* R6 L3 k# q
00404DFD |. 8BC8 |mov ecx, eax , V5 D' c" C* [5 U& X8 D& `$ x
00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> 7 I8 ]% B* r+ p, R
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] & A. T: K% P% l; E% |
00404E08 |. 48 |dec eax 4 |& d5 {9 `2 D6 J( J/ F5 H1 j
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax & |3 i* H' O4 G2 ~( v" F0 a
00404E0D |.^ 75 DF \jnz short 00404DEE
6 E. s) l, D: z00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
. b+ T3 z+ z3 \+ b00404E15 |. 6A 00 push 0
- y2 c* T9 ^9 Z% f$ s/ J3 p00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
X# V. P, U+ n2 T7 O00404E1C |. 8BC8 mov ecx, eax
- B5 w Q1 Y1 G* b) X/ t00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
4 \. g: S) ?5 H9 l% S00404E23 |. 85C0 test eax, eax : p# x) }; ~2 o: c+ d
00404E25 |. 74 0E je short 00404E35
* p: c" c4 O6 c8 ^/ q00404E27 |. 50 push eax
; |; h* }* |, [4 g6 f' z/ W00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
6 Y4 A" a. _8 a3 t S# D: V00404E2D |. E8 CEC1FFFF call 00401000
( V" Z! J1 u- q9 t00404E32 |. 83C4 08 add esp, 8 9 V% ~% S8 i% j/ j. \
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
9 ]* g( V0 Y/ ]& I* L- v: A: g* F00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile $ Y( h/ I# e; B. k5 ^- @
00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] / b1 c. ?# B* K
00404E46 |. FFD5 call ebp
( p/ ?1 m, n: c* Y( Z7 K, E$ p00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 0 x) k, Z) C! g9 Z& S- ^8 ~! T( a
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 0 t u9 D4 u, D: G5 n) v
00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58] , k% [$ f; \, I: u. W, W+ A @
00404E56 |. FFD5 call ebp 3 B. R& {; X& k
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
, F/ a+ S5 e0 h3 U. ~6 p6 b00404E5C |. E8 8F1B0000 call 004069F0 " @# Y0 i7 J0 y5 j' e1 ^ _
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
9 z% j* \: V3 T7 I5 ]! {5 i" V00404E65 |. 52 push edx 1 a8 v% g' I. _* R% ^+ o% E
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
1 n# }9 f9 k1 Y% b) W00404E6B |. 83C4 04 add esp, 4 4 W; i1 Z- Y/ p& h3 w( o
00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
2 n4 M9 P3 @: a9 R& ^% @00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator X. S1 Q1 N- k4 H8 x3 ]
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] . T6 R, p: ^2 q* M; l3 o
00404E7C |. E8 6F020000 call 004050F0
6 u- m7 r* D0 A00404E81 |. 6A 00 push 0 / S( ?) U; c6 l; R. z' F- Z: |
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
1 N& c) } T! f3 b00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 0 g! q- ~8 R( r1 ^7 b! G
00404E8C |. 50 push eax
! y! o( X* W( {% y+ r- D00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] * u$ l' [% ?+ ^. s7 [
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\"
* G, ~; W: O8 l O00404E96 |. 51 push ecx @7 z9 F+ r t+ @6 X
00404E97 |. 8BCE mov ecx, esi / q4 R) I- X" |$ B
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 " J# b$ _: h( c3 Q! F+ ~
00404EA1 |. E8 EA030000 call 00405290
: ]$ w( @% C2 L00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
) J. G4 L, k2 S! P" ]00404EAA |. 6A 01 push 1 4 l) J" m0 j, Z4 k" v6 I7 c5 R: A
00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] ( G5 Q. R* R1 Q
00404EB0 |. 52 push edx 0 C( }' `; h- G4 Y3 k* B
00404EB1 |. 50 push eax 9 p; c! D- q+ y7 p) c- b
00404EB2 |. 8BCE mov ecx, esi
9 S! N' l4 e0 c: c3 c5 E: ?( @0 d3 j00404EB4 |. E8 E7F9FFFF call 004048A0 ! M2 d! \1 Y% r6 s
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10] ' ?! K' _& L3 A
00404EBD |. 51 push ecx
+ Y W& g4 W0 O( ]+ V3 F' L00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF / C* q, r8 e, W
00404EC3 |. E8 98C1FFFF call 00401060
6 c- r% j0 i) o1 S2 X00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
! G) i8 K! \ S( i00404ECE |. 83C4 08 add esp, 8
# ^) ^& m+ `; ?) [1 L00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] * q. ]+ |3 T, _4 e* a ~( H
00404ED5 |. 6A 00 push 0
3 d! Q3 {/ Q4 H7 k# A j00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
2 ~8 ~! ~ I, }: I* i; i' H Z {8 I00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> ( P+ C: R) a; d3 T1 T+ v, X8 T
00404EDE |. 6A 00 push 0
8 b/ v; I: K. i, k1 w' t2 U$ b5 \- @9 L00404EE0 |. 8BCE mov ecx, esi
* V ~4 X/ O8 v: ?00404EE2 |. E8 39FAFFFF call 00404920
& o# X6 {! T9 R5 q00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
5 e4 I! }! v# X1 M, |5 ?00404EEB |. E8 A0020000 call 00405190 7 \1 B9 k( g9 ~) [" R0 K
00404EF0 |. 53 push ebx
3 }- |) q8 \! e; m9 E9 }6 e) G, i00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
. B& U+ d8 N6 j$ x$ O( I00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_" 0 Y6 P7 C, u6 \ p H5 A% A2 }
00404EFD |. 52 push edx % M0 y8 b( k- c+ l# o4 {
00404EFE |. FFD7 call edi ' S, G. H1 H6 Q4 \/ |; h
00404F00 |. 83C4 0C add esp, 0C
: V; a$ m2 E* q8 u( M9 ?5 ^00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] + h& Z3 C% s1 T& W
00404F0A |. 8BCE mov ecx, esi
) L9 d# @$ R2 u3 c" l! e00404F0C |. 50 push eax , k, o- l/ a9 |
00404F0D |. 6A 00 push 0
2 c- u0 p- q) W7 [5 p; h( \00404F0F |. E8 EC040000 call 00405400
! U* r+ f! [& ~- @) l2 u/ L00404F14 |. 53 push ebx
9 g6 L* L% u; s6 L00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C]
9 y1 J* t$ \& q! V# }00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
, [) S6 S! S6 c1 t* b* `3 ?8 ?' t00404F21 |. 51 push ecx
0 V& O6 e4 S f" o/ M& \/ G1 t00404F22 |. FFD7 call edi
0 b& e Z9 m T" C5 T00404F24 |. 83C4 0C add esp, 0C
0 J- f% r& D6 M# }( j$ C) w8 o* w1 N00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88] 9 p4 F5 [3 c# M5 x1 M0 a+ f, |
00404F2E |. 8BCE mov ecx, esi 7 J$ e1 ?6 t& a+ w9 L8 F
00404F30 |. 52 push edx
1 x( g% E! Y3 ~0 G00404F31 |. 6A 00 push 0
* I" J2 Y! v: J5 j* ]00404F33 |. E8 C8040000 call 00405400
" n7 E5 S. u5 c# ^! S3 t00404F38 |. 53 push ebx + S0 @7 l# [* `% M6 L' ?3 ?5 f; y& q
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C] . {8 A, U/ q) t& k
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
9 ]7 M7 i& L- }0 E4 v5 l( X6 P+ W00404F45 |. 50 push eax # a- c" V" a% E& X
00404F46 |. FFD7 call edi * `7 a" `( e2 p/ v* r
00404F48 |. 83C4 0C add esp, 0C ! `# m, Y6 g& I7 H4 k
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
8 T$ G1 f1 Y7 b$ D+ A- d00404F52 |. 51 push ecx - J3 R* c r* h( T
00404F53 |. 6A 00 push 0
! n: [: B0 n% l# H0 M9 k6 s00404F55 |. 8BCE mov ecx, esi 5 f! I9 | P; g$ W+ c% _1 Q6 ]
00404F57 |. E8 A4040000 call 00405400
4 s1 e7 k7 Q# Y6 F0 _. j5 N8 g00404F5C |. 53 push ebx 6 d* [$ l% x3 T: _" E
00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
5 x& e8 t9 f2 @; i/ s00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_"
$ p. d B8 D4 B; ]7 @7 T2 m- D00404F69 |. 52 push edx
/ n& O" n: F: l* @9 }3 \1 o00404F6A |. FFD7 call edi
* \; |4 G' Z( d! ^3 H; Z00404F6C |. 83C4 0C add esp, 0C , P4 C4 u, c1 `; u; x( u
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
) m( T! b8 ?( q' W, Y, x2 W0 d- u00404F76 |. 33FF xor edi, edi
6 B/ \. k& w7 g9 X00404F78 |. 8BCE mov ecx, esi
7 a% O5 ~. j. A4 A00404F7A |. 50 push eax
( K& b3 h% t' i& G00404F7B |. 57 push edi
0 w! ~4 i+ m% S1 F) ~ Z00404F7C |. E8 7F040000 call 00405400
( B+ n* W# G! J4 ]& R00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 5 _. q% I1 P9 A6 T
00404F85 |. E8 66010000 call 004050F0
2 _+ R6 c8 B" C+ T& {00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10]
2 N& D: g& P( Y: N O# |$ D00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
6 y X) I% v, n/ ~, I* I, q00404F93 |. 51 push ecx
7 U; i4 y* B& A# i' [, f- S7 |; R00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20] 9 q2 v" c2 I/ \! c/ \( K9 g* s
00404F98 |. 57 push edi
. U! f2 @3 x- X# k00404F99 |. 52 push edx ! X( ^- E- R' s! L4 v! q
00404F9A |. 8BCE mov ecx, esi
1 v# ~) z- S/ h [00404F9C |. 897C24 20 mov dword ptr [esp+20], edi - v" e1 T q) ?
00404FA0 |. E8 4B020000 call 004051F0
7 u# {( h- f5 ~0 C' b7 K6 t4 I* w00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] & o( w+ f* q% Q ?2 K
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
4 [4 D2 |/ Z& U# @$ r4 L t7 T00404FAE |. 50 push eax 4 F6 w; h% z- K6 u8 y! M
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
, G$ ^2 t1 r$ P$ Y, F" d00404FB3 |. 57 push edi : `5 \* C; N" W* K* }. g1 {' l
00404FB4 |. 51 push ecx : x! f& T* `; w# g0 G# B
00404FB5 |. 8BCE mov ecx, esi
4 I3 G% v5 d& S3 L6 v+ u% G* n( n00404FB7 |. E8 34020000 call 004051F0 1 ^- B0 b O: ~: R
00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10]
. }0 }- o7 b% [- ]9 M. h. m00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" # z! h1 |' S9 r
00404FC5 |. 52 push edx . ^: j# `4 M8 E: n5 H/ ?
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
6 V9 n* A& B$ ?+ R8 w00404FCA |. 57 push edi
, x0 i' G. T5 \8 ?* U00404FCB |. 50 push eax
. p4 _2 Q! n2 R! B2 S! I00404FCC |. 8BCE mov ecx, esi ) K, U" d2 g( x( h
00404FCE |. E8 1D020000 call 004051F0 * o }! c. C* C3 |" p
00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
& _% N: |6 O6 c( V/ d00404FD7 |. 51 push ecx
' F. [0 K/ q; Z: y% ]6 a k8 s! b00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF
( h4 `$ {* u8 n- j% e00404FDD |. E8 7EC0FFFF call 00401060 4 G m: Y& b' \. I
00404FE2 |. 83C4 08 add esp, 8 * I; J$ W2 P- |7 z u/ p
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
" y. l! P8 D5 J( k( k6 T00404FE9 |. 57 push edi ' {: k& r+ c% k6 J. Y- M5 k6 ?* j
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
4 G6 W# e' Q8 E: A% h$ M, }00404FEF |. FFD5 call ebp 0 `( {( p6 P8 J- v/ @; Q3 j
00404FF1 |. 57 push edi / r* X' r8 d. [ s! z
00404FF2 |. 8BCE mov ecx, esi
}& v( u y# |; Z+ H# \" \7 Y) r00404FF4 |. E8 27F9FFFF call 00404920
; N, R$ X/ B: L: T00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
! N2 k; @5 E2 P$ K- U00404FFD |. E8 8E010000 call 00405190
9 P/ Q5 R! |8 a' S00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
9 i8 W3 l5 Y3 S* `# z00405006 |. E8 E5000000 call 004050F0 2 ?. _+ n3 Q) k% O7 W: s
0040500B |. 57 push edi
0 u9 o6 _- D/ o$ \5 J; o0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
0 V& `& }4 t9 N00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" . @. X0 T, V C8 l. q( c
00405015 |. 52 push edx : }; N/ [2 O ?) M
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] ) v# [- b! n( Q; W U% s; A
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
- I1 Y3 W$ N9 p% D, V I0040501F |. 50 push eax - ?7 K) j* G" z4 n
00405020 |. 8BCE mov ecx, esi
4 a! |! b5 K6 t+ e00405022 |. 897C24 24 mov dword ptr [esp+24], edi 9 Z9 I) Z0 Y, m" ~" b5 S4 g
00405026 |. E8 65020000 call 00405290
" p2 ]" T# z R6 a+ R* B5 P0040502B |. 57 push edi
( X# l3 D5 r& A, r8 f9 D9 b0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] . @( i5 n2 P( d9 B( {
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik" ( i3 D2 B6 X0 F& e& M% a
00405035 |. 51 push ecx
3 x7 {7 e4 @- h8 Q; W3 d00405036 |. 8D5424 24 lea edx, dword ptr [esp+24] / |! k* S8 h* \$ j& q# ~2 b
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" 9 r! R2 K6 V W
0040503F |. 52 push edx
* T. r) q2 l- g7 R5 K$ r00405040 |. 8BCE mov ecx, esi
% D5 g) @, A' e j7 T0 L. r. n00405042 |. E8 49020000 call 00405290
7 o+ v* n9 g' e }8 i9 F" z00405047 |. 57 push edi ! g4 S# Q- X. X. @5 u) e
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14]
# R- O' h& p& b9 K0 X% g% e0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
1 Z$ x$ s& J! V0 h- b9 h00405051 |. 50 push eax 3 M+ n- s; X3 K% s$ k
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\" $ }. F) B4 p4 f9 {4 @
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
p* n4 A( i( X" j3 C0040505B |. 51 push ecx
1 n% ]- k( w5 V1 E3 }, a- a! f0040505C |. 8BCE mov ecx, esi $ U$ R, @" L% i. f R5 K# c
0040505E |. E8 2D020000 call 00405290 + Q/ N# L5 v3 A7 M" N
00405063 |. 57 push edi
/ |. ]# A: l E! v/ |: N00405064 |. 8D5424 14 lea edx, dword ptr [esp+14]
% Z T" X( G! A: X7 D* | ^00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" $ Q3 S8 d$ D+ ]' @- F7 N
0040506D |. 52 push edx
7 I. L7 X7 T, {7 a0040506E |. 8D4424 24 lea eax, dword ptr [esp+24]
* l' E: {8 L& r7 ?0 x( a4 O! n00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" ! X+ d: l: N9 a
00405077 |. 50 push eax
3 M0 C2 L s' l( [9 P* }00405078 |. 8BCE mov ecx, esi
: R/ k# V) l9 |0040507A |. E8 11020000 call 00405290
+ M% u6 D# _$ O+ r0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] 6 P: ?- l9 a1 G* U
00405083 |. 6A 02 push 2 1 \4 K+ _0 [: r
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C]
7 g" b' n* S4 U8 `( g00405089 |. 51 push ecx ) |0 [+ A7 U! T3 Z
0040508A |. 52 push edx
. z; o: h# b8 s1 @* D& ~8 S0040508B |. 8BCE mov ecx, esi
+ g9 @+ S) {7 F- ~0040508D |. E8 0EF8FFFF call 004048A0
! g$ J6 {) _5 g2 D) J7 I00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] $ c4 O0 {; T* O9 t6 m. x1 h
00405096 |. 50 push eax
) p- U T9 x. ]/ k2 \00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
- t8 U- z1 z; |' l h0040509C |. E8 BFBFFFFF call 00401060 8 F! M$ ~) c' a. ?% L5 S% z
004050A1 |. 83C4 08 add esp, 8
7 v7 w1 p; I6 d+ _$ ?* E: P004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 1 V4 x; s) Y+ j; P+ D( P
004050A8 |. 57 push edi
3 i$ x( F9 `$ r004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" f8 J( N* G% D% ?- z0 X
004050AE |. FFD5 call ebp * l6 k2 u( q& t/ S4 Q" i$ z
004050B0 |. 57 push edi
! z E) d; X, T$ L' O; \( y004050B1 |. 8BCE mov ecx, esi 9 \8 v3 W! r# i: S
004050B3 |. E8 68F8FFFF call 00404920 , q6 R, y( b! s
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: q: N$ n+ r$ N004050BC |. E8 CF000000 call 00405190 * }5 n! c" |! O4 @+ U
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
& l! ]& i- z' C& Y( b# a. i004050C6 |. E8 35BFFFFF call 00401000 ' W W! T( x1 v S: b& H: f
004050CB |. 83C4 04 add esp, 4
- ~" _9 z# y- U004050CE |. 57 push edi ; /status n, c" U# S6 h3 D3 j" |
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit 7 d3 L% o& I z6 n: a
004050D5 |. 5F pop edi
* T7 b1 a- `: {2 s( O1 L% G004050D6 |. 5E pop esi . U) h0 O* t3 V6 v9 z
004050D7 |. 5D pop ebp 5 j X& i u& e/ x. {. k: N6 n
004050D8 |. 5B pop ebx
* e& O! c1 f' B0 T3 [3 {! I004050D9 |. 90 nop
5 b3 j1 }/ u% p3 ^$ ~( W1 b004050DA |. 90 nop # D; [/ p! S" P. n/ Q
004050DB |. 90 nop
) l' y& x$ J4 I' R) m* ^' p004050DC |. 90 nop
* G, }5 s7 \5 }& O+ g! b004050DD |. 90 nop
/ I% I. h7 l& Q; |, v004050DE |. 90 nop
; T, b; R* K1 ]8 r. p/ d004050DF |. 90 nop n# E8 \ Q3 u" [# J& l
004050E0 |$ 8BC1 mov eax, ecx
. U; M, J8 g; p004050E2 |. 33C9 xor ecx, ecx
) |" a5 w3 v$ B4 I% T6 `2 J6 {, q004050E4 |. 8908 mov dword ptr [eax], ecx
7 A: `. G2 W) s# K0 W+ e, c004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
, m" w- T9 m& s! H# c2 c004050EA |. 66:8948 06 mov word ptr [eax+6], cx 7 j& i' ]7 _5 P0 T. C
004050EE \. C3 retn
- ], q; {7 J3 E9 N! q. P" h004050EF 90 nop
! f# p- O2 k4 j004050F0 /$ 53 push ebx ( r s" f( p" ~& H
004050F1 |. 55 push ebp + N$ E. B% }) u5 U
004050F2 |. 56 push esi
) V4 s: O5 o7 Z- S004050F3 |. 57 push edi
- n; r0 E: a& `) I! \. h9 ]) u3 @004050F4 |. 8BF1 mov esi, ecx 8 N" ]7 U! `" C, O& n/ m3 j, @
004050F6 |. 6A 14 push 14 . [6 ^! Y% w% x2 c9 K
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator 8 e0 y2 m; t4 ~2 i$ |' Y
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C]
# v( e9 V0 b; n3 U00405101 |. 33DB xor ebx, ebx
% Y, A% s) y% t& c) Q3 |00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1
% U9 C l' Y ^3 v* f5 |0040510A |. 895E 28 mov dword ptr [esi+28], ebx 8 e& b x, h' |4 X2 |4 ^$ G/ e
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] 6 Q7 j6 r! \! I7 x6 d
00405110 |. 895E 24 mov dword ptr [esi+24], ebx $ B2 V+ b; L" a; T2 {/ {
00405113 |. 895E 20 mov dword ptr [esi+20], ebx
+ X1 L. y7 c6 H00405116 |. 895F 04 mov dword ptr [edi+4], ebx 4 m/ E5 \& T; R2 n: V( J
00405119 |. 891F mov dword ptr [edi], ebx 0 i7 L- Q! B) Z h2 f( k% l( B
0040511B |. 6A 10 push 10 # \' ^/ V$ F0 O; f# q _4 [+ ^7 c6 p
0040511D |. 8BCF mov ecx, edi
1 \6 K% D5 }; Y' h3 E# ~7 Z z0 s0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
6 m; b- e8 o3 V# V2 Z2 G4 F00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
?. b" g9 Z4 I00405125 |. 895D 00 mov dword ptr [ebp], ebx
! y% m! y! `& }- g& N7 d00405128 |. E8 F3180000 call 00406A20
s9 r6 D! C( Q$ ~/ Z; f; P0040512D |. 8B07 mov eax, dword ptr [edi] 2 Q# U( u# I3 [8 w# \
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] ) I% j% `1 S% z5 T6 t+ W
00405132 |. 3BC1 cmp eax, ecx ! ]. W; k; M- z9 k3 ]
00405134 |. 74 0C je short 00405142
: A5 t& F4 ~5 z$ v/ v3 r$ Y# r00405136 |> 8918 /mov dword ptr [eax], ebx
; L2 p. }/ z% |/ {, l+ u* a00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
1 s* V) q: k8 X( S/ f e0040513B |. 83C0 04 |add eax, 4
) t/ h% M/ ~% g: F7 T7 k, I0040513E |. 3BC1 |cmp eax, ecx
6 B" A4 V% Y {5 K00405140 |.^ 75 F4 \jnz short 00405136 & d) V5 o) u) ]1 {
00405142 |> D905 3C934000 fld dword ptr [40933C] 9 a+ N) [% r7 \# |) B- a& f4 o3 S
00405148 |. D80D 40934000 fmul dword ptr [409340]
" T3 t( n4 X6 {* u, j+ N0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol> ' V, }! b+ C+ k: Z5 Q$ R- D
00405153 |. 50 push eax
' D+ o c* E2 R. t( }* g0 ]00405154 |. 8BCD mov ecx, ebp
( s. L/ z( r$ ^) u h9 e1 `/ w1 l00405156 |. E8 65190000 call 00406AC0
i* c" Z6 J( y, _2 I& W0040515B |. 68 00800000 push 8000
( Y8 o! n6 B2 X; g00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
# n( ]( Q e" Y3 s3 C00405163 |. 895E 40 mov dword ptr [esi+40], ebx
0 t9 ^8 V! X9 A) Y/ A4 _/ J00405166 |. 66:895E 44 mov word ptr [esi+44], bx 9 r! o2 A* F% @( ?
0040516A |. 66:895E 46 mov word ptr [esi+46], bx
5 l' _. z9 r% Q3 h8 F+ M7 [0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile ) u% p; i& a' i
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] * I7 x8 y( y" r8 T
00405177 |. 895E 60 mov dword ptr [esi+60], ebx
' N0 E2 a7 i3 k" x0040517A |. 66:895E 64 mov word ptr [esi+64], bx 6 e8 }2 j$ Q5 w1 z8 {$ z
0040517E |. 66:895E 66 mov word ptr [esi+66], bx
; p' a! K0 Y1 j! x00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile , X/ j7 @) I: V( L5 A
00405188 |. 8BC6 mov eax, esi
# ~# z4 `- ?7 v6 w. T0040518A |. 5F pop edi ; X4 _2 l$ P" a# v& p1 ~! z) q' t
0040518B |. 5E pop esi 8 _/ B2 S1 F& H' B
0040518C |. 5D pop ebp # e- o' i% [4 g2 T. F3 p# f5 a }
0040518D |. 5B pop ebx 5 x; M! M$ R# V8 H5 \0 H: W1 `& ?
0040518E \. C3 retn |