在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
- ^7 |# J: C1 a, r7 A当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 7 L3 t. `- Q6 P% @ s
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
0 W4 k+ p9 d Q# k8 d7 z% i( q7 n7 e& b2 t, O# H7 _; D4 V4 a
6 N7 u/ W2 J: i1 I1 g00404990 >/$ 81EC 7C020000 sub esp, 27C v8 G, g/ u+ o5 _3 C" a0 y/ d
00404996 |. 53 push ebx
0 s) L7 _1 a( W' C00404997 |. 55 push ebp ' t1 P3 u, D6 [6 \ N" Y
00404998 |. 56 push esi ) G; ^$ P; |1 x
00404999 |. 57 push edi
- ^0 e1 h, H$ ~0040499A |. 8BF1 mov esi, ecx 5 O- r9 f. {- e( {
0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF . f, t# o" D9 Y! `. q
004049A1 |. E8 BAC6FFFF call 00401060 : C. j1 z, S( Y
004049A6 |. 83C4 04 add esp, 4 . Q: F; _0 o4 u% v; [; F0 @
004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
. z3 ~7 R) y8 o, U004049AE |. E8 4DC6FFFF call 00401000 7 A" O' K6 [3 J. K J! a* V5 m
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
! {; l0 W! |1 O7 S004049B9 |. 83C4 04 add esp, 4
1 e( N$ V. N6 D, W004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238]
4 F1 m! \9 r" q" b004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
, t" ~ ?* E; f% P/ r7 ?0 w004049C9 |. 53 push ebx ; /<%s> . U: j* Q6 \, T' w; s# [& O4 O+ b
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\" 8 Z w1 W% [' H, [1 c
004049CF |. 50 push eax ; |s
. Y1 J& s# H# q2 @' D9 g004049D0 |. FFD7 call edi ; \sprintf 4 j' [* \1 j, B
004049D2 |. 83C4 0C add esp, 0C
, _# N) E, |' j9 ]004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] 5 z5 Y; c- U7 R6 a/ X
004049DC |. 51 push ecx
V0 H; @ A; k5 F0 A6 v004049DD |. 6A 00 push 0 9 ?. g; C' w! s x: x4 a0 Y
004049DF |. 8BCE mov ecx, esi ; B1 C: h4 K/ z" c% g0 `
004049E1 |. E8 1A0A0000 call 00405400 ( i* d4 F) f, D, p0 I8 ^
004049E6 |. 53 push ebx
2 A- [/ v% e& u2 E; ?004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
- J- m2 M2 Y7 m2 b( g" y004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" % e5 f% T! u1 |! o: v3 Z
004049F3 |. 52 push edx
0 @/ Z* D% V, y1 V6 w, |1 ~% j004049F4 |. FFD7 call edi
- P& {$ m' l/ O8 z004049F6 |. 83C4 0C add esp, 0C
0 `. v6 c" T1 T7 j4 c# p* ]. t004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
% H% _* F' B3 o) ?: Y, @00404A00 |. 8BCE mov ecx, esi 3 _# x) A5 I/ t t- n8 l
00404A02 |. 50 push eax
. s* U- c8 |3 _5 ?- U8 c00404A03 |. 6A 02 push 2
8 |% N( S" _/ h- j: o. i. g00404A05 |. E8 F6090000 call 00405400 t6 Z( j" L% [; w2 D, w- K0 I. G( g
00404A0A |. 6A 14 push 14
2 ^# O6 E9 r, H- ^( p! }% t8 `$ M00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] : `, h& f- B$ L5 Y1 v& T4 B
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator 5 K. C: M' T: x; Z, _
00404A16 |. 6A 00 push 0 9 e! X3 T& h: Q% D! y4 n& @
00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 6 J2 T. h l: o2 W7 Q6 W* ~. n
00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
4 z" v1 F3 p3 Z00404A24 |. E8 F71D0000 call 00406820 ( N' X3 `( k/ S8 [
00404A29 |. 6A 10 push 10
6 P( {8 o$ L/ E8 `( Y00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48] 7 g/ P" f- B+ X- n' X
00404A2F |. E8 2C1E0000 call 00406860
9 L) E# C" e7 z6 J00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] ( a8 U0 U9 v* @/ G& Z0 y: l, d
00404A38 |. E8 A3060000 call 004050E0 * j# }8 k3 ^- A+ v4 f
00404A3D |. 68 00800000 push 8000 $ a E1 X: ?; `
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
9 \1 ]2 M# k& S0 D5 E' N6 V00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
" k5 J' d# i& v6 V: @ W% _00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78] 7 c9 @" l9 ?6 V
00404A50 |. E8 8B060000 call 004050E0 , N* q' r1 g i Y
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] & L) z' v8 H$ ?- ]7 r+ c6 o' B: O
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile # O, ^, x$ O% w) y/ K' l
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10]
$ g1 {' `* ~7 v$ f2 |6 |00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" " m5 P" Z) r! _* j, @6 R Y7 t
00404A6B |. 51 push ecx
) N2 F0 e2 \' Y7 b6 _00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] O" f# B' Y" C1 e# t4 K
00404A70 |. 6A 02 push 2
6 L c. p: j$ W/ k1 [00404A72 |. 52 push edx
8 X8 m. z5 t3 H00404A73 |. 8BCE mov ecx, esi ) M0 c1 P. @/ \; Q
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 % \; V: ^1 b! w; }& m
00404A7D |. E8 6E070000 call 004051F0
2 A) Y5 u3 [$ W9 J00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] ; y( ?" q, @) v* r$ J: r
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav" 2 r. }( @+ e% g* i0 \
00404A8B |. 50 push eax
) z# {/ B% [$ n* u/ U. X' z00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] 0 e3 Y$ H7 ^8 n1 {( v
00404A90 |. 6A 02 push 2
( L- n9 q/ A3 l00404A92 |. 51 push ecx
& Q* q$ \) u* S# H' L9 h o$ s00404A93 |. 8BCE mov ecx, esi ( I9 r6 x8 I6 B1 Y% ^% k; Q
00404A95 |. E8 56070000 call 004051F0
0 U: ?- M3 z X$ g00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
& w! A N0 e' M0 K0 s00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
$ T* D" ~6 U7 r# [- J00404AA3 |. 52 push edx
! M8 B0 M" x8 {! Q2 k/ K" ], f3 F5 j00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
" P$ B$ c$ Z8 j E00404AA8 |. 6A 00 push 0
8 J) b5 U0 w7 e8 @8 _/ Z00404AAA |. 50 push eax
5 `" b4 L- l2 c% C9 q3 h00404AAB |. 8BCE mov ecx, esi
, Q( u$ k7 ~, P$ j% S1 d: s. v00404AAD |. E8 3E070000 call 004051F0 3 x2 M8 P/ k4 O
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
- Y, O6 j+ H1 t) v( M- ^$ _00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14] 2 l6 ~* r2 y" N" T1 y+ g% O B ^
00404ABB |. 51 push ecx 9 {+ r' Q0 o+ G9 K+ j. W
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
. Y9 G+ F/ x7 M/ D! g00404AC0 |. 6A 00 push 0 : `' Q- M4 q3 N- W0 @7 `" G6 Q
00404AC2 |. 52 push edx
3 n# N1 q0 N# K8 Y00404AC3 |. 8BCE mov ecx, esi & H& {: l" t, T z" J0 \ L
00404AC5 |. E8 26070000 call 004051F0
& F7 z6 \" a4 Y/ k& L6 C9 t00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
# W; i* X! V5 c( S; d5 N00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
: g' O8 z$ S. M; B+ B00404AD3 |. 50 push eax
$ L8 Y* |: H/ a. X/ L- w& w/ }00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] . k- M2 P! }, }5 {1 }. U, \
00404AD8 |. 6A 00 push 0
9 ?5 s4 I8 n% W* E* o& M& \ c/ g' v00404ADA |. 51 push ecx
7 }% S, W) U% m7 z% I1 c00404ADB |. 8BCE mov ecx, esi
3 }/ M2 i6 x* K2 T' L* e; l+ }00404ADD |. E8 0E070000 call 004051F0 ' k) S% E/ ]2 w- B: d; a
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10]
7 I) J5 p. |1 e8 h1 C- `! W) h& {- K( Z00404AE6 |. 52 push edx " P$ h8 C" |( ?, L( f- L6 m
00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
( N3 ?& v* V( E0 r7 w9 {" z3 v00404AEC |. E8 6FC5FFFF call 00401060 5 q4 T0 f" ]+ S8 S$ e+ C x& W
00404AF1 |. 83C4 08 add esp, 8
* \" f+ J7 U: C4 U( _00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
2 d, k' o; [3 @9 Y: q" v00404AF8 |. 6A 00 push 0 ( \$ z" j' Y1 X5 V& y
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" - G& b |7 D" Y# Y- _) c; L3 W, r) m
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save 6 W/ u- C' }3 ]. H$ y' s6 ~8 ~
00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] ( f' t' L1 D$ Q0 ^
00404B0B |. 6A 00 push 0 ; m. J B2 N1 f5 ~, r
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana> 0 J; a5 \. |+ N5 v6 m9 |* p
00404B12 |. 8BC8 mov ecx, eax 9 y- D- L0 c+ P8 c1 d
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
2 a0 m& A* z9 C% ?! Z3 M/ w4 A9 c8 l00404B19 |. 85C0 test eax, eax
3 a x% D! U, N7 m$ w2 B00404B1B |. 7E 1B jle short 00404B38 . E% }$ {4 W- m) j. T5 Y/ _" O
00404B1D |. 8BE8 mov ebp, eax % l O G+ @7 x# j& ~
00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] ( P. r Z2 a) C2 b9 q
00404B25 |. 6A 00 |push 0 $ I- [% w5 v' v/ {7 M" k% z9 {6 A
00404B27 |. 6A 00 |push 0 & b: _. n5 p0 O, g
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
2 m- \3 j- `. f00404B2E |. 8BC8 |mov ecx, eax
0 |& R! t8 Q ]8 o3 r) J% u( m' f00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> ) O, G! _# j) y( v
00404B35 |. 4D |dec ebp / @ ?0 B3 X" ?( M0 [
00404B36 |.^ 75 E7 \jnz short 00404B1F
' X8 j# M8 R i& E9 L( Y% m00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
6 `# N' m6 o! o8 o5 {) ?00404B3E |. 6A 00 push 0 % Q+ z6 c5 g2 Q: j+ o! J* a
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana> u7 i, R' Y# ~
00404B45 |. 8BC8 mov ecx, eax
' H: r/ |, Y3 ~. |" a" Y) e& X00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath> + y0 I; @5 b# U" T8 w' l
00404B4C |. 85C0 test eax, eax 3 ?6 O# h$ V: G( V
00404B4E |. 74 0E je short 00404B5E
4 J! u9 k. z! r- C/ [00404B50 |. 50 push eax . @ l/ {/ ~4 R# R
00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
2 i: E+ k8 }9 h$ v7 Q$ x1 W+ |00404B56 |. E8 A5C4FFFF call 00401000
& J' @5 ?8 t% r0 }' W, S00404B5B |. 83C4 08 add esp, 8
. c3 l! X& B: z9 v- y00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
j5 d( F! e$ ~0 a# T8 Y. B: S2 i00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile # y( C( i: o9 }) _( b, i
00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString ( R3 j4 k, V% d. u# z$ W6 U
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 0 y% K X* g8 Q
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
5 v4 ^! M5 m- H: Y00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 1 v1 Y0 A& M% |
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
- ]! j: N2 P4 N! i0 o" z s00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
1 f3 i5 {" @+ n$ R( u3 D00404B85 |. FFD5 call ebp 7 k& V- E1 T3 E
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C] 5 \% @# f1 Y4 [! e5 o
00404B8B |. E8 E01F0000 call 00406B70
5 k! h4 N0 R. Y7 m$ a7 G00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44] + x/ e9 f' i0 U# B' r( `8 H8 l8 H. }
00404B94 |. 50 push eax
- v6 E, c% y2 A, {& d, @00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete>
2 v5 q& ]+ s5 ~9 [5 E3 i j00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C] ! u% n# _4 s g6 t2 k# b
00404B9E |. 33C0 xor eax, eax
* B+ J# I( \4 M7 r7 [2 i; B2 M' m00404BA0 |. 51 push ecx
: u4 X1 B- _2 z4 \, \# ]00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
! q3 ] j6 j& D* @2 x9 s00404BA5 |. 894424 50 mov dword ptr [esp+50], eax
# j9 j7 K" D/ H: `00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
/ g( h+ P$ v. n00404BAE |. 83C4 08 add esp, 8 1 p: Y% G8 y" A# S& u% {
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ( |6 E, C. l- h" Q, c( M4 @) Z
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
! }2 f: r7 _/ |5 \5 h00404BBB |. 6A 01 push 1 _' ]9 I2 n/ D P- E: c# H4 z
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
* h4 R t2 ]6 Q3 A# Z' t" q00404BC1 |. E8 3A1C0000 call 00406800
7 S5 q8 D! @7 S00404BC6 |. 6A 00 push 0 1 c6 `& B1 H6 D6 E
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 7 W6 R& E) h0 E8 a/ P9 |
00404BCC |. E8 4F1C0000 call 00406820 # Z4 g; b! o( I
00404BD1 |. 6A 10 push 10 i" v6 |" Z$ p3 V8 r% J
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
+ S& m% U) y. ~, Q00404BD7 |. E8 841C0000 call 00406860 3 V# ^" ]: V% I+ E
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58]
$ k, x; N U I0 _1 E00404BE0 |. E8 FB040000 call 004050E0 ' Z6 Q! w9 U4 D& |$ q9 p
00404BE5 |. 68 00800000 push 8000 ; l+ Z' \: i) r) E4 e8 t
00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64] 3 r! a: P% a0 O* t
00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 4 S! q- p' B+ S( ]
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] ; O# {+ b, X* @7 Y
00404BF8 |. E8 E3040000 call 004050E0 & D L3 w- }( B* m0 q: ?
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80] . x) Y1 n* e$ J F/ C0 }" H
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile # z2 H8 j% G' d$ A6 w9 V3 L) o
00404C0A |. 6A 00 push 0
$ |- _/ U' h o0 B2 A% t+ R00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
& e( k; T) U/ J7 h! w; R00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
0 E0 z9 w; G; D00404C15 |. 52 push edx + l8 E" g2 g8 w& f Q
00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24] : }+ T0 n7 X9 {8 p% Q
00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
' k8 O0 I7 x2 o9 `00404C1F |. 50 push eax 8 f8 s$ y7 J- v1 g( x7 Y4 v
00404C20 |. 8BCE mov ecx, esi
7 a+ Y% u7 x8 ~" k [8 Z- f/ G00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
C, m$ b3 V- I) `00404C2A |. E8 61060000 call 00405290 5 V8 q, M& H1 O7 E
00404C2F |. B8 58B44000 mov eax, 0040B458
' Y4 U2 B5 P( D' w- h3 m00404C34 |. 894424 14 mov dword ptr [esp+14], eax ) ~3 h5 F- A% q3 n( x) m/ A
00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
& j- y( y0 R! p# P! L# E9 Z00404C3B |. 85C9 |test ecx, ecx 2 g! x" n" {4 X6 A9 |
00404C3D |. 75 39 |jnz short 00404C78
( j$ l5 a8 ?+ U! a9 Y) f4 @00404C3F |. 8B08 |mov ecx, dword ptr [eax] 4 G, N6 u) T& ?( V
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C] 1 l( u- h9 u8 O1 I R
00404C48 |. 51 |push ecx
1 C* |1 V" D! R; b$ [# I" C. b: R00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
( R& N: I( P. x5 k) ?00404C4E |. 52 |push edx
5 u+ Z' S# K# v2 x2 H8 M0 Z% r1 H8 v00404C4F |. FFD7 |call edi
k* h6 ~4 b# z7 M) |" o00404C51 |. 83C4 0C |add esp, 0C ; N+ E0 `+ O3 T, ?3 }
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10]
2 z0 ?- e) d+ L" k* c' t00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C]
3 Y7 e+ }! u0 i$ E( ]5 X00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18] 8 y0 @8 Z% H1 h* i. _/ t
00404C63 |. 6A 00 |push 0
$ h6 s2 R# d( ~00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo"
. A* e) c: @4 l: z00404C6A |. 50 |push eax 1 S7 i% p3 N. O, V
00404C6B |. 51 |push ecx
2 w" V5 m5 i$ M' j2 U00404C6C |. 52 |push edx
) O4 C3 O2 [1 F9 |00404C6D |. 8BCE |mov ecx, esi ( ]% ]& @! T7 B
00404C6F |. E8 1C060000 |call 00405290 5 |0 _7 a6 L: i4 \9 g
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
3 E" U) I4 ?' Z* O+ ^+ p00404C78 |> 83C0 08 |add eax, 8 5 [8 j( B; p3 d) T3 _
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
5 X8 {- f1 o f: Y. r( c6 M00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
2 {" H+ d& ~) t# d00404C84 |.^ 72 B2 \jb short 00404C38 ! M/ j9 B3 q% C# {
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10]
; U* v# {8 G9 H0 R. p0 U0 R00404C8A |. 50 push eax 0 N$ o& K% V! M) U2 {5 h" {/ [( h ^
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
7 h9 G7 M0 ~5 c0 |& y00404C90 |. E8 CBC3FFFF call 00401060
+ G* L$ h( L" F/ g! ?- k6 [ v00404C95 |. 83C4 08 add esp, 8 3 [% j2 B. y$ O, p0 M: y
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] & o# j3 n' m8 E" W Z
00404C9C |. 6A 00 push 0 ! o: E! B* w' E( z( z' q
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" 2 I3 ^ s' h8 K9 j
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
. E3 R2 P& `( k; \9 X0 \: h( H& H# f00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
' `$ H- c- h9 A7 ]' o00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
4 j/ j0 K; ^+ g8 B' Y00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
# a: P1 t* Q2 B/ v00404CBA |. FFD5 call ebp
8 n, X( r4 n2 T9 H00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
! Q& J9 H$ |1 f2 Z% j00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile ! R# \% d; H: N0 T
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
5 }, O, d6 L7 n: f5 k" { \: p5 g1 L00404CCA |. FFD5 call ebp
" x: x! R$ w% ^ x0 m00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] ! G5 J, @ u* ?2 Y, A% p ~3 f
00404CD0 |. E8 1B1D0000 call 004069F0
! O2 C8 v4 u* R4 s+ G' U2 {00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] & ]( C. {$ R7 T
00404CD9 |. 51 push ecx 5 e8 p% K- C; L: s7 S" E6 o
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete> / r9 C/ G: r; i2 ?: K+ Z
00404CDF |. 83C4 04 add esp, 4
/ r s, y/ J. s00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 5 s# G* P4 i( m5 o. a
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator % {2 l) R; ~- T4 D1 Z {# g; @1 z
00404CEC |. 53 push ebx 3 F! {! H6 c* G, j
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] # Z( j7 G6 f1 B- G
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" 6 j# g b" {8 j: d O! u, J
00404CF9 |. 52 push edx 5 }8 {( Y% x; C
00404CFA |. FFD7 call edi
4 A# T# B( _1 |; W; B p00404CFC |. 83C4 0C add esp, 0C
5 H- C5 {( R4 K5 K7 z( R00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
; y$ l+ j2 o6 A* @2 b( H4 `00404D06 |. 8BCE mov ecx, esi % i) I% f3 L ^5 m
00404D08 |. 50 push eax
4 @; A. H- Q- Q# c00404D09 |. 6A 00 push 0 H! \ h) E2 c2 g* w1 Q, L
00404D0B |. E8 F0060000 call 00405400
- i: E8 b- N; ` F5 {. ~/ |00404D10 |. 6A 01 push 1
3 ?# y' X( h7 B/ \: l00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
) [$ |5 {. Z' k7 {( M# b( U" U' I8 B00404D16 |. E8 E51A0000 call 00406800
8 z/ E( l& {9 i1 Q, P H00404D1B |. 6A 00 push 0
4 P: N% r; }. W9 F+ \00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 5 _& \6 n% G' q
00404D21 |. E8 FA1A0000 call 00406820
/ d# p1 a& i. H00404D26 |. 6A 10 push 10
/ N8 c) b" q3 O8 _- ~8 c) `, P00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
: B+ l7 X7 V4 b4 [00404D2C |. E8 2F1B0000 call 00406860 ( i' J1 Q( R+ a6 K7 ]4 g7 Z
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
8 B5 G; \$ L' E' y- s, ~00404D35 |. E8 A6030000 call 004050E0
* c) U3 Q4 f" r: Z. Y00404D3A |. 68 00800000 push 8000 / t- I7 o# _$ \0 d. v- A
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
1 B5 l4 w& N m- s, `, W/ S00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
2 b6 n2 ]) u1 ]# T00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
' h5 b; O5 M9 k o00404D4D |. E8 8E030000 call 004050E0
3 K1 M, X- v# ]00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
5 E5 e: n% c& h) |00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
4 i+ q) X( `- F. b. d00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
/ f. E: ^, q7 a$ }) h00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 7 q# E! i" s7 r: R" ]" g
00404D68 |. 51 push ecx 3 z/ _' G% W r8 l1 k. o$ _3 w( w
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
3 } s' g9 n% j- c8 H% U00404D6D |. 6A 00 push 0 9 l! c: S+ y0 J- ]4 l& R' L
00404D6F |. 52 push edx
3 j' _2 Y4 Z9 @0 b, Z00404D70 |. 8BCE mov ecx, esi 4 n4 ~" n2 t: \- }& x
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0
$ }+ h# k* D b* B- y00404D7A |. E8 71040000 call 004051F0 " q4 @7 l7 p I: S' p% ^) ~
00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10]
+ x& A" B+ G, x* C" }00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" 7 K1 F* R2 y7 O; ~) ?
00404D88 |. 50 push eax 0 n- ?6 |% b+ @$ i ~# q
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20] . j- l8 t u# v/ X1 V
00404D8D |. 6A 00 push 0
* w% B! G0 @3 C2 n+ r1 @4 n00404D8F |. 51 push ecx
. B: L8 i8 O' y) a00404D90 |. 8BCE mov ecx, esi
+ g; Y- j3 n, E- ]00404D92 |. E8 59040000 call 004051F0
! k# ?# |, z% W/ a1 l00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] - }: c. H6 X. C9 Z
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png" 7 U( O2 {( B9 d2 d3 x+ V
00404DA0 |. 52 push edx
8 D7 g, x+ X% r6 [00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20] ( Y* R. F6 L% G) y" i) t
00404DA5 |. 6A 00 push 0 ( F5 C6 f8 [, p4 |( L
00404DA7 |. 50 push eax . i* R( n0 G2 F
00404DA8 |. 8BCE mov ecx, esi
2 T7 u+ G: N5 [3 V00404DAA |. E8 41040000 call 004051F0 . H7 q+ O3 ~3 S. T7 B- Q% d5 }# B
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10]
# h1 W2 R/ F) }7 h00404DB3 |. 51 push ecx
& P$ k) @3 i! f+ M) g; W9 @: A$ {+ m00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
0 Z' g1 f$ C9 a$ a/ L: h1 l00404DB9 |. E8 A2C2FFFF call 00401060 : u4 M1 Z- G& {4 f, j; ?
00404DBE |. 83C4 08 add esp, 8 6 C6 K4 g% l/ A% W$ h
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] # Y* d7 e+ c5 n7 U) D( f: j+ R8 ^
00404DC5 |. 6A 00 push 0
+ o, P4 `4 J$ w2 _00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
# V, J, `+ V8 d& Z00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save M7 @" @$ P2 [7 j/ u
00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] / @- J( b0 R1 k* x' m# j" a+ X" l
00404DD8 |. 6A 00 push 0 7 H/ S/ l+ ~5 s2 [
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
3 W! I7 y7 d0 g5 y! Y00404DDF |. 8BC8 mov ecx, eax 1 K6 ~; ^. t1 U1 q7 e
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
7 G5 z3 ~, B& l# D2 B: k00404DE6 |. 85C0 test eax, eax : f2 J$ t; m- R8 j* \& }6 N# r. D# b3 u
00404DE8 |. 7E 25 jle short 00404E0F ' G4 W' `1 }4 ?8 M! Q& N4 H
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
: }9 ? I$ e: ^ E. ^7 o00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] 4 j+ V% W2 v! m* G5 X- a. c9 b
00404DF4 |. 6A 00 |push 0
3 M8 Q! e; @2 n/ B. ~: T! V00404DF6 |. 6A 00 |push 0
8 F% D; N8 i* x& @0 ?9 v5 }00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan>
. q3 W- p$ r& ~. g3 {* `2 O9 V7 S00404DFD |. 8BC8 |mov ecx, eax
' W V9 ?. z: \3 y00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> 8 H! A8 m+ p( U5 Q+ Z, u. b
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] 3 I! \3 {( y( k, s& ^, V" U& U$ k
00404E08 |. 48 |dec eax
9 C% Z2 F3 f# K7 z00404E09 |. 894424 14 |mov dword ptr [esp+14], eax " _) c. {1 u7 x3 g( J" b
00404E0D |.^ 75 DF \jnz short 00404DEE
/ L6 A; A% u H, s00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
# T7 B6 H8 y i% a" z00404E15 |. 6A 00 push 0
- o1 t% a, y1 d. S! x# v8 D00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
7 n; L* K V# @2 S) }( _ a3 \00404E1C |. 8BC8 mov ecx, eax $ C/ Z9 N) a" J7 J; u# d
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
2 b0 o" P1 d; {2 e: M- R/ C00404E23 |. 85C0 test eax, eax 1 u! V5 c' j0 o& s3 H7 y I
00404E25 |. 74 0E je short 00404E35 % T* Z% ^& F& Y* p
00404E27 |. 50 push eax ; @3 M, j0 W7 \0 V2 C! s- k4 ^
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" $ |& r. t) q% d- b. Z
00404E2D |. E8 CEC1FFFF call 00401000 $ h5 _+ L4 @# B: w
00404E32 |. 83C4 08 add esp, 8
. S" t5 u- R3 W7 L; J2 p; D00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
& I$ u$ h+ m( h& J00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
0 C6 w0 {; w$ n; z00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
, m5 f; t/ F+ l9 m' T. h& Z& L: U00404E46 |. FFD5 call ebp ' Y. _5 o$ a1 X- a5 O
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
8 T& G1 @) c' P& ~2 f00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
3 r1 p: f9 D& [( r00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 5 _9 a. W, D- N; U2 I& v
00404E56 |. FFD5 call ebp . k* s4 R+ h, a3 R
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
' j- K; o* @9 X8 M! D4 A00404E5C |. E8 8F1B0000 call 004069F0
8 {: |3 G# V) V00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
. _7 C N: Q# p% B00404E65 |. 52 push edx
I1 N& J3 R r00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> 9 l& C' r) E* ~6 {$ d) O
00404E6B |. 83C4 04 add esp, 4
% Y+ H# h, P8 o00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
- G2 g- _$ g- C; F4 F00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
/ _ g* s' i- b( h( g7 W00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] $ v M) H8 W, f/ P4 F6 K! [
00404E7C |. E8 6F020000 call 004050F0
2 D( u1 [+ C) q8 K0 H1 _4 F: T00404E81 |. 6A 00 push 0
4 S- `9 q" R5 `8 L( @1 j00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
; }; t+ C- }9 r) r$ N4 H! y00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
7 Z7 k- V a% o- O/ W00404E8C |. 50 push eax / Y5 }, n( S0 t* e: \
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] % Y# z, l; t1 A! Y/ [8 ~, r
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\"
' ]3 O4 s/ f- o! u9 d# V! E00404E96 |. 51 push ecx
2 z* K. h8 s& k0 a# Y0 Q; |00404E97 |. 8BCE mov ecx, esi . r1 e& p" \/ ~/ }
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
; e5 S& x; _3 B00404EA1 |. E8 EA030000 call 00405290
9 e/ E1 `1 O2 s7 L9 H0 d- k- t. F00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10] 2 o* W2 K R& C2 x+ h$ e
00404EAA |. 6A 01 push 1
6 N& m" _: X: G T00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] ! J# W4 B( N/ b. U9 ?& H3 U
00404EB0 |. 52 push edx 5 T3 r. T4 f7 t4 C) u6 K
00404EB1 |. 50 push eax
2 x a0 r. ?: j) k- l% Z$ }2 Z5 s! c& V00404EB2 |. 8BCE mov ecx, esi
! A) Z8 W. W' a! X) {# i. \# x& ^) Y00404EB4 |. E8 E7F9FFFF call 004048A0 ! K: d, [ c$ i4 Z/ D. @2 m
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
4 K/ {8 ]: x* l* T; J& X00404EBD |. 51 push ecx * O, g: F9 ~: |" S5 A
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
% {# M* c: i3 A' F00404EC3 |. E8 98C1FFFF call 00401060 : [ L1 F/ \$ Z5 X
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save ; {: N1 A+ h! h, F# h
00404ECE |. 83C4 08 add esp, 8 - _5 m" d, G& v1 I. Y9 x
00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 8 E6 J0 ]# ?" E' n
00404ED5 |. 6A 00 push 0
# x) U$ k$ U& |5 d" Y00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb" # i/ N" m3 F8 ]$ D' g$ o0 j8 O
00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save>
- y3 Y! b9 C( g) [5 S00404EDE |. 6A 00 push 0
$ Q1 E* z9 T5 h; s1 U9 v3 `; U2 w00404EE0 |. 8BCE mov ecx, esi
! s* a, s& u! a9 W0 q. d00404EE2 |. E8 39FAFFFF call 00404920 ; h5 x7 }, s( u+ a0 V
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
9 v% _% x; `( |' O3 c( [7 s4 ]! D4 E$ ?00404EEB |. E8 A0020000 call 00405190
. q4 t/ S' u1 }5 \1 }* O! f& \/ V00404EF0 |. 53 push ebx
/ |: _$ b0 F' L: ~00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
! V! |& t% X4 ?# k# t. @; P2 b$ v00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_" 9 `& \$ {4 e. c5 |
00404EFD |. 52 push edx
) m- x. Y. V6 _- {# S# K, z$ f, m1 @00404EFE |. FFD7 call edi
' |2 c, `) ~0 O1 n9 k00404F00 |. 83C4 0C add esp, 0C
9 i. _8 S* c8 @3 B* j5 f& }00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88]
3 y: }9 u% D' B4 x% f. Q3 q1 _00404F0A |. 8BCE mov ecx, esi
) X( _; s, l" [; I00404F0C |. 50 push eax 0 _" |" R) T& F$ V" F
00404F0D |. 6A 00 push 0
" C( C0 S% o6 J* b+ g6 _00404F0F |. E8 EC040000 call 00405400
0 a, a9 \0 F& ^, k3 t$ O* D; R% T00404F14 |. 53 push ebx
# A: E1 R7 t1 Z2 B$ B; |3 C% B00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] 6 P+ P9 ^- \" `" R8 T0 v; v
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" 9 P8 M9 ]" m/ a% k& p
00404F21 |. 51 push ecx
A+ \) n' M+ z5 Y00404F22 |. FFD7 call edi
' t- h0 R+ d* V% i5 s00404F24 |. 83C4 0C add esp, 0C
4 B& b* b& z6 |8 g* M$ s- V00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88] 2 p6 \/ Y$ V7 A2 j- `* n1 y( R
00404F2E |. 8BCE mov ecx, esi
; W) O0 K8 D& h& l0 q00404F30 |. 52 push edx 8 K. }9 K& u4 j8 P+ b% W
00404F31 |. 6A 00 push 0
& M9 e$ i, t1 s; O8 b00404F33 |. E8 C8040000 call 00405400
6 F& T& L7 L) K% s7 Q8 L00404F38 |. 53 push ebx 9 Z, F( R3 O+ P5 b8 o
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
$ n1 p) k- d9 z$ n& L00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" ; j8 W/ n! ~3 `4 i! _) Y
00404F45 |. 50 push eax
& q- A8 A0 J2 o0 S. s( E00404F46 |. FFD7 call edi
2 @: ]6 J A T8 A00404F48 |. 83C4 0C add esp, 0C ) ]* x9 A# r9 ^7 ]/ D8 k
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
7 y, Y/ W5 m6 ^/ W, W00404F52 |. 51 push ecx / E* k8 Z0 c- G/ p5 F2 Z7 ~
00404F53 |. 6A 00 push 0 8 A1 x# V# q3 l# U8 v* \9 m
00404F55 |. 8BCE mov ecx, esi 8 i* l5 D [! C& _
00404F57 |. E8 A4040000 call 00405400 7 W4 c T( V3 O& a, p6 @
00404F5C |. 53 push ebx
$ N2 v: o! Z& z* t00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
% i) [9 N/ L8 t/ x% t/ [00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_"
6 Y7 o1 E) |1 [8 L0 o00404F69 |. 52 push edx & g6 s' K+ h9 x h/ ]) Z- d
00404F6A |. FFD7 call edi 8 |9 _8 h+ ^$ q/ N: b
00404F6C |. 83C4 0C add esp, 0C : v# n" A' p9 _: b7 a8 ]
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
: v; G l: l1 B00404F76 |. 33FF xor edi, edi
' X y$ V( p- U2 o w( _+ j9 ~00404F78 |. 8BCE mov ecx, esi
6 P. v/ ]( K$ |1 {2 Q' x5 @00404F7A |. 50 push eax
- C! U" d% L1 {, V3 K) M5 ~' o00404F7B |. 57 push edi
* e+ K; W$ X6 w& O8 W7 p6 [00404F7C |. E8 7F040000 call 00405400
5 o. T" C. U8 d' \/ L1 D, i( w00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ) V( K" k3 z: [8 s! I+ G
00404F85 |. E8 66010000 call 004050F0
) W2 N+ T- y6 Y$ R00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10]
$ U, n& h( q3 i4 v- D, [0 j00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
. L" p$ g2 y' R$ P00404F93 |. 51 push ecx 3 f, w8 K! R" n& c7 r# v
00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
9 d9 S8 z) i# `, w% B C3 R00404F98 |. 57 push edi 9 a" E: u; k$ G2 I0 }
00404F99 |. 52 push edx - m/ u4 X5 Q3 X2 S/ w1 t
00404F9A |. 8BCE mov ecx, esi - J* {- ~: I8 C$ W
00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
. ~2 m6 u8 ^1 P, V3 n00404FA0 |. E8 4B020000 call 004051F0 0 c' {& X& {; T# c# p" [' b
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] ; Q& g0 q" |, t9 v: H3 O
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga" ! I: f$ Q+ j9 u' }! F
00404FAE |. 50 push eax % S- i" E t6 m% D% I8 n
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20] 3 r! C/ E" s3 v
00404FB3 |. 57 push edi
1 U! }& f/ K; M8 m- I00404FB4 |. 51 push ecx
" |% @# M7 t) s2 q" b7 B00404FB5 |. 8BCE mov ecx, esi
& m( z F3 O& [4 [8 N2 }00404FB7 |. E8 34020000 call 004051F0
# t1 J; _ q# H' Q3 d8 C1 A* t; H00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] , s0 \2 J" e- S- M
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" : @3 ~: H5 ?' O& |# H) a5 w
00404FC5 |. 52 push edx
1 |$ S& z' l; [4 s- A! x _/ k00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] 8 V, E& ]4 L0 A8 H E' s; N# Z
00404FCA |. 57 push edi
! ?$ s& E% R0 A B! V8 ~! \00404FCB |. 50 push eax & v- t+ I* ~5 n7 a* I
00404FCC |. 8BCE mov ecx, esi
+ q+ ^$ v# `$ K* E# k0 o4 _00404FCE |. E8 1D020000 call 004051F0
$ j$ k# u/ M& ^! |2 Y00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
9 h8 k) M/ w/ O2 |0 v; I) _1 Z- g00404FD7 |. 51 push ecx Z- y+ C" \7 ~$ s
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF 7 ^+ p6 f) C1 P$ e
00404FDD |. E8 7EC0FFFF call 00401060 ; E+ F$ k) k$ E( B" A% c2 ?6 W
00404FE2 |. 83C4 08 add esp, 8
. k- B* ]+ C- r' B00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
8 o% \; B4 K3 a2 f0 W n, K' K: h00404FE9 |. 57 push edi
$ M- u- j- ?1 ?1 k6 V6 r1 X1 v* k00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
( S x* o: i# W00404FEF |. FFD5 call ebp $ @+ `7 z: z$ c- r
00404FF1 |. 57 push edi
" Z: {4 i' r' [00404FF2 |. 8BCE mov ecx, esi
5 C1 K Y3 s2 d0 s6 O3 z. B00404FF4 |. E8 27F9FFFF call 00404920
+ @* s+ Q) L$ }00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
4 @* H0 t+ b) T; l+ Z00404FFD |. E8 8E010000 call 00405190
2 Y# @' V* D* n7 ], h' A" v2 r00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 2 Y4 d, |0 E) Y8 @ M
00405006 |. E8 E5000000 call 004050F0
5 b; l" O$ K1 T( Y0040500B |. 57 push edi
# w/ L8 G. ]$ u" s8 p1 ]5 y8 o0040500C |. 8D5424 14 lea edx, dword ptr [esp+14] : t2 R9 a5 o% @3 v6 r
00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" + ^& {6 M. w+ ]1 ?& ^( P8 F4 {' V
00405015 |. 52 push edx / H. B X! r$ A+ e; @
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] 8 S$ m0 n' W. d9 a0 _- C
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\" 3 F$ ?/ n# W) A+ Z/ R1 J ?! R- d
0040501F |. 50 push eax : L4 y: ~9 R% ?. i3 B3 J0 P
00405020 |. 8BCE mov ecx, esi - m2 l2 J7 x$ r1 w6 _% W
00405022 |. 897C24 24 mov dword ptr [esp+24], edi
# Q/ d; Q. _ V1 H9 j00405026 |. E8 65020000 call 00405290
}' r) { E% _; a0040502B |. 57 push edi
' ^" ]8 z# b4 x0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14]
" n+ D# h3 ?# _- W, \* `00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
; R* F3 R1 A. z& Y7 p* [# @) U00405035 |. 51 push ecx + M2 h: r, l8 S( A- b$ ]
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
3 g, Q# \. _" K0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" $ o, K6 ~: t/ D: ~4 X( x
0040503F |. 52 push edx
0 ]1 R `9 n* L+ c( D! f00405040 |. 8BCE mov ecx, esi 9 P& _3 h' {5 P+ Y# l1 I* y5 d
00405042 |. E8 49020000 call 00405290
# c$ {* V& Y& X) }00405047 |. 57 push edi . k) ^/ u, x5 ^/ D9 d' B+ s- v! X
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14]
# F* t$ \( j, o+ Q0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik" R {" H. L. X- n% Y f
00405051 |. 50 push eax
; q( ^4 I* b. Q) D00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\" 2 q) A0 @# S9 S- J$ B& z+ I. D; {
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28] ! D" E7 E& A2 ]+ A r8 D! \& {/ j
0040505B |. 51 push ecx
2 R% K4 B! a% ^( r8 e+ o* Q0040505C |. 8BCE mov ecx, esi 3 U' S5 N8 a# ?; u; g
0040505E |. E8 2D020000 call 00405290 4 V1 N! s( m+ X/ N8 s! o8 G" ?3 a
00405063 |. 57 push edi . q. h' A+ ^$ g0 k$ x
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] ! E% [& j" H5 f" r1 G1 X
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" / T: k7 @& @. r
0040506D |. 52 push edx . G' Y, ^ Z; `1 O+ ~
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] & |# p) j$ h r
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
; C+ }5 ?" L) Z J6 F00405077 |. 50 push eax % e4 X3 P) q) ~" `- H
00405078 |. 8BCE mov ecx, esi 5 |" I: Z8 w. A: t) }) D* ^* c
0040507A |. E8 11020000 call 00405290 8 G: ?* n* i4 J5 q% \; R- b) \
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] * A% K- P; O5 n* L6 S
00405083 |. 6A 02 push 2
4 Z* M8 d2 G8 O6 B00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] 6 a2 b3 t- j4 a# x I- K
00405089 |. 51 push ecx
8 C# d7 M% J7 j5 v& d0040508A |. 52 push edx
5 [* j, _* M3 w1 k. @- [6 r0040508B |. 8BCE mov ecx, esi + o( u* T4 i/ v4 u
0040508D |. E8 0EF8FFFF call 004048A0 5 T+ a* h- S; i$ W4 Q8 t/ f, t. s4 s6 F
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] 9 @& U, P9 Q2 ?; p f
00405096 |. 50 push eax
' W4 c, @ ]$ A" k0 k% l00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF 6 C7 w6 B- d; J/ ?
0040509C |. E8 BFBFFFFF call 00401060 5 i7 X! `& f2 w5 b, I5 J0 s
004050A1 |. 83C4 08 add esp, 8
) D# u+ S& U& Z004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
/ H" _, b/ G; `1 E3 d! O5 E( W004050A8 |. 57 push edi 6 Q- w% d' l( _, i
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" . A1 f5 R6 ~: c1 N7 {$ f
004050AE |. FFD5 call ebp
' q, [' L2 x3 K, n. `# Y6 S4 [004050B0 |. 57 push edi
. G8 }; ^3 v: X- e* A004050B1 |. 8BCE mov ecx, esi
0 p r5 I" a0 ` ?1 n2 \& K% J& k004050B3 |. E8 68F8FFFF call 00404920 7 a) {: Q' C- C# n
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 7 u& ?3 r/ X j% ?: x$ d# ^
004050BC |. E8 CF000000 call 00405190 $ r6 d5 h9 y# _6 }" T3 y, O+ j: W/ @
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate." 7 u& K& K7 t9 ^4 f
004050C6 |. E8 35BFFFFF call 00401000 1 j4 S+ {* A0 b& k
004050CB |. 83C4 04 add esp, 4
; p9 S i) p1 r4 o$ m& p3 k004050CE |. 57 push edi ; /status 0 l6 |5 L( J6 _: g( F9 P8 J# Y' u
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit ! k( e) t1 a4 {' Y0 ]
004050D5 |. 5F pop edi 8 k L7 I# M7 F2 k3 b3 J: y
004050D6 |. 5E pop esi ! @ g6 b$ B3 z( n# @: N
004050D7 |. 5D pop ebp
8 u! f4 E. k7 w$ b( o& O+ m004050D8 |. 5B pop ebx 5 {$ P H" i( B2 K
004050D9 |. 90 nop - P. }6 O9 Z9 w+ |
004050DA |. 90 nop ) N# c) n7 l. L, Z( m
004050DB |. 90 nop 5 B$ J% t3 _) ]: X+ m- q) b7 }2 B" P
004050DC |. 90 nop
; T, N& o; Z0 V% N6 }; z004050DD |. 90 nop % F; @6 K8 d$ x0 B& d
004050DE |. 90 nop
& M& }( Z7 t; ~/ J004050DF |. 90 nop
& T1 L* H, W/ n1 D0 x7 U004050E0 |$ 8BC1 mov eax, ecx
/ T$ J! K: w$ C& o7 s004050E2 |. 33C9 xor ecx, ecx ! o. k$ G$ y5 e% z
004050E4 |. 8908 mov dword ptr [eax], ecx
& t; g4 b1 {% F; \1 L7 W004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
% p' v+ L, `, e, J; N004050EA |. 66:8948 06 mov word ptr [eax+6], cx
: X7 B( `$ M0 t: f004050EE \. C3 retn 2 R _/ [+ x+ K' U! B
004050EF 90 nop
6 |3 X# S# X6 R9 V004050F0 /$ 53 push ebx
- |, Q/ y4 @; g5 j w004050F1 |. 55 push ebp
2 Y& c# e' D# v }, ?. D004050F2 |. 56 push esi
; w$ b5 o q: p4 N+ E6 N6 I004050F3 |. 57 push edi
/ w7 r% W0 q) R: k j! {004050F4 |. 8BF1 mov esi, ecx
* @& J# G( w6 c5 h& i004050F6 |. 6A 14 push 14
4 ~4 {) j0 p3 A, \( K* D. E" _8 d) k* E004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator 1 k. E3 H6 b0 P$ l P+ a1 u( _& {
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] ; k, j2 E7 k3 _0 x+ Y$ }
00405101 |. 33DB xor ebx, ebx ' G2 g2 H( S# T5 Q
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1
6 K! J i. z F7 c, D0040510A |. 895E 28 mov dword ptr [esi+28], ebx . `2 |: X3 V$ q2 d/ }. w9 D, Y
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
; Z7 u8 j- d6 k00405110 |. 895E 24 mov dword ptr [esi+24], ebx
3 l f4 J; ]$ N" P/ q0 N# s00405113 |. 895E 20 mov dword ptr [esi+20], ebx
' T$ ~& L$ x9 s) I6 t8 I; [00405116 |. 895F 04 mov dword ptr [edi+4], ebx
7 i; H2 n& Q/ v00405119 |. 891F mov dword ptr [edi], ebx
) L, n& K2 Q) j/ C2 o) q5 V1 @6 Z0040511B |. 6A 10 push 10
) @/ }2 Y) z8 K. s0040511D |. 8BCF mov ecx, edi
. U# X1 D0 {) B5 f% A" R0040511F |. 895D 08 mov dword ptr [ebp+8], ebx $ r5 m% r& L( A! V% W: Y0 |
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx # ]* Z ]& b9 r: {% J- ]7 F
00405125 |. 895D 00 mov dword ptr [ebp], ebx
4 C* N/ W# `' R00405128 |. E8 F3180000 call 00406A20
. W( I) A- e+ S& M5 U$ m0 B8 p3 _0040512D |. 8B07 mov eax, dword ptr [edi] ( Q4 Z3 w3 o4 g
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
3 P; K( {8 D3 Y1 @" {* ^4 P00405132 |. 3BC1 cmp eax, ecx
' K6 N' @# ]3 K) v00405134 |. 74 0C je short 00405142 , t: [. v% q- ]5 k- U6 r
00405136 |> 8918 /mov dword ptr [eax], ebx
, v: ^* |6 @( T" O4 D, R00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4] ! l0 [8 d( o+ K, H/ S
0040513B |. 83C0 04 |add eax, 4
# Y# i. _$ l7 [4 x2 b: O6 L0040513E |. 3BC1 |cmp eax, ecx & V! G! q- f+ ^# B7 `0 C4 c& L
00405140 |.^ 75 F4 \jnz short 00405136
8 k6 \/ J( w# B$ ^+ O7 M00405142 |> D905 3C934000 fld dword ptr [40933C]
0 ~/ x. i: l/ u: F2 z6 N Q) W/ \# a00405148 |. D80D 40934000 fmul dword ptr [409340] 9 C; v, x' ^3 G5 h
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
: v' {( H: H. e u00405153 |. 50 push eax 0 s. v2 V% ^" }5 ^! a8 L% u7 m: |6 _% A
00405154 |. 8BCD mov ecx, ebp 2 @4 y" b/ p9 T. @* A! p8 s9 c
00405156 |. E8 65190000 call 00406AC0 1 ~. w" J, ~9 `
0040515B |. 68 00800000 push 8000 . i. o. N1 O: Q6 @. f" ]% U
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
# N! P) x1 R% ]4 B+ d, N1 \" U00405163 |. 895E 40 mov dword ptr [esi+40], ebx
2 ^, y2 e( t6 d( j! @00405166 |. 66:895E 44 mov word ptr [esi+44], bx
+ \% z% w: f8 X' y6 z3 A, G0 r0040516A |. 66:895E 46 mov word ptr [esi+46], bx * H; |0 Z4 M+ L1 o3 S Y8 H
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 8 \0 ]% `; Q% y" c3 b, v
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] 2 r: u5 C; l% H6 `
00405177 |. 895E 60 mov dword ptr [esi+60], ebx % g. p3 |. p3 M4 { [
0040517A |. 66:895E 64 mov word ptr [esi+64], bx
0 }# E8 t! b, p. J0040517E |. 66:895E 66 mov word ptr [esi+66], bx
# h: m+ {) G$ h! g3 [ j, a00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile / K! `3 X4 d5 ~, @* c) b
00405188 |. 8BC6 mov eax, esi ; d/ Y4 S: y3 Q
0040518A |. 5F pop edi
. s: y" A; n5 o0040518B |. 5E pop esi
! j2 [; e7 d! h0 g$ u4 m( B5 e; Y0040518C |. 5D pop ebp % `+ y4 w# K' @% f4 [8 a0 ]' N* t& @
0040518D |. 5B pop ebx 3 o% Z4 Q/ I7 Q7 m. Y' }. ^
0040518E \. C3 retn |