在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
6 G2 i; R; Z% K+ ^, h) t+ x( C5 \当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 6 U% f- Z/ a" I! X& P1 Y
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。 3 J+ k" @1 p0 i- @. `1 D
) V1 ` ^! {7 n
' v6 v! V# V$ o$ `% p00404990 >/$ 81EC 7C020000 sub esp, 27C + T* b* x l% n W' n' b J
00404996 |. 53 push ebx 5 i5 q `; H! B' g' X1 @, _# R
00404997 |. 55 push ebp ; i, _5 E" @7 o
00404998 |. 56 push esi
7 q1 H) c1 ^+ n/ g00404999 |. 57 push edi ; J0 a/ k0 U6 Q3 g/ M* J, a
0040499A |. 8BF1 mov esi, ecx
' b* h- j+ Z5 S @- n0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF 3 G( g2 N4 G: f1 y0 {1 E1 W
004049A1 |. E8 BAC6FFFF call 00401060 2 ]+ p& L4 F }8 ^3 [4 W
004049A6 |. 83C4 04 add esp, 4 ! m: B: H m. u) `
004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start." ) X4 P$ F1 t+ F: ~! m
004049AE |. E8 4DC6FFFF call 00401000 $ X; A! O& X* |, G6 Z, K7 m
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
# j; i# S2 S- l004049B9 |. 83C4 04 add esp, 4
c' n; \, g* U004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238]
' w/ Z \0 b$ o- k. C% M004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
( v, c6 W" a* S+ F% K6 N0 z/ |! d004049C9 |. 53 push ebx ; /<%s> . G: S2 W( R4 Z+ i
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
& Q7 _" P' H3 q, c; z004049CF |. 50 push eax ; |s
+ M( X1 F! `* o004049D0 |. FFD7 call edi ; \sprintf
2 k6 s. ^* Q) z$ j004049D2 |. 83C4 0C add esp, 0C
9 w+ [% R; X) P) y004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] 9 `1 b+ h8 A$ N! p. {
004049DC |. 51 push ecx
1 h9 A: w. T; L1 n8 f; `" [# R2 ^004049DD |. 6A 00 push 0 # w3 H% P# i( V% g5 i) C
004049DF |. 8BCE mov ecx, esi
7 R+ {" F1 Y3 f4 m004049E1 |. E8 1A0A0000 call 00405400
) ^6 P! Y5 X- N7 }: z+ w* b1 a004049E6 |. 53 push ebx % |" y# o' K' _* q, T/ f1 Q" p' p
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
i9 ?$ h. N7 ]8 \' g004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" 4 @; j% n0 J. U, b( f8 W1 X
004049F3 |. 52 push edx 6 @6 n3 H! P A! G! s0 n
004049F4 |. FFD7 call edi
* h# t7 B7 y2 G- k# }: \# H B004049F6 |. 83C4 0C add esp, 0C
3 Y) H+ t* S2 b- j( [1 E! g004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] - F" V4 {& d4 I" [9 N% l
00404A00 |. 8BCE mov ecx, esi
) W0 h, Y# p. \: H/ y00404A02 |. 50 push eax . f3 A) A2 ]6 n. ~3 h" U7 o1 f
00404A03 |. 6A 02 push 2
* z9 u4 q6 D p' H& ]00404A05 |. E8 F6090000 call 00405400 * S5 u x1 ? D- g+ p L1 T
00404A0A |. 6A 14 push 14 ' d$ n2 x$ e: k! G8 Z
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] 9 ]( x1 S# {$ I$ u, ^1 S
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
6 l/ Z* r$ [* l0 e0 A% ~7 X00404A16 |. 6A 00 push 0 , ~; L7 `' ?2 \5 P9 [$ B
00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
) Q8 P: H9 r7 \5 w" u00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
1 d. n6 C4 x4 f0 @00404A24 |. E8 F71D0000 call 00406820
, I5 y3 O' ~: g9 v- B6 P; r' ?00404A29 |. 6A 10 push 10 % F( Z. q+ z/ T N" X1 c6 s7 R( U
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48] 2 b3 W" ?- c. A* @2 i6 D
00404A2F |. E8 2C1E0000 call 00406860 ; u7 @. u1 R. O/ G" z$ z
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] . }, U+ ]# u: j8 k
00404A38 |. E8 A3060000 call 004050E0 / I* j7 d1 z- u6 _1 i( c; t
00404A3D |. 68 00800000 push 8000 9 f4 G ^% P, _1 Z% q' Z- E; v
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64] % ~$ r& l7 F- E/ t0 r
00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
, c! n6 `2 V- L/ ]& M( D00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
9 x) G* i% I* y2 c00404A50 |. E8 8B060000 call 004050E0
6 B0 q+ b# q: R! G e9 b00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
8 C/ i: w% X. M' |/ @" j00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
6 R1 Z5 }7 S: d2 L5 n# F& c( p3 I00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10]
/ Q& f" m- G+ K00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" / O6 K9 F0 W5 z# ]: ]& p
00404A6B |. 51 push ecx y: J, z. u- I5 H5 D
00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] - e) `9 C$ { X0 A' q( m' r
00404A70 |. 6A 02 push 2
. k# w# f' `; ^0 e, {4 t9 J/ \" Q00404A72 |. 52 push edx ( w7 m% w0 B+ r
00404A73 |. 8BCE mov ecx, esi - e" I& h' `5 P, h
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 : |( w4 a2 z3 s. }4 T8 p0 F4 o5 h3 Y( y
00404A7D |. E8 6E070000 call 004051F0 - H8 K; D9 S0 m$ W/ ~
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10]
8 I7 `1 t9 b' x( s; L i5 `00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav" ?; P+ J2 V Q' N9 N
00404A8B |. 50 push eax
, D# o9 S. o" D" U/ W) |* g00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] 0 s' _2 N& G7 a: Q3 P
00404A90 |. 6A 02 push 2 . n% N7 x+ L1 ^
00404A92 |. 51 push ecx
; f& K4 z, A+ m2 s7 f* j00404A93 |. 8BCE mov ecx, esi 9 v. K% w: O6 n( G. m9 c
00404A95 |. E8 56070000 call 004051F0 ! D: E4 O5 W/ m6 C
00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10] ; c* m; t5 @9 L0 ]5 L, ^! v" [
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
( D1 _4 X7 Q( @! q00404AA3 |. 52 push edx $ x' q3 W- t( q- j
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] , D: ^. e, @5 N
00404AA8 |. 6A 00 push 0 9 e% u! X; H. J' ~/ U
00404AAA |. 50 push eax + a1 B7 w! S( g
00404AAB |. 8BCE mov ecx, esi
6 W! I% o. I" m00404AAD |. E8 3E070000 call 004051F0 5 C0 R S9 A9 L P6 p
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga" # M' X5 y6 |: O/ k
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
1 [2 J( l0 ]' h+ E( |7 I8 w00404ABB |. 51 push ecx
+ T% d: h6 a9 F( Y4 U$ c' C00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20] # [7 y+ k$ c# y M$ y
00404AC0 |. 6A 00 push 0
. S0 Q* L$ ?$ ^7 b5 W' d* z00404AC2 |. 52 push edx
' p& q2 O. ~* @( J$ X00404AC3 |. 8BCE mov ecx, esi 9 V) J5 p5 H1 ~2 m% g
00404AC5 |. E8 26070000 call 004051F0 : i$ h N% z5 @" L6 W) Z, Y' @
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
! g D- g1 g, }5 o0 B X8 U5 D1 A00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
) ~: Z3 @) v2 i* f: y# g, i0 _00404AD3 |. 50 push eax 9 d$ W7 m6 X5 e
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] 3 j/ R4 v- h( b+ A
00404AD8 |. 6A 00 push 0 , f3 `) P z+ u. y2 x: h
00404ADA |. 51 push ecx
0 y) T. x7 J% {: @, m00404ADB |. 8BCE mov ecx, esi
7 k5 k( P2 e! `4 Y$ ?! k" J; k' X00404ADD |. E8 0E070000 call 004051F0
6 l% E% i- m% ]- @& z7 R00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] K- t4 |( w8 ]& l& z* ]
00404AE6 |. 52 push edx
. V' l2 [% l7 Y8 W00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
4 J% R q, U) t1 A6 ?00404AEC |. E8 6FC5FFFF call 00401060
0 ] |+ a7 Y8 K00404AF1 |. 83C4 08 add esp, 8 + u- p7 T+ A5 ]6 R7 K; E
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
% C W7 U+ u6 q/ Y00404AF8 |. 6A 00 push 0 ' t; W& z4 w2 m$ A% ?3 m
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb"
& U. x3 O) p" w2 P9 }7 a" |00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
8 A; d+ n8 w& H) h! K7 Z9 s00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] 3 E) u6 z8 j6 C7 n& d
00404B0B |. 6A 00 push 0 : W, c/ B' `$ `# E& P( J
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
* f+ _1 \+ Z- u; d00404B12 |. 8BC8 mov ecx, eax
" S' T4 g6 N* {4 b3 j4 d7 V00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
9 ^3 ~/ ~# d: y( k V, k00404B19 |. 85C0 test eax, eax
! f0 h8 e; g9 |$ X& S00404B1B |. 7E 1B jle short 00404B38
9 }5 {' O/ d4 t, J00404B1D |. 8BE8 mov ebp, eax
1 w3 D6 ~5 N0 G4 e: ?00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] * x3 b4 \5 X+ z8 Q
00404B25 |. 6A 00 |push 0
& @. e3 u1 w6 n5 u/ d/ `' `00404B27 |. 6A 00 |push 0
K; i" O+ Q2 r! u! ]3 y00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> ) u* X7 K& {# j
00404B2E |. 8BC8 |mov ecx, eax
6 S' g9 |& i/ o4 Y00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> * r: Z% [8 H6 `1 K: \% P a
00404B35 |. 4D |dec ebp
8 R- q4 B4 f+ }* J8 B; j00404B36 |.^ 75 E7 \jnz short 00404B1F # Q) V; N1 s @0 |2 ?
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
6 q4 @( B5 h& [ E3 L j2 Y00404B3E |. 6A 00 push 0 ' E' ^$ G. V3 O# F8 A4 X" p0 t' I
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana> 3 N& b. c. a5 P( \% G
00404B45 |. 8BC8 mov ecx, eax 5 Y# k6 n- [8 q$ z9 D O" x
00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
) M* V" T; C, m00404B4C |. 85C0 test eax, eax 7 h6 P9 P0 E+ @# U
00404B4E |. 74 0E je short 00404B5E # N) N$ A& m# s
00404B50 |. 50 push eax
6 H, z% S+ s+ G4 |( [7 ~4 O4 U00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" ( j! Z4 b! B4 m5 Y ~1 J/ w8 v- }
00404B56 |. E8 A5C4FFFF call 00401000
( G `! M* f- A o5 Y) W c00404B5B |. 83C4 08 add esp, 8
0 [/ P) t Z0 E3 R& w00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
- i8 h' ^: _' G8 G0 V00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
/ \+ `* N D- u: [9 m/ P00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString + @3 s( A! C; g1 K& a" \
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78] / ~: r! B" c0 [5 q6 Q; ]
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
" [% }- Z: h' K- {3 o( v+ F00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 5 W9 Y r# }- C- `5 \1 m& X1 s
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
0 e* N" u4 G& n0 z7 ~4 _8 F00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
U" L! v+ U" R00404B85 |. FFD5 call ebp / _1 A& k7 U* \1 |
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
5 v3 J% z. ~$ V5 `00404B8B |. E8 E01F0000 call 00406B70
* F; V$ Y8 [, e8 B- m00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
5 k5 E" f x! \00404B94 |. 50 push eax
9 t. x! H3 c) j! r9 m }00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> 4 B* n( o9 @: z: F1 K1 _
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
9 u+ y r% H/ R) m4 G, I7 Y00404B9E |. 33C0 xor eax, eax
$ T' d+ R8 N ~00404BA0 |. 51 push ecx " g4 Q& r' j; A1 y. @# t
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax / i% M/ y; `* [8 ]/ |
00404BA5 |. 894424 50 mov dword ptr [esp+50], eax ' _3 L8 T! _( J
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete> 2 H2 y; e- b0 K6 ?
00404BAE |. 83C4 08 add esp, 8 ! F- |" B X% m# p3 ]/ h$ r/ q
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
) d6 y! _! a1 A. M00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator $ n, m7 I0 I, d$ }
00404BBB |. 6A 01 push 1 8 z% D3 B. a) o) L/ q) J8 P& n0 q; P
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C] " {$ |/ h$ }9 ?+ q9 m& w8 q0 o
00404BC1 |. E8 3A1C0000 call 00406800
3 N8 b& G, H" o s: L# _5 ?( X00404BC6 |. 6A 00 push 0 + @) I* k5 k+ {/ `8 {# A) \ W! L
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 0 w* A( B+ f0 i/ Z
00404BCC |. E8 4F1C0000 call 00406820
o1 b! `+ B/ K! C7 O' T00404BD1 |. 6A 10 push 10 # I4 u5 R3 ]- @* L6 \2 y
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
1 [2 l5 z9 ^8 f$ Q00404BD7 |. E8 841C0000 call 00406860
0 k2 ?7 ]2 W" E; [, Y1 n- ~00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] 7 B4 V0 g$ C3 A5 u
00404BE0 |. E8 FB040000 call 004050E0
3 H! h ]+ a( P( T4 O9 ?00404BE5 |. 68 00800000 push 8000
5 s3 G; e( @2 w& H4 u$ | S00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
/ f; j% v) A9 V1 @" q0 U% ?00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 4 D: }! c! p& L
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] # ?* S* P5 a* R
00404BF8 |. E8 E3040000 call 004050E0
0 Z: Z6 O9 q/ E% k# L00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
2 o9 M3 `& o, {% ^% j7 \00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile ( H" M( f8 G0 c( W5 K+ [" f; W. f& i
00404C0A |. 6A 00 push 0
* b$ T9 k7 L2 J( P1 t* [00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
1 {0 T& B! [5 U0 c9 w00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik" . ]: ]: b4 n p* H; b
00404C15 |. 52 push edx
5 h8 `4 _. |- l1 b( e" N00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
" z' a; l; \0 R0 @00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" # G* h( a6 t0 z) v: y
00404C1F |. 50 push eax 1 d8 V' L8 k7 l& [% M8 I4 t
00404C20 |. 8BCE mov ecx, esi
% n% K% V. `. I00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0 . m) f |& ]5 b9 ~8 g
00404C2A |. E8 61060000 call 00405290 7 E$ _$ J& G5 V7 \6 N; Z
00404C2F |. B8 58B44000 mov eax, 0040B458 - g( V V2 {& \ s# j$ o( ~7 l0 Y
00404C34 |. 894424 14 mov dword ptr [esp+14], eax ! h9 c# R, I. } P* a+ d
00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4] + i2 V6 g5 e( g
00404C3B |. 85C9 |test ecx, ecx
0 P5 E9 C& S8 k' U00404C3D |. 75 39 |jnz short 00404C78
4 U; V0 X4 U# D: h4 |00404C3F |. 8B08 |mov ecx, dword ptr [eax] ) `* a# H& R! {9 p! u K* T) V% j$ q
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
0 p @6 E# P; |& d% w/ f; T00404C48 |. 51 |push ecx
- J8 l/ D8 k7 o0 ]8 |, X/ A00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\" ) T+ l U7 d( i0 O
00404C4E |. 52 |push edx
" @, d% B% s, M4 M00404C4F |. FFD7 |call edi 5 `" A7 n: |4 O; ?# r4 }$ ]; C
00404C51 |. 83C4 0C |add esp, 0C
+ r; B$ C# |* q% m! o00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] ( k! ?. d; @" M# L7 a0 B
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C]
4 I+ q3 j) V* y$ f2 Z00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18] ( \/ L" g' B/ U4 j
00404C63 |. 6A 00 |push 0
8 U/ O7 K9 U, {0 ~8 x00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" - z0 A/ j& C) R! `. `# w& S7 D* m
00404C6A |. 50 |push eax
- _% I4 ^. k, e00404C6B |. 51 |push ecx / i8 A2 H; z6 ]5 m
00404C6C |. 52 |push edx
+ O5 B2 I# b, T9 {* x00404C6D |. 8BCE |mov ecx, esi
6 ^ R8 k1 f. C% ]: B9 T00404C6F |. E8 1C060000 |call 00405290 . Q/ I7 M0 z. z% l, X* L; t
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
9 |' u) N! a* g' q0 K0 Q& q/ Y00404C78 |> 83C0 08 |add eax, 8
! m, J& {0 h4 M3 Q) D00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0 4 a& P T# @: q" I& t5 C
00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
: V0 \0 j& ~+ e00404C84 |.^ 72 B2 \jb short 00404C38 3 Z2 N/ D% {( t' [2 T5 P0 e$ w: q
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] 5 s0 p. n% _, |
00404C8A |. 50 push eax
1 T% F7 l% R$ E00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
! @8 |4 k" ^# Z$ Y3 `' z7 W00404C90 |. E8 CBC3FFFF call 00401060 5 v5 Z3 }) H" f: w+ y! O
00404C95 |. 83C4 08 add esp, 8
0 U) J7 K L- S( ~8 H00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 7 }" q- R! j" a7 H& Q" x3 [5 z
00404C9C |. 6A 00 push 0 & n% P" L/ z3 m5 ?8 f7 C/ U
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" ( n* v4 C! x1 ~) x8 n- p7 V4 A
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save # F7 B8 i$ H0 L- `- E! o* g
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 3 Q3 Q+ H ?% v; F5 f
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile 3 F- ~, z7 a, P3 C0 I# [) j2 K* O: w8 T
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
9 K4 i7 X) p2 A" y+ A; J00404CBA |. FFD5 call ebp , ]0 v! w# e6 `3 x) d
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
% U% ?+ T; B' l" z/ B) N00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
! a' _% [- y1 v: n6 w00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
S/ h- z+ h! k0 V* {# M$ Q: X, B00404CCA |. FFD5 call ebp % w1 }! D1 ]4 b, i
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] * [' w0 n; }) A
00404CD0 |. E8 1B1D0000 call 004069F0
0 r* |) {" B5 b1 U7 O* h% ^9 v4 n2 v00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38]
; F7 s& p, @! S4 c5 h00404CD9 |. 51 push ecx ( \" ]. @3 V& p6 m, F1 Q7 q# h
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete> - p, ^7 i5 B" M3 |9 X2 J
00404CDF |. 83C4 04 add esp, 4 / R0 m/ H2 p" _4 l4 ^/ ]0 O5 Y
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 6 A1 k' j; ]$ B7 A3 h" |
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 6 B2 |3 |) [- f. ]
00404CEC |. 53 push ebx 9 y: Q/ Y, a8 w* L& o; F4 O5 |7 o
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] . J h( F# p: Z4 \! c" q
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" 4 i* w# i& m) O- v
00404CF9 |. 52 push edx ) k! q: O( \( E1 W
00404CFA |. FFD7 call edi " }+ ]8 V2 h8 Y0 _$ z3 U2 I' a
00404CFC |. 83C4 0C add esp, 0C # D$ f$ G5 V7 D
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
$ j9 e6 J( M" ^" X- i4 u+ b00404D06 |. 8BCE mov ecx, esi " P& z: o3 J5 ^5 H7 {/ C
00404D08 |. 50 push eax
/ E- q0 D# t H$ B00404D09 |. 6A 00 push 0 " Q9 Z1 w$ u2 ^. k/ [. O' ]+ R
00404D0B |. E8 F0060000 call 00405400 / C) V/ g; Z! b4 u2 z) c! F
00404D10 |. 6A 01 push 1 % h* n- f2 F; B, S& \
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C] $ _& n4 p. p. \' ^- S
00404D16 |. E8 E51A0000 call 00406800
, r3 n/ L2 B+ k9 n# [. d00404D1B |. 6A 00 push 0
* a! u, P. ^. W0 i00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
0 v7 N+ L3 l: {! J( ^0 U00404D21 |. E8 FA1A0000 call 00406820
) A" }9 I& ?& C) r: z00404D26 |. 6A 10 push 10 % k u- u. R* O- L) d
00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48] - D; P: h2 Y: D" ]8 I# b0 ~2 K* ?
00404D2C |. E8 2F1B0000 call 00406860 0 V+ d; }$ R) `1 P* C' [/ n- b
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58] , f d% o% q+ U; D; n1 E1 O8 c
00404D35 |. E8 A6030000 call 004050E0
( t3 c0 n5 O& r8 h. p5 q00404D3A |. 68 00800000 push 8000
& C8 L v& H) I. w8 {00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
8 h! X6 \$ Q( ? e* r00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 8 H1 S) d2 H. e U- {1 ]
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
1 B$ O9 c0 F& ?; L. r" v, `% T00404D4D |. E8 8E030000 call 004050E0
& [+ M( j/ W; X/ q+ W' K0 S' _00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 1 u0 R; k* `3 k; n# W0 A( {* `5 h1 e
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile : A! x' q! I' K
00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10] * G1 h6 | A7 K e+ w) t/ A' Y
00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" : n8 z/ S0 x# L9 f
00404D68 |. 51 push ecx ( n. S; G W4 q k6 n
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
! K9 L3 y/ ?$ ?9 y+ {" `00404D6D |. 6A 00 push 0
' X* F( ~+ `! }, r00404D6F |. 52 push edx / l$ i6 i& {- K' K4 M4 _
00404D70 |. 8BCE mov ecx, esi
* q K: Z3 l- }3 X00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 ( O) Z- }5 V, C
00404D7A |. E8 71040000 call 004051F0
% z4 J( F& o9 A3 R/ e00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] 4 u- w* N; v% V8 v K& x4 h
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" : c" w H' U5 a: @' m
00404D88 |. 50 push eax
+ D/ z# V/ w- m2 k9 R8 b, T00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20] . h2 T! m6 K( B6 H! R3 ]- u8 ^
00404D8D |. 6A 00 push 0
% q, e' i+ J# K, h. I00404D8F |. 51 push ecx & _3 R' F4 S/ X$ t4 Z# \2 h
00404D90 |. 8BCE mov ecx, esi + q7 e1 w+ r( I- j( B* E5 [9 v
00404D92 |. E8 59040000 call 004051F0 ' R: Y5 W5 t5 N+ d/ |4 C
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
2 r! K5 E9 G/ m8 Q" g$ o00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
& _! D8 `: @6 r/ L' v00404DA0 |. 52 push edx 7 n1 z$ c, R5 B; `3 `
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
: E: M2 n( j8 O6 O4 _00404DA5 |. 6A 00 push 0
- ^6 U* Z# u, p! w+ z: e00404DA7 |. 50 push eax j' C7 B) y, w" S8 W! w6 k: l
00404DA8 |. 8BCE mov ecx, esi
: K# Z* A2 q0 a' M00404DAA |. E8 41040000 call 004051F0
% x* S* w r) U00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10]
1 T6 a4 m: H* ~6 r00404DB3 |. 51 push ecx + C! J7 E7 z/ D7 F
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
* F' f1 E4 h1 C7 r00404DB9 |. E8 A2C2FFFF call 00401060
" B" ~6 z2 {+ e" Q00404DBE |. 83C4 08 add esp, 8 . ^: y5 z; Z9 s N" Y3 B
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
# W6 U3 G1 P, [+ k00404DC5 |. 6A 00 push 0 0 Y# D, @* y" r( Y
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb" / Z! ]4 f" W' Z, m7 r
00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
2 J, ~. h4 A0 ^4 E00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
U: L2 }1 @- s7 V$ S8 o00404DD8 |. 6A 00 push 0
; w! R: m+ i" k* m4 E00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
! s& C. C: K# q00404DDF |. 8BC8 mov ecx, eax 2 u. ^4 u9 p L+ W5 S
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath> 1 B0 ?8 `5 y1 F7 E
00404DE6 |. 85C0 test eax, eax
; n1 S4 V/ V& \1 r# T1 I00404DE8 |. 7E 25 jle short 00404E0F
- _7 c2 U' O) d* t' w" H6 n; |00404DEA |. 894424 14 mov dword ptr [esp+14], eax ! P3 ]2 f0 t) ]! g: S. R# y4 K
00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] " O- X: f; D# t! F8 B
00404DF4 |. 6A 00 |push 0 ; V( d0 O% u6 S* Z# l
00404DF6 |. 6A 00 |push 0
, `- o" y; e: |9 A00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> ! q2 C/ i0 x3 G4 X+ j2 m
00404DFD |. 8BC8 |mov ecx, eax
- d7 s! S% k9 e, [( K- y00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove>
3 L; q j0 Q1 N7 ?7 k* G00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] 5 u$ h( V4 B0 @, V4 a
00404E08 |. 48 |dec eax 2 ]" ^ ?% ^, \- R* u3 }( L
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax
% h# A9 e$ b' }2 U8 w1 E/ W `00404E0D |.^ 75 DF \jnz short 00404DEE
' R- I# j. p" w1 {" K+ @00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] $ Q# g8 m' B C" f4 h3 ~5 P
00404E15 |. 6A 00 push 0
8 k( e- ?3 H7 v- \00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana> / L4 _; m! i3 m
00404E1C |. 8BC8 mov ecx, eax ; O) {3 l8 P2 A& m h7 h
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath> 4 t1 L" k1 D3 M0 _( s+ x; e* d
00404E23 |. 85C0 test eax, eax
% y9 ^+ S- w$ d! u00404E25 |. 74 0E je short 00404E35
[( w/ A1 b3 K/ r/ P2 N00404E27 |. 50 push eax ! q( F: t! a& Y+ f. e
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
/ o9 V7 j/ ?+ b00404E2D |. E8 CEC1FFFF call 00401000
- o0 N2 A( \9 z5 a) c G3 H' s00404E32 |. 83C4 08 add esp, 8 + q/ [$ }- u/ x! W& }% H8 _" h
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80] ! D" e+ {7 C& M% s2 l! o
00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
/ [) \2 Y; ?5 t; p00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
6 T& F$ Z; D$ s6 A0 P+ B+ r) U00404E46 |. FFD5 call ebp
" m9 y# O( x2 N9 Y00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 3 R4 J. [+ f: s1 n& q" n1 N, R
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
" E' \6 E4 a& }* i0 e00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
7 T- O+ w& M/ {" S% m2 j0 G2 |0 Q: x00404E56 |. FFD5 call ebp - C# t+ G2 r$ E. O. t9 N2 c0 ~; T
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
8 u6 k" m3 s) N! K4 {8 s T00404E5C |. E8 8F1B0000 call 004069F0 # B. X8 ~, ?3 i( q
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
! m7 {, c3 t, ?6 c+ R) `( X00404E65 |. 52 push edx * ~ f5 ?8 U- @ [
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
+ `# u" K& M/ r- {00404E6B |. 83C4 04 add esp, 4 ) \% n9 D5 F" I. y& G9 Z* e# T
00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: b# L# u5 D$ k00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
# W0 J% D3 L* ?: [6 w7 Q3 q00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 6 h6 S4 w; _% K; V4 I
00404E7C |. E8 6F020000 call 004050F0 / I# \1 b0 \2 \ K r2 u
00404E81 |. 6A 00 push 0 9 t% m0 h& k& |0 f% U( i/ Z5 \
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14] / [' a6 J8 |5 u6 f3 X% u! M H
00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
2 |% U. c' T( q$ [00404E8C |. 50 push eax ( d3 w. d6 F5 {, R+ _1 T4 R* z
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24]
0 {9 D7 m3 g* h( H8 ]6 { H. b00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" 4 Y5 H! R* ~, n3 I9 j* o
00404E96 |. 51 push ecx
, }3 a; M$ D \: U$ v8 P" k00404E97 |. 8BCE mov ecx, esi
0 @" r( z: ^0 A& l5 p8 O8 ^8 y' O00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
& n5 ^. O3 a: d00404EA1 |. E8 EA030000 call 00405290
( i" T" Q. R L: J& m00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10] - x# y& E$ V) G
00404EAA |. 6A 01 push 1
8 s& U7 \3 d4 C0 F( ^" q( t00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] * c; |( f3 M7 g: V; q- O0 Z& U$ @
00404EB0 |. 52 push edx
; m/ Q8 R4 n3 E' F00404EB1 |. 50 push eax , l. ]7 A$ ^. v) O
00404EB2 |. 8BCE mov ecx, esi ; `: S5 G1 X; s7 ]/ P
00404EB4 |. E8 E7F9FFFF call 004048A0 3 N1 z, ]& u% `5 a' y" j+ G1 ]
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10] 7 v0 Q5 M/ f8 o5 L* U. @, _) {
00404EBD |. 51 push ecx
3 q2 P5 n) q' _ A00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF 7 `+ e- G2 t7 u: I& z2 Q5 ?
00404EC3 |. E8 98C1FFFF call 00401060 % P* ]# g) i7 B: y+ q- }
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save 6 i5 }, e; G5 Z8 r
00404ECE |. 83C4 08 add esp, 8
- @; k9 c! H; _! f' \, g00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 8 d6 [) p% `5 R- p: j
00404ED5 |. 6A 00 push 0
. I' j; w; }% V" k. ?+ t A00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
8 S0 |' E. l+ M00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> * F# m) ` ~6 d0 h
00404EDE |. 6A 00 push 0
5 ]. H& \9 h( J00404EE0 |. 8BCE mov ecx, esi . J+ P, E& `+ R9 G+ `! j
00404EE2 |. E8 39FAFFFF call 00404920 : A7 |7 S8 W) Z3 S
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] , u2 b/ M5 e. O; ?+ v
00404EEB |. E8 A0020000 call 00405190
! y; ~4 u- t7 f- E- j0 f00404EF0 |. 53 push ebx
& U9 x5 {5 }- j" y4 A# d& }# G6 a* l00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
( H3 ^% Z: n- m0 A: }3 X( u4 E00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_" # V h- g& N( |4 @: q& B
00404EFD |. 52 push edx * V) o+ y. P# p& {8 V6 g
00404EFE |. FFD7 call edi
3 h7 d' y6 p. h00404F00 |. 83C4 0C add esp, 0C
; u8 f, \# U, D2 U: ~7 x; v: q8 p7 J1 U00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88]
. C: Y& q2 f$ w/ J: H00404F0A |. 8BCE mov ecx, esi ^9 t; e5 o0 n/ A" r
00404F0C |. 50 push eax : h d6 k% d, W5 q# \8 E
00404F0D |. 6A 00 push 0 , M# U8 A$ t f( J; `
00404F0F |. E8 EC040000 call 00405400
8 ^* i7 {9 N9 G7 ?00404F14 |. 53 push ebx & {7 a0 H1 r& ~3 j& R" U7 I- _
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] " M' Q: s0 h3 R" E/ c* Y
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" ; k4 z4 D6 L7 T
00404F21 |. 51 push ecx
* X% U0 h4 F( p2 I00404F22 |. FFD7 call edi ' }; P' i ~5 M
00404F24 |. 83C4 0C add esp, 0C
7 g1 c' t" E" k& ?+ K( H00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
7 r Y: O4 z0 ]" k) Z6 V& q y00404F2E |. 8BCE mov ecx, esi . p9 Y1 \: u. }- c2 N
00404F30 |. 52 push edx
9 o( U2 Y$ `% {00404F31 |. 6A 00 push 0
: |. u5 r4 V- \ ^00404F33 |. E8 C8040000 call 00405400
9 ]& v" G8 G! B2 Q) |4 L1 q00404F38 |. 53 push ebx
2 q6 U$ a. ]! i' D4 f0 {8 N00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
; c6 }* Y! P2 W+ r; _# I00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
6 P% Q, M4 a. s. E1 J6 T# B' p2 k% U00404F45 |. 50 push eax " v: w2 s3 f- P+ W
00404F46 |. FFD7 call edi
8 t! ?- A. M8 j: u& I4 {, O7 b: \00404F48 |. 83C4 0C add esp, 0C
$ f2 c+ d9 a. `00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88] / r1 o \$ y3 k3 Q2 c
00404F52 |. 51 push ecx
! D7 G) h& E( D, `00404F53 |. 6A 00 push 0 , b, U/ S6 z/ n2 I3 p5 g4 H
00404F55 |. 8BCE mov ecx, esi 4 U& P" J/ M# d- l7 F$ I: ?2 V
00404F57 |. E8 A4040000 call 00405400 : X( t0 r. {; q2 A6 k
00404F5C |. 53 push ebx
* g( [& c' h f8 l4 W* M00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 7 r1 `/ E# \* E* x
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" - S9 C* C: `$ [ i8 R. M! f
00404F69 |. 52 push edx
: l) g- B# i2 p F00404F6A |. FFD7 call edi ) L: t' G2 G0 `2 ]! ?
00404F6C |. 83C4 0C add esp, 0C
% l K% \% x- M/ l$ m00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88] $ g9 s# ?% {, o, u' @$ P1 q
00404F76 |. 33FF xor edi, edi
: Q4 _7 H, F4 d1 ?8 b. F/ M00404F78 |. 8BCE mov ecx, esi 3 Q5 v. [9 R, A7 c' m
00404F7A |. 50 push eax 2 v+ x; Y2 n+ |
00404F7B |. 57 push edi
# ]: V8 b5 Z0 Q( ^8 d00404F7C |. E8 7F040000 call 00405400 1 {0 p0 y/ c6 W0 C1 z2 Q8 o
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ `1 K4 T5 G7 x8 @00404F85 |. E8 66010000 call 004050F0 % ?9 f7 f5 R. X1 k; o' O2 R
00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10]
5 ~/ k, K2 b: G4 x00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 6 Z0 _# b& I9 r. k
00404F93 |. 51 push ecx
) z0 ~1 T# U" t00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20] 8 g# v" b. }" W1 I
00404F98 |. 57 push edi
0 H1 B* r( } U0 p9 O4 B00404F99 |. 52 push edx ) x5 H: [1 {$ J& A( b4 b
00404F9A |. 8BCE mov ecx, esi
5 \" R$ e& ] @# w00404F9C |. 897C24 20 mov dword ptr [esp+20], edi ' O2 I9 z/ t% q+ B9 m* `0 H- g
00404FA0 |. E8 4B020000 call 004051F0 - @; R4 s0 \! N: q' O. T
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] * v" w% e/ A f. P5 B- R
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga" # g% M6 q& K+ V; {! m p5 _
00404FAE |. 50 push eax ' F1 p6 Q* D3 @+ `5 ?! f x
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20] 3 S" z* L! Z3 y6 }. |( W' C
00404FB3 |. 57 push edi
5 u5 D% ?" `% z00404FB4 |. 51 push ecx
, w! G# V: R. Y7 S9 C9 _( N, X7 F00404FB5 |. 8BCE mov ecx, esi
' g) _2 ?. l0 t# {, ~00404FB7 |. E8 34020000 call 004051F0
5 p- ]* Q' b1 v, i3 \0 z00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] " d5 ~) }* h8 H$ f9 e
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" : B; G( B/ j7 |
00404FC5 |. 52 push edx
( I. I2 C( D' y2 o' j00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
; W! ?) `; }5 N4 D/ Z9 H/ `00404FCA |. 57 push edi
8 H2 d( v, Y+ f$ F! i( j- D00404FCB |. 50 push eax
5 {9 ~- H$ Q! A' K; J. j: W% @00404FCC |. 8BCE mov ecx, esi
, D& n+ B6 W" {/ c- h7 G8 f! T8 O1 M00404FCE |. E8 1D020000 call 004051F0
$ G1 {, H% Q( s9 C$ M00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10] . h/ I) ^# r2 t2 F' y
00404FD7 |. 51 push ecx 0 [3 m$ v3 Q( y
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF $ [" J6 i: p4 _7 t( C5 U
00404FDD |. E8 7EC0FFFF call 00401060
( y: B4 ]4 G I. h00404FE2 |. 83C4 08 add esp, 8
4 K8 w2 @0 k. ?* i5 P00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18] % c3 H7 y! l4 l' S M
00404FE9 |. 57 push edi . c! D8 U- L; M! a/ ?
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
1 _; M" U9 e/ y; Y D00404FEF |. FFD5 call ebp
. V% \1 w) A7 P1 c9 n$ G! L0 M00404FF1 |. 57 push edi # I3 G6 J' v- S! X% F p% S# D2 g
00404FF2 |. 8BCE mov ecx, esi
/ X; @: U9 i3 f0 s1 ^2 f6 m, A00404FF4 |. E8 27F9FFFF call 00404920
8 j ]0 Z( J3 b; a5 ~00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ' W4 k" _- F7 f! ~) F0 y* U# }
00404FFD |. E8 8E010000 call 00405190
; L' ]4 @. Z3 d/ t- F00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
3 |. ~" ^9 b) D00405006 |. E8 E5000000 call 004050F0 ) G: t1 U- ~7 I; \/ m1 p
0040500B |. 57 push edi 5 e4 ^2 M& z4 i1 O: X( P9 G/ M+ J1 |
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14] 6 |: ^0 U7 w l9 E5 z: v* o8 A
00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" # D K( g7 k2 J7 a* F4 Y
00405015 |. 52 push edx 2 K" ^" X1 R/ ~
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] & L' p! h5 D8 q7 G) ]2 ~
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\" # l, ?9 S" d& i# l5 [
0040501F |. 50 push eax
" b0 [/ ]8 X( n$ n: o: i00405020 |. 8BCE mov ecx, esi
2 Z$ k- O$ o: T% R7 U4 Q00405022 |. 897C24 24 mov dword ptr [esp+24], edi
. d* \" V. Z* S& h$ q00405026 |. E8 65020000 call 00405290 ; Y2 d8 x4 \) b
0040502B |. 57 push edi 2 B' t, P- B: ~1 q" e
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] " m! |- Q3 q1 {4 A
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
$ d' \( b H4 S7 R6 e- }. Z8 m00405035 |. 51 push ecx 5 G# x( k2 K2 J0 ?2 m7 `
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24] 3 n3 \# A8 A% c9 N
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" 6 [& J0 j' o' m; Z8 o. K- o
0040503F |. 52 push edx
2 x, {) B- l0 j+ N4 |$ d) K: I00405040 |. 8BCE mov ecx, esi
. F6 C8 b7 X ?2 [' V7 }7 [00405042 |. E8 49020000 call 00405290
( f* c3 ?& B2 q2 x( ~/ |00405047 |. 57 push edi
( m- F2 ?8 m1 _; b: k00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] ) r9 H/ i# o3 Q! I7 g4 E0 S1 c9 v
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik" ' i/ l8 }: k& B* U% `# e
00405051 |. 50 push eax D; m# ^4 T; G% D, O6 L
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\" 0 r) [( l5 S% a& F. g
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
" I( F6 b) o! |0040505B |. 51 push ecx
9 ]9 s# V% G/ O- k$ O6 @0 b! V8 R0040505C |. 8BCE mov ecx, esi
0 P2 I; {" ^4 j, u0040505E |. E8 2D020000 call 00405290 3 S- F6 P/ G# V1 P5 [; C. _
00405063 |. 57 push edi $ i) Z' P& t+ x
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] / N: _ m* L& A) e( R
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
9 T* t9 h2 Y$ C" i0 e0040506D |. 52 push edx # N! P; l" @( h, \; J9 W( k
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24]
# X. j- M5 b* f8 }7 t( \00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
. K: q# H1 A3 ^4 m' D4 K00405077 |. 50 push eax
; M* s( u0 P% e5 ^$ D) ^00405078 |. 8BCE mov ecx, esi
) O, E8 ]% f+ a0040507A |. E8 11020000 call 00405290 ! f: @8 P7 I3 f: ^% n
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] R! `9 S2 k$ q$ J1 b/ U
00405083 |. 6A 02 push 2 - k1 Z) [4 Y( \
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C]
" \3 c7 |% i% y- I+ h' j00405089 |. 51 push ecx
' s) E7 Y) n6 y: t0040508A |. 52 push edx . y+ w! V- A0 ]0 r
0040508B |. 8BCE mov ecx, esi
. C4 P0 L/ C& h0040508D |. E8 0EF8FFFF call 004048A0 # {$ F) j4 }% x. ?% Z
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10]
( d& N, C& o4 J( q00405096 |. 50 push eax 9 Z1 b) P7 v# c; {. i
00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
. X) B' a, U7 l" O* \8 H I0040509C |. E8 BFBFFFFF call 00401060
7 d7 n+ i& R( r3 R% R: W6 J004050A1 |. 83C4 08 add esp, 8
) S, ?1 r2 k" a" r004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
& [9 u" M7 D, k. S004050A8 |. 57 push edi ( G, n+ Z# i. t, Y9 E3 R. G) f, I! M
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" ( g0 ]* e% e0 E5 V" j6 ?; R# _$ K" ]
004050AE |. FFD5 call ebp
! N k3 c- }; O. q3 k0 e8 `0 z004050B0 |. 57 push edi . e5 }( a3 e. S; B4 e6 a
004050B1 |. 8BCE mov ecx, esi
% q9 v4 N& O& h004050B3 |. E8 68F8FFFF call 00404920
- l, Q' _7 e) j- L$ C; G004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: B5 A7 U* c- d7 M; {: j004050BC |. E8 CF000000 call 00405190 " \& f; `, `7 x7 v# l; B
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
, d: \' V! R% P3 X: S# Z004050C6 |. E8 35BFFFFF call 00401000 # C$ Q& r4 [* P# A) @# `! s$ J
004050CB |. 83C4 04 add esp, 4 : v& Y) `, Q- M
004050CE |. 57 push edi ; /status 8 \! O5 D, }; u, r4 a
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
3 g- T0 _& h: Q0 x8 c5 H( U% B( r004050D5 |. 5F pop edi
+ F" _2 ^. L$ s/ R G004050D6 |. 5E pop esi
) s& ]1 x# c3 {" e* k3 K# k004050D7 |. 5D pop ebp
$ y! z, O; |2 i0 p) k( D5 v0 R004050D8 |. 5B pop ebx
5 ?- |% c. z! L) X+ X004050D9 |. 90 nop ' O+ Z2 c5 a* ]; {+ A2 {7 d2 u: C
004050DA |. 90 nop
g5 X; }. B, M ?3 M) b004050DB |. 90 nop
; m. [8 A) U1 B1 V004050DC |. 90 nop , R2 g# z$ G$ b
004050DD |. 90 nop
+ y* A9 h6 u2 F) v7 d004050DE |. 90 nop
% A2 p- i, [! D/ o- B: w! ` h004050DF |. 90 nop $ d0 \0 f6 [' z+ z- t7 R
004050E0 |$ 8BC1 mov eax, ecx s8 F+ _/ w$ z3 ?( U; P0 }
004050E2 |. 33C9 xor ecx, ecx 2 I( m$ |3 L, q0 v
004050E4 |. 8908 mov dword ptr [eax], ecx ! o1 q& C9 f2 d3 C% G2 h
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
* p: `/ I* O+ W. X4 d8 P4 g004050EA |. 66:8948 06 mov word ptr [eax+6], cx : k3 H0 V/ q6 [1 w' `
004050EE \. C3 retn
; F5 D3 M4 D$ o/ q$ h' v2 k004050EF 90 nop
' Q# H x, `7 {' i) m+ Z004050F0 /$ 53 push ebx 2 N7 q7 T8 i5 Z$ r4 E4 B ?; r$ k
004050F1 |. 55 push ebp
) x( |$ c3 ^; ]+ X, [& u; t0 j004050F2 |. 56 push esi
) G# b8 `; s; A# |004050F3 |. 57 push edi U7 d2 _9 t9 T! \) ^% c
004050F4 |. 8BF1 mov esi, ecx % X8 n) [( O* A# b, M- |
004050F6 |. 6A 14 push 14 ' ~: Y' D/ i7 J5 J& F& s! g
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator ; o* b4 \: ]5 P2 F3 l" T2 z# s. Y
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C]
; o( F- u2 t( n00405101 |. 33DB xor ebx, ebx # L! }; D ], y% x5 A' _: Q. L6 ?: p
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 ; {5 o# \% T1 W/ }
0040510A |. 895E 28 mov dword ptr [esi+28], ebx 3 ^/ a) f$ w0 A( _) Y3 @% P1 r3 e3 A5 ]
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
/ ~- W% g0 t9 [/ m+ Y5 P2 _00405110 |. 895E 24 mov dword ptr [esi+24], ebx
4 _1 P* v8 `: Z00405113 |. 895E 20 mov dword ptr [esi+20], ebx
: @6 p4 e) i9 e6 y S& S00405116 |. 895F 04 mov dword ptr [edi+4], ebx , e" u) I+ q; P3 k
00405119 |. 891F mov dword ptr [edi], ebx
; R1 E. s: b: n I2 ~0040511B |. 6A 10 push 10
0 p- w w1 E5 @2 ^$ u/ ^- p) j* q0040511D |. 8BCF mov ecx, edi
* Q; x. V$ N: u( S0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
! G; k; E) v9 z3 B5 S/ J w00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
2 y0 T" J' Q$ h7 ^. e- M00405125 |. 895D 00 mov dword ptr [ebp], ebx ' }! M/ B( Y) W s7 v
00405128 |. E8 F3180000 call 00406A20 5 m# a/ i1 G/ @2 n. S
0040512D |. 8B07 mov eax, dword ptr [edi] & ~; o$ C" s7 w$ T ~2 G( V! D
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
4 N2 L" b# }1 [1 |9 u, n R00405132 |. 3BC1 cmp eax, ecx
2 q( C! X. v4 I7 D* h00405134 |. 74 0C je short 00405142
7 {0 ~2 W: Q- B9 f1 H: ^5 C% i00405136 |> 8918 /mov dword ptr [eax], ebx
" e( g$ w# u A, h# J, q% Y4 B9 A4 x00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
# N' Q9 }3 h# h0 A0040513B |. 83C0 04 |add eax, 4
, t. f% O1 ~! U; X0040513E |. 3BC1 |cmp eax, ecx
@3 @7 m/ K( L. O00405140 |.^ 75 F4 \jnz short 00405136
+ |' N& J/ A0 L00405142 |> D905 3C934000 fld dword ptr [40933C] % C* P9 {+ O5 Z# Q
00405148 |. D80D 40934000 fmul dword ptr [409340] 1 o) o! S. f! y* s9 r9 Z6 N' i7 k
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
. T9 {/ ]! e9 o6 p& g* W1 I00405153 |. 50 push eax % P1 G9 w; N7 y# T- M" \" ~
00405154 |. 8BCD mov ecx, ebp 4 K) L. M! ^. w2 F7 @6 q
00405156 |. E8 65190000 call 00406AC0
?6 G! ~) h1 P: m0040515B |. 68 00800000 push 8000 + [6 m- `- P& a- T; G
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
Q. `# I9 m3 O00405163 |. 895E 40 mov dword ptr [esi+40], ebx * k) O2 O; S; B) x1 J
00405166 |. 66:895E 44 mov word ptr [esi+44], bx m- l: H u: l
0040516A |. 66:895E 46 mov word ptr [esi+46], bx
# {; a1 o3 R1 i0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
0 O l% a" x0 [0 z00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
" a7 M& j0 _! m+ n* y1 l* D00405177 |. 895E 60 mov dword ptr [esi+60], ebx + T8 D- v, s o
0040517A |. 66:895E 64 mov word ptr [esi+64], bx " J$ j2 }1 R# J* S% S& V) [& V
0040517E |. 66:895E 66 mov word ptr [esi+66], bx
( F- J! ^, l; T* `- h! p& t00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile ! W1 i% F# V' q
00405188 |. 8BC6 mov eax, esi 9 ], {0 {2 n2 K
0040518A |. 5F pop edi
8 a9 I' k! C% E3 u3 A0040518B |. 5E pop esi 2 h4 W3 U/ T8 S
0040518C |. 5D pop ebp / J8 k: T! p& y" ^! D
0040518D |. 5B pop ebx
- Q7 k/ n8 @* |( z+ F2 h! p0040518E \. C3 retn |