在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
& y! ^: Y9 H S# s z) \当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。
4 u, [! _3 h: l( W ^% Z不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。 # E+ p) `# s( P( p$ b+ B
# x8 V" @# l( Z6 ]/ ^7 t
/ w2 x5 n+ s/ a' W; U
00404990 >/$ 81EC 7C020000 sub esp, 27C # ^8 z7 a; c6 j% O
00404996 |. 53 push ebx 8 f: u9 p- i' w2 u( e+ B8 S9 a3 Y- B
00404997 |. 55 push ebp
; T3 [ C. j2 }# G9 q' z( G1 B: I00404998 |. 56 push esi
' N# _, |2 }- a00404999 |. 57 push edi
3 b* y) Z5 Q* I$ ]$ {0040499A |. 8BF1 mov esi, ecx
: U% S1 f1 h. O5 ~ `0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF
- W0 G" @2 A ^004049A1 |. E8 BAC6FFFF call 00401060 6 D! X6 m$ n0 K! G7 [' x
004049A6 |. 83C4 04 add esp, 4 9 o( p$ d! T* Z" G
004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
' w: }4 x- |& o! G4 z. K004049AE |. E8 4DC6FFFF call 00401000
9 ~9 m: ]3 T$ h' {004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
" f2 K" O/ k: t2 M6 e004049B9 |. 83C4 04 add esp, 4
J. b& O) s/ \+ Z4 s004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] $ n8 I/ W u& ]7 {$ A
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88] ) f, {4 @/ a, K- h
004049C9 |. 53 push ebx ; /<%s>
7 N7 U8 g$ w# T9 p8 G7 K5 ?004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
* @. x" A# ?( W% L% d8 A0 p, I2 H# u004049CF |. 50 push eax ; |s
' h% e$ R* J. }! q5 ^004049D0 |. FFD7 call edi ; \sprintf % R* V% C5 w+ C) ?' ]
004049D2 |. 83C4 0C add esp, 0C c# w( G, V) F W2 A' T. a4 g% s
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
* ]2 F6 v/ x/ H2 w004049DC |. 51 push ecx ' B% Y( R8 H' `6 B6 S% A! N; _" ~
004049DD |. 6A 00 push 0
* l! x+ ?; s0 i: ^004049DF |. 8BCE mov ecx, esi / i! O3 B# Z/ @1 c( x( q
004049E1 |. E8 1A0A0000 call 00405400 8 V# G( p9 g- y
004049E6 |. 53 push ebx 0 y H& y; F/ |: ?9 c
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
4 _) X' h- ]/ [; h! D! e004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" " `4 j9 m8 Y- J" ]
004049F3 |. 52 push edx
1 s, @1 |$ b( `, B) Y004049F4 |. FFD7 call edi
/ M3 F$ Z1 ]3 w4 g+ J$ e' }* n2 @$ P004049F6 |. 83C4 0C add esp, 0C
! S ?# V5 O1 ^( \004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] / c( }" R5 [( `- d- @8 y( o4 i
00404A00 |. 8BCE mov ecx, esi
, j+ O5 y3 e0 y+ n9 g/ f00404A02 |. 50 push eax ; ^* \; B1 R, d5 K# z
00404A03 |. 6A 02 push 2
/ |3 S) ]$ ^+ D, ]% `0 n8 ]00404A05 |. E8 F6090000 call 00405400 * t3 r- S" q1 d0 m$ _3 r. v7 Q
00404A0A |. 6A 14 push 14 * p; x' n- W) J' H9 {
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
% ^1 ~* I8 p3 T3 I: {4 h, Q00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
, q% w1 a# z! W$ u, O00404A16 |. 6A 00 push 0
$ D1 P$ a$ H! a+ m00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
| m9 ?+ o5 b00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1 0 ~! [& ^, N0 D: R( [
00404A24 |. E8 F71D0000 call 00406820 - c+ ?' M# X) {" w* N
00404A29 |. 6A 10 push 10 6 Z" C: d- \" \' Q. T2 @2 J2 G% {
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
+ d* c1 x- T N% r; D: r00404A2F |. E8 2C1E0000 call 00406860 3 u* l$ v7 h, p# z
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] ( t3 m ^6 X0 f0 v
00404A38 |. E8 A3060000 call 004050E0
( U: M7 k* N1 B00404A3D |. 68 00800000 push 8000 $ Y, ^+ k* C6 W" a6 Q
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64] : \* J4 T3 K& s2 d- E* E5 E! k
00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
~4 a0 ?0 ?7 h. P4 I5 \8 I00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
4 _6 ~9 R l/ u! q6 t00404A50 |. E8 8B060000 call 004050E0
8 d K& M4 U* a) _00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] + M5 K- d" Z# d6 b# B ]2 e; I0 x
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
8 h( }1 T5 B/ i; {00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10]
8 N7 M0 q7 z$ y/ I% b+ M3 I9 p00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
+ d* Z. g y A00404A6B |. 51 push ecx
4 R5 } J {$ Y+ b7 K+ K7 h+ u00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] , [* U# O8 Y" `3 Q3 n0 e" `/ u
00404A70 |. 6A 02 push 2 9 O# I( f; i- P* r
00404A72 |. 52 push edx # z) O" }7 g3 p7 j3 A) _: z
00404A73 |. 8BCE mov ecx, esi 1 s R) }% e% |$ s. a
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
* J2 O1 A3 D" {! `: D; m00404A7D |. E8 6E070000 call 004051F0 ; G. P1 d/ h% [7 G
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] 2 H. G s0 q# ^' t( W
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
# f! y) d" n" D! i7 d2 I00404A8B |. 50 push eax
1 P% H8 w2 o [00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20]
5 C. W g: Z+ u9 Y00404A90 |. 6A 02 push 2
7 ], P& h% u8 z& f8 D3 f6 N00404A92 |. 51 push ecx 1 _, m1 [9 |' R- O9 b- F. @
00404A93 |. 8BCE mov ecx, esi
8 u$ z/ M6 T# N( [- a# s00404A95 |. E8 56070000 call 004051F0 0 a( U- l" c# J4 a. a
00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
9 A- H5 V* \; b8 Z u6 `2 p00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
) I0 p! O! H; @ x/ n0 G( g00404AA3 |. 52 push edx
: w1 \* P% N( |. k. G }5 i00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
2 o- v7 j: E l00404AA8 |. 6A 00 push 0 & `3 a# I5 {7 i
00404AAA |. 50 push eax ( b: K" ~4 Q% g8 A4 [/ O: b
00404AAB |. 8BCE mov ecx, esi . M$ x9 l( [8 o/ k
00404AAD |. E8 3E070000 call 004051F0
! |) g' w) i5 q" X3 X' F00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
1 M; v+ {/ n# n2 C00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14] + U, Z( k" ^6 w9 k0 _& t
00404ABB |. 51 push ecx ( ?* C7 b6 s" F
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
1 A" L* E8 U% `- ?$ n6 w& X00404AC0 |. 6A 00 push 0 / \- x& h$ U# X! ^* W. y
00404AC2 |. 52 push edx 0 D1 }! o: L8 _1 \
00404AC3 |. 8BCE mov ecx, esi
$ E/ E% |; s5 F+ @2 Z00404AC5 |. E8 26070000 call 004051F0
5 z- \- O; D' t& K00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10] " `: B& l: h0 H5 Z, T, v+ z; z
00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
8 _( c0 T) j B! I. A# O) V00404AD3 |. 50 push eax
3 Y4 i% A0 Q, |/ T00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] J2 i0 \; o# ]9 J4 e
00404AD8 |. 6A 00 push 0
' U% I, a' F! k) C00404ADA |. 51 push ecx
; K/ Y" b% P- i$ o+ x- m# E00404ADB |. 8BCE mov ecx, esi : R/ ?' \4 o$ K C1 m3 e; P ~
00404ADD |. E8 0E070000 call 004051F0
0 I- ` _& K' P$ f00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10]
7 f) {) a8 H* |3 p' O* G00404AE6 |. 52 push edx
& k+ b% v5 B7 W+ n00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF # |) L. `* s W2 Q. Q
00404AEC |. E8 6FC5FFFF call 00401060 , X1 a- R' Q, w1 {8 `+ d
00404AF1 |. 83C4 08 add esp, 8 8 z% i3 N4 T- l5 `6 j2 i
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
( D$ V8 P- D: c. X3 G9 c0 h00404AF8 |. 6A 00 push 0
6 k3 `, F- M9 p4 n00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" 6 N) X1 C* o4 v, Q _7 a" j3 `
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
5 B$ x f4 O7 l00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
% ~- D! M, R" Y% P: u00404B0B |. 6A 00 push 0 ! Z: B4 _& {! J1 P6 P8 g7 C6 B9 W7 A0 B
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana> 8 |2 j0 d; S& V! u, ?* g' b
00404B12 |. 8BC8 mov ecx, eax ; i# p9 b ]5 p* Y4 U8 D* J
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
5 x- ~. J6 s& `5 f% v00404B19 |. 85C0 test eax, eax - [! [9 b) a, U2 L2 E( b
00404B1B |. 7E 1B jle short 00404B38 5 t( G: `( X3 M* p; L9 M6 Q+ S
00404B1D |. 8BE8 mov ebp, eax 0 q6 I6 \% H/ Y! C/ g' Q
00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
* X; U$ |6 G3 ~$ C5 B0 [00404B25 |. 6A 00 |push 0
" `0 o- N# o3 A/ d" z! W O: E00404B27 |. 6A 00 |push 0 8 T+ s! k' j: |8 }) o; E' t
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> ) B1 h6 L# B( L( k
00404B2E |. 8BC8 |mov ecx, eax
/ k4 B" j, @" b/ |0 }00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> 9 e1 z' ^7 [( r, H; N9 t
00404B35 |. 4D |dec ebp * o' F) O! l7 P& b3 | @
00404B36 |.^ 75 E7 \jnz short 00404B1F 1 ?; ^- f8 `5 l
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
9 g2 n1 ?: q h! D Q8 B: O6 H0 [9 W00404B3E |. 6A 00 push 0 4 V% L5 j; @9 v! t, m4 I# p
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana> 4 g7 h9 R3 W2 R4 _
00404B45 |. 8BC8 mov ecx, eax
) e1 {9 o% }7 D' t$ u& A00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
* A; C$ p5 o7 ^* \. K3 _00404B4C |. 85C0 test eax, eax , s3 T+ x" x+ j J6 d, b
00404B4E |. 74 0E je short 00404B5E
; e2 l2 G4 H G( A2 ]00404B50 |. 50 push eax
: n# |, ?! J% w# D3 c! G00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
+ Q8 S0 e3 P. L2 t1 G3 l# {00404B56 |. E8 A5C4FFFF call 00401000 # V- n: R9 K# D5 }; G3 u
00404B5B |. 83C4 08 add esp, 8
9 T2 p# f+ v' D G4 E00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
# O) S0 V" T% ^/ Q& b00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile 0 _8 B6 m3 O, n% V8 J- {3 L
00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString ( j4 C/ J) W. I; n( @9 p* t
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
* \3 F; L J" V A1 l& o00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
3 E/ c& [+ _; _: i& \& w" n! r00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
3 P5 |5 B- U E' u. J! }; l; C b00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile & L9 h8 k" ~9 g& `/ y& F
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] & j1 p6 M/ G& [+ e/ u! R f
00404B85 |. FFD5 call ebp
) e* p9 I& A/ Z, u0 S+ _- n00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
% ]3 f6 ^0 [# E a6 j' z6 _00404B8B |. E8 E01F0000 call 00406B70
" B: J4 _5 N5 n7 d e+ Y: i00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
' N: U* a, ]) u00404B94 |. 50 push eax . F" J2 T/ s" G0 c% p
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete>
' l5 k3 U0 ~. v: m$ ^. x; t( L00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
+ D# I0 ]9 i; v3 f7 x5 @+ ^' ?, u9 H00404B9E |. 33C0 xor eax, eax * J z7 D( C7 G& t
00404BA0 |. 51 push ecx 2 P) r w# u1 h0 }/ q6 Q
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
2 g2 M) ~. x. p2 [( ~$ O$ s" y5 y00404BA5 |. 894424 50 mov dword ptr [esp+50], eax % o& d4 s5 q2 ?
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
& u! v: n A/ F; p- I4 j$ E) d0 P00404BAE |. 83C4 08 add esp, 8
/ s0 w3 Q# T; ^2 {00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ) S$ Q& }! g9 p: i+ \3 o( p5 h* C& s
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
- R: p5 `) g6 r0 N6 g00404BBB |. 6A 01 push 1
1 P! P: H9 l2 ~00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
4 f, f. d$ d- `- M- ]00404BC1 |. E8 3A1C0000 call 00406800 ! J8 J3 p4 z$ t0 C
00404BC6 |. 6A 00 push 0
4 h7 p5 J" R3 y6 c/ x5 }& w00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
7 S2 ~; O2 T0 l1 y00404BCC |. E8 4F1C0000 call 00406820 4 P( g6 E2 h% p! y8 @$ q: \
00404BD1 |. 6A 10 push 10
?3 W$ Z1 O# A1 ?- K3 z, \00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
" `5 @% i" ]- c6 W4 s1 b F) I1 ^00404BD7 |. E8 841C0000 call 00406860
# z. a2 H2 D9 a0 ~, O# v* ~# Y: Z( j00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] # ?4 X/ w# o. l9 w) {; k: G+ _1 o
00404BE0 |. E8 FB040000 call 004050E0
* y# X: f( X n0 H) {00404BE5 |. 68 00800000 push 8000
) f7 r$ f* Z; l3 z00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64] 5 P( f, N& `" Y; U; c( h
00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
/ _7 s, w! V: Z00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
2 u+ m0 e8 J1 |; S9 U00404BF8 |. E8 E3040000 call 004050E0 ! B7 r6 ]& ^' P6 C5 m
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
9 S* w- ?; _1 s% R- O5 ?00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile / G! @1 Q4 u, L1 s$ v8 N
00404C0A |. 6A 00 push 0
4 R0 u) Q# i) r0 n3 I) ?# r00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
' S w: W, m- e4 l# a* I# m00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
: _) a( K( D, _) [: ^, A0 x00404C15 |. 52 push edx
E0 {2 u9 e: e2 D00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
e/ I7 ?, q- o3 ~1 ~" ]2 B& v00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" 0 k( Z1 a/ h+ V
00404C1F |. 50 push eax
0 ^5 |0 I: J9 L o# @0 p8 d& |' D S$ Q% ~00404C20 |. 8BCE mov ecx, esi . G% q' B" R4 w, ^% M' B/ [
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0 9 @2 [" e2 O$ [
00404C2A |. E8 61060000 call 00405290
& J* `4 ? G# f6 L- e00404C2F |. B8 58B44000 mov eax, 0040B458
" K2 T$ J6 e1 s/ W9 Z2 D00404C34 |. 894424 14 mov dword ptr [esp+14], eax
4 D) c1 |3 ?- r00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4] 2 X8 I) |) s" X0 |6 K1 U
00404C3B |. 85C9 |test ecx, ecx ; P- _( W, e! k- b
00404C3D |. 75 39 |jnz short 00404C78 1 ~* W) C9 ^* z$ y# `' o+ d# T6 S
00404C3F |. 8B08 |mov ecx, dword ptr [eax]
8 l) [: r, D; L4 @ m& q2 J00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
: U$ A" e6 L5 \7 s00404C48 |. 51 |push ecx
, [% b, k' k/ @5 p& h7 P00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
+ P* Y3 |! g. v \: \/ L00404C4E |. 52 |push edx
. J) @ r$ ^( W. n00404C4F |. FFD7 |call edi 2 `6 K$ A y( e1 h8 N8 R9 \3 k- R
00404C51 |. 83C4 0C |add esp, 0C
# w6 E% t. n. A. U* W$ ^00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] 3 f: C, ~ j" `
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] ' c4 V2 r7 |% V7 p! k! T' K& S0 J
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
" R; W2 S8 N, f4 k& b" F00404C63 |. 6A 00 |push 0 . W4 \( p8 A0 |
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" " b _3 p+ h' @6 X; M
00404C6A |. 50 |push eax : g- a6 y" x+ f# M! B% c# T
00404C6B |. 51 |push ecx ! T. c- \7 T" A& R% K$ J' p; ~7 Y
00404C6C |. 52 |push edx
# I, e6 C5 l, S4 w3 o o00404C6D |. 8BCE |mov ecx, esi
' M0 Z: G }$ B( K$ H$ P3 h- f5 O4 _00404C6F |. E8 1C060000 |call 00405290 + x# J+ N, k4 i
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14] + G7 r& j1 Y8 Z* ~" x. f b4 @; F
00404C78 |> 83C0 08 |add eax, 8 / Q5 \* q8 y8 c/ U$ Y* a
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0 2 r; S' h, M, m+ d+ M+ S/ @* \
00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
1 p0 y) ]6 w4 S: j$ _00404C84 |.^ 72 B2 \jb short 00404C38
8 y1 a8 _+ G: s8 {& G# O# `00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10]
) W" ^, l, V; B! H; B( m00404C8A |. 50 push eax
* m8 B5 o7 r0 c+ A I. X+ ?00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
- }; m) G4 P2 f# Y& T7 p: u$ E7 j00404C90 |. E8 CBC3FFFF call 00401060 ) [. r9 f# v8 B6 o9 {! @- r; |
00404C95 |. 83C4 08 add esp, 8 $ b+ e9 d0 [. {* H
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
, y5 W7 h2 f/ T# ~, }1 I5 }; F+ f00404C9C |. 6A 00 push 0
6 D# U( a$ A# E7 c8 M3 X00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb"
- P5 t# L: C- X00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save 8 H/ U% H/ X* [
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
: R% e0 P3 Y6 e$ R00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile ) C6 Y! E) n. V+ D4 w7 x
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
8 P& z" r: A, `, J6 y$ W1 J! Q& [00404CBA |. FFD5 call ebp # r1 M5 T h( u/ R
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
$ |1 K8 S/ W" f00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile : w% m( J; h+ e0 ^
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
# h+ s1 b6 `) }00404CCA |. FFD5 call ebp
$ f- L- h6 n- w. V9 | L00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
: [4 k; `! m7 M8 y- a8 |! B00404CD0 |. E8 1B1D0000 call 004069F0
* ~7 b' Y( n; z& z* r) h00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38]
0 n% }. w: R; @1 X00404CD9 |. 51 push ecx * Y+ N7 n* C; i& r
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete> - z* {9 O1 o$ t4 r( I4 a% `
00404CDF |. 83C4 04 add esp, 4 6 }) r1 b3 ~" Z
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
5 ?- f; P+ Y- j3 y0 @ \8 s# {00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator / U* C+ C( Z( e0 }+ ?% p
00404CEC |. 53 push ebx
0 c O% i7 `, B+ l5 K( S6 e00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 5 o. x, N- v. h6 {' F! q& t' t' I
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_"
- }$ T% q" I3 L- g( W00404CF9 |. 52 push edx
+ O3 r8 r( w8 D/ O [& k00404CFA |. FFD7 call edi 3 ~( X' T$ k4 w9 A1 X
00404CFC |. 83C4 0C add esp, 0C
/ n ]4 k6 g. X- ~) [4 \! K: ~00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88] ' _) n/ D2 ~0 B' W; |1 C% G3 s
00404D06 |. 8BCE mov ecx, esi
! ]3 I' [3 p) @2 n/ F7 t00404D08 |. 50 push eax 7 g; S/ ]- x0 L, P
00404D09 |. 6A 00 push 0
: m e) j' d, J8 `1 W1 I00404D0B |. E8 F0060000 call 00405400
. \5 B8 p# g) { }00404D10 |. 6A 01 push 1
9 G: p7 H+ w# E1 P00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
+ j- e3 h. p. |; w" F! c! @9 A5 W00404D16 |. E8 E51A0000 call 00406800
" J% m4 |4 r1 f8 d9 E/ X00404D1B |. 6A 00 push 0
9 ^9 A5 Q" c1 O3 _) f8 @0 Y( o! U00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
( g4 d+ e$ X1 j+ m00404D21 |. E8 FA1A0000 call 00406820 * E' O3 ?7 @: @9 c* L
00404D26 |. 6A 10 push 10
2 }6 d/ n" q6 l6 D; J `9 a00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
m& H7 K5 H& |: O00404D2C |. E8 2F1B0000 call 00406860 $ M( u2 A4 u5 H# @
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
4 f3 q5 ^' P/ i9 m, `2 e9 ]' @* i00404D35 |. E8 A6030000 call 004050E0 ' j) n& g; f' w* Y% ?
00404D3A |. 68 00800000 push 8000 ) _, h6 z3 u9 z F4 ]+ I4 P
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64] + z; }, q- n; g
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 7 d2 s$ E2 E- p
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
; Y2 D: k4 w3 O- Q( H00404D4D |. E8 8E030000 call 004050E0
' r W+ q1 |+ ? Q. v00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
0 F9 C, ~6 ]/ o7 Z( S00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
8 O# x- z$ l, L/ T8 H00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
* {7 u( W& m8 j" W) {) h00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
+ T7 n. ?9 L( h6 H, q00404D68 |. 51 push ecx
& V& q) J7 k8 Y7 g00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20] ) n; m% x0 H% i z5 {
00404D6D |. 6A 00 push 0 ) W, ^" V$ j: I o: X! f
00404D6F |. 52 push edx ( R- D" d5 P* u9 B
00404D70 |. 8BCE mov ecx, esi 5 q7 J9 @% }. Y' z0 h
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0
$ J/ ^- i& n) f P3 H* s$ I00404D7A |. E8 71040000 call 004051F0
% f% W$ h& E* f+ A' }: q00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] V5 S# g" B- }1 `
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
( Y; p g T$ U) s00404D88 |. 50 push eax % o" R5 s3 \$ o( a. F- P3 w* i
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
0 e" }* f4 D0 F: _ T- Y: u00404D8D |. 6A 00 push 0 ) _0 V6 p5 r4 |
00404D8F |. 51 push ecx
5 I0 b' F, i- a3 C6 T8 Q% T00404D90 |. 8BCE mov ecx, esi 3 U+ ~, G* s6 u
00404D92 |. E8 59040000 call 004051F0
8 a5 }/ V0 L! ~' l4 Z3 F/ v8 D; P00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
4 V; ~ y9 k: a" a2 N00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png" 2 g* h8 i1 t2 ^( m( E* @
00404DA0 |. 52 push edx " j- I. B0 |8 X$ b1 T& E
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
% a" s( m5 P! Z, P- L5 m00404DA5 |. 6A 00 push 0
4 r$ ~3 S! \1 h0 ?00404DA7 |. 50 push eax / { a' c/ @; j$ p' _
00404DA8 |. 8BCE mov ecx, esi 3 i+ P0 w5 |' W# e/ |
00404DAA |. E8 41040000 call 004051F0
; H1 `. h4 |, { c2 F00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10]
* g B6 D5 v5 ]% Z8 \) M# P* P00404DB3 |. 51 push ecx ; p% Q2 z8 Z3 K! ?
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF 2 B6 r3 L4 q0 j- o3 x
00404DB9 |. E8 A2C2FFFF call 00401060
$ r$ G! i+ A* T9 ~00404DBE |. 83C4 08 add esp, 8 . y9 V) V: U* H; v+ [
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 5 ]0 M- t9 s0 J& j% U0 H& B+ }
00404DC5 |. 6A 00 push 0 9 W! \* w+ k' q4 W
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb" ! R# f; @; y5 O& i
00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
! c- N4 v, b1 B& N: o: ?00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
' ~ p9 K, Z& B) \: P& W00404DD8 |. 6A 00 push 0 . z, L( `! I1 m# o6 g! a
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
5 X' D1 S6 T% V7 b00404DDF |. 8BC8 mov ecx, eax
: \9 e3 N* D V, w$ M1 W00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath> 6 A; r3 |' y0 U
00404DE6 |. 85C0 test eax, eax 1 E) _0 c& z6 _
00404DE8 |. 7E 25 jle short 00404E0F - B% p7 Y, Z g+ {% O' V: T
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
; [+ x0 i+ D) S. c/ f5 l4 K, D+ {00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
8 x! a! v, m5 T3 f. Q. N00404DF4 |. 6A 00 |push 0 - A2 v9 {- D1 k2 V5 `' t0 J; q
00404DF6 |. 6A 00 |push 0 # D7 z& ?# i0 M/ Z) w' r% f: z& J
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> ' o; l. O2 W' J+ ]% C
00404DFD |. 8BC8 |mov ecx, eax
8 ?# @' E2 Y6 F4 l. ~3 o00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove>
/ ~2 [( p' }6 G6 D0 m* h; g" W1 L" R00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14]
5 }8 `, m1 \) S0 A, G/ F00404E08 |. 48 |dec eax |" g+ g% n$ z7 O0 r
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax " |/ [" z7 m' q2 @9 O5 s
00404E0D |.^ 75 DF \jnz short 00404DEE 2 e+ n( D5 g. `# p9 t) W
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] $ t# _# _9 `+ c
00404E15 |. 6A 00 push 0
0 I) Y( p( y5 F0 X/ V* m00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana> " Y1 ]% X4 A3 E/ A/ L7 o6 p( B
00404E1C |. 8BC8 mov ecx, eax
" ]7 q# \' F! `2 h: i00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
4 U/ Z: b8 O# ~! u! k! x00404E23 |. 85C0 test eax, eax
8 ?5 e o H# |+ E Z00404E25 |. 74 0E je short 00404E35
: u1 I, S; [4 k9 S9 G4 i00404E27 |. 50 push eax
A& \# [) z. { ~( Q4 K00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" : Y& S! i. q* x% O8 B
00404E2D |. E8 CEC1FFFF call 00401000
7 [$ ?+ m9 _: Q7 w3 E5 D0 U& @00404E32 |. 83C4 08 add esp, 8
1 _. y6 n2 j% I3 H00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
/ A/ I8 D6 m o7 u9 D+ V! O00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile & u4 \% P/ z! V0 ^0 L d
00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] - E: l$ \# J) a
00404E46 |. FFD5 call ebp 1 \8 q) _! u& r% r
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 5 `4 v% `- h" u A7 h) [. ~: o
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
" A% q* \4 E3 u9 O" v00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58] ! l/ L3 ?/ L5 k5 t# l
00404E56 |. FFD5 call ebp : Y% R! j& g: W9 `3 Z6 u, y$ G( {
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44] 4 G& `3 B" L! `6 }$ X
00404E5C |. E8 8F1B0000 call 004069F0 0 l4 M- l# y- s/ c c1 {: S# ~
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] - V- A9 q& ^1 R1 M
00404E65 |. 52 push edx
; A3 F; P; X. T) Z00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
: r, i8 i! r9 g% F( _# O6 ^/ v2 m00404E6B |. 83C4 04 add esp, 4
3 y, J2 ]8 U8 k1 k, C7 S00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18] $ h' n8 u2 v( V. M6 I3 L
00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
7 V8 x- w3 ~5 t2 G3 k' J& k00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 x* V8 N3 C* V( P$ k1 n00404E7C |. E8 6F020000 call 004050F0 + P% I4 B. c' s
00404E81 |. 6A 00 push 0
! k- S4 a q& g9 S$ Y. g4 h) V00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
3 ]; {- p' s/ z& V: s- W% ] @00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
( g9 ]- a. m5 |* m5 G+ V00404E8C |. 50 push eax 5 T0 |. Q: C- L+ Z: z, ~
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] ( q' ]9 T% M4 U2 \. ?+ s b
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\"
) c% \1 ~5 M6 n9 B00404E96 |. 51 push ecx |% b+ w4 P0 y
00404E97 |. 8BCE mov ecx, esi
$ ^2 K+ x9 R- N' t00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
* {7 |, Z: t% e) N) b7 I# c00404EA1 |. E8 EA030000 call 00405290
+ w7 P/ @' h6 {' ?7 w) d! u00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10] 8 z. E% b- l8 h+ Q' j1 K/ U
00404EAA |. 6A 01 push 1
) h3 \/ p# G; z& X00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] ; z( \4 `0 ?% B& X4 M7 q
00404EB0 |. 52 push edx 8 o5 P# P) l+ c1 p5 u; U
00404EB1 |. 50 push eax 2 ^. ]- o1 Q& }* z. F5 Q8 Q; _
00404EB2 |. 8BCE mov ecx, esi
8 H. K6 u7 A( s# j2 L0 W00404EB4 |. E8 E7F9FFFF call 004048A0
! u. I- z, l; d8 l0 G00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
# a/ T) I) q5 j; Z6 w) ]00404EBD |. 51 push ecx 9 Z. O1 x: |/ r7 m+ P2 U
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF " L4 u& H6 D! T% r0 T0 h
00404EC3 |. E8 98C1FFFF call 00401060 : ~. P' O' D0 K
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save . \' z: l$ V- |8 a+ Z6 o& K
00404ECE |. 83C4 08 add esp, 8
! N5 z" ^3 I9 t& I4 X9 X00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 9 G' F. F& o. b+ K, n+ `7 i
00404ED5 |. 6A 00 push 0
* Q0 ]. h8 l' i0 G) z* c00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
( d5 X* b! ?/ l' Q( a8 J8 f a00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> ) X! s1 g$ }3 P( W( x1 [
00404EDE |. 6A 00 push 0 u" {# x4 Z% f* P. O# | ~
00404EE0 |. 8BCE mov ecx, esi
4 q# j: [9 ~0 [$ w00404EE2 |. E8 39FAFFFF call 00404920 & N4 F/ Q6 O* f4 H {0 \5 `) p
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
2 o! _. K |. ?3 I: ]00404EEB |. E8 A0020000 call 00405190
) {* X- B+ C) o00404EF0 |. 53 push ebx
0 c k0 Z' E6 t6 \1 _: U2 X2 w8 a00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] & T$ ^2 ^% {% y7 b
00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
- F$ m7 m2 ]3 o9 J8 L8 ]( S00404EFD |. 52 push edx
( G2 j/ x$ E/ l. {$ J00404EFE |. FFD7 call edi + B) ?3 B5 a! z' `" `9 W
00404F00 |. 83C4 0C add esp, 0C - H0 _: s+ n8 b+ H' ]
00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] 1 g4 Z" ^4 Q. _- e- w' d) @
00404F0A |. 8BCE mov ecx, esi
+ @0 H6 P4 F! A9 K; x7 ^3 Z4 l1 y, s1 Z00404F0C |. 50 push eax 8 l* b }4 Y5 z, }/ H1 E
00404F0D |. 6A 00 push 0 7 e$ k3 b$ L2 }; g' z1 d: x
00404F0F |. E8 EC040000 call 00405400 % S. K$ K* u1 i; n
00404F14 |. 53 push ebx 0 F- @5 _! i: B9 o* R T# l
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C]
9 f1 A/ X% X7 z00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
3 c, F$ t( n0 D1 h: ^5 w+ q- s9 h9 ^9 Z00404F21 |. 51 push ecx
0 o+ @- Q4 r* ^) n9 q/ p00404F22 |. FFD7 call edi - \ V) s7 S _ j8 |! R7 [
00404F24 |. 83C4 0C add esp, 0C 6 l# J8 o; a$ E0 f4 {: [0 A
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
4 W3 Q+ E5 r* e6 g" |& }3 p" Y9 M00404F2E |. 8BCE mov ecx, esi
+ N% G% e( V6 S: R' G2 Q% G00404F30 |. 52 push edx $ L" Y, Y' t5 k O: ]9 K/ h
00404F31 |. 6A 00 push 0 9 s3 h( x0 a k7 V) k2 O2 R
00404F33 |. E8 C8040000 call 00405400
. w1 Y3 d$ g! @1 B00404F38 |. 53 push ebx : z; Z1 D( k4 Q/ W* E
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
7 I2 a6 ?" B3 a) m) _+ J7 l/ i00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" * t* ~) i, ` n B) y2 U' `2 K- b
00404F45 |. 50 push eax : X/ \) p8 e K! z# G( c3 _0 M, a
00404F46 |. FFD7 call edi : P4 ?; |4 y9 M, y% w- p& |
00404F48 |. 83C4 0C add esp, 0C
( k* u7 z, U4 |& h, ^: ~1 f00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
, Z8 Z5 S, t$ S, S& x% Q00404F52 |. 51 push ecx - h$ u/ a1 O$ F* M& Y
00404F53 |. 6A 00 push 0 # X( A! F- B, K8 ^
00404F55 |. 8BCE mov ecx, esi 3 Y1 x8 N- U9 H: V3 v3 Z
00404F57 |. E8 A4040000 call 00405400 $ J! x' G4 d6 f
00404F5C |. 53 push ebx
2 F! g& f, x* R% ~% w* v* ~00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 2 x+ l* N" t& A
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" 7 k' A0 B+ V4 y2 Z5 }
00404F69 |. 52 push edx
4 U3 G& t9 t: V8 @6 k1 w \5 {6 O00404F6A |. FFD7 call edi 7 `' q' z6 l }8 P
00404F6C |. 83C4 0C add esp, 0C % Z* G1 L1 l* l8 o
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
9 P$ y; G* L' d, @ R! w00404F76 |. 33FF xor edi, edi
/ F8 U+ c, R5 |2 P+ Q00404F78 |. 8BCE mov ecx, esi . g0 q# H* L: x% ]
00404F7A |. 50 push eax
$ U. I2 I& s3 t6 B00404F7B |. 57 push edi " |4 [* f( `) d3 {! ?$ p& n0 m- n
00404F7C |. E8 7F040000 call 00405400 5 w! V# q! Y5 B
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
9 i6 ~* Y# j I6 D# r, u00404F85 |. E8 66010000 call 004050F0
! r( _" \) f a4 {" k( p00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] & w+ h/ Z: U! D
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 5 K: z% C; e( |6 z+ Z/ E8 n' R
00404F93 |. 51 push ecx : O7 D& D- L( Y3 p
00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
. A* c& @, C5 R M: ?* g6 `00404F98 |. 57 push edi ( J W0 k* ^: O% ^3 Q8 J5 u) i
00404F99 |. 52 push edx
) E* h+ [6 D" v+ g3 \# f( r00404F9A |. 8BCE mov ecx, esi 6 H4 q: L# F5 z9 I s" l
00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
5 N& y7 N: c- D2 \& [, C3 S% |3 l5 f00404FA0 |. E8 4B020000 call 004051F0 ! L+ u1 b6 b% f% N \: c9 W- r+ q
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10]
( \% o5 V9 w; ?8 |) K! ~9 H! V00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
2 u! Z" w. t& y, Y5 R# A' X/ I00404FAE |. 50 push eax
/ r8 K: v0 {% H; R9 ?00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
9 ?- X% f* Y7 C00404FB3 |. 57 push edi . _% i( q! t4 T$ ?# |# b7 m) j
00404FB4 |. 51 push ecx
4 S, u7 N: A+ H, I/ P00404FB5 |. 8BCE mov ecx, esi
# D* ~* a! x" Q+ Q# f7 A: r3 Y/ [00404FB7 |. E8 34020000 call 004051F0
- R* X0 M, l6 I" T& m" ^+ n00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] ( N. L( N) [$ E w
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" 3 p$ ]% I1 V5 d: I
00404FC5 |. 52 push edx
/ O, K- i Z" g- [& \00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] 8 I4 ~( n8 z. `# m) r
00404FCA |. 57 push edi
9 S. @5 ~. M9 v h7 R9 j00404FCB |. 50 push eax 8 H. n* p$ K8 T+ f/ n& C
00404FCC |. 8BCE mov ecx, esi
0 q, m0 W/ h" o" x00404FCE |. E8 1D020000 call 004051F0
) S( p" V1 S; p3 c# s00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
) ~% j2 v) U4 r4 I- L00404FD7 |. 51 push ecx ( x9 F! u# j5 w5 a5 ?' H1 _) Q
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF ( B( M! h* v7 |" {, L
00404FDD |. E8 7EC0FFFF call 00401060 ; b' y% [2 s/ Q8 A. [2 Q6 Y: i
00404FE2 |. 83C4 08 add esp, 8
2 p2 E e. p* h' H- i- \00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
. ~/ z/ @8 |4 `00404FE9 |. 57 push edi
' H) A, j! q* o! a5 S00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb" 0 p, [7 U4 [3 S/ Y6 g+ h
00404FEF |. FFD5 call ebp 5 U, s# Z! A" |
00404FF1 |. 57 push edi
2 F4 v( D/ T, E+ J. N. j00404FF2 |. 8BCE mov ecx, esi & a2 I) M0 t4 b. L
00404FF4 |. E8 27F9FFFF call 00404920 , J F2 `4 r4 `$ o: X
00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
# k: q, \( @4 {0 K00404FFD |. E8 8E010000 call 00405190
. \, @9 Q. v2 d( o4 P00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
/ `6 z+ A' x) F1 j+ t00405006 |. E8 E5000000 call 004050F0 5 K7 X8 F% ~5 z9 k
0040500B |. 57 push edi
" A) X, X2 @8 J' ^( [' M0040500C |. 8D5424 14 lea edx, dword ptr [esp+14] 7 Q. c/ u. u) S/ z$ b
00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
6 d' D5 C" R3 A5 d$ x. i00405015 |. 52 push edx
. v( z" @) D( J6 @4 n" i00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] / r5 _) s4 e# z- D s7 T
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\" & E' k' W) A# W' C% G& l
0040501F |. 50 push eax p- V1 f1 Q: G4 v
00405020 |. 8BCE mov ecx, esi , N% \1 X* o% D* ~" P X
00405022 |. 897C24 24 mov dword ptr [esp+24], edi
3 D$ r2 Z) v! B# a, z% l) F00405026 |. E8 65020000 call 00405290
/ z0 Y! y3 C# V3 }' v0040502B |. 57 push edi 7 r$ c$ H, C$ G6 Z: i5 _
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14]
\) \$ z- @) h. L' ?6 Z* i00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik" ( ^, B$ L' G9 ~8 t) x1 H
00405035 |. 51 push ecx ! s" x, u( @( u# V* c+ p+ ~* g
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24] 9 |& _8 t8 P. `9 K$ I
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
# j3 W# L- |8 N! H0040503F |. 52 push edx
5 _" t- C* \4 @4 b: m# @5 F1 z00405040 |. 8BCE mov ecx, esi ' J, E( M" v4 m' G, Z% b
00405042 |. E8 49020000 call 00405290 2 `! N) y2 e8 P/ b
00405047 |. 57 push edi / l7 L) M$ M( ~# a8 h) s
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] % g( Z9 F9 h4 J j1 K$ o
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik" . W4 p9 x, s. W# E2 C. H- w, K
00405051 |. 50 push eax
- p2 h9 t. C9 m00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
5 x/ ~- }% g3 S00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
. p. X$ F# R5 m- r% H+ |3 q( y% B0040505B |. 51 push ecx
+ z' }; [0 y/ ^& E) L0040505C |. 8BCE mov ecx, esi
~, F# r- W' `; x' f" b0 ~/ u0040505E |. E8 2D020000 call 00405290
* r6 ~/ K) G6 I3 ~1 B00405063 |. 57 push edi 6 w3 k3 l5 ~$ K; T: i. [8 r7 r- L' t( T
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14]
3 y) \7 g9 I9 Z6 R1 q' K00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" + ^ u2 s9 a$ k; l7 m
0040506D |. 52 push edx 5 Y$ g, W0 [. M' M9 G
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24]
8 |' {9 s; R. z* Z9 e, F; O( p00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
) \9 h& X5 i# `9 l ?00405077 |. 50 push eax 5 ?) [7 G, y1 I' ]7 ^, D: W( o
00405078 |. 8BCE mov ecx, esi
, \- V/ ^2 j# `9 [& `$ A$ y; Q0040507A |. E8 11020000 call 00405290 : o/ w% c+ r+ R8 f# y! U
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
J/ Z5 w9 L$ M7 A. i! n00405083 |. 6A 02 push 2 / M& Y# z" R6 |( L; C. _
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C]
. w1 G \0 T% K5 d$ y" B00405089 |. 51 push ecx 2 n& B) Y5 ~" N1 P9 y
0040508A |. 52 push edx 1 K! \* @, g3 h3 w9 i1 s0 F q# Y
0040508B |. 8BCE mov ecx, esi
5 [$ Y! Q9 X- C. n6 L$ e4 H: r0040508D |. E8 0EF8FFFF call 004048A0 - l9 W2 E! [5 o9 e- f
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] ) S; l! ^- x5 t1 `8 w% Q. Z
00405096 |. 50 push eax # R3 ~8 A$ |& x8 h$ h$ ?. X) N
00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF 6 y. Y. z5 T& j) S" N& m5 i
0040509C |. E8 BFBFFFFF call 00401060
! c/ t4 q" E& X. x' o004050A1 |. 83C4 08 add esp, 8 ]; s4 N2 B! I$ }+ w* G% Z1 Z
004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
! y) q& V O j0 b004050A8 |. 57 push edi
# F7 C: B: U" ]9 ]% M+ l* ^/ H004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" / f+ z) z) K# Y8 v8 ~$ K
004050AE |. FFD5 call ebp
" y* v$ }; e2 H! V( `. r' Y, a004050B0 |. 57 push edi
1 ~# C' @/ x4 n K/ L. ]6 J. d9 w0 E- k004050B1 |. 8BCE mov ecx, esi
( L3 {3 p' E9 I- A: [8 M004050B3 |. E8 68F8FFFF call 00404920
8 C' q! T' E) F4 ?004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
+ J, B; X1 Q0 ]) K" O004050BC |. E8 CF000000 call 00405190
( k: ^' H, P" L9 w. L004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
9 B3 b$ o0 o9 C9 W1 c3 t004050C6 |. E8 35BFFFFF call 00401000 , n1 E2 m0 _" g( `" d& Q
004050CB |. 83C4 04 add esp, 4 " _, U, J. ?6 }4 D L
004050CE |. 57 push edi ; /status 6 R7 s* ]: }1 y( X8 U' T3 E* M
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit : A9 w0 A' Y6 i- J# `, o
004050D5 |. 5F pop edi
6 U; I' h: B: s! }0 A9 d9 C004050D6 |. 5E pop esi
) _3 y; j- E2 x d* J. K004050D7 |. 5D pop ebp j- n8 B2 C8 ]& @6 N
004050D8 |. 5B pop ebx
4 t9 {! P6 R+ J: o& I& J004050D9 |. 90 nop # Y, c! F8 ?( m' Y8 R; \2 N
004050DA |. 90 nop
l- T9 T% o. u- i; y2 k. s. v, R004050DB |. 90 nop 5 S3 G/ p3 J- w
004050DC |. 90 nop
- t5 g. Z0 C$ x( z2 z004050DD |. 90 nop
9 N# x8 \/ K9 J4 F, P% I004050DE |. 90 nop / k. u4 f/ C! ]' {% R$ @4 z
004050DF |. 90 nop & B% J( k8 K9 o3 i9 h
004050E0 |$ 8BC1 mov eax, ecx 1 w; L$ z1 o7 Q) \
004050E2 |. 33C9 xor ecx, ecx
; x: b8 n4 n, ^& u- Z) Z004050E4 |. 8908 mov dword ptr [eax], ecx 9 s1 \( F5 | U6 D
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx : M* R0 C. V; ~
004050EA |. 66:8948 06 mov word ptr [eax+6], cx 8 u& ]: S- G* S& ^$ c
004050EE \. C3 retn , _' ]$ {1 M$ O" y
004050EF 90 nop & v7 w* h/ v% n9 @
004050F0 /$ 53 push ebx 0 l' K" w4 X- Q! B# D
004050F1 |. 55 push ebp 7 C' S. O w$ f" D5 ]- W
004050F2 |. 56 push esi # I" m: j4 E% \
004050F3 |. 57 push edi
9 E; t# L; S) t: L004050F4 |. 8BF1 mov esi, ecx $ ~2 L$ B0 N# G r7 `2 n& z
004050F6 |. 6A 14 push 14 % e% O; ?0 ]; z+ i, _
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
' w2 l; t; E' n$ @004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C]
' n/ {3 b5 N$ B3 J00405101 |. 33DB xor ebx, ebx " |; b8 F) ], s
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 3 }0 P" Z7 X/ k+ b
0040510A |. 895E 28 mov dword ptr [esi+28], ebx
! n2 H% U+ R9 i0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] , R5 h% }' w6 w7 C
00405110 |. 895E 24 mov dword ptr [esi+24], ebx 4 {+ L1 `9 g4 R4 m: O
00405113 |. 895E 20 mov dword ptr [esi+20], ebx 9 o4 O+ |$ B9 T: A8 N- W! i
00405116 |. 895F 04 mov dword ptr [edi+4], ebx
0 g4 }* [& X) w2 {' \00405119 |. 891F mov dword ptr [edi], ebx [* P5 ^2 z c; z: u/ q' t" `
0040511B |. 6A 10 push 10
- a- l4 M6 l: N3 ? G: h0040511D |. 8BCF mov ecx, edi 4 h% K" b* C" b0 v( h
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx 0 a: R3 e5 n6 X% j, R9 k
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx 2 i* A R9 U, z, |( D
00405125 |. 895D 00 mov dword ptr [ebp], ebx , H a# h0 j) E0 Y" O
00405128 |. E8 F3180000 call 00406A20 # y6 q8 W4 O: \2 H
0040512D |. 8B07 mov eax, dword ptr [edi]
0 \3 ]. h' T2 t' ~* h$ p0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
5 X/ g2 \; L n6 e! i! q: ?00405132 |. 3BC1 cmp eax, ecx / B% V# @2 @2 c+ R% b2 S
00405134 |. 74 0C je short 00405142
% W- g& f; W k- {5 C00405136 |> 8918 /mov dword ptr [eax], ebx
; \+ w4 _2 N/ v; Z u Q( S00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4] 5 e @6 |# E; l( V
0040513B |. 83C0 04 |add eax, 4
6 E6 K$ v! |+ Y, Z0040513E |. 3BC1 |cmp eax, ecx / r# V y, k0 e, `. B) s. G
00405140 |.^ 75 F4 \jnz short 00405136 ( R; N, r/ K; e" f. r" E" _
00405142 |> D905 3C934000 fld dword ptr [40933C]
8 q6 C K) ]# E# _8 P6 K- |$ r' N00405148 |. D80D 40934000 fmul dword ptr [409340] ! g. e; p7 [/ l( T- g3 ]
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
& n5 V3 {6 @: `5 _0 q( K9 q00405153 |. 50 push eax
: r& t$ O. Z6 K00405154 |. 8BCD mov ecx, ebp
, M: E8 Y. }4 G0 V3 p. @: q00405156 |. E8 65190000 call 00406AC0
- u+ o/ G/ J: k* U0 e! q0040515B |. 68 00800000 push 8000
L* R4 G! a% y2 m00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48] 1 E* G# W: n. O' w4 z
00405163 |. 895E 40 mov dword ptr [esi+40], ebx 2 O0 `, m! E& B! [$ n5 a
00405166 |. 66:895E 44 mov word ptr [esi+44], bx
& [6 _% o8 ~9 O5 c+ |0040516A |. 66:895E 46 mov word ptr [esi+46], bx
3 Q; x9 }8 R U1 s3 e N0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 6 r! b$ u' @8 k
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
; J! u+ e! o4 u' ~: I00405177 |. 895E 60 mov dword ptr [esi+60], ebx 1 X2 C* m! Z( ?/ p$ S7 P: W
0040517A |. 66:895E 64 mov word ptr [esi+64], bx 6 Z H% r% Z/ c, g7 A B
0040517E |. 66:895E 66 mov word ptr [esi+66], bx * x# w7 X r$ O: w; k& L
00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile V% Q9 K% o6 K( X
00405188 |. 8BC6 mov eax, esi
' S4 T2 ^7 c w6 k5 c1 \0040518A |. 5F pop edi 6 [5 v9 p: f& m; |4 d
0040518B |. 5E pop esi / k) \" z, P$ T! K, y) q" x
0040518C |. 5D pop ebp " T. M: p. j2 Z9 l2 R( `
0040518D |. 5B pop ebx
2 B( a/ J1 }3 b5 g0040518E \. C3 retn |