在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
% V6 |% v% L- ~& H2 R1 Z当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 2 w8 @- ~+ F% C+ _5 X: Z
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。 7 t/ d/ t+ Z4 c$ C% v/ h F
) a j Q8 h8 r# ]+ v
* b! U+ a) |& ^. q+ d9 m
00404990 >/$ 81EC 7C020000 sub esp, 27C : h6 l/ f6 I2 w0 U6 l2 q" \
00404996 |. 53 push ebx $ n! n- C& Z2 U! ~ N
00404997 |. 55 push ebp
+ F: O/ f' }" l& w7 R8 s0 K00404998 |. 56 push esi
0 t9 ~. f1 O2 r3 @: W. k00404999 |. 57 push edi . ]* l& G. E$ R l
0040499A |. 8BF1 mov esi, ecx
" y' _7 q q) V! f; x4 T: R- H; N& N0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF
, E! M( i: J3 U) ^; M9 O004049A1 |. E8 BAC6FFFF call 00401060
6 q9 B: F( f$ U+ o- s" g004049A6 |. 83C4 04 add esp, 4
4 i; R0 f/ U; f9 W+ t004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start." & e1 E* T/ j' Y
004049AE |. E8 4DC6FFFF call 00401000 # H4 S) E0 P% g; \
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
5 i1 }4 n& S( @8 O- N004049B9 |. 83C4 04 add esp, 4
6 n# G* f2 M6 G5 F004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] 5 ^4 F- l1 Q. A7 s8 ^* V
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
# r$ u G0 p$ @( V004049C9 |. 53 push ebx ; /<%s> 1 i$ E8 o! `2 t! x4 v8 U) {: V
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
' q: x9 q- M( P8 Q! E3 @004049CF |. 50 push eax ; |s 7 H" Z. W) [1 _- T8 o; f2 e
004049D0 |. FFD7 call edi ; \sprintf : N6 a% a0 c( T4 O7 }, _
004049D2 |. 83C4 0C add esp, 0C ' X! U P% G# K6 }9 |8 C
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] 6 x5 u* J3 g) J: M/ i/ F+ N/ q) n) B
004049DC |. 51 push ecx 0 z9 @$ v+ B; ?, ]5 m: A7 j
004049DD |. 6A 00 push 0
0 X- j/ j/ }* v4 J+ G$ x004049DF |. 8BCE mov ecx, esi
' z4 Y: h- G) U* n004049E1 |. E8 1A0A0000 call 00405400 8 i: ]! f3 J: L% R; Y" c
004049E6 |. 53 push ebx
$ m/ P) r& i8 _5 B4 @! \004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 1 [+ O3 ?9 E) w# N: i
004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" 1 I( }, b, p* L
004049F3 |. 52 push edx ) Q4 B, C; K0 a/ g% G9 \& z
004049F4 |. FFD7 call edi
; @2 |* ^: T% Z8 H; f0 m: w7 I004049F6 |. 83C4 0C add esp, 0C
: ^1 q5 Y$ F; J" ? ]0 i$ }0 `3 P) ]004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
! c% r5 c- F% b2 w00404A00 |. 8BCE mov ecx, esi 7 B5 u8 ^9 J: L1 f# _9 c
00404A02 |. 50 push eax & w' C" x$ U1 e0 q- p
00404A03 |. 6A 02 push 2
1 @( i: g* Z# |. {5 b* w/ Y6 G00404A05 |. E8 F6090000 call 00405400
: j5 I& d1 T% S; C3 x. v00404A0A |. 6A 14 push 14 5 M5 ?9 k+ T- l# m, A
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
; b# O* I" ~5 T7 c- ]00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
: s9 G* T5 }! k" r: ]3 b* H00404A16 |. 6A 00 push 0
' a1 a+ M$ X9 d/ q) T2 Y+ o. S0 g00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
' }2 V5 l& \% @5 }9 H3 g4 z% r5 B00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1 * R4 ]1 m- f$ Z' i3 A
00404A24 |. E8 F71D0000 call 00406820
6 F# ]1 h6 }# n4 G/ k00404A29 |. 6A 10 push 10
( g3 z9 T z& S* c5 f3 m! d g# s) ^00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48] - ]/ R* ]6 D0 f. B
00404A2F |. E8 2C1E0000 call 00406860 ! ]0 C" D: S3 X" y/ i
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
- H3 i- C' j: \6 y, x8 T00404A38 |. E8 A3060000 call 004050E0
& X2 q0 ?; F- @/ f1 K00404A3D |. 68 00800000 push 8000
' [8 h4 z* d! U00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
9 \: W% ] }% ]$ W9 f3 u00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile . ? D2 o& y' t
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
/ V9 `+ L$ i# M7 q8 ]) L; f00404A50 |. E8 8B060000 call 004050E0
1 d6 R$ S4 r; C9 ^5 Z00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] . c# b H" [9 `+ l
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 0 j; W! O# p' m& o8 y; @* G m" \
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] % z3 r& Z3 i9 H( q8 {1 f. x, a
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
0 _( `: {- `( s$ l00404A6B |. 51 push ecx ! M- r O6 s# L; ]6 T3 |- R
00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20]
4 e. T7 B f/ i6 a% p+ R00404A70 |. 6A 02 push 2 % ^& X% o" M( T; z/ m6 H( x5 `
00404A72 |. 52 push edx
' T; Q* [0 y' U+ n6 B% F$ {00404A73 |. 8BCE mov ecx, esi
# w- r9 G: Z/ y! A' K9 q00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
# u5 s) l% Y: [! z& M/ @9 L00404A7D |. E8 6E070000 call 004051F0 * Q& I3 L1 x# o6 T$ v2 E8 `
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10]
% |4 w, S8 [9 h1 X' c4 z. s J0 c00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
5 g& P* F, W1 b# I( S5 h8 ^( p00404A8B |. 50 push eax
" d. g+ [) E X* H4 F- A% A# ]00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] + O; L3 ]' z7 f; o
00404A90 |. 6A 02 push 2
: q+ _" L9 g, w4 A T* r7 `00404A92 |. 51 push ecx & R; `/ o& s9 F! O, N/ @6 }
00404A93 |. 8BCE mov ecx, esi
* \- s7 U6 K3 s2 F% L" b; V. G00404A95 |. E8 56070000 call 004051F0
3 |3 n2 u# }* \5 h" n# v! r/ f# T00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
) b. \9 ^9 B9 `% \) ]# B# W' k, l00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" $ j' I! B q3 C1 c% X- w
00404AA3 |. 52 push edx
1 Z6 N+ k$ m# w00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] 3 r* y8 X% {# @, r+ E: }, {2 ?
00404AA8 |. 6A 00 push 0
- C5 m/ g3 c$ h* D, d* L) E! O00404AAA |. 50 push eax - ?) Z3 t+ ?( o6 u- J
00404AAB |. 8BCE mov ecx, esi , G8 O R3 w: C8 v8 Y7 R
00404AAD |. E8 3E070000 call 004051F0
* T F$ R2 m& l, D' U" P" ~00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
) Z( b8 o6 A5 e00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
! O. `$ W, N3 _( I9 W" t00404ABB |. 51 push ecx
) n- f, r* |8 `# q( a00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
- c* a4 i/ j$ V' o00404AC0 |. 6A 00 push 0
5 m8 K" R2 q: t n: K+ i& [00404AC2 |. 52 push edx
# B9 V/ v8 y% |' U8 l( B9 n00404AC3 |. 8BCE mov ecx, esi
6 w# I/ J, ~/ ^3 Z4 C00404AC5 |. E8 26070000 call 004051F0
" l' a; D: M2 L4 y5 L2 ~00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10] 9 W7 j( _; m" f6 I/ _
00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png" 5 m, W( h+ w0 @+ {# ^$ H. n# g
00404AD3 |. 50 push eax ( _ @0 H, Z7 _0 I3 W2 g" F
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
& _; b+ l% ^, x) m4 N00404AD8 |. 6A 00 push 0 $ ^. B; f9 j2 `: c; I
00404ADA |. 51 push ecx
$ z, k& d- F5 K9 E$ r00404ADB |. 8BCE mov ecx, esi - _$ }$ Q" t& ?1 t! G! [ k
00404ADD |. E8 0E070000 call 004051F0
5 ~$ o* r& I! \( g& r d00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] E ]5 ^1 L u% F
00404AE6 |. 52 push edx
' M$ b- c5 H" Z% b+ k/ J4 \% }2 R00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
6 x* U. K" r9 \* U00404AEC |. E8 6FC5FFFF call 00401060
8 Y0 l( W5 V8 M# p! G4 j: t00404AF1 |. 83C4 08 add esp, 8 , p5 ^* Z$ i. }9 @/ x
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
& }: i( Y& a$ L, e( A00404AF8 |. 6A 00 push 0
- F4 i7 l6 k/ t9 K& {1 {/ f00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" - Q5 h$ U6 j m
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
5 q* B2 e8 r1 \$ ^1 N00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] - R0 |3 v. {6 C9 H* p% n0 w
00404B0B |. 6A 00 push 0
" z& N8 }( K& @( n00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
* G! O0 {, ^7 H+ b# m00404B12 |. 8BC8 mov ecx, eax
6 U y6 U, l2 Z. _* `. I& E00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
- A$ A. r3 F+ G4 M00404B19 |. 85C0 test eax, eax 6 \+ s# U7 n1 }* I% L
00404B1B |. 7E 1B jle short 00404B38
6 D: t( r9 @# b; O. R00404B1D |. 8BE8 mov ebp, eax
) ]; E' o: k9 r8 l00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
6 L. _& ?( z: V ` k8 n d00404B25 |. 6A 00 |push 0
& { x. M0 _# k x, k6 ?" J, N00404B27 |. 6A 00 |push 0
- ~9 F6 |+ m2 u+ i4 z- A00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
6 M0 m% t, m- C R9 f& S00404B2E |. 8BC8 |mov ecx, eax
( F4 ^# b& K7 ?0 \+ s; y% `. { a/ e00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> + ~% ~ j! ]0 s- u1 P# D! a
00404B35 |. 4D |dec ebp 9 s* q/ _7 b" s [) S
00404B36 |.^ 75 E7 \jnz short 00404B1F - V8 x" Z6 b$ o: L
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] ) O$ c. @. ]/ {* H8 p* r
00404B3E |. 6A 00 push 0
0 G( U4 P1 A* \! J00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
# x# l6 X$ Q$ \; c+ ~6 V00404B45 |. 8BC8 mov ecx, eax
$ N5 W# f! l2 u8 @. a$ e00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
+ }1 O1 f: \: _& |" g7 h2 w" J00404B4C |. 85C0 test eax, eax 4 o) ^% y! U' ]& p6 f
00404B4E |. 74 0E je short 00404B5E
/ C4 j* C9 R/ { s7 N00404B50 |. 50 push eax
; I& b7 _* A G0 Y00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
$ L7 u( ^9 A" G2 S$ f00404B56 |. E8 A5C4FFFF call 00401000
: c5 o* q; @3 i: y3 h" m/ q00404B5B |. 83C4 08 add esp, 8 ' d- y) l8 w# R, q8 I
00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
7 ~* `; e: i* t0 p& Q00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile 7 I+ ~/ K8 Q" j! C9 _. [! s' Q; ~
00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString & P. F$ P. F! N/ u2 _ u
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78] O; \. G; T0 S9 G
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString> / Z' q3 B, y: A
00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] & ?! z0 R$ D, D. b7 s/ @% Q- Y/ J
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile ' ^" C5 ^2 Z! h) I) {4 I( Q: g
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 6 l/ p8 B' U! C0 u$ I* ]# v
00404B85 |. FFD5 call ebp
n4 r% F m) @$ h( k5 ?00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C] % h2 R8 ~) a- _
00404B8B |. E8 E01F0000 call 00406B70
, g& k9 @* d- v. p$ [" z+ B00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44] ; R6 f. h6 V; K
00404B94 |. 50 push eax
2 K6 n" D. V0 z* o: C00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> ( s0 o: l {' s$ d* w: P" r
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
a. E f( T, c, m- C V+ l r00404B9E |. 33C0 xor eax, eax * J& L; z. W3 Z- S! Z& G5 Z
00404BA0 |. 51 push ecx
9 {% F2 d$ C. y00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax ( M W( n1 K" }. J4 N# D
00404BA5 |. 894424 50 mov dword ptr [esp+50], eax 4 b( k8 V- P8 v
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
% ~) Y! b, c* m; z4 ^/ N& U00404BAE |. 83C4 08 add esp, 8 * d1 v# N4 z: e) \0 q* @/ C2 w) G, C
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] + O) R9 r0 N' F/ b
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
1 B5 w: q/ a3 ~+ D0 L00404BBB |. 6A 01 push 1 4 e3 ?3 h1 |4 j; m8 }4 v
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C] $ Y. A, b8 Y) v0 y- z0 r
00404BC1 |. E8 3A1C0000 call 00406800 & j; Q' _* l+ o/ ?7 Q
00404BC6 |. 6A 00 push 0 / j3 _+ ?4 h+ y. q" W
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] $ D7 Z0 f4 x F8 o) I7 g5 s7 }: W9 Z
00404BCC |. E8 4F1C0000 call 00406820 % ?* ?* b0 s9 D. A9 M) Z# L" L! P
00404BD1 |. 6A 10 push 10
; V- F. D+ p5 n4 j00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] , u, i0 Q! l" W& d
00404BD7 |. E8 841C0000 call 00406860 " a& m' {& p# a8 t( C! q
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] ( z) k8 T; ^$ V1 y, a. P2 V O
00404BE0 |. E8 FB040000 call 004050E0 7 h& ?; J. n+ ^! R
00404BE5 |. 68 00800000 push 8000
: Z9 M8 R9 |7 K7 Y& T00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
+ _0 t: E3 b7 g1 ?, c5 D% n00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 6 _) g! X z& P/ P# X0 S" P7 v
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
, P: K0 r' p0 N4 m' b, Q00404BF8 |. E8 E3040000 call 004050E0
3 S2 n. B; b% U$ ] D4 L5 |00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80] # e9 @; g: v% Y
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
. @0 r! A6 k$ m& }00404C0A |. 6A 00 push 0
$ v0 w+ p: F, b00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14] & }6 S0 Z6 x" W, [+ q
00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
& J- E( r$ e) x/ U, M+ L" L5 {00404C15 |. 52 push edx + t! e5 b- k. F: e, O) }9 m- b
00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
; B! w3 p, m& _8 \4 E00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
& s. ?3 v& I3 O6 _" d, Q00404C1F |. 50 push eax
! k0 O# I7 i- i00404C20 |. 8BCE mov ecx, esi & y; E4 W9 L8 n- p, @- J1 e
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
+ _2 r |9 C9 x# L! B& p00404C2A |. E8 61060000 call 00405290 " U/ B; M# r/ \
00404C2F |. B8 58B44000 mov eax, 0040B458 V/ B) |4 d, ?5 {- d5 a
00404C34 |. 894424 14 mov dword ptr [esp+14], eax
, O$ h( n9 q) |; }! S' U9 ?! o00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
9 j4 U) D$ f. _3 Y* n- ~3 N00404C3B |. 85C9 |test ecx, ecx
3 |8 m" U" h5 j: |4 [00404C3D |. 75 39 |jnz short 00404C78 ' |. Y* V2 f+ C4 {0 I d
00404C3F |. 8B08 |mov ecx, dword ptr [eax]
' H( u9 Q" r& n& z00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C] 9 G9 g: {0 ^* _. s1 ]
00404C48 |. 51 |push ecx
@5 a. h( M' i" K* g+ w3 p/ s00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\" + U: U2 }7 e ~9 t) w/ {$ n
00404C4E |. 52 |push edx 4 C& L* K* @: @5 }/ {' x- a
00404C4F |. FFD7 |call edi
4 I' ?1 u8 d4 B x' f0 e00404C51 |. 83C4 0C |add esp, 0C ) l; L! y3 [" n, _4 D
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10]
3 b# V% I- ~: k* o6 ] t4 C6 w00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] " f v. t$ R0 {8 ], z0 W2 m# u& U
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
$ o$ E; V( L, w$ Y: c- p00404C63 |. 6A 00 |push 0
1 x9 X- h' Z+ S" J) [00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo"
! q; r- S# |2 R8 I* V00404C6A |. 50 |push eax ! S- w6 h( U! F/ }0 X+ ~
00404C6B |. 51 |push ecx ' ?+ |$ P' e( s9 P8 P i
00404C6C |. 52 |push edx
, \8 D5 C% A1 X0 Q% o3 D4 b% \0 g00404C6D |. 8BCE |mov ecx, esi , a7 q5 v" K0 K! t9 P# u
00404C6F |. E8 1C060000 |call 00405290 " a. f n0 R% b3 p7 c) j
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14] ! x4 S! i4 y5 ~* c# t
00404C78 |> 83C0 08 |add eax, 8
% r9 i! b3 `3 O9 J; X: k4 Y; B00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
1 o8 B/ E& d; N* |! j00404C80 |. 894424 14 |mov dword ptr [esp+14], eax 4 d) i+ E$ v; F1 n4 ]# T- c
00404C84 |.^ 72 B2 \jb short 00404C38
# g# w$ n4 P) {- l2 N: s0 c00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10]
5 f, P7 d8 v4 i00404C8A |. 50 push eax
8 P0 I3 K8 n& U0 T$ _' I+ @1 M, K' i00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
1 N+ }) f1 y- d6 `$ Y: Q: N% c C00404C90 |. E8 CBC3FFFF call 00401060
: c+ J* e3 `, w* y2 m00404C95 |. 83C4 08 add esp, 8 2 @; l: U j8 H
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 ^8 Y0 h" h" r2 i) I8 s8 \; Y00404C9C |. 6A 00 push 0 * Q; L0 m- [' |% W% Q% j- x1 ]: Z
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" : ]" G$ y4 b' e, I3 A
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
0 k8 f5 A' W# o00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] : O( r1 T1 @* g% X7 G7 _+ k
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile - J" j. g/ A; M: R
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 4 d& f; l5 T% P$ }+ L* i3 J: G# [: T
00404CBA |. FFD5 call ebp 9 C! [3 w2 n5 v" X, j2 }1 W$ M
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
) q- O( ]0 g' l. d& N4 a2 B00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile + u. G u/ [) i( ?
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
$ k% _% a6 d) x00404CCA |. FFD5 call ebp : ?# ?$ Q- ~! J5 u
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] 6 h& ?/ O$ W2 [# @2 e8 v. ]
00404CD0 |. E8 1B1D0000 call 004069F0
$ ?' p! E1 ]0 {" |/ h3 L9 j00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] * Y3 s% j w# H9 @% v
00404CD9 |. 51 push ecx
2 W8 Q" d$ R% |: m% J00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
: j, B, A0 n0 o( z. w; R4 [00404CDF |. 83C4 04 add esp, 4 : `+ i, _6 z! ]% |6 S2 ]3 |% A
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ; j4 z5 u t! N/ }- G
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
8 g |3 A& i3 c) J# M- o) ~00404CEC |. 53 push ebx 4 Y4 U) G9 h, g6 ?5 b! f
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
! y5 F) f6 [( G; R00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" 3 C0 T! B4 U0 L/ L" \2 q3 x& y
00404CF9 |. 52 push edx
3 ]# ]: w7 N, D00404CFA |. FFD7 call edi ! h: o; a/ j! o8 i# W, d
00404CFC |. 83C4 0C add esp, 0C / o" N8 O- l z; X8 Y8 B* r
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88] ) W8 Y) O) k! Y5 u
00404D06 |. 8BCE mov ecx, esi
! ~: @# ^! L9 c8 M6 t. Y00404D08 |. 50 push eax
& v2 F. {' G- S! U9 _00404D09 |. 6A 00 push 0
' |& G! E! z7 G00404D0B |. E8 F0060000 call 00405400 8 X1 q' i3 i8 \; S3 ]3 ~
00404D10 |. 6A 01 push 1 ! s. J, E* f% _1 Y
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
1 h P) x3 p( G U4 J" G& {00404D16 |. E8 E51A0000 call 00406800 , `) T* L7 F0 }7 B/ g+ c f7 i
00404D1B |. 6A 00 push 0
& L: M8 F# I, m00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C] % Y8 C N. _. X0 ?0 ?7 O
00404D21 |. E8 FA1A0000 call 00406820
/ w1 J8 I8 w! J: Z( ?00404D26 |. 6A 10 push 10
- \2 \5 }0 p4 h4 r: M" j- \7 {+ |00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
3 }. f2 V$ R( J' v. Z' z' w00404D2C |. E8 2F1B0000 call 00406860 $ x0 i8 w. h n) Z" C) Z4 f5 c
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
. T" ^, ~0 k& M2 Q00404D35 |. E8 A6030000 call 004050E0
5 t$ L! x/ T8 `, h00404D3A |. 68 00800000 push 8000
3 s, P1 I8 V4 X* c& u' R3 e2 N00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64] 7 N8 o" N; D# u! e$ U
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
- a7 b- d& d: Z9 L; h* l00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 4 u F* P0 F; V; N3 w/ Z
00404D4D |. E8 8E030000 call 004050E0 9 r8 ?# Q! N' ]: k5 t( A& K8 I
00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
5 U3 C/ Y4 o) {( M* U1 l00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
R" }1 G8 Y S- O; V# K4 u0 ^00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
6 }5 O7 u! q! S1 N$ S00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" * c6 n% \* H' m8 S' B1 d6 I2 x
00404D68 |. 51 push ecx
q: M2 [( ]3 L0 H/ ^+ y) w00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
* d# l, {# `' j' j0 n* n' g00404D6D |. 6A 00 push 0 3 A) z7 F& F# Y* w- G" V6 g3 M
00404D6F |. 52 push edx $ ~ M# }" K: `( d- }/ b
00404D70 |. 8BCE mov ecx, esi 7 E/ ^( ?& {% k3 n
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 & n+ ]1 c* K5 n
00404D7A |. E8 71040000 call 004051F0
. ]2 D! D/ f! v/ \3 P" L00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] 1 B% e) p# i2 _" ^
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" 8 ?, H% B! a3 y. [ u
00404D88 |. 50 push eax
1 t9 i3 e) {: A( j: M% E3 j0 F00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
! S# E; Z) t1 L- A$ D- C7 _ ^00404D8D |. 6A 00 push 0 0 r- i5 I" J1 y3 ^) W l) Q
00404D8F |. 51 push ecx
% i$ N& J& Y- B) g2 M$ o00404D90 |. 8BCE mov ecx, esi ( H3 A4 w$ C4 D, X
00404D92 |. E8 59040000 call 004051F0 # V9 r# j5 D& V E9 v9 A# _( _
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] 8 R5 j5 N% z4 S5 _7 r
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
* h3 Q6 s) V4 l: P1 l5 t00404DA0 |. 52 push edx ! D( V6 A8 D$ ^" S9 q7 W; I9 q7 ]- d
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
6 l# z! z) Q1 m: W0 m00404DA5 |. 6A 00 push 0 8 T! Z" g: v8 I; r* |2 H$ \
00404DA7 |. 50 push eax
1 o3 v) ~% T) ~: d4 s! a3 P00404DA8 |. 8BCE mov ecx, esi
& ^1 p2 H* Z' Q00404DAA |. E8 41040000 call 004051F0
; r& J) [# g E4 i, B00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] 6 f* j7 M! F: W% O$ P8 n
00404DB3 |. 51 push ecx
8 [0 i4 u: T7 m2 ]0 w5 o00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
$ g( j; _# a6 x" H8 e+ J00404DB9 |. E8 A2C2FFFF call 00401060
2 a! ]3 w( O( u! y% _+ k00404DBE |. 83C4 08 add esp, 8 3 R' L+ x( e4 W# t' s& l6 o
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ C5 {( `% t8 r3 ]8 e2 v00404DC5 |. 6A 00 push 0 ; U6 F2 s( |+ e$ ^
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb" 6 {1 \' s* |5 T/ L4 G7 Y/ n
00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
# f. c5 ?- X$ `/ _00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] 2 B7 t$ d" `( q
00404DD8 |. 6A 00 push 0
' k9 V" ?& ^* e9 w8 i+ w00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> 7 G6 J7 o% v& \; w6 N% P% P
00404DDF |. 8BC8 mov ecx, eax , W# B: x5 Y0 n5 {- a) P
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
' z2 ^; w* @( R2 Q* \# o3 U9 U00404DE6 |. 85C0 test eax, eax
( |$ o4 i- n) Q# b00404DE8 |. 7E 25 jle short 00404E0F
% Z b, ?4 V! v: c; x00404DEA |. 894424 14 mov dword ptr [esp+14], eax / [, x9 W2 e+ C. _8 h5 o! O
00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
+ T2 t' v7 Q2 E0 t$ a' P; M00404DF4 |. 6A 00 |push 0 & N+ Z3 p' q5 B6 Q, j+ s$ q
00404DF6 |. 6A 00 |push 0 / d/ \* X( c) f; ^* h
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan>
* G7 `- A( D1 i1 ?& V8 ]00404DFD |. 8BC8 |mov ecx, eax 8 ^" F4 o6 y" O, ]! h
00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> 3 Q' O" P m9 D$ v- ^3 q) Y0 |
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] + G/ r* \' G; I+ L+ [
00404E08 |. 48 |dec eax
& M9 E8 J* B+ i/ \) N00404E09 |. 894424 14 |mov dword ptr [esp+14], eax
/ ]: f, ~2 W7 q/ A* T% T/ l/ {, Z00404E0D |.^ 75 DF \jnz short 00404DEE 8 Y) @2 e3 ~/ h& }; E: ^ k
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 2 T. b! z/ E) M5 x
00404E15 |. 6A 00 push 0
2 T" U- ^' L1 u7 S, x00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana> , ]6 ~, ~- R( O7 c' V6 P
00404E1C |. 8BC8 mov ecx, eax
- j( Y' D, |) L _/ q9 |& @5 x6 m1 \00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath> : A. I k% h! J( q) {) q) w
00404E23 |. 85C0 test eax, eax
+ l1 |: u5 ?: V+ [+ P2 P00404E25 |. 74 0E je short 00404E35
2 y% l% j1 d9 I1 ~ S G% [$ `6 E; V00404E27 |. 50 push eax
2 O. _! d5 W2 {1 w, V W00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
8 |7 ^8 K; k2 `2 c' ^00404E2D |. E8 CEC1FFFF call 00401000
5 B- |/ h6 [7 o" O6 @00404E32 |. 83C4 08 add esp, 8
, F" Y- y% }! ^7 h9 G00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80] # q4 o+ A1 t. G8 Q" C& E
00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
8 m G! S6 w6 g0 n! s00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] % x' e! }" I5 \8 \$ `! q
00404E46 |. FFD5 call ebp
- \; }4 o- G3 f0 G4 W) e$ n) i9 b00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 5 `. [! x k$ A) n
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 9 R; L# U9 `1 X& V' j9 e; [3 C
00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
3 C( _" s. v* r2 T! ~00404E56 |. FFD5 call ebp
5 N' N. |/ _% [2 m: u4 A$ h00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44] # a1 R% L# B, P
00404E5C |. E8 8F1B0000 call 004069F0 : G% s+ U6 K) W3 W- M
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] 6 Y2 i- [( F7 y0 S4 w8 g8 p) |% \
00404E65 |. 52 push edx 3 X3 \+ S5 a# B, ^3 {
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> 9 c/ M" F# V! t/ n2 E
00404E6B |. 83C4 04 add esp, 4 ; M' z! |6 C$ G- ]* Z$ X
00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
* C7 ^" V$ E6 ?6 G& J% R00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
H7 u1 _5 k( Q4 y2 ?) l; S6 t( y! O00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
7 V- @! }0 h# J% x00404E7C |. E8 6F020000 call 004050F0
I9 \; A0 C: F00404E81 |. 6A 00 push 0
8 V+ O" Q* t; l& N+ d6 F- k00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
' w+ m/ _, t, w, D9 }* z M00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
* K7 L, y9 A1 `00404E8C |. 50 push eax
- v' J+ c6 ~) X6 w* N00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24]
8 g/ X) w9 `; ?, J) T/ C( ^00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" 4 T. O5 D: a7 E v# q
00404E96 |. 51 push ecx + S) c$ l+ ?# n8 \1 i
00404E97 |. 8BCE mov ecx, esi ! n/ Q6 {; H G" ~7 \0 |0 C) p" a
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 ' E: ~6 o n n. F3 |8 Q P
00404EA1 |. E8 EA030000 call 00405290
( f2 d% d" y/ m- w7 c00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
, U5 |% y" {. H0 |/ ?00404EAA |. 6A 01 push 1 5 _" e% S% e$ o# w4 J, U
00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] 5 g/ f% j: e5 }
00404EB0 |. 52 push edx
. H' Z( ]0 W" u1 P7 H% @! F00404EB1 |. 50 push eax , x2 d& [' W5 x' k3 Z% Q
00404EB2 |. 8BCE mov ecx, esi 9 l7 \7 z9 j' k0 E
00404EB4 |. E8 E7F9FFFF call 004048A0 F. a6 \1 G) h
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10] ! I- j1 M' r$ U" C* i# F* c, Y! z
00404EBD |. 51 push ecx
5 k0 e: }& @0 O$ t1 ]3 e$ n! m" R00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
# T0 d, |# \, z) E6 b/ C/ U' g00404EC3 |. E8 98C1FFFF call 00401060 ( C3 n P+ g! I
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save $ T7 }/ _" ~2 Y# p5 C# R& p( ]
00404ECE |. 83C4 08 add esp, 8 3 s8 ~( h) W, q! G& W7 ^
00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
1 Y; K# j. m. l5 d00404ED5 |. 6A 00 push 0 6 q/ Q: L& H$ d Q
00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb" 7 }$ b7 h$ [3 K- e- U$ C1 I
00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save>
( y" F P0 Y9 _# M' F6 c00404EDE |. 6A 00 push 0 9 v2 L }4 X% ^
00404EE0 |. 8BCE mov ecx, esi ; N( |# R2 m- P6 i0 J
00404EE2 |. E8 39FAFFFF call 00404920 & v% X* V7 c' ^" S, @
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
9 `8 W2 w+ G, n00404EEB |. E8 A0020000 call 00405190
1 Z4 l. u7 ~( F4 @) T2 u" O+ {) x00404EF0 |. 53 push ebx . u& Z0 u+ f. W
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
6 H: Z6 R' j7 l; y. f00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
9 W0 g4 @8 s2 y& W+ n00404EFD |. 52 push edx 0 Z1 o# \: ]. r6 ^) Q
00404EFE |. FFD7 call edi + C4 |, j0 n, _$ ]3 v
00404F00 |. 83C4 0C add esp, 0C
. X% y1 R; G' z' ^" Z00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] $ W" D/ _* H8 e) X+ I7 }2 H
00404F0A |. 8BCE mov ecx, esi
3 `$ ^0 _$ L l- q( N4 f1 [$ N. u" K00404F0C |. 50 push eax : x" ?/ k1 q. W- C0 Z8 Y6 e( l* v
00404F0D |. 6A 00 push 0 : A- z: L! Q/ ~
00404F0F |. E8 EC040000 call 00405400
; a) g! ^ k0 C1 Q- j8 p00404F14 |. 53 push ebx * G! g3 U( Z; Y- ?3 R& q! A% y* _
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] / o2 v1 Y3 b6 W7 y6 Z6 N2 t
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" # l$ x8 W, J$ U' ~
00404F21 |. 51 push ecx 9 x' }& U( C: k6 ~) O8 M
00404F22 |. FFD7 call edi , C* S8 |" S+ C
00404F24 |. 83C4 0C add esp, 0C # v* t# n- L' R: w0 f" I; Y* U
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
1 V, Z7 }# _8 ?- V( V* a$ P00404F2E |. 8BCE mov ecx, esi
5 r# p" M m3 H+ t* S& t00404F30 |. 52 push edx
' s0 f: i0 q' i4 o00404F31 |. 6A 00 push 0 & S1 N7 e$ T1 I! o7 Q6 q5 K
00404F33 |. E8 C8040000 call 00405400 # p; ?1 j/ G: K8 n8 N
00404F38 |. 53 push ebx & o ^1 X- y/ V$ l3 R
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C] / Z& w! ?4 w0 b% _6 l# d5 ]0 w1 t
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
* [5 K, R; U1 v& [4 U00404F45 |. 50 push eax
/ ^2 I+ r* f5 I00404F46 |. FFD7 call edi 6 {7 F8 g, H c# w& \
00404F48 |. 83C4 0C add esp, 0C
; q# G ^+ a4 q9 X2 g& I A00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
6 l8 s q. o1 t: p00404F52 |. 51 push ecx
7 [$ T9 i1 j' X- N00404F53 |. 6A 00 push 0 5 m9 q( f0 a: |1 ~. F
00404F55 |. 8BCE mov ecx, esi
0 ]7 c! B* K0 h9 q+ p1 l8 \& @00404F57 |. E8 A4040000 call 00405400
* I9 P ?) A: H1 H00404F5C |. 53 push ebx
/ x% x q5 g* j/ b00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
3 W8 }; a. @2 q2 U) U& B/ U5 c00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_"
( O8 s0 S! w, l8 t) y$ p00404F69 |. 52 push edx
5 B: `: J9 I) ~00404F6A |. FFD7 call edi
! _ q# O; F3 P2 D00404F6C |. 83C4 0C add esp, 0C 3 c$ L2 I' h' B* ]; {# M
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88] " P# i$ w1 o% Z5 M
00404F76 |. 33FF xor edi, edi 3 `2 I6 F- \ f- a- y
00404F78 |. 8BCE mov ecx, esi
3 z3 r" c( y! u. x4 S5 a00404F7A |. 50 push eax ; U$ @3 w. x3 C; j1 P! _
00404F7B |. 57 push edi
& ` o; E' m0 j' W' @00404F7C |. E8 7F040000 call 00405400
7 L; s* {& @' T4 D7 i8 \2 D% d00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 6 M% A2 l" s# c3 _+ x. ?: F
00404F85 |. E8 66010000 call 004050F0
2 t" @. Y" m8 ]2 y1 m00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] " A6 _& v( x* q% y, C( B6 V
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 1 f5 [( K- @0 U' X$ S5 ]
00404F93 |. 51 push ecx $ h; l# m0 p5 X$ F
00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20] 8 t, d/ \2 G0 b) R2 ]
00404F98 |. 57 push edi ' n0 N+ m5 ]9 `: w
00404F99 |. 52 push edx 5 v+ ]1 h. s, _, w. @3 e
00404F9A |. 8BCE mov ecx, esi ) [+ Q& n" a3 I' I' n. z
00404F9C |. 897C24 20 mov dword ptr [esp+20], edi ; c! v$ M, ~& A/ ^$ t
00404FA0 |. E8 4B020000 call 004051F0 , f" S1 s7 r7 ~. {
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10]
* A4 s5 A _% s: P9 T00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
7 H- g! e, U; A4 i00404FAE |. 50 push eax
& i' t _$ Q' ^' g& u' Z) f00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
; T E7 Z% y7 L0 f% T00404FB3 |. 57 push edi
( G( O. l1 @0 p1 f00404FB4 |. 51 push ecx
8 A* S+ t1 e( G00404FB5 |. 8BCE mov ecx, esi ) k$ D8 `. G g8 _/ ?3 d7 Q7 H; f2 e2 N
00404FB7 |. E8 34020000 call 004051F0
1 k3 \ t k( {& O/ m00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10]
8 q, [- C' g$ Y/ d" {* j, I( t00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png"
0 _; Y0 m% B L" W1 }$ p% u00404FC5 |. 52 push edx % P" R2 \$ Z' E0 S; i. }0 [0 j
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] , ?* X% u0 R+ r# b( i. n
00404FCA |. 57 push edi
5 c7 u9 W' a4 z" _, A00404FCB |. 50 push eax 5 d8 e5 }# _" S1 N& p1 U- s# f
00404FCC |. 8BCE mov ecx, esi 3 v6 u3 |1 @6 M/ ? e4 v+ @; z4 l
00404FCE |. E8 1D020000 call 004051F0
3 a9 H7 {/ A: d9 y5 J00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
! N/ f* b! b4 w# R% e$ Q00404FD7 |. 51 push ecx
6 ^" R( @4 c& M7 c) Q3 J5 K00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF
9 Z( G6 I/ C/ M0 c" C* \6 F00404FDD |. E8 7EC0FFFF call 00401060
" l; |4 A) [" d7 O00404FE2 |. 83C4 08 add esp, 8
4 C4 C$ d8 N$ m4 U/ O* e00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ?# L. A6 l8 c* z& ^7 t+ C3 \
00404FE9 |. 57 push edi , u4 k6 J* M. ~+ u. H, }
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
0 E; J1 H$ w9 ~8 y, w. f* g00404FEF |. FFD5 call ebp 7 l* V" c( {5 i6 Z' E: j" ^
00404FF1 |. 57 push edi 9 B# ?' V O2 V. ^
00404FF2 |. 8BCE mov ecx, esi
$ g; T: q6 w; {. Y5 c% H00404FF4 |. E8 27F9FFFF call 00404920
7 Z, R0 ~* E! c) L00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
# d; a% C9 n6 h00404FFD |. E8 8E010000 call 00405190 5 i$ i- ]5 X1 b5 \: J
00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18] r0 M7 Y7 {! D/ N
00405006 |. E8 E5000000 call 004050F0 ) x* p4 p% }9 m0 L% ^9 O2 W
0040500B |. 57 push edi 3 [. t# s4 ~6 p
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
, H/ [ D! `" S00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
/ d, \1 r+ ?( G00405015 |. 52 push edx
. _9 U6 y. R$ h9 F00405016 |. 8D4424 24 lea eax, dword ptr [esp+24]
8 E1 o1 }3 Q4 N' r6 ` ?7 A4 d0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
; P& D, v& `+ ^7 v- L% A0040501F |. 50 push eax
7 `* c8 _/ w8 r, a$ O5 J% m- `00405020 |. 8BCE mov ecx, esi
4 x: s% ~& q/ N0 {' B8 M( b00405022 |. 897C24 24 mov dword ptr [esp+24], edi
- M$ M3 v9 o& q; F00405026 |. E8 65020000 call 00405290 , k9 c/ V" f0 N h. t4 Q
0040502B |. 57 push edi & `. ~* m! E( O2 G
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] 9 Z0 {$ d7 i, k; }5 f0 N
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
_, X6 W& x; R# E% ^6 |00405035 |. 51 push ecx ! H8 \4 ]* }0 ?
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
" f8 G" ?* L& B0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
4 z+ X7 l" p) F$ e9 ^0040503F |. 52 push edx
: E4 Z3 {( x. s9 F/ r4 S00405040 |. 8BCE mov ecx, esi 8 y$ k8 x) J7 I$ T( t
00405042 |. E8 49020000 call 00405290 # I4 Y) N h$ ~6 ^# \+ m
00405047 |. 57 push edi 3 }. K$ G' w3 W w% M
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] ( ]1 Q) W* _' h3 g% A
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik" 6 a( c' l, F& t
00405051 |. 50 push eax / M7 c& k! x/ G+ C9 _, J# n- Y* {
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\" ) j* w2 ~2 c0 M, z t) X$ J5 H+ `
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
, H1 u# N) } P4 N8 W, V0040505B |. 51 push ecx
! b1 q0 l- z0 `7 B* o4 Y# U0040505C |. 8BCE mov ecx, esi
# B# y* t; [# k0040505E |. E8 2D020000 call 00405290 5 e* H) V- Y4 }" i" _* S. l
00405063 |. 57 push edi
' a; A% q1 N1 }3 ?# p00405064 |. 8D5424 14 lea edx, dword ptr [esp+14]
. N7 t5 c4 T8 j* O00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
" E2 k( f. q, [# J4 \0040506D |. 52 push edx * f7 _- r6 |- e L+ P
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] ! r; ?. k; V& ?
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" - B7 b! u* r: V
00405077 |. 50 push eax
8 W5 d- r2 o9 s5 \3 T A00405078 |. 8BCE mov ecx, esi
- p# P5 f% {$ @, y# |2 R8 X0040507A |. E8 11020000 call 00405290
J9 T& ]" j$ C; n4 ]& }$ a0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] & ^, [/ X8 a9 t
00405083 |. 6A 02 push 2 4 E* [& F3 T' p5 ~3 i8 R& H' F3 q
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] 5 H; m R" m9 h; e5 ^: |8 m
00405089 |. 51 push ecx
5 J p/ z4 D- j0040508A |. 52 push edx
5 c1 S' |4 D3 g% z4 V1 Q% O; A0040508B |. 8BCE mov ecx, esi 2 O# V7 H4 p2 P d" ~% h
0040508D |. E8 0EF8FFFF call 004048A0 " g9 j3 T9 z. ?3 }' i; e ~. u
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] - f( H; m5 h2 L7 q+ x; }
00405096 |. 50 push eax / }9 N; k) m/ h: Q9 f3 M
00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
: v+ n2 N1 n: X8 h* ^0040509C |. E8 BFBFFFFF call 00401060 " B+ V7 v9 D0 i" W' f$ R
004050A1 |. 83C4 08 add esp, 8
9 `( r7 ]0 `- b2 J6 v {* Q% s$ ` r004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 e7 X2 H# P; q" D004050A8 |. 57 push edi
; l0 q. V7 h- M. \! n, z004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
$ n+ g' u K# d" e004050AE |. FFD5 call ebp & h5 v4 g$ T* [% `# e8 Z' x
004050B0 |. 57 push edi
& g- l$ F! R8 W- y0 d004050B1 |. 8BCE mov ecx, esi 8 }, Q0 S$ d% M0 B& }) ^4 H
004050B3 |. E8 68F8FFFF call 00404920
2 A6 ?2 _5 L4 \& x2 | E004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ! P$ N2 m. j! @2 ]- h
004050BC |. E8 CF000000 call 00405190 $ J6 C* P4 z- S! x0 k3 S
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate." $ Z' |4 M) M3 }- X& G" y
004050C6 |. E8 35BFFFFF call 00401000
: J, ]+ e# I! y7 |004050CB |. 83C4 04 add esp, 4 G' X* a8 o( v, e! e' b
004050CE |. 57 push edi ; /status ' }, `9 H1 s: E$ l( ]/ a$ `% M
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
$ w ? I. k1 k( o! t$ u, F004050D5 |. 5F pop edi
! e6 y1 ?) W! z, Y1 _004050D6 |. 5E pop esi , i9 _! ]9 g) O( e
004050D7 |. 5D pop ebp 1 }4 r# a, q a2 b
004050D8 |. 5B pop ebx
% k! f0 k; i. W3 p1 A. k9 B004050D9 |. 90 nop
) ?: ^6 h# w% W% ]# v9 T004050DA |. 90 nop
' z b0 ~8 M x$ x004050DB |. 90 nop # W, x4 N! k* z
004050DC |. 90 nop
3 B( ^9 Y3 {. D H/ G004050DD |. 90 nop $ {3 \" i. W2 p( p
004050DE |. 90 nop
3 m! [* X" A9 C9 A4 Z z1 |004050DF |. 90 nop 1 y% ]$ s/ c+ M1 x% R
004050E0 |$ 8BC1 mov eax, ecx
) f( L0 e3 b* @8 e1 G004050E2 |. 33C9 xor ecx, ecx , A" K: x; l. x) O- {6 ^
004050E4 |. 8908 mov dword ptr [eax], ecx
9 \, M5 j; H$ h3 ~004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
8 ~" e" w0 E( L2 k$ [) T# S004050EA |. 66:8948 06 mov word ptr [eax+6], cx
/ C+ j7 `1 X9 k& ]: y004050EE \. C3 retn / R) ?- L8 [5 i, O
004050EF 90 nop ; P) W/ p2 B. r0 A- B( C
004050F0 /$ 53 push ebx - U- f3 I z8 a" E) l* V
004050F1 |. 55 push ebp 1 o6 @2 K: T" z$ h3 U% f Z
004050F2 |. 56 push esi 8 }1 g0 U! ^$ b2 W0 V3 C
004050F3 |. 57 push edi
6 o1 T6 s3 ^- T& o/ U- p) d- K) b0 n4 V004050F4 |. 8BF1 mov esi, ecx
. T, t) q5 s4 M8 M1 r, M* i004050F6 |. 6A 14 push 14 ' H2 o6 d" o! H6 J
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator 0 w) {8 J H& f9 q2 G3 N
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] # M( T$ s2 j" b+ B" S' ]& Y8 }. g) X
00405101 |. 33DB xor ebx, ebx ; r5 a0 I$ m$ l8 n1 H$ m
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 ' r, a% A9 P& F4 k+ K/ J
0040510A |. 895E 28 mov dword ptr [esi+28], ebx
: s, M$ [7 h- _# }) e4 \$ i8 o0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] ! a4 g. |9 p+ `+ l# |# p
00405110 |. 895E 24 mov dword ptr [esi+24], ebx 7 f v5 N+ T* k) y
00405113 |. 895E 20 mov dword ptr [esi+20], ebx
7 N9 o! ?4 a9 N" r- d00405116 |. 895F 04 mov dword ptr [edi+4], ebx , N1 t i/ {3 @1 E6 z7 J
00405119 |. 891F mov dword ptr [edi], ebx : I9 Z) Q8 y$ m+ ` j/ T
0040511B |. 6A 10 push 10
k; B5 x5 `6 U; O8 K0 o0040511D |. 8BCF mov ecx, edi 3 G4 f7 d. ^: L9 @2 f9 O
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx 9 E' X8 O% A! I' Z- q, {% x; G
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx 6 G0 z( f: b h7 }
00405125 |. 895D 00 mov dword ptr [ebp], ebx
; `* _* ?' y6 Z% ]& r$ J: o0 W00405128 |. E8 F3180000 call 00406A20
9 a5 L6 a1 k6 p0 A( k) Q0040512D |. 8B07 mov eax, dword ptr [edi] $ `% k, G7 c1 Z X4 X
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] - f! h! f8 N: u5 E0 u3 l- F0 n9 h* c
00405132 |. 3BC1 cmp eax, ecx
9 w8 Q: Q7 \4 I' z$ L9 K: w00405134 |. 74 0C je short 00405142 3 v5 P6 S6 F5 V2 @* _
00405136 |> 8918 /mov dword ptr [eax], ebx + _* z3 N2 v }# | n" H6 k
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4] & Q+ X# z! D' h e8 ^' t
0040513B |. 83C0 04 |add eax, 4 : \ t1 {, r0 V0 P* y, [% L* D
0040513E |. 3BC1 |cmp eax, ecx
+ |1 ^0 _8 f% I _00405140 |.^ 75 F4 \jnz short 00405136
4 t: i( y8 o7 t) B' S2 G00405142 |> D905 3C934000 fld dword ptr [40933C] % }. D; A! N' ^$ Y+ g8 G) W6 D' O
00405148 |. D80D 40934000 fmul dword ptr [409340]
0 Y& H( s9 A0 v% q: V4 t! R0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
# ], O" y; b2 P( k( x00405153 |. 50 push eax
$ A8 e* {( M: s9 p4 I; J* V2 Z00405154 |. 8BCD mov ecx, ebp
3 X& D I5 k# ~& M2 l00405156 |. E8 65190000 call 00406AC0
. X1 v) C2 n" J- v! M' I0040515B |. 68 00800000 push 8000 : V9 z, A* o. i3 r
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48] " q1 T) O: c0 \
00405163 |. 895E 40 mov dword ptr [esi+40], ebx * q; n+ a- P8 G; ^6 x
00405166 |. 66:895E 44 mov word ptr [esi+44], bx 9 n' m+ f# W. H) h# x
0040516A |. 66:895E 46 mov word ptr [esi+46], bx
3 A: }2 P2 Y T* m0 B6 o1 F( O, Z0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile # j2 v# T- F' E# U* a
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] ' [. Z' u K0 B( f& B, i
00405177 |. 895E 60 mov dword ptr [esi+60], ebx
' R4 u& F7 c5 o) @0040517A |. 66:895E 64 mov word ptr [esi+64], bx
1 E3 S1 f3 ]+ P9 i1 p; x0040517E |. 66:895E 66 mov word ptr [esi+66], bx
- t9 N% Y# A* ` t; E7 r& w, q3 T+ a00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
. i; F3 u( J @* |00405188 |. 8BC6 mov eax, esi $ x/ I8 ?2 }7 X8 t
0040518A |. 5F pop edi 9 O; E# v3 N4 n5 r$ r1 I0 [5 i# ^8 e
0040518B |. 5E pop esi 2 c- Y7 F, K5 f) d
0040518C |. 5D pop ebp , K7 h/ l$ y# [
0040518D |. 5B pop ebx ! R! X% x: K. v7 C8 z. I0 ?
0040518E \. C3 retn |