在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
8 Z! _! z# {7 u% A+ U2 k当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 9 L* S; n2 e! h
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
% C5 ?. l2 Y# T7 S1 ^
6 D4 u' M" @+ w: O/ f, M) O3 ~( `
$ O) U2 E% @9 p' D+ i% x00404990 >/$ 81EC 7C020000 sub esp, 27C
4 x! l& P; V: a9 I2 p00404996 |. 53 push ebx : o2 Q* X, m( `4 y1 Y' E7 @$ |7 e; p* A
00404997 |. 55 push ebp ) h/ I5 J1 G0 o7 l, L$ f1 |7 _% v3 m
00404998 |. 56 push esi ( g8 B/ B5 E* V+ d' m. X9 [' H6 Q
00404999 |. 57 push edi
) U/ J+ b, i0 g7 Z' T0040499A |. 8BF1 mov esi, ecx
+ o3 n. G$ X- R. g( Q0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF & y. J- \5 L) N" p2 G6 h- h7 Q
004049A1 |. E8 BAC6FFFF call 00401060
5 ~4 P( e& X1 a, n2 k4 P004049A6 |. 83C4 04 add esp, 4
- A x7 u4 C! r004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
- b; U7 G- J3 T" |* a9 ^ F004049AE |. E8 4DC6FFFF call 00401000
" I! B7 Z) a. O2 N) I. m004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
- W& R2 K9 O( J004049B9 |. 83C4 04 add esp, 4 * A) H& e# `; Z! Z$ x7 j
004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] 1 h, }: G7 c' J2 d: s* }
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88] 3 \1 q. z$ \8 m' t5 {9 h, H
004049C9 |. 53 push ebx ; /<%s> 0 W* p4 z6 [- B" ^+ }9 v3 Q" E! t
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
1 y3 Y6 N) `( x9 g. Z004049CF |. 50 push eax ; |s
+ {+ i# a' I5 v0 T9 q9 m004049D0 |. FFD7 call edi ; \sprintf " z% |. D1 ] j5 Y4 T- x
004049D2 |. 83C4 0C add esp, 0C " m' ^4 K5 S1 g7 q
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
# D/ I. R: s4 d; Z* h6 K, J004049DC |. 51 push ecx
/ F+ w% p* }( l) _004049DD |. 6A 00 push 0 8 I9 [! h9 g5 Z2 b
004049DF |. 8BCE mov ecx, esi
7 s/ g( L: g. U' p* `& Z& X004049E1 |. E8 1A0A0000 call 00405400
9 o7 j( j3 d. t9 ^004049E6 |. 53 push ebx : H2 U& I. ~; u9 j7 G3 B
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
( U( j | r P8 ?1 @' q004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\"
5 M( o' l' r. l& X/ f+ [004049F3 |. 52 push edx
% k% v5 [. M; q; V. N% q004049F4 |. FFD7 call edi
* n# r3 S8 F: Q; X004049F6 |. 83C4 0C add esp, 0C 6 d3 y5 }* |& t7 K" c ^4 W
004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
$ g7 r5 W7 f* t! I00404A00 |. 8BCE mov ecx, esi ! X% r0 N) u" K5 Y9 i: o1 b
00404A02 |. 50 push eax ! u! j: \) L% |$ ?7 b i. e$ [5 x
00404A03 |. 6A 02 push 2
4 H3 u. }8 Q! d0 z, E5 G' p# h/ Z00404A05 |. E8 F6090000 call 00405400 & }" o0 p4 H' Z! J' j) N
00404A0A |. 6A 14 push 14
/ O1 b+ Q& ^( O$ G00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] # K) s, k7 ]- F& ^; o
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
$ P* y6 w: X) Z4 S00404A16 |. 6A 00 push 0
$ q3 r$ P+ r. \4 d I: u00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
9 Q" k' H: h" }0 q ], X, E00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
* c8 l3 ^4 T2 G0 r3 f% W00404A24 |. E8 F71D0000 call 00406820 6 Q( T7 Z! b6 z2 s$ H
00404A29 |. 6A 10 push 10 4 U$ _5 p0 \$ z1 e1 F! t. C
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
+ C( R' F6 u8 {6 }1 k00404A2F |. E8 2C1E0000 call 00406860 6 h" F: a8 S* P; D- k' Z
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
, b( J4 Y4 R2 F$ l. f J+ L00404A38 |. E8 A3060000 call 004050E0
$ c" E* P# H1 q# G& n00404A3D |. 68 00800000 push 8000 7 L7 l, a% h$ {; e% G4 v
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64] 5 E) E& r. A6 e1 S0 E
00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 8 m- H r) e) X; a& l* P& z
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
9 j. o5 G, A; P N( G& D00404A50 |. E8 8B060000 call 004050E0
" z9 H& b! H2 [/ r7 V4 q" z00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
- L3 j1 G% o& y C00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
) e; E, _( n% B6 \8 _! S* X( O2 e00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] w n. X# d/ p
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" % u# `0 U: e- I0 b5 @, f2 ]) a
00404A6B |. 51 push ecx 0 j5 x, L* q+ U/ O( m; x7 M
00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] 1 g' r1 ?6 q: q7 E
00404A70 |. 6A 02 push 2
; h3 r6 q" z. Y00404A72 |. 52 push edx $ y4 ~# @+ W; R
00404A73 |. 8BCE mov ecx, esi
5 q# B+ e2 x) W& U$ I00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 \8 _8 ? [% W, i$ @) I4 @- S
00404A7D |. E8 6E070000 call 004051F0
, Q" r: c1 Y- W6 F00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10]
6 H/ Y$ a! G' y* P* M7 M. F00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav" : x3 s6 K' K* }9 ~& T; d# W( O: x
00404A8B |. 50 push eax ( E$ Z8 `* T; c) t% ]
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] + \. ?8 T! c6 [0 @2 n
00404A90 |. 6A 02 push 2 " E" R. S. E, E3 j- ?
00404A92 |. 51 push ecx
2 @" z3 O/ V' J4 v4 T" O00404A93 |. 8BCE mov ecx, esi : [! t5 n3 T+ U) V
00404A95 |. E8 56070000 call 004051F0
- G: {/ @4 r: [6 x. u( H8 k' l00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
& G1 a. A; r2 `' J l00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" & q: A. f2 ^ G0 C9 z a8 @. J
00404AA3 |. 52 push edx
% ?7 e$ L/ C. z6 m00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] 7 c( Z( {9 z( Z2 p. J$ ^& l* F: Z
00404AA8 |. 6A 00 push 0 + J! a" L+ P" U" d F
00404AAA |. 50 push eax
: Y) E+ V$ E* `1 ]00404AAB |. 8BCE mov ecx, esi
1 F: o3 m+ `8 v5 p7 _00404AAD |. E8 3E070000 call 004051F0 : @$ g5 `6 ?) s4 Z$ ^/ W
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga" & N4 u+ f, A' o7 }2 K! M' @; `" q
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
6 K; {, K# R! W. |4 Y9 u00404ABB |. 51 push ecx / G+ R4 y9 k$ ^) r* q5 A
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
/ r0 p7 z* g) ]( e6 }" n/ W8 R% }00404AC0 |. 6A 00 push 0
" J+ a+ B2 u% Q$ b5 E00404AC2 |. 52 push edx
3 S3 t" V7 h' N/ W" w5 B00404AC3 |. 8BCE mov ecx, esi
" m5 L2 o9 w- \4 Q00404AC5 |. E8 26070000 call 004051F0 2 K8 @( z, |! ~1 A: p; D3 r
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
2 T7 H' f' _5 V8 |+ v, W00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
! ?/ P: K* m7 _( s2 {, t00404AD3 |. 50 push eax 4 |. N, D. w$ z) i6 |' |( H, p
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] + X9 h! J% f. e
00404AD8 |. 6A 00 push 0 0 a2 i8 |( n- k3 p, N
00404ADA |. 51 push ecx ( g0 H' l+ Q+ l. L8 q5 D
00404ADB |. 8BCE mov ecx, esi
$ S2 i3 g0 a& o F m( Y& C00404ADD |. E8 0E070000 call 004051F0
$ w4 O- q- U5 Y1 o- G. H ]00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10]
1 m" J6 n8 L! e2 W00404AE6 |. 52 push edx % s/ @7 u4 \- t. R, x6 i
00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF & Z3 `* Z: m' c* }# S
00404AEC |. E8 6FC5FFFF call 00401060
& |. u1 E) }- D. l9 m( e1 `7 r5 A00404AF1 |. 83C4 08 add esp, 8
* \! h5 C: Z# z; h6 ?00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ k# b( P ~ h0 K& M00404AF8 |. 6A 00 push 0 & |9 [3 _* ^' F$ \( s) F& p! S
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb"
7 h1 M0 }$ t R00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save $ V3 d7 [9 N5 m9 m( k X7 o
00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] 5 ~. O( _5 M+ b) r/ L9 ?& ^: i g" x
00404B0B |. 6A 00 push 0 , ]2 _: ^' i/ [; x, x: n% O9 k
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana> ! E; U8 X7 c& a5 Y3 P- g
00404B12 |. 8BC8 mov ecx, eax 9 |1 U# A. l1 e. \
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
% I% u3 v5 _; Q' ]) {! e, o00404B19 |. 85C0 test eax, eax ( a" v* ^7 o+ u# ]
00404B1B |. 7E 1B jle short 00404B38
" P. z2 j5 u1 }$ r00404B1D |. 8BE8 mov ebp, eax / w9 v7 X- o/ C, b/ ~
00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
3 ~! [1 N' \" t- K00404B25 |. 6A 00 |push 0 4 l8 g" h0 M( H8 U; z& ]$ N; y( \
00404B27 |. 6A 00 |push 0
6 d \! a/ e& n0 v0 u6 L00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> . `% L3 C+ B/ f, I) p. M2 b9 T: m
00404B2E |. 8BC8 |mov ecx, eax : u u9 R6 h& m) t" a& j. `
00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> ) U+ X) D9 R/ w3 w& Y
00404B35 |. 4D |dec ebp ( f* s8 I, ?; o0 X* O+ e* N7 w
00404B36 |.^ 75 E7 \jnz short 00404B1F ]; t* j7 y4 S- x. I
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 0 f z! @( Y1 R6 i3 z( V+ O; C0 o
00404B3E |. 6A 00 push 0
! S9 S% m. j1 P' z. r% ~6 q00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana> v$ Y( ^. Y) u- R8 Z
00404B45 |. 8BC8 mov ecx, eax
$ z- c( y6 v8 N* x+ }00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
6 M6 j4 r) A: Q% h* M3 @; v00404B4C |. 85C0 test eax, eax
9 M8 R3 T' B2 H7 x: Q+ C3 z% d00404B4E |. 74 0E je short 00404B5E $ K1 N/ W8 T; G$ s6 K" i+ k
00404B50 |. 50 push eax
' T1 t+ m8 ]3 ^00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
5 k8 ~$ Z5 L! w, n$ h00404B56 |. E8 A5C4FFFF call 00401000
5 u" P3 { R! S+ _( B1 r00404B5B |. 83C4 08 add esp, 8
. V* a+ N7 u9 M/ r00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
9 c: X* u! K Q K8 `7 Y; y; ?00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile 4 [; n. k u& j! K" I# O7 u. D: o% @
00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString ) F: y& p9 u9 T- ^; ?. n& ^' O! A
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
8 z$ _0 M3 D' v8 i) A( M# ?00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
* Y4 s2 T! w; X' l4 ^00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
" c; ]" S' R' @6 o1 w00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
9 |8 k) s% E2 K. e7 m3 Q' y00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 5 D4 z2 O i" [
00404B85 |. FFD5 call ebp
" J3 S, i E }5 V" o00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
" u* N! G& y9 z+ Q3 f" \6 ]! Y. |& f00404B8B |. E8 E01F0000 call 00406B70
& j3 G: Y" u) v3 ?: n4 Y& C00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44] ( c9 A, m. l) W+ X! {: D m
00404B94 |. 50 push eax
5 E/ O" U* s6 w0 K" u( V00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete>
$ @! {5 K# l8 u+ Y& N/ Z& L# E( v00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
1 @, q7 t3 e3 N. Y7 k00404B9E |. 33C0 xor eax, eax
: v! R) A3 R3 _! f# p00404BA0 |. 51 push ecx 2 L$ ~, S. R4 \% w: ^8 e; j3 o2 |
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
! I1 O5 j% x2 U3 [ r00404BA5 |. 894424 50 mov dword ptr [esp+50], eax * _" K( x. _/ V7 e
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete> ) k6 K! I. k. o3 e, |: m3 y5 ]5 n
00404BAE |. 83C4 08 add esp, 8 0 X) _5 B" G, ?
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
' L! A- X+ u, s8 x00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator ! O0 D$ U" A( O8 k+ w- T2 [! ^1 T
00404BBB |. 6A 01 push 1 + s) l( `8 n7 L2 ^6 a2 ]" K
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
% i6 S( l x) r( T' J: [( |& |00404BC1 |. E8 3A1C0000 call 00406800 : _2 s# r5 B A3 ~2 t: n
00404BC6 |. 6A 00 push 0 1 a9 j/ ?) J/ R
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
9 t% U6 Y U0 Y00404BCC |. E8 4F1C0000 call 00406820
0 I9 j3 Q; p: d% _1 B+ b. g" T00404BD1 |. 6A 10 push 10 [, H' u& g7 ?2 n3 j- d5 c4 k' l. {
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
& O- V' n" C8 ^% }& r W( [00404BD7 |. E8 841C0000 call 00406860 5 s5 B9 v+ N5 f. p: K+ P0 }1 }
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] + W' u) C. I: |4 p
00404BE0 |. E8 FB040000 call 004050E0
6 |; v {" m# d1 w8 f$ t3 q00404BE5 |. 68 00800000 push 8000 % ]( Z: _3 z$ ?( _* F" ]
00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64] , Y9 R$ w, g! u ^8 `1 Z
00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 0 i" R, i* X/ B' t/ M9 g1 a
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
% c" ] L2 v' h' Z7 g2 i% z$ C00404BF8 |. E8 E3040000 call 004050E0
( F+ r8 H4 E7 ^% F: p00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
5 V+ i& R3 b3 X) F00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
# P! L; d% q3 h/ V0 |( b. e1 E) X00404C0A |. 6A 00 push 0 i: ~ e) H- h7 {1 H; ]
00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
# ^1 o) J d+ n% ^00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 6 r1 s+ s, l* ~1 _- d% _- ~
00404C15 |. 52 push edx * |+ Q5 Y) s+ Q Q2 F% l
00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
. U1 z+ ~5 f% O6 q$ {00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" 1 L; C3 }/ l6 {0 U! f ?
00404C1F |. 50 push eax 9 Y/ ^- A' H& g' j9 X3 z7 v- f
00404C20 |. 8BCE mov ecx, esi
) J6 G0 q: G/ e& O* B7 I00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
) }. Y9 l, P6 Y4 ~00404C2A |. E8 61060000 call 00405290
3 _; I- Y1 F2 t |# H00404C2F |. B8 58B44000 mov eax, 0040B458
6 _1 j6 c0 ]( x# G& I& H00404C34 |. 894424 14 mov dword ptr [esp+14], eax
! Q H/ E, f/ U M5 F4 n00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4] . z* J/ r" D \1 h$ V! |
00404C3B |. 85C9 |test ecx, ecx
" ^4 P' N1 g' }4 n) b1 a' s00404C3D |. 75 39 |jnz short 00404C78 3 d/ _+ M- k1 T3 s7 K5 B1 d! ~
00404C3F |. 8B08 |mov ecx, dword ptr [eax] % G# R' q' N7 A3 H; J0 w$ t
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
9 q' ]( f& u% \8 H3 O00404C48 |. 51 |push ecx
" D, r8 F8 ^7 b% H00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
% C8 M v8 U9 R* T$ G3 J00404C4E |. 52 |push edx
9 i( C; i6 q$ s2 L( R6 r& i00404C4F |. FFD7 |call edi * h* B$ N1 g& U/ [
00404C51 |. 83C4 0C |add esp, 0C 3 ~/ W \5 g% x
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] 2 ?2 m- i* @; O0 \: f) |
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] , H; F! T' q) Q+ k
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
4 e- t7 _$ a4 f. h0 r" }" R00404C63 |. 6A 00 |push 0
$ q9 v7 c) [% u00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" 7 V R# u1 Q- z- ?3 v. r8 {2 O
00404C6A |. 50 |push eax
0 ?2 F2 S* [, n r- {00404C6B |. 51 |push ecx
/ F# ^: F0 m" R4 o e, h; ?00404C6C |. 52 |push edx & w f& A6 Y( _8 ?8 Y6 o) H
00404C6D |. 8BCE |mov ecx, esi 5 r7 _/ n& G. N# X8 t. x i
00404C6F |. E8 1C060000 |call 00405290
; h% K& g: \& l1 t00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
3 b H, V! c8 W- I' k, @00404C78 |> 83C0 08 |add eax, 8 , Q5 i2 w# _: |, l; }
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0 ' t; f: y2 G, P2 N
00404C80 |. 894424 14 |mov dword ptr [esp+14], eax + g- m6 O: L# A& a
00404C84 |.^ 72 B2 \jb short 00404C38 ; E6 f5 w9 ^& _: z" @) f# d
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] I/ e" E$ E2 o5 v* C* _9 R
00404C8A |. 50 push eax 9 R# Q+ i1 j) G- T% N, j) E; M* g
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
7 r, W8 ]- _8 N2 s# F7 v00404C90 |. E8 CBC3FFFF call 00401060 " d6 P& R7 V- u
00404C95 |. 83C4 08 add esp, 8 6 k9 e9 R, [$ {) F! l0 H
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ; b3 q8 u$ R) r$ R
00404C9C |. 6A 00 push 0 4 W1 x6 G! F; n* ]$ X
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" 9 Q& ]; @. p. K8 {! R% [
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save : k, O) u' C0 S1 H. P$ j
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
, d: A* @' W. Q3 L; K+ O00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile 7 S4 B% w7 V9 I
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
0 L) Y2 l: J( c# j00404CBA |. FFD5 call ebp
- d6 ?: W$ u, r# L00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60] : ]" [+ X& S* j: b+ j$ Y, I5 B' V' e
00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile " E: g( T$ `! O: J
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58] t3 s7 J t2 i+ f6 C% J
00404CCA |. FFD5 call ebp
7 A, r0 e& f4 Z- }00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
" K5 t% @/ D, k00404CD0 |. E8 1B1D0000 call 004069F0 ) [5 p# f$ `, E' v9 G9 y- J' o( e
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] 5 a( x3 V. K- D, g: q( z+ {
00404CD9 |. 51 push ecx 2 z. s- [0 `, B$ y5 t, i% p
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete> * `2 n' ~( E% }* `4 H
00404CDF |. 83C4 04 add esp, 4 " M3 z/ H4 L4 I
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ' E; h# f! B8 I& u
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator / c1 ]2 i# T+ Z5 f- S6 `( Q
00404CEC |. 53 push ebx
0 B% p) N' _& b* K7 J3 A+ w' q00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 9 F, a4 v2 \* Y; e
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" % o+ x- S3 d# W2 Q0 k* Y9 E
00404CF9 |. 52 push edx
% K" B4 f$ O" s; c: V: i00404CFA |. FFD7 call edi , a( x9 A0 H0 e B, I& T5 }
00404CFC |. 83C4 0C add esp, 0C : w* \ O p7 i: L
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
% u! N& ~5 t H; r( k00404D06 |. 8BCE mov ecx, esi
/ Y: h8 c: D; T; E/ n00404D08 |. 50 push eax
/ q/ Q$ I8 P& ?# f, y00404D09 |. 6A 00 push 0 ' O" e+ q# i3 ?; p8 d
00404D0B |. E8 F0060000 call 00405400
, u8 y+ j0 m1 ~1 c$ D# I. G, t3 U1 J00404D10 |. 6A 01 push 1
9 I! w; {. W: u7 ~: M' c' f00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C] % D! A1 C: U; Y. k6 D. H
00404D16 |. E8 E51A0000 call 00406800 * C9 k. D7 h' c" S9 l* G1 J
00404D1B |. 6A 00 push 0 ' ]6 V7 g: F- g7 d2 j, G
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
# V9 z. ?# S2 ?5 m, ]00404D21 |. E8 FA1A0000 call 00406820 1 Y' _7 ~+ I4 r
00404D26 |. 6A 10 push 10 + S- [4 C3 v4 [7 E3 s' U
00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48] 1 f9 Z6 N( s8 d ]8 d" C% R
00404D2C |. E8 2F1B0000 call 00406860
3 \! [3 T( g+ j- j* i; k00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
* I- f0 M0 Q- y00404D35 |. E8 A6030000 call 004050E0 5 i" T$ b0 L& K' a1 g9 g! L0 w
00404D3A |. 68 00800000 push 8000 5 o |* E1 U3 ]5 B
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
" z! N( w7 ^! Q! m. y) s$ E00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
& B* i0 X& {/ @$ @00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
3 t- f/ e8 J* y4 J; _) }4 M2 a) P00404D4D |. E8 8E030000 call 004050E0 1 o1 Y' S7 U1 h: ] k* s2 l
00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] * o: @" R( Y' [& s, s5 ?
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
7 P9 }( b* ?. w: c% i00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10] 7 B! M0 P0 N- E1 M; a
00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
0 o7 T M! l# H* S. B5 {$ [00404D68 |. 51 push ecx
# q( W* N% x) C7 Y00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20] : N7 C8 }- A" ~
00404D6D |. 6A 00 push 0
5 S# [/ N* }. j8 ~8 s# W4 z* K00404D6F |. 52 push edx
& T+ |2 X3 M8 O% [5 e$ f! n: Q00404D70 |. 8BCE mov ecx, esi * L' A" O& }+ j' x- i0 [
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0
) y$ B( I+ f+ j8 u, R00404D7A |. E8 71040000 call 004051F0
# A5 b% S; W" M4 R% X5 `) E00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10]
4 i) G3 Z, d9 {6 S( e00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
6 d7 U; Z$ w+ ^0 B- `00404D88 |. 50 push eax # {5 a# B% S F$ o) W% k$ j: z
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
* h- p$ _/ n) @% f8 x' o00404D8D |. 6A 00 push 0
& n/ z$ v* M& R& q/ @00404D8F |. 51 push ecx
5 G8 o6 P3 N! @8 X/ T+ w00404D90 |. 8BCE mov ecx, esi D, r8 B" R+ d8 j4 c* }9 Z
00404D92 |. E8 59040000 call 004051F0
7 |% f; @- \) z4 v* w, l# J00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
0 `( E( H; X. {$ e' j, j00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png" " {" P' A3 W1 n; Q5 D5 N1 i% b5 @
00404DA0 |. 52 push edx
: C% L, \- D. c m1 i# R4 }00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
- U% n$ Q* M4 C, Z7 l' ]+ V00404DA5 |. 6A 00 push 0
' B0 g# D$ a. ?, ]: ~00404DA7 |. 50 push eax 8 S1 f# {4 ]1 i
00404DA8 |. 8BCE mov ecx, esi
9 b4 T/ {; i; e9 { h00404DAA |. E8 41040000 call 004051F0 A4 L% O: A: q ?3 m7 f4 V
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] S! ~2 n* ~; J/ @
00404DB3 |. 51 push ecx 9 g( o" w) v6 B- U: Z0 }/ [+ l
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
( W# T' `6 u! m: J6 @# T* U00404DB9 |. E8 A2C2FFFF call 00401060 ) m/ L. ]" p* @( q
00404DBE |. 83C4 08 add esp, 8
. K: p8 [8 n- ?# T, B00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ G; X5 `2 P6 O' U+ ?00404DC5 |. 6A 00 push 0 1 s5 N. E" {2 x* V7 Y9 s+ E
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
6 d' z! C+ ]" e" } D00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
, f4 y0 [5 q1 B4 o/ Z% Y/ y00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
) W6 ?0 l b A/ J' _5 M- `00404DD8 |. 6A 00 push 0
- ^* }0 }9 a6 o& X5 D/ a& W! g00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> * d. S1 q: ], G# L4 Z8 B6 \
00404DDF |. 8BC8 mov ecx, eax
; P2 o1 s$ k5 N8 N00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
( Z9 M1 K3 j* K# j6 B+ p5 X00404DE6 |. 85C0 test eax, eax
: G0 B5 ^; E5 p+ ^5 ]! C00404DE8 |. 7E 25 jle short 00404E0F 0 i3 C: r7 @% y( O
00404DEA |. 894424 14 mov dword ptr [esp+14], eax 1 Z$ F' L8 o7 R3 _/ e7 W' K
00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
+ Q. u' R2 v* X$ h00404DF4 |. 6A 00 |push 0
6 Z H2 q- p# t" Z4 k9 R1 @00404DF6 |. 6A 00 |push 0
! U/ }1 T2 V- V) G" y* W00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> ; G0 F9 L' C) ?# O) F; i
00404DFD |. 8BC8 |mov ecx, eax * g( R+ S' x- j+ q
00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove>
1 Y6 ^$ Q1 @: n3 m' u/ a% ~00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14]
$ }% M" J% r4 q0 N+ ~8 F+ a i00404E08 |. 48 |dec eax
+ P2 @, Y6 z* u- O1 C& B' M00404E09 |. 894424 14 |mov dword ptr [esp+14], eax 5 A: O; Q B! D6 M: i" s0 R
00404E0D |.^ 75 DF \jnz short 00404DEE ' n4 Y, l1 C/ V4 W* |
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
7 {8 I* O0 Z! O00404E15 |. 6A 00 push 0
% b! H) }7 z( h; W6 d00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana> + T( L2 }+ o, n% G1 Y
00404E1C |. 8BC8 mov ecx, eax O5 v% q/ J& o2 z; h/ Z
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
3 z0 Z3 V! ^1 u! [- }00404E23 |. 85C0 test eax, eax
6 k# J6 R- j* K" ~5 x6 x00404E25 |. 74 0E je short 00404E35
" u ~( I, M# c/ ]" s/ ?( Q' f00404E27 |. 50 push eax
' ~% V- I! S' S& _! q4 t# L00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" 6 D2 M; K! o# L. w3 e+ \2 P
00404E2D |. E8 CEC1FFFF call 00401000 6 O0 y8 O% @1 a. W8 r# u/ T, g
00404E32 |. 83C4 08 add esp, 8 3 ]5 k$ Z4 `7 ]# ?; ?3 `! T0 M
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80] 9 o; Q; J. P+ t* z* ~ m, A! ~ D
00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
# h0 Q6 l+ m! ]& {& h$ K00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
6 v* g$ M, w* c% Y9 X! s4 f00404E46 |. FFD5 call ebp
! q9 X7 G5 X7 k$ |% w+ \00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 6 ?* s2 n, _) x) X5 B
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile L4 t9 n! e5 R/ [' }+ }) y
00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
) m$ W+ H* Z; _00404E56 |. FFD5 call ebp
. }- m9 w6 A' u0 a00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44] - d# q5 W/ g# g6 r
00404E5C |. E8 8F1B0000 call 004069F0 6 N6 Y8 ^5 J! O6 M& }
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] 5 X- G# |' p, \0 \* |
00404E65 |. 52 push edx ! H- J1 i5 _+ c8 i
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> 7 Z7 D0 i/ L9 |+ }5 C# |
00404E6B |. 83C4 04 add esp, 4 . n9 `6 e9 l2 Z7 Z0 P- m
00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
1 u" ^8 V1 S8 k- W; _* {4 a+ O' D00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 8 N. ~/ E3 v4 o* Y3 P' e
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] / s: E" L4 U$ S' o( C; @8 Y
00404E7C |. E8 6F020000 call 004050F0 ' L" w( Y) c; d+ v1 Q0 n* G* i
00404E81 |. 6A 00 push 0 " v3 T7 l/ F- i# m
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
. Q, W7 ]: A+ X5 i" i00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
' K7 i& n1 l, y M00404E8C |. 50 push eax 9 x5 i2 m6 q! a6 t9 X! V5 I
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] ) x4 u6 {% \( N& C3 c9 ^
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" : ]3 _5 O- |+ i; ^8 I
00404E96 |. 51 push ecx
# R* T8 O$ n) ?; h00404E97 |. 8BCE mov ecx, esi
! L, O' t2 Q: r/ i0 S00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
6 F/ O* J4 j; k8 K00404EA1 |. E8 EA030000 call 00405290 / E; G$ k5 f% H b8 b- j+ B
00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
7 A4 r" X/ l2 ~ r00404EAA |. 6A 01 push 1
: f: y5 l' E5 S00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] ! i, D% H3 f6 |4 \
00404EB0 |. 52 push edx 0 X4 y! O0 }, |. ^& J& w. z
00404EB1 |. 50 push eax ; L7 _1 `- d, ~+ u/ [- j3 l. `/ c
00404EB2 |. 8BCE mov ecx, esi ; o7 v- d, K1 S t
00404EB4 |. E8 E7F9FFFF call 004048A0
& q! a! U4 D9 D+ ]" d+ n' C00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
8 u: W* T0 L- ~" e7 F/ h J! k- a# J00404EBD |. 51 push ecx i, s0 s! F8 t( O
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF 5 a! @* R( T7 j# o
00404EC3 |. E8 98C1FFFF call 00401060 ; s9 h2 e% u9 M
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
X' t6 ]( O" `) X8 {5 N00404ECE |. 83C4 08 add esp, 8
' r" Y& l$ [! c' [5 k/ x00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ b/ Q5 K' q1 {# B- P4 o' j, H00404ED5 |. 6A 00 push 0
4 J: T, v9 k& W$ U! p; t00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
; {& w, T9 e7 d+ a5 y3 ^0 Q00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> * g% X3 S2 j: R
00404EDE |. 6A 00 push 0
6 t$ W+ k2 ~# p+ O00404EE0 |. 8BCE mov ecx, esi " b8 M7 i/ N$ h; g
00404EE2 |. E8 39FAFFFF call 00404920
+ t# f0 [0 m! i00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] . }' L6 k4 I' Y- I; v1 U
00404EEB |. E8 A0020000 call 00405190 2 k5 h6 u- E; ]! H8 {" l) h& I
00404EF0 |. 53 push ebx l' V$ Z0 G' `; E
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
$ I7 {4 z/ _2 I( J00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
- K- `( T$ x' k1 X( D M; h1 |00404EFD |. 52 push edx
- w6 ?4 ~, S6 W7 B00404EFE |. FFD7 call edi
( N) c2 I6 M6 c! t9 o' }00404F00 |. 83C4 0C add esp, 0C : u* K' ]. u0 W9 p$ e C9 p
00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] " _+ n- S0 @: v- Y# B2 c
00404F0A |. 8BCE mov ecx, esi ' ~0 M$ H8 `+ R5 ]6 j
00404F0C |. 50 push eax ; `5 E/ _( C, J5 c
00404F0D |. 6A 00 push 0 ! b7 @0 r+ ~* O5 K. V0 r8 t' X2 Y
00404F0F |. E8 EC040000 call 00405400 & U/ K( p( @. U' f
00404F14 |. 53 push ebx ; o: s t4 q% a, A" P2 P' V' W
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] _, j/ d+ [6 K. m4 L) {* o
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
$ S. u& H& P4 e9 X00404F21 |. 51 push ecx * H: _. h) }, l: e: t
00404F22 |. FFD7 call edi
9 [; p5 B# `' _( m- d# H00404F24 |. 83C4 0C add esp, 0C
/ I/ C( V* |, j- L3 o$ z00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
( ]' T% A+ C0 V3 H00404F2E |. 8BCE mov ecx, esi ! l9 T. j1 z4 R% p
00404F30 |. 52 push edx
# Z$ J2 E5 S5 |4 Z00404F31 |. 6A 00 push 0 - k( l+ x+ D5 N0 H; }4 u& i
00404F33 |. E8 C8040000 call 00405400 U& ?! U( g! w% F5 ?% J; m
00404F38 |. 53 push ebx
, F* |$ P, }/ o/ Y00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C] 1 ^3 q+ H7 h7 e& P1 ~! p6 V* G& i
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
6 u* ^! @, S& k6 l% A1 l00404F45 |. 50 push eax ( z+ c; Y9 a: U$ }& G& H
00404F46 |. FFD7 call edi : Y) E v+ v3 R1 A3 `
00404F48 |. 83C4 0C add esp, 0C
+ R0 \+ M; {% y) q6 K00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
- N! v9 W/ j _00404F52 |. 51 push ecx
& l& ]" w3 N3 Y6 j0 Q K00404F53 |. 6A 00 push 0
! _; L+ s; s K8 L2 n/ e% N00404F55 |. 8BCE mov ecx, esi
: a# d/ h: W! c, ?( P" w" |9 S00404F57 |. E8 A4040000 call 00405400 L" d" t" E! { B1 N9 X
00404F5C |. 53 push ebx
: E4 t0 Q" M% S; H" A( V: Q00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] % U: \1 M6 K( W! r R# K9 U% ^- j
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_"
" B2 K, t4 T: [" b/ V4 j* |/ G( W6 C00404F69 |. 52 push edx : S2 n" l' ]7 ~
00404F6A |. FFD7 call edi 1 j% d$ h- ~+ [8 r
00404F6C |. 83C4 0C add esp, 0C
6 A ?5 a+ n/ e2 ^00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
, i) m* b2 M+ o4 o6 p$ @3 h00404F76 |. 33FF xor edi, edi
f: S6 e8 M5 t% a8 T. Z! p00404F78 |. 8BCE mov ecx, esi
3 u) U* ` X$ [! c- X0 q. C) r% }00404F7A |. 50 push eax 7 M) S. Q* d- A9 o; N7 V ?) e
00404F7B |. 57 push edi
/ ^2 P$ G$ q3 S; [1 w00404F7C |. E8 7F040000 call 00405400
2 I O( U( L/ Y3 K$ S6 [& i00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] + H/ S! _* I; [' p1 U+ v
00404F85 |. E8 66010000 call 004050F0
8 T% D) F' p' P- F3 }00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] * R1 I4 F1 U4 C# ]3 y) b' V* A9 X, k
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
% ]& j7 X' Z P+ d# j8 \00404F93 |. 51 push ecx
' T! r; f* d# }/ u0 r00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
+ n8 j5 w9 W6 O7 \) S) a2 |00404F98 |. 57 push edi : V. H% E% |- \1 P3 `
00404F99 |. 52 push edx ; }# ^! v$ }8 f' S8 U, R) T$ D! h
00404F9A |. 8BCE mov ecx, esi
* y0 u" E5 `% f7 }7 f5 P00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
- Q2 ]/ p: A5 N$ f) f. r00404FA0 |. E8 4B020000 call 004051F0 ) q) o1 j! ?. c/ i% v' l
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] z% t8 f! w+ V/ W& [/ ]4 Y
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
. B. y" K3 f# S4 p1 z00404FAE |. 50 push eax
4 k m, f$ g7 T% Y' d2 z/ N4 Z00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
# H% ]( r8 J- C7 U4 E! ]" X00404FB3 |. 57 push edi ) `: h1 P& Q* G4 m
00404FB4 |. 51 push ecx , I4 B" `! f8 a2 k0 G
00404FB5 |. 8BCE mov ecx, esi : [( C+ a2 `9 n# @
00404FB7 |. E8 34020000 call 004051F0 1 x, M+ t& p& n3 n r4 f& g1 d
00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] ) Y# F. M( H/ n6 c4 s: P
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png"
/ o6 E! ?8 m, R% q1 E" A1 z00404FC5 |. 52 push edx
7 t. L$ O' x: Y: g* e! _" g6 X+ r+ ~00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] # _/ [5 A% S9 B& J' Z3 k
00404FCA |. 57 push edi
- v* A( \4 S" g4 K5 K" B00404FCB |. 50 push eax
- ~, t! H* G( r1 g00404FCC |. 8BCE mov ecx, esi
/ V+ m6 M/ X, C00404FCE |. E8 1D020000 call 004051F0
+ o) f% a, C y! A( Z3 V00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
6 T7 b) I/ u: r1 u" B/ h00404FD7 |. 51 push ecx S' X- Y5 b: F, N
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF 2 t, B/ [& \; C: m0 r) K$ D" B
00404FDD |. E8 7EC0FFFF call 00401060
3 j7 {$ b/ o9 v; U3 F d00404FE2 |. 83C4 08 add esp, 8 ( Q, L/ L8 V+ M& O) r( D
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18] + h6 Q3 P6 l! h7 _# R" y
00404FE9 |. 57 push edi
+ f! s. {0 s2 z Y5 h6 b# B* B: V4 c00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb" , g- q0 D% l( I" X8 h
00404FEF |. FFD5 call ebp ; \, n+ q" G) e5 b0 ^$ I- m0 @
00404FF1 |. 57 push edi
3 n3 f) ]0 L% S1 i# t" e3 h00404FF2 |. 8BCE mov ecx, esi
; @, |8 }; I2 n8 n00404FF4 |. E8 27F9FFFF call 00404920
; G- w# [. V2 {00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
4 A; m% E. V) \( Y4 @00404FFD |. E8 8E010000 call 00405190
9 n! h/ C! E/ @5 j00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
& J y! z% F: v* p; H, m3 i2 w1 S00405006 |. E8 E5000000 call 004050F0 ' U& H# [- g% I5 j; t/ u- z& b! H
0040500B |. 57 push edi 7 u& j4 a! C7 h
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
* q+ C; r% k1 {00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" - p" r' l2 B, |! Z& f
00405015 |. 52 push edx - t! R- ^2 j1 x# P
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] : q( V' i5 S9 j. U% ]
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
1 |) ]& z4 u" ~4 ] h3 E* ~0040501F |. 50 push eax * R/ ^- N+ d( S4 x0 t2 v
00405020 |. 8BCE mov ecx, esi
' c% _8 l& Y* Q. C00405022 |. 897C24 24 mov dword ptr [esp+24], edi 3 y& w s; C7 b9 A7 x. y9 ~3 u
00405026 |. E8 65020000 call 00405290
9 ^4 m# S$ }1 Y3 c K) q& r0040502B |. 57 push edi & T' `% G! N$ o6 m
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] 3 }. b" J3 g3 _4 L2 b
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
" x) T2 r+ b6 u" H00405035 |. 51 push ecx
: ~$ z: e R2 Z! t: D+ z00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
5 B$ R3 S' ?5 Y& W4 K t4 I0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" / u& @5 v1 f- Q m
0040503F |. 52 push edx % x+ p- q- ?( j- z8 y/ O0 R# ]
00405040 |. 8BCE mov ecx, esi 9 x) R9 N t" @+ Y
00405042 |. E8 49020000 call 00405290
6 Z' ? X Y8 [: F1 o5 Z+ K5 q00405047 |. 57 push edi
: u& Z X! P0 o+ ^: M/ N' B. ^: q/ }00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] 7 g: C- |" c: ]7 @ \ e' w
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik" ( M1 G. V/ C: B2 \2 y
00405051 |. 50 push eax 9 g, ]. j4 E7 ~
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
5 t+ D4 z" C" e' `00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
: m% ~. l. y" g% w. x9 i, C0040505B |. 51 push ecx
. w; o4 q9 s j) `+ m) @ K0040505C |. 8BCE mov ecx, esi - c9 Y) ~5 t2 U2 w+ O/ n0 O
0040505E |. E8 2D020000 call 00405290
7 [ N5 u1 A( S, q00405063 |. 57 push edi 9 n! Y) x& J) r
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] ) ~3 C) F6 l. ]- d6 D7 b* A" Z
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" , `. j& F4 ?. i
0040506D |. 52 push edx ' ^5 i0 _3 {; e5 ?
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] 4 D$ f' p+ w# T
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" 8 q. R1 ^) X% S. o. L3 {0 k0 C/ y
00405077 |. 50 push eax
8 z f- @; J, t6 K3 L- C. F& Y00405078 |. 8BCE mov ecx, esi
1 C0 _9 o7 ?8 z) W8 b0040507A |. E8 11020000 call 00405290 1 z$ z% v; R6 Z, P; Q+ t
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] 7 W" l B; U' O! w4 M" M
00405083 |. 6A 02 push 2
& }2 O& `7 E5 X1 V% R$ u* P00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] " i. u" R0 e% `3 X$ r+ c0 c0 C
00405089 |. 51 push ecx , c; d6 `7 ~' b0 [4 ?
0040508A |. 52 push edx
9 I4 S( m) u4 F8 C% U8 B0040508B |. 8BCE mov ecx, esi - U! J0 o# ]2 ^3 d5 Y+ V/ E6 M
0040508D |. E8 0EF8FFFF call 004048A0
5 F' {" t$ v# ?9 b( S& c4 n" T00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] , |8 J: | x% j. C
00405096 |. 50 push eax
$ L) z0 _" H* q/ B$ p. D% S- x00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF - w- I6 q) i' z/ c- ?
0040509C |. E8 BFBFFFFF call 00401060
/ x5 X4 R5 m( d0 G% Q" ~$ d# B) m' d004050A1 |. 83C4 08 add esp, 8
$ v" J0 q3 E+ f+ m8 }" [004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
+ }1 `& T) j+ l# \0 p1 g3 |) {2 A004050A8 |. 57 push edi I- h$ A" K" V- Q+ _) y* F+ p a
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" , m2 k. z0 M# g% v8 Y
004050AE |. FFD5 call ebp - s, N+ F9 b' t/ i
004050B0 |. 57 push edi , C. y y( V `3 M4 ]
004050B1 |. 8BCE mov ecx, esi " A& U- h b0 K5 B. L7 O
004050B3 |. E8 68F8FFFF call 00404920 4 I9 o8 o) {+ a$ V2 l, D
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ) A0 X+ c* r4 D/ O
004050BC |. E8 CF000000 call 00405190
& S @3 X4 Q1 G3 q8 O8 o1 X004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
2 z3 N4 P! Y Z9 z+ x3 k) s004050C6 |. E8 35BFFFFF call 00401000 2 y7 z! _% ^' X( Q- q
004050CB |. 83C4 04 add esp, 4 & w# r' ^8 [# V9 D: q- r3 f
004050CE |. 57 push edi ; /status
: ~8 a r e; U2 L# N4 S; l% V004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit 6 n, p8 _! C F
004050D5 |. 5F pop edi ( C k9 ^; K3 b4 t: m5 D
004050D6 |. 5E pop esi 8 Z) M. X1 O, X6 I) Y
004050D7 |. 5D pop ebp - ]9 Z9 |+ W- m% T
004050D8 |. 5B pop ebx
) q9 Q; x& Y8 A- E; a1 N004050D9 |. 90 nop g8 k; M4 C' u+ r! l
004050DA |. 90 nop + ?$ I6 d8 G! o
004050DB |. 90 nop ( J0 E. X2 ]' i, S8 u
004050DC |. 90 nop
+ O a1 m7 N. N) ]/ k+ Y+ w004050DD |. 90 nop - v0 ^! M$ \; g Q9 ^# J
004050DE |. 90 nop ! {% _- ^! _& _. t- g, g2 V
004050DF |. 90 nop
# _. t: n/ B0 r8 \6 ]004050E0 |$ 8BC1 mov eax, ecx F- \6 y. q# y5 o
004050E2 |. 33C9 xor ecx, ecx & L# {( N, h( D" {
004050E4 |. 8908 mov dword ptr [eax], ecx
) D. A6 f N1 h/ C2 t/ @004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
! B% ^' P e W' ]. m% v3 G; A004050EA |. 66:8948 06 mov word ptr [eax+6], cx X U8 L7 l4 q, y' ^) \! b: J
004050EE \. C3 retn # l* B& D" ]7 j- ^! t3 |0 g" Q
004050EF 90 nop
; P# P5 K# B3 \* B8 q004050F0 /$ 53 push ebx
8 ^! c- a4 n% E- Y004050F1 |. 55 push ebp 0 b# T |" Y+ \' _' t e
004050F2 |. 56 push esi 6 {6 D+ F. G0 ?, [; I( h$ E
004050F3 |. 57 push edi . Z7 n4 Y- V, u: i+ ?, [: ^7 Q
004050F4 |. 8BF1 mov esi, ecx
% p1 R& v& u7 G v5 L004050F6 |. 6A 14 push 14
) Q' a& _4 O( e1 T004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
. _7 F- {* S1 J1 i7 R004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] * G% b: Z9 [" R" z5 [! E0 F* C+ N
00405101 |. 33DB xor ebx, ebx 1 j6 S- @9 N9 E, {- A/ T5 {
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 5 a$ _, Q- h% U k! p: S
0040510A |. 895E 28 mov dword ptr [esi+28], ebx
! i2 o% L# ^! n! a0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] # }8 P0 ] ^+ H/ V3 C
00405110 |. 895E 24 mov dword ptr [esi+24], ebx
$ S2 t0 `7 I1 G9 L00405113 |. 895E 20 mov dword ptr [esi+20], ebx
9 e, e: V/ j% A3 c00405116 |. 895F 04 mov dword ptr [edi+4], ebx % r4 q; u% v2 n5 U. ~2 M7 B1 e( u5 |) S
00405119 |. 891F mov dword ptr [edi], ebx
6 w# l' l* s, z/ W+ @1 ~( N0040511B |. 6A 10 push 10 i7 Q' L6 z7 h: Q1 }- t6 M: @
0040511D |. 8BCF mov ecx, edi
" X$ T0 S/ ~3 O* {( A. I# A$ l w0040511F |. 895D 08 mov dword ptr [ebp+8], ebx , ^* C9 Y2 x. H; r/ l
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
# S# Y& a' m! d, z' _00405125 |. 895D 00 mov dword ptr [ebp], ebx
# w' w# W! H( B5 ^ B00405128 |. E8 F3180000 call 00406A20 ) ~% o9 w. O* c# | q% U, i. I; J) E
0040512D |. 8B07 mov eax, dword ptr [edi] 4 ~& c7 x: K3 V) K
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] 5 H P( }2 N8 S% A$ u
00405132 |. 3BC1 cmp eax, ecx
) f# p+ o; k6 w1 I. l0 |00405134 |. 74 0C je short 00405142 9 Z! m0 D4 c6 E
00405136 |> 8918 /mov dword ptr [eax], ebx ) M3 E5 s4 s) u, K4 Y: ?' m' ^
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4] & _' u. U5 W8 F7 V, r% R
0040513B |. 83C0 04 |add eax, 4
) Q, n4 q3 l% r2 @9 M0040513E |. 3BC1 |cmp eax, ecx
) \0 F1 F% I) |8 R2 N/ d00405140 |.^ 75 F4 \jnz short 00405136 ; }, d5 t% L5 s2 D
00405142 |> D905 3C934000 fld dword ptr [40933C]
$ z x) C2 T8 p2 L. v00405148 |. D80D 40934000 fmul dword ptr [409340]
% f7 J& d0 b1 @. y* x3 ?; r0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol> & F- d0 g2 O, J0 v
00405153 |. 50 push eax 4 i4 d/ t. J0 S- z* a) v
00405154 |. 8BCD mov ecx, ebp
8 J* k% ], u( g00405156 |. E8 65190000 call 00406AC0 5 r# R/ f% ~) \
0040515B |. 68 00800000 push 8000 5 b5 X- L) e. ]& n/ c9 j$ U; j! g
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48] , `* a$ G# Z/ u V: X
00405163 |. 895E 40 mov dword ptr [esi+40], ebx
% I/ V2 Q* {- f! Z. M: {00405166 |. 66:895E 44 mov word ptr [esi+44], bx 0 l/ |+ y+ v2 f. t8 u
0040516A |. 66:895E 46 mov word ptr [esi+46], bx 4 _/ `4 F+ p0 }9 Z+ J* g& X; X( d
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
& C- J$ M* P7 H1 L }00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] ; v' x# j6 t6 m; {0 | Q- m
00405177 |. 895E 60 mov dword ptr [esi+60], ebx
' G- n ^4 n- }% A+ O2 k0040517A |. 66:895E 64 mov word ptr [esi+64], bx
+ A6 }0 B1 } ^0040517E |. 66:895E 66 mov word ptr [esi+66], bx
. y! B; Z) F1 Y3 B00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile ! t9 ]# d! U. H
00405188 |. 8BC6 mov eax, esi
, `! V! }$ T1 D0040518A |. 5F pop edi
3 r8 G! ^/ R* @' v5 L# _) k! v( h& Z/ S0040518B |. 5E pop esi
( x1 P( g$ @+ O# c2 q7 N2 q9 N4 y0040518C |. 5D pop ebp
, }! O" l- e3 s& i0 F' N0 v7 B0040518D |. 5B pop ebx
' X$ m6 p2 w3 o& `- `) I0040518E \. C3 retn |