在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。 0 _. B4 |8 t3 C
当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 4 G4 ~1 X9 d H! }' v/ X; k
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。 / p2 j* V e' g1 e, b0 n
$ l: i, k9 d- P1 P% p$ Y8 n
% ]0 n$ M6 x. T) a+ h5 u
00404990 >/$ 81EC 7C020000 sub esp, 27C
, e- X2 }5 c, o' _+ o# `00404996 |. 53 push ebx # G' y0 ] ~- j4 }% I V6 p" `3 E
00404997 |. 55 push ebp
; w& b# g8 g) k- |6 f5 k& o00404998 |. 56 push esi
4 `- i& G# Z9 E! L' ]00404999 |. 57 push edi
0 S2 _ M) A* b: I+ n* q5 X* j0040499A |. 8BF1 mov esi, ecx
# g, J3 A( Q; V8 v0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF , P! P. r' S I, R* C- o* P6 n
004049A1 |. E8 BAC6FFFF call 00401060 : \. s a& p$ L' Y5 G/ o8 t# i
004049A6 |. 83C4 04 add esp, 4
# A' B& T" Q/ Y2 Q: ]: E004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
9 x! D" H0 t; ^6 \( i( {/ \004049AE |. E8 4DC6FFFF call 00401000 / r3 V o: P( U9 a
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf 1 m2 O: C6 n& C
004049B9 |. 83C4 04 add esp, 4
, S3 h, S: V/ m" @* @( x0 i4 k004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] + s: j7 }# `% U4 `
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88] 2 l! @9 q- u5 T4 w9 E8 i
004049C9 |. 53 push ebx ; /<%s> 4 c# \' E; T; S* e
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
- W! K! B4 @7 `' G. j3 E5 D) E# V004049CF |. 50 push eax ; |s ! Y# K5 m1 d* ? L6 O
004049D0 |. FFD7 call edi ; \sprintf s* m% U+ G6 [
004049D2 |. 83C4 0C add esp, 0C
3 s6 {' I1 B% j0 c) Q; g004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] & A+ Q+ b4 N& m; [' q2 s
004049DC |. 51 push ecx
! [9 i6 L: Q) A9 i8 A' }004049DD |. 6A 00 push 0
9 S- x- C% @7 S9 p% o004049DF |. 8BCE mov ecx, esi
+ ]2 a. w7 ^$ O0 D4 V, a9 W d4 L' j; c004049E1 |. E8 1A0A0000 call 00405400 , N! f# J- C$ L' E
004049E6 |. 53 push ebx
! W3 K! K! d! n. c004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
; ]; q# W0 \6 ~004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\"
( [! ~) A, W Y3 G! ~004049F3 |. 52 push edx 9 c& V4 x4 w2 {5 @* x
004049F4 |. FFD7 call edi
7 {4 Z. ?8 t. b7 q004049F6 |. 83C4 0C add esp, 0C
! `& g3 J p- G* t004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] $ `6 Z- O( y) l" h- J, i/ I
00404A00 |. 8BCE mov ecx, esi
0 B. N# w/ q7 r* i- F' N" H* s00404A02 |. 50 push eax
" g6 W3 K7 ]" e7 n( M6 n! k00404A03 |. 6A 02 push 2
+ W9 Q: q+ D z6 L5 V00404A05 |. E8 F6090000 call 00405400
) s! j) O( D5 x$ E00404A0A |. 6A 14 push 14 . h" A1 `6 O2 E1 L
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] 7 v3 L% L# W0 J X2 L
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator # N( O. t/ c" @
00404A16 |. 6A 00 push 0
& R( w+ P9 }7 h; s9 t9 j8 x( i00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] . r8 S* H- }! t7 L% L
00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1 ' R1 b; I& ]4 l& B
00404A24 |. E8 F71D0000 call 00406820 $ q( q+ a$ g* V3 i
00404A29 |. 6A 10 push 10
5 @: G: c u. R) E+ P00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48] - e- ~- H0 k6 Y. m) j8 a
00404A2F |. E8 2C1E0000 call 00406860
( f7 b6 ?$ ~, t* w, u00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 3 J" g* h1 M9 U) X* a J2 Q- q' B
00404A38 |. E8 A3060000 call 004050E0 6 \4 H9 f9 z5 \! K
00404A3D |. 68 00800000 push 8000 8 V4 f( B; Y7 l) L, p
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
4 b6 g$ ?9 w' ~; @/ _00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
6 @% k v4 o! m00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
, O- W" y0 D$ _! N& w5 |- ~" f" j00404A50 |. E8 8B060000 call 004050E0
h# ^* Y) u# g2 b00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
# ] E4 n0 r- |9 u- b00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile i" n, q1 x( P
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] - K4 u) {% t0 z/ q9 g8 m3 g/ A
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
, n* G# G' g9 l) U' \: G. |5 H* {" f# x00404A6B |. 51 push ecx
. s" z1 Q6 N3 U. ^00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] 2 P- P2 O" T' x. Q6 n6 }6 P
00404A70 |. 6A 02 push 2 # z# v$ f+ }: l2 W/ {( ~# i" h1 h5 N
00404A72 |. 52 push edx
% V0 P; V2 [: _00404A73 |. 8BCE mov ecx, esi , i+ L: f( b1 c0 m* R( i0 z; A D
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 $ v0 j# ~/ `0 T% |
00404A7D |. E8 6E070000 call 004051F0
; N0 ^* j0 a! i+ T00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10]
. H T$ h' T/ K% Z& P00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
( A& H. O: i3 z. y+ x00404A8B |. 50 push eax
2 g+ @4 F ~2 L% @7 k* X' P( s00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] - M: X a e7 w# w5 ~; T. u- k
00404A90 |. 6A 02 push 2
0 ? G% o9 [7 D4 y+ B00404A92 |. 51 push ecx 3 V& O# W* C- ~0 O. R
00404A93 |. 8BCE mov ecx, esi
) K" i- e* ?$ i( G9 t9 q00404A95 |. E8 56070000 call 004051F0
3 p# @1 c: J* _6 @4 C( K1 q00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10] ; _, U h# K7 L1 @% n# X7 }( M
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" $ b8 w9 r0 p G. V n1 l
00404AA3 |. 52 push edx
/ w. ?3 v/ C$ |9 l* {00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
' i# X) @9 D9 {00404AA8 |. 6A 00 push 0
/ o$ r7 R. ~4 K( ~00404AAA |. 50 push eax
; G! d2 f8 {$ x: I7 ^. x00404AAB |. 8BCE mov ecx, esi
( O: L' g; b7 _00404AAD |. E8 3E070000 call 004051F0
% K( r4 n' T+ x3 E00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga" 4 G6 m- e7 n+ f0 S0 s8 D$ Z9 R$ b1 Q% F
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
7 B% q/ N I+ I9 V s3 @: Y00404ABB |. 51 push ecx : r0 b: h0 w3 F
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
/ o8 o9 M. Z, R' v00404AC0 |. 6A 00 push 0
& [; S6 o, {6 c00404AC2 |. 52 push edx 6 U9 h: m7 y' W9 ^& C
00404AC3 |. 8BCE mov ecx, esi # J5 C/ `9 P( `& \; n8 y
00404AC5 |. E8 26070000 call 004051F0 $ [$ X0 }' N9 d1 p% `1 R
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
+ l) r2 @4 G( M00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png" & M0 V$ X- \4 k# h& b: U" U* g
00404AD3 |. 50 push eax
# T" ]% i- i" m( W00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] + |$ n; e3 \6 X, Y
00404AD8 |. 6A 00 push 0
. s( u3 Y' N) D00404ADA |. 51 push ecx 9 L8 I7 M k s3 L# b5 W
00404ADB |. 8BCE mov ecx, esi
# L! I6 J- |' W4 m* o4 B( ^) K% n00404ADD |. E8 0E070000 call 004051F0 5 F. @. O. G7 o4 u* g$ f
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] & r2 ] C( {1 E/ i
00404AE6 |. 52 push edx
, z$ d" |3 p4 M# @; N& a00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
2 V# Q: X8 W8 {! A7 e* `( g00404AEC |. E8 6FC5FFFF call 00401060 0 ]5 b* Q5 t6 z
00404AF1 |. 83C4 08 add esp, 8
; B# c+ u2 ~/ S00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ! U/ G% X$ G5 O) E/ j
00404AF8 |. 6A 00 push 0 . s; H2 P) x7 W% L, J; |
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb"
' U9 j6 ]% }9 W4 g6 k00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
9 \$ w/ T d1 c00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] % k& y5 F5 `* @
00404B0B |. 6A 00 push 0 ) ~# L# ]6 i3 m. E
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
0 U3 ~$ ^1 w. O00404B12 |. 8BC8 mov ecx, eax ; `5 x `4 h$ z% o
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
0 _; I8 s# U. @1 |, g8 H00404B19 |. 85C0 test eax, eax
- A# B6 {# C# E' Z9 e/ N8 `3 Z00404B1B |. 7E 1B jle short 00404B38
' w- G& D; L4 A# I8 C00404B1D |. 8BE8 mov ebp, eax
& V9 l& e. V8 I- Z0 S5 e00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] 5 C e% M3 X/ P, M3 n- v# F8 S
00404B25 |. 6A 00 |push 0
7 O* Y; Z1 X4 B3 u) U. N00404B27 |. 6A 00 |push 0 / ^. v" v9 C$ o% w( ]2 f3 ^% ^
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
' u# Q! Q+ g$ h. V00404B2E |. 8BC8 |mov ecx, eax ! e+ _2 }7 n, |0 v( }
00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove>
1 z7 M4 W, g. b2 d6 c. @% {00404B35 |. 4D |dec ebp # j" y, ] o: u
00404B36 |.^ 75 E7 \jnz short 00404B1F
" o5 K6 d+ a! R! b% U9 N00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 3 p/ C3 U, w, A5 u
00404B3E |. 6A 00 push 0
7 @0 N9 K8 r$ u00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
3 C T$ F. u1 P0 ]/ B& ]% J00404B45 |. 8BC8 mov ecx, eax
8 k5 R& q/ C" m6 z2 `0 |00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
" h0 m" c2 L: b- I* `$ L e9 z00404B4C |. 85C0 test eax, eax * W+ [6 v3 s8 T' ^! i
00404B4E |. 74 0E je short 00404B5E
% p# R/ `; h. n) C1 {1 {+ ^$ U/ o% x00404B50 |. 50 push eax
3 D' W; l3 d" i5 h! X1 `9 ]. N00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
6 M5 ?6 p' R/ N3 X" @% l2 v3 r00404B56 |. E8 A5C4FFFF call 00401000 / F+ o% q. ^0 w8 h; n
00404B5B |. 83C4 08 add esp, 8
4 t3 r# R1 e: {% L0 x00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
( F6 ^; g. K$ [. y00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
6 |0 G, Q* Y- |+ k00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString ' [, ^; ^6 O+ Y1 m e$ F
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78] $ Z- V+ }& c! K, c9 I+ @& A
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
v7 ^$ c$ g+ C! L1 u00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
, z7 l; C4 V' C1 J" @7 Y! @00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile " ~/ c% O; M* E/ R8 g6 U
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] % z5 u4 D- G5 a# T# w9 _, y8 h
00404B85 |. FFD5 call ebp $ M6 c7 h* b/ _ _5 ?
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C] 6 H* C& }! N9 v. _
00404B8B |. E8 E01F0000 call 00406B70
5 t$ ?! U& m/ Y: V1 y+ j% ~! L00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
7 y+ i& y7 H2 d7 X) g00404B94 |. 50 push eax
- S/ Z9 w( ~2 i1 e00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> 9 E* I7 V- Y1 {
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C] 6 y \9 S/ p4 |1 x* }
00404B9E |. 33C0 xor eax, eax
" x. F$ W2 a# @4 L2 j# c4 V* S& v00404BA0 |. 51 push ecx
1 s. V, Z! u5 l- t6 Q7 q/ u/ z00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
3 U5 T! ?* b' |& O. `8 f/ k00404BA5 |. 894424 50 mov dword ptr [esp+50], eax 0 O P* c# j' D9 e3 s) z
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
3 j$ L1 r! a5 y6 ?1 {3 w9 M! ^% W( d00404BAE |. 83C4 08 add esp, 8
8 `3 t. {' y0 P% V' ]& e00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
% H; @5 ~! K, u( G00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 3 _+ F5 E5 Q/ g7 ^2 P; \+ v$ f
00404BBB |. 6A 01 push 1 ! P" z5 @% G9 D6 P& Q# v4 e
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
5 S/ R' C$ c# Y3 }- x00404BC1 |. E8 3A1C0000 call 00406800 1 _/ f% M; L8 k, M& _2 A
00404BC6 |. 6A 00 push 0 ; M1 J# i% @. _5 Z( g; e, U) C+ _# V
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
6 ]: `" P; F2 ~. J0 E: j" S% X00404BCC |. E8 4F1C0000 call 00406820
8 r$ ]) r1 D9 j00404BD1 |. 6A 10 push 10
% I" }$ c5 t7 C- n! a R( g00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] " f# ~/ u# Y) ~5 n
00404BD7 |. E8 841C0000 call 00406860 : j9 _, W( U# O8 v/ v' x
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] % G' ]1 n! s) O
00404BE0 |. E8 FB040000 call 004050E0 ( }# z& z# N$ x. b8 r
00404BE5 |. 68 00800000 push 8000 2 e' f0 ^& g( y7 R. [4 v
00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
/ f& L2 d6 z. L& Z4 S" x00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 6 N& V$ ^1 @8 ~7 h* D
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] / L/ @, Q1 y2 L( i e5 G
00404BF8 |. E8 E3040000 call 004050E0 + R, R1 I! t4 n1 m# j
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80] ) C& ^3 F: x$ W! h
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
& n' H6 g) }1 ^1 s/ W8 A00404C0A |. 6A 00 push 0
5 S0 J( v u+ }- W$ S8 N00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
4 _. I9 Z0 U0 F# {! t00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik" & P* n0 Y4 @6 \
00404C15 |. 52 push edx
6 r! o6 H1 S0 H) I8 g# p0 k00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
7 ?$ z0 `. I( ?. @; B00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" & Z) V. f$ p* c$ S: R" x
00404C1F |. 50 push eax
. ~9 i: A2 `& Q: x" {4 _00404C20 |. 8BCE mov ecx, esi M; T! ^1 g0 a! H7 _
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
; T/ ~) T0 k; I; J# W+ K00404C2A |. E8 61060000 call 00405290
1 Q! r7 v" M! `3 G% G7 C3 G+ p00404C2F |. B8 58B44000 mov eax, 0040B458 1 x) X3 ^5 l7 }& V
00404C34 |. 894424 14 mov dword ptr [esp+14], eax
/ S6 E& x7 F q, d5 z- J00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
8 ^2 f! C7 c$ q( Q. t00404C3B |. 85C9 |test ecx, ecx ; }6 {2 R( `' ~1 {
00404C3D |. 75 39 |jnz short 00404C78 0 z: a; ?0 A) w) X/ W
00404C3F |. 8B08 |mov ecx, dword ptr [eax]
% Y7 z2 A# U9 ?3 d+ Q8 g* d00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
8 | r# U0 o; x4 h! a3 M00404C48 |. 51 |push ecx
* i C7 o% Y4 N! s( {3 k( e00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
' b4 p% f7 l0 ?) K00404C4E |. 52 |push edx
5 N3 ^2 P# _; L2 @: Y00404C4F |. FFD7 |call edi # y/ K; P% L. q& Q# K7 e
00404C51 |. 83C4 0C |add esp, 0C $ [0 A `6 v% e8 C$ F
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10]
" Y& X& x+ q% U- z" s00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C]
% }, m9 J# {# S1 F00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18] 7 W7 ~& d/ i; l" e6 e
00404C63 |. 6A 00 |push 0 O$ d0 Y$ v E) ~/ v- K+ w; m, k+ J
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" 5 z a+ }/ R+ X, s6 Q
00404C6A |. 50 |push eax
G- c3 C; S. b: M0 v- Y# H00404C6B |. 51 |push ecx 5 F# \: y. q& t
00404C6C |. 52 |push edx
/ L% Z b' Z, m5 a. F& @00404C6D |. 8BCE |mov ecx, esi
* m3 @* a) r% ]% s/ c% n& F; n/ J2 m00404C6F |. E8 1C060000 |call 00405290 : i7 E+ g; B, v. D% z
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14] 4 R9 w4 Y0 {, T1 J
00404C78 |> 83C0 08 |add eax, 8 ; H2 [! S( b& N5 H# M7 A0 q
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
. y1 [: ]( F( s# o00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
) K+ C1 K$ P" [3 x00404C84 |.^ 72 B2 \jb short 00404C38
9 I" {, p) J0 `- o6 j+ D00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] : }! R$ D" Z; _3 ]! P
00404C8A |. 50 push eax 4 z1 \4 P0 r5 }- n7 ~9 H7 n
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
4 c1 p: p4 h$ x" T, W00404C90 |. E8 CBC3FFFF call 00401060
$ A; N9 q# Z0 f00404C95 |. 83C4 08 add esp, 8
! b: o8 v# y9 h: t, G00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 6 p) Z* g+ L( H G5 |8 ]! t
00404C9C |. 6A 00 push 0
, U* x' {0 g3 s+ o# F# M* R9 t00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" " |" \ F; \! D9 C7 B ]
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
4 h$ u1 J( @1 e1 [" _+ j8 }7 m00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] + S9 B! x- g$ q8 O' b! g0 u
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
- a* T! h) y; C00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
8 i3 }5 c, U: L/ I1 R# e00404CBA |. FFD5 call ebp
- `( F1 F: d+ a00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60] 7 m% w; K; Q' A) k1 b+ a7 |
00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile : P9 A3 Y/ q ~( ^1 ~. L: u- A
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
" [* V* D) F4 K9 L00404CCA |. FFD5 call ebp
3 E7 S& ]0 `( S8 r; T00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
) Z# v8 H8 h: ~6 U- R1 E+ }0 j0 ^0 |00404CD0 |. E8 1B1D0000 call 004069F0 u' ]- k# y6 E/ M6 x) z
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] ! T! B% P5 v* J& s
00404CD9 |. 51 push ecx
8 @4 C4 t- v+ ^& g00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
4 N! w" z! y+ |* Z6 R9 o* \$ l00404CDF |. 83C4 04 add esp, 4
; [4 K0 `2 N, c: w1 {00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] + k0 ?% _. {0 R, I" ~+ q& L
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
6 U5 B t! H/ I; i$ f3 ~- p00404CEC |. 53 push ebx , h# G# |( h$ Y& Y6 l
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
; C( q) X6 \+ {2 K$ Y00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_"
. i7 |6 W5 h- L' W( V00404CF9 |. 52 push edx 4 l% I* M9 j7 y7 z
00404CFA |. FFD7 call edi
# o2 V* x1 b0 m$ x* G00404CFC |. 83C4 0C add esp, 0C
4 ~7 K1 G) ?; V00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
& m% T' ~2 M& ?4 I+ M5 ^00404D06 |. 8BCE mov ecx, esi
) E3 l5 k- c$ U; p00404D08 |. 50 push eax ! D H5 I4 ~/ \* S
00404D09 |. 6A 00 push 0
* J7 D4 ~, B( u1 t# s7 j+ g00404D0B |. E8 F0060000 call 00405400 : r- v% o! t7 x% z) B( d
00404D10 |. 6A 01 push 1
) X! A4 A# o5 }00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C] 5 m. \% t5 [3 X' E* e% ?
00404D16 |. E8 E51A0000 call 00406800 8 Z- t; U2 n0 s% {( F) J
00404D1B |. 6A 00 push 0 6 d9 k$ M8 L- g" D: f* G
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
. c3 y7 W! `3 o3 @; K00404D21 |. E8 FA1A0000 call 00406820
6 s. A' G3 a& V$ h00404D26 |. 6A 10 push 10
* I+ D1 k( f9 T! |! O00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48] 7 ]: A6 p1 \/ o0 D# W9 i |: U
00404D2C |. E8 2F1B0000 call 00406860 5 ?6 z4 ?$ N1 J! ]8 s8 E6 s7 k
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 3 t! Z5 w# c, @5 c! I
00404D35 |. E8 A6030000 call 004050E0
- ?. r1 { ^3 O$ F6 d' j) ?$ C- m00404D3A |. 68 00800000 push 8000
) S. r6 |% _- U6 n1 t$ t) B* D! M00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64] 9 d r6 u" N {/ t6 ^
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
% _! A& Z, K! v" S# ^# U; B00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78] ; H6 |$ |4 Z# a( Y
00404D4D |. E8 8E030000 call 004050E0 + N) h: {- o, Q1 @0 G7 Z! _
00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 4 D6 j3 F1 J6 R" g. v! T3 C/ ?
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 7 ]# ^8 T# n, N9 O, m6 [0 T- B& k
00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10] 6 ]6 Q! ^! P" P, u T
00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 6 }' d# U' n6 l) h. |
00404D68 |. 51 push ecx 2 s% M* F+ j' x$ m- f7 I/ V
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
, D7 c- f6 a& {3 L9 x E1 Z4 V" x00404D6D |. 6A 00 push 0 1 |6 h7 T! |8 _: o& V: K
00404D6F |. 52 push edx
! D+ R1 }# }0 ?5 P5 n1 q00404D70 |. 8BCE mov ecx, esi
7 R y/ Z( f5 a6 c: z# N00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 $ y; L1 ^5 h- p( E3 `3 W$ y
00404D7A |. E8 71040000 call 004051F0
; C$ e3 n; N* D00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10]
3 U+ w) T' a( J2 t1 g' }8 \00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
, q. S+ E, r& q! [( Q' Z00404D88 |. 50 push eax : |% ]+ c% |9 S& Y' @9 z
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20] V9 v* W7 F' P: l7 |
00404D8D |. 6A 00 push 0 ; \7 e* C5 p! q# J8 q
00404D8F |. 51 push ecx 9 c2 _5 z( Y* {% M1 h3 Z% u
00404D90 |. 8BCE mov ecx, esi
" N9 K+ l8 D8 [- O( f! L00404D92 |. E8 59040000 call 004051F0
. ]% a/ U Q4 W% ]$ Q; j1 l8 }! s00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
; c; i: P3 f& X4 y. I* G00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png" 7 r: O/ j; p! N5 @9 r
00404DA0 |. 52 push edx
, X$ {/ O, O: X4 w+ }3 F6 p00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20] + u8 c* J; u, g% }$ w) x
00404DA5 |. 6A 00 push 0
, v, S( g8 W" m3 k00404DA7 |. 50 push eax
C/ l+ `* R) ^# S7 G00404DA8 |. 8BCE mov ecx, esi
% Q4 }! {$ |0 r. Z$ Y. j00404DAA |. E8 41040000 call 004051F0 2 k/ G+ u% ^4 A; s4 n6 ~ ~
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] : r& k+ `8 {6 o; s+ _3 n, _
00404DB3 |. 51 push ecx " Y2 k, I6 i7 W8 p7 f# g
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
( o9 e$ Z. y) Q- L+ O* Z6 }0 E: Z00404DB9 |. E8 A2C2FFFF call 00401060 $ N% g& z( I! \" G0 R( {6 k
00404DBE |. 83C4 08 add esp, 8 * @: c* k+ h3 ?+ `9 {
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ' g/ C$ v8 l( t. U0 c5 D
00404DC5 |. 6A 00 push 0
% ]- y+ i9 @6 z( m00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
0 a* e& ?% b6 M+ A2 e# v. W00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save 5 Y! e$ J& Q4 p; R3 F5 f
00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] - h5 y6 {1 w. S) s% c
00404DD8 |. 6A 00 push 0 . Y5 V6 f8 g R7 e u* e: x
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
$ n/ F& @# P# C2 G00404DDF |. 8BC8 mov ecx, eax ' V$ _ ^' N6 R3 O4 G
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
3 O6 b E% R3 a# d00404DE6 |. 85C0 test eax, eax 6 z' x0 h& Q' K/ r3 I3 P1 X: |" [
00404DE8 |. 7E 25 jle short 00404E0F " q, j+ L: Z3 W# u9 V! P
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
4 I, z0 T" A8 V+ x) @, [00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] ) v1 X6 ^5 e# k* j7 s5 B6 w5 e
00404DF4 |. 6A 00 |push 0 ; j2 F2 L; U! Z1 q5 l4 d
00404DF6 |. 6A 00 |push 0 6 d! K F% m% o o' y& S
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan>
' Q) D9 m4 J: H. `) s' Q; {00404DFD |. 8BC8 |mov ecx, eax
( H& u) ~" w4 n# N0 l00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> % K" _' R J3 E0 F* f+ \& V5 ^
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] 3 A' I+ R, J0 F
00404E08 |. 48 |dec eax
4 K0 z$ Q7 j5 B+ `5 [3 R8 s00404E09 |. 894424 14 |mov dword ptr [esp+14], eax
' b2 N: L, X- L00404E0D |.^ 75 DF \jnz short 00404DEE ' L2 @+ ~4 m( B8 Y! d+ b5 r
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] . p% J- ?5 R0 n& Z4 ]
00404E15 |. 6A 00 push 0 0 u& q0 i+ q$ f: a1 z$ i
00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
" [: x- _1 b9 V0 i1 L00404E1C |. 8BC8 mov ecx, eax 1 s; o( D. l7 E" O- \
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
' y6 u/ |) C X5 \: y+ d1 U! ~$ |9 G4 I00404E23 |. 85C0 test eax, eax
2 X8 C: r# b& `* S00404E25 |. 74 0E je short 00404E35
; c* U! n O* K4 j: ~00404E27 |. 50 push eax
. T1 m8 S: Y0 F2 Y4 g+ Q00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" 2 b% {; s a- M2 t3 {% w
00404E2D |. E8 CEC1FFFF call 00401000
6 }5 h- |, W4 _3 ^3 N00404E32 |. 83C4 08 add esp, 8 ~) o/ D. y% k4 r4 g
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
- c1 s) Q+ ^$ r$ C/ X% }; U00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
+ Y, B2 H. ^* X" j1 {. F4 i: c+ M" c00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] ; w$ Q9 D4 F8 x: l( D! q
00404E46 |. FFD5 call ebp ! W$ o+ m0 r& X, |
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
: @$ ~' n( E0 `1 V* o m00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
9 j. p2 s" T Y! R4 m00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
9 W( x' o, V% G% ]& D9 T% ~00404E56 |. FFD5 call ebp - d( k7 b! V' D$ _8 O0 ?
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
, P$ X# R2 b0 |' d00404E5C |. E8 8F1B0000 call 004069F0
- |: @# Q' ]& l0 S00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] 1 [# y- g, S9 g. C; a/ C& H; ?
00404E65 |. 52 push edx
* _/ Q$ P3 j# a Q. m00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
m9 g1 e$ R( H* `& T00404E6B |. 83C4 04 add esp, 4
; m8 N) i+ ~! e8 T! U# ]/ X2 k00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
) `' I- @: y% y! W00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator + ~( H& {+ Q; P' c I( l' w7 u0 a z( F" F
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
% b% r8 r" s' @( K( e! B00404E7C |. E8 6F020000 call 004050F0 5 e7 o5 B) I+ {+ x- O
00404E81 |. 6A 00 push 0
7 K# x+ M# a* T$ v5 d7 |/ c/ u$ o00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
1 E* I. d4 G+ Y7 x, K7 H00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
1 p+ S0 m z1 M; K/ M" u6 e3 P00404E8C |. 50 push eax - Q" ^7 [4 v+ o" a6 r- t
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24]
$ ^1 ?* h$ P# C( o9 l: d, @00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" 4 U' c: I3 `* k- D6 L# H
00404E96 |. 51 push ecx 5 j0 z( I! @* N
00404E97 |. 8BCE mov ecx, esi 8 p& ~4 k# `% i2 l% X& Y3 Y. i
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 ' p7 J' }! g+ }; |7 E5 p* S; F
00404EA1 |. E8 EA030000 call 00405290 2 u0 ?3 q: ]2 D9 l6 _* Y$ I4 a
00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
0 ?! U1 F% X% H8 Q9 _7 c00404EAA |. 6A 01 push 1 + l+ G' N8 V4 v) p& w
00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C]
* Z. X- T1 j! H9 I0 A4 M! H00404EB0 |. 52 push edx
+ f8 j5 s6 g* M; K4 x, }00404EB1 |. 50 push eax & [8 l2 B) R- ~3 ~* P' o/ P/ a
00404EB2 |. 8BCE mov ecx, esi ) i( B* _1 l5 I5 o
00404EB4 |. E8 E7F9FFFF call 004048A0
2 P! j. ?( | S8 L6 R$ x. x& F00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10] ' ~+ N! Y! [; s/ a% Q- o
00404EBD |. 51 push ecx
5 U1 f- f/ y( P V4 g. {4 N. e' V00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
* |$ W& J) j' G/ e M00404EC3 |. E8 98C1FFFF call 00401060 0 {& d7 K/ @; f& ]* u- S
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save & i0 c+ R i/ q7 Z$ ?2 I+ `
00404ECE |. 83C4 08 add esp, 8
3 D& f( o9 M% y00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
Y! m- m* z# s1 Q00404ED5 |. 6A 00 push 0
. ?5 v7 Z8 _8 S' ]7 S00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb" $ ]* |. U* p4 _& P- z. T" O3 S
00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> . x { \1 M, N3 M5 W/ _* o
00404EDE |. 6A 00 push 0 3 x s) M- d) A8 B8 e/ k5 X
00404EE0 |. 8BCE mov ecx, esi : F ~2 ^* C1 D
00404EE2 |. E8 39FAFFFF call 00404920
, i) i( R1 K" D" j, u7 P00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 6 w0 J" O1 a" i( F
00404EEB |. E8 A0020000 call 00405190 & v& X& K" ^1 a7 A! J8 B8 p
00404EF0 |. 53 push ebx % d. F9 S* w2 Q! [) y
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 2 ^+ q! X: K5 s) B! F6 m+ }. _
00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
3 X& q( K$ I" E1 g00404EFD |. 52 push edx ! h8 t! F; C# C! m0 u7 M3 H$ H9 ?% Y
00404EFE |. FFD7 call edi
7 Q5 C$ c- W2 c! r3 f00404F00 |. 83C4 0C add esp, 0C
1 u) B8 K/ Y0 |$ N00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88]
+ _ g8 }! Y2 u2 O8 D l; `- T00404F0A |. 8BCE mov ecx, esi
# p0 O+ Z8 n+ \/ f6 [00404F0C |. 50 push eax
& t B( \8 {) t) Q00404F0D |. 6A 00 push 0
/ w2 a) H8 S9 U# K( g$ `% l1 M00404F0F |. E8 EC040000 call 00405400 9 K0 q9 V2 l4 n# K& K
00404F14 |. 53 push ebx
2 d* m% [# q" A5 w- h! h) o00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] ' t& i8 g1 ^: e3 }* { K1 W
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" # f9 ] E V- L3 f8 v
00404F21 |. 51 push ecx
. C5 Z9 ]# Q: F: |3 J00404F22 |. FFD7 call edi
: A: e6 e, L9 W" c% a00404F24 |. 83C4 0C add esp, 0C 8 ^ ]8 M5 _* O0 L7 E5 I
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
) |' K6 Z1 e' e1 B3 t: p00404F2E |. 8BCE mov ecx, esi
7 b( c3 z4 p% |3 a% M3 H7 _00404F30 |. 52 push edx
& c' p+ }; x/ h+ i% g; \00404F31 |. 6A 00 push 0
+ L: u8 [" k1 s1 r00404F33 |. E8 C8040000 call 00405400
* T: O; i, [8 P- n' F00404F38 |. 53 push ebx
! v: ?: T6 C. l4 J. I; w5 e9 t00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
6 {/ s& T( B# M* Q& N. K8 V00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" : z2 Q9 X* X, I9 L# @: w$ J
00404F45 |. 50 push eax ) `4 b9 B+ T3 O9 ~' M0 p8 S
00404F46 |. FFD7 call edi 5 k; J, Q: p+ r2 q9 o
00404F48 |. 83C4 0C add esp, 0C
9 r3 i/ x# C) J5 |% ^/ w7 @00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88] + }6 v4 a4 I4 ?. |2 T
00404F52 |. 51 push ecx
. {, K' A$ A7 J6 ~2 X) ^# s% |$ M00404F53 |. 6A 00 push 0
# Z* L' r: x& }5 n0 p! |9 i/ d7 |00404F55 |. 8BCE mov ecx, esi
+ A2 c- O; D, x% U/ |6 l) I/ g9 {, ~/ n00404F57 |. E8 A4040000 call 00405400 6 `5 Q* q7 M# g1 ~/ E v
00404F5C |. 53 push ebx 2 c% l7 }8 }: L! ^3 R( ~9 p; l$ a a
00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
, L. Q) J' x& V8 ^00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" ' d! i* l. Z* @ b0 B
00404F69 |. 52 push edx
7 j1 y+ N+ f! C/ n, A! U, J6 i }/ g00404F6A |. FFD7 call edi @' h0 T( s& o0 g* L7 a
00404F6C |. 83C4 0C add esp, 0C
! `5 ?! q. T& G/ D9 Q00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
) Z. |. h6 l0 |' q00404F76 |. 33FF xor edi, edi . P* ?% x+ y" Z. f5 s
00404F78 |. 8BCE mov ecx, esi
- b; |1 x( c' @ c# V) H! h2 j00404F7A |. 50 push eax * |, U3 s2 K% c+ t
00404F7B |. 57 push edi 5 X7 J4 i. c/ [/ [: M! B" k
00404F7C |. E8 7F040000 call 00405400 a- z$ ~. z) {$ m+ {5 P
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ Y+ W( {: D& d, C; E+ K9 D; }00404F85 |. E8 66010000 call 004050F0
) h2 X$ j: x; ^5 E00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] " _( ^' T, p, n% n% }! y
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" $ {+ x" i& T$ P3 g- Q
00404F93 |. 51 push ecx
- o7 E$ w6 H1 P! @3 U00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20] ; ?' s' B g5 G3 Q2 R
00404F98 |. 57 push edi
: S2 A7 H8 V. u p: S5 K00404F99 |. 52 push edx 3 \# }5 l* H/ X8 {$ s; U$ ?' e
00404F9A |. 8BCE mov ecx, esi
$ I+ b1 ]' z4 t. _8 h/ g; f00404F9C |. 897C24 20 mov dword ptr [esp+20], edi 7 \" a6 ^6 c: \; l
00404FA0 |. E8 4B020000 call 004051F0
0 r. c2 s& ~' r6 f00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] 9 r# s8 ]. R6 y1 n5 B3 @& G
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga" 7 F; O( t5 n7 c/ [! D- ]5 A; b
00404FAE |. 50 push eax
0 x ^. y$ Q0 @5 |3 }# C4 Q4 i00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
9 X* P6 B8 C* f) |; h, {00404FB3 |. 57 push edi . M0 `) F1 x$ f) |6 G. A/ Z
00404FB4 |. 51 push ecx
& l- D. d7 h1 K6 S. Q00404FB5 |. 8BCE mov ecx, esi $ u8 V$ K& X8 X6 ]) U9 x- f: P7 [
00404FB7 |. E8 34020000 call 004051F0 3 H+ w e6 U5 J" }8 R
00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10]
1 U/ W0 W% b2 N+ s; f00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" ( B2 k9 Z% x7 c+ G& b K) a6 { u
00404FC5 |. 52 push edx 1 z4 ~* E7 ^5 Q/ W
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
$ W2 j% V' j& b1 p8 |6 @00404FCA |. 57 push edi
, X: N6 m" K6 H( l+ G6 W# I. C00404FCB |. 50 push eax
! [: u0 c* [4 `, [* g. F7 z& d00404FCC |. 8BCE mov ecx, esi 1 Z" W# D% B* w k/ a+ N E
00404FCE |. E8 1D020000 call 004051F0
, l; c: e5 w5 V. q s. `00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10] 9 v1 R& h, Z# I5 M' W
00404FD7 |. 51 push ecx $ O: c/ R0 S1 q5 B
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF
- t+ v5 J4 @2 }3 `& v00404FDD |. E8 7EC0FFFF call 00401060
- O; @6 A% X: r5 ]% D00404FE2 |. 83C4 08 add esp, 8
/ i! B, p& y# b7 U+ l z6 M00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 N, e8 I3 D2 `7 J6 g; |. c00404FE9 |. 57 push edi
2 x4 O, T* [7 d9 G% g00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb" % |2 L7 S6 N, y6 N
00404FEF |. FFD5 call ebp : S. {. p v: |2 X5 q/ e/ X: R
00404FF1 |. 57 push edi
c' u( n. c- P# D7 \00404FF2 |. 8BCE mov ecx, esi $ Q' @! }. {. Q4 u* n8 ^+ k) Q
00404FF4 |. E8 27F9FFFF call 00404920
9 ?% `, C3 X: K- C; J" l4 M7 N00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18] . |$ f& N9 O" O5 J4 z, ?
00404FFD |. E8 8E010000 call 00405190
& X! [, W8 N+ J3 X+ W. Y00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
* e9 `, m! M2 H4 [00405006 |. E8 E5000000 call 004050F0 : N, s1 G. ?7 d! b( `+ ?
0040500B |. 57 push edi 1 R+ A% s" ~/ t! s. \" a* U
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
1 e1 d; f% l4 J' y+ K00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 1 \1 i' O, G- V% _- J) \( W
00405015 |. 52 push edx
* ?* R& C9 I8 V v5 d& _1 G00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] ( i7 A- _ A& `$ Z7 l
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
% C; V& x# g9 ^' H/ s0040501F |. 50 push eax # O V/ x7 Q- D; c# D* z5 L
00405020 |. 8BCE mov ecx, esi $ _0 P$ ?0 U. T$ k7 b, L) f) q
00405022 |. 897C24 24 mov dword ptr [esp+24], edi 5 `' q# M; ?: u& n* p" S
00405026 |. E8 65020000 call 00405290 S3 o6 ^9 y; U
0040502B |. 57 push edi : n2 a5 i8 P8 M Z
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] 4 B8 S. ^: X1 N" ~9 O7 {& f
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik" & R. g# T4 K W6 Z% Z( o( u! m
00405035 |. 51 push ecx
) S6 z7 i! Y% b9 J% K! x+ a% i$ Y8 S0 s00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
3 e0 n& r/ K8 l0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" : @ P' k/ t0 v" r7 |
0040503F |. 52 push edx ' I8 O, e; K$ W1 l- {
00405040 |. 8BCE mov ecx, esi
# f3 L: ]( n& `6 z00405042 |. E8 49020000 call 00405290 " r- h, q; t$ k
00405047 |. 57 push edi # G8 A$ D4 C' T
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] & ]: `7 ]% d4 t6 X" Z
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
+ B+ B9 n+ b8 ]/ F00405051 |. 50 push eax
) c4 L/ f: ]0 t4 \% |7 C7 y" i00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
8 ^2 }4 o7 D [7 h00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28] ! W. {5 r* V* t( l& C: t( K, t
0040505B |. 51 push ecx 9 f# L0 U! E* Z+ V0 T v
0040505C |. 8BCE mov ecx, esi ( D. ]1 A, d# t2 |: ?
0040505E |. E8 2D020000 call 00405290 . ^. y5 U. r9 @" a7 j9 U" K2 K' a
00405063 |. 57 push edi
" @8 W$ M2 L7 e- u' y00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] 6 B& D5 p7 y' w6 y' G2 x
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" & b+ P# {' I& g" P: B: U
0040506D |. 52 push edx
0 |0 U7 }' u" C* O% N) `# Y) v0 y0040506E |. 8D4424 24 lea eax, dword ptr [esp+24]
& G6 L7 _2 I+ f, q9 P00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" 5 W$ D9 y$ ~& a& q( }2 X" K* n
00405077 |. 50 push eax ' K" _$ i9 \/ G$ t0 N
00405078 |. 8BCE mov ecx, esi
' y% L3 B: n& @% |1 b- y0040507A |. E8 11020000 call 00405290 0 b0 s1 C3 ?4 ?
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
3 k7 q/ @: o4 J00405083 |. 6A 02 push 2
b$ ], b; i. I' V1 ]; e5 F00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] / h% X+ k* X0 I1 }* a$ g$ i e! `
00405089 |. 51 push ecx & A: Y+ J& f& O/ p; A9 b/ H
0040508A |. 52 push edx - e$ H/ B2 w) N( t; e6 @
0040508B |. 8BCE mov ecx, esi " H2 k! E8 V' J h7 T, }( t: |, @
0040508D |. E8 0EF8FFFF call 004048A0
6 I) @* E7 t% l. j+ p6 g% M00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] # d- q2 _; _( w" l/ Y
00405096 |. 50 push eax
. n+ B* Y# B n" d00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF . }' l: s- ^ C+ x9 q; S' ?
0040509C |. E8 BFBFFFFF call 00401060 8 X9 f" g3 d$ Y z" x1 @
004050A1 |. 83C4 08 add esp, 8
- g$ ]6 ?- G4 r3 M2 I; [004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 3 z- |4 y0 ^. d5 i5 V
004050A8 |. 57 push edi : [9 e* H9 n0 m6 u/ W% L5 p' H+ y
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" ! w. }1 o2 H) E/ M( v
004050AE |. FFD5 call ebp
) {2 B% c% e- s. L004050B0 |. 57 push edi - j4 H) v1 Q# B1 c" `
004050B1 |. 8BCE mov ecx, esi - G% Q% K( |9 m: S
004050B3 |. E8 68F8FFFF call 00404920
& S' F! b* p! @004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 9 Y! j8 A- l+ B% w
004050BC |. E8 CF000000 call 00405190
' V" ~+ m8 S% C! Z+ K4 K+ {; K004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
1 M' h4 m0 J o004050C6 |. E8 35BFFFFF call 00401000 4 y* Q5 `/ ^' ? r2 B# Q
004050CB |. 83C4 04 add esp, 4
9 w; i% [ {0 O6 X+ O7 u( U004050CE |. 57 push edi ; /status " a+ [1 X }6 g# W `. w8 u
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit , s7 m- H' y4 t0 |' X& ?% P! s+ \, B& Q
004050D5 |. 5F pop edi
3 U4 E, B' \" G004050D6 |. 5E pop esi 3 e- v& I% P; l3 l
004050D7 |. 5D pop ebp
; ^! X: q9 s0 H004050D8 |. 5B pop ebx 2 ^8 B( B: x# m/ ]3 x' K' p
004050D9 |. 90 nop $ F1 r# y* t6 C9 u* b: P
004050DA |. 90 nop
& i+ z8 g# y4 e, ]) E004050DB |. 90 nop
, d. Z' F& h8 e2 v004050DC |. 90 nop 6 Y9 f- h& m7 |( N9 `$ U, o
004050DD |. 90 nop # j; J, Q& _( }+ r z& s( t( `1 Z
004050DE |. 90 nop - l2 P" ?: _7 S5 W% I7 C- v9 Z+ u
004050DF |. 90 nop
) e y: p- ^" N% q8 v, L) ?004050E0 |$ 8BC1 mov eax, ecx
1 i2 B2 H8 J% l; f$ p004050E2 |. 33C9 xor ecx, ecx
1 I( O/ J# v7 u6 p004050E4 |. 8908 mov dword ptr [eax], ecx 4 w* z5 x1 K, G$ _0 E
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
2 m5 M" u) t( ~ U' D004050EA |. 66:8948 06 mov word ptr [eax+6], cx ( E8 @( j) s5 h
004050EE \. C3 retn
6 b) l7 Y; ~( C( u0 m, @# F& E004050EF 90 nop , g# x/ f& g7 J1 I; V$ B* |/ ^" A
004050F0 /$ 53 push ebx
: `3 `( @# x7 ^7 W {8 ~* b004050F1 |. 55 push ebp
9 C. @+ C( n# c004050F2 |. 56 push esi . R- P5 w2 Q! |! s
004050F3 |. 57 push edi 2 ^, N5 k) Y+ v. E
004050F4 |. 8BF1 mov esi, ecx . t7 V9 Q2 F: ~/ E$ G' V" ]
004050F6 |. 6A 14 push 14 & d b+ q/ ]# F3 h/ d8 }" o3 W
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
. w' w5 V, Q2 e1 H! P004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] & u; V; D2 q& s) z& @" V
00405101 |. 33DB xor ebx, ebx
$ c. O7 i/ v* z* d* {2 @00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 . N2 N8 {! ^2 K) E
0040510A |. 895E 28 mov dword ptr [esi+28], ebx / `3 b0 s! z( N" M/ f/ _
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
5 G: V+ h, ^" v& |0 r00405110 |. 895E 24 mov dword ptr [esi+24], ebx
( h3 K& q$ y1 K00405113 |. 895E 20 mov dword ptr [esi+20], ebx
1 D! D) Q9 F$ y00405116 |. 895F 04 mov dword ptr [edi+4], ebx
( ?3 u1 ~2 d" p% j0 A* {% o7 C00405119 |. 891F mov dword ptr [edi], ebx ! I0 x2 T( q& L9 n3 R8 m) P
0040511B |. 6A 10 push 10
( w' x) E9 d- [, B& h7 W0040511D |. 8BCF mov ecx, edi
" n4 g0 q9 o" H* {" [0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
0 M4 h3 D; |4 m7 t9 X$ ?00405122 |. 895D 04 mov dword ptr [ebp+4], ebx 3 k1 R, a- Q, Z$ A) b5 e
00405125 |. 895D 00 mov dword ptr [ebp], ebx 8 Y4 h0 q! x7 {( l: t- o
00405128 |. E8 F3180000 call 00406A20
6 l' W4 v9 A% R7 m3 h' I4 G0040512D |. 8B07 mov eax, dword ptr [edi]
( J6 F( [! G7 E- E/ p% C0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
& s8 ~3 h) J" l- T: l; a' L00405132 |. 3BC1 cmp eax, ecx " E: @% Q- c3 @' ?' @) p
00405134 |. 74 0C je short 00405142 : B) w9 k5 [; s
00405136 |> 8918 /mov dword ptr [eax], ebx + M* V- x) N, o: l+ s
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4] : Z% y1 h1 L+ H% t+ c& Q+ I0 v
0040513B |. 83C0 04 |add eax, 4
4 Y+ A0 m0 n, g/ j! P0040513E |. 3BC1 |cmp eax, ecx 2 S9 [1 `& @9 S3 G; L* g$ r0 N
00405140 |.^ 75 F4 \jnz short 00405136 + ]9 h$ X- X- w3 W
00405142 |> D905 3C934000 fld dword ptr [40933C] $ _4 O, c, B% b6 V8 J# w
00405148 |. D80D 40934000 fmul dword ptr [409340]
5 N, V, h; S/ K& e$ y$ ]" p0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
3 C3 I$ k5 \7 o6 z) V! s: D% i( P8 ?00405153 |. 50 push eax 8 \" i% J5 T( x3 p. H4 \
00405154 |. 8BCD mov ecx, ebp
M7 [( W0 I: ?) [' |5 B" H5 [00405156 |. E8 65190000 call 00406AC0 1 U) V2 C$ \" `- T# T
0040515B |. 68 00800000 push 8000 2 T! {8 u2 q6 `. b$ d
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48] 7 s$ V- ?" @8 c6 Y8 u% C
00405163 |. 895E 40 mov dword ptr [esi+40], ebx ! d& m" q4 O9 g1 H5 `1 S+ F
00405166 |. 66:895E 44 mov word ptr [esi+44], bx - e% ?5 ]2 ]$ H! m6 d7 ~
0040516A |. 66:895E 46 mov word ptr [esi+46], bx : Y+ L- p L, x$ a7 U! d" [
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
7 L; I/ w. Q5 N' c7 ]0 |. N' M00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
9 M9 C2 b- |4 s* [* G( l# l" X: a00405177 |. 895E 60 mov dword ptr [esi+60], ebx
( f1 v: C- a6 w4 A8 I* U: u+ X8 M1 u0040517A |. 66:895E 64 mov word ptr [esi+64], bx
3 C& L8 f. N) P( f0040517E |. 66:895E 66 mov word ptr [esi+66], bx
+ Z4 K9 U* i4 |$ |9 G00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile ) ~9 k5 B* m1 Q/ o8 k/ m6 S# ]
00405188 |. 8BC6 mov eax, esi # F8 b2 z9 H2 e. B( k9 J
0040518A |. 5F pop edi 0 D1 Z3 k; L7 T; O% ^
0040518B |. 5E pop esi 1 X+ }3 Z3 U7 ]5 K9 A0 A
0040518C |. 5D pop ebp 6 X, h: I# q& ?# Q1 V: b; @( {
0040518D |. 5B pop ebx . N) _, W# d; X# k% o. r
0040518E \. C3 retn |