在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
4 _. _* \, F" ~0 I当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 ) }& W6 V, ~. a9 m. T- O$ h! i
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
# X! ]8 o- T; C9 U6 a5 d8 N: }6 N5 e% J; K
: x- e! W% Z: I% \1 K4 T00404990 >/$ 81EC 7C020000 sub esp, 27C
6 }/ Y% y& ]( _$ x: q) g0 ^$ D2 P00404996 |. 53 push ebx 5 T; n0 N: l5 i% d' u
00404997 |. 55 push ebp
3 B6 m6 d) O0 z9 c! v V7 q& E- s4 _00404998 |. 56 push esi
# @$ [9 ^. X9 j: x) Y1 r+ n00404999 |. 57 push edi , k0 E: e) y7 D6 b4 A3 I( ^* X
0040499A |. 8BF1 mov esi, ecx
4 V! ^. A4 S, A0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF _0 @7 x8 p- A/ x2 J9 C
004049A1 |. E8 BAC6FFFF call 00401060
4 {: O" x9 x3 I/ ?. r004049A6 |. 83C4 04 add esp, 4
( \" w' \. H. q# p- r0 ?' L1 d( T004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start." ' x3 A2 M( H# @
004049AE |. E8 4DC6FFFF call 00401000
# b) b- F C" M1 F5 O; [4 s! ^004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf # I( s- z; M% `7 u
004049B9 |. 83C4 04 add esp, 4 9 k& e i& K! B- N8 V1 r; V+ V
004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] ; Q) ~6 S8 S" B4 X2 I8 C
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
4 O0 Y4 E. h* s3 y; N004049C9 |. 53 push ebx ; /<%s>
% U9 T7 y; h ~: v$ d& |004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\" ! m s) V. d5 p3 i# Q
004049CF |. 50 push eax ; |s
) {6 I8 Q; Q) o7 h7 b004049D0 |. FFD7 call edi ; \sprintf $ y0 p4 U/ M6 }: N
004049D2 |. 83C4 0C add esp, 0C ' |' U I: R+ [
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
3 m2 i3 P4 E# d0 H0 m' v004049DC |. 51 push ecx : m1 J5 a; L6 H1 Z+ P3 i8 |
004049DD |. 6A 00 push 0
3 H" l, F+ m6 c! G9 d9 ~004049DF |. 8BCE mov ecx, esi ! P7 y( e# s6 T; X7 F. d
004049E1 |. E8 1A0A0000 call 00405400 " H% T( l2 x6 T
004049E6 |. 53 push ebx
1 W% Y6 x" y- ~& U004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
8 i! q. ?5 X& |* `- B7 @004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" : i7 M: m+ q$ ?5 R4 P6 u
004049F3 |. 52 push edx ; e/ h3 ^) e8 Q! b% f7 A# Z1 |
004049F4 |. FFD7 call edi
0 Z' E8 E/ q" A# {004049F6 |. 83C4 0C add esp, 0C
! A! l) Q2 K* i* j5 d7 d004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] ( U" U7 c% h5 z8 b7 H- H% \7 |
00404A00 |. 8BCE mov ecx, esi
7 ?! r# e& U Y/ R9 e00404A02 |. 50 push eax + H" d' I8 t* f* B. e
00404A03 |. 6A 02 push 2
! } M, q) e6 c00404A05 |. E8 F6090000 call 00405400 8 r# v @% _7 H5 x, m
00404A0A |. 6A 14 push 14
3 h2 v8 l9 O1 Z) w- s" W- f9 n; _) ]00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
7 a* `7 ^0 t7 x3 h/ s00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
/ ]' y h$ v ^4 W6 n; P00404A16 |. 6A 00 push 0
- l" B3 A4 d: c8 @6 p0 y- _00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 6 b+ i7 o( {; B% v0 ^; r
00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
& q1 I0 M# O# i3 m, |! p- s3 H00404A24 |. E8 F71D0000 call 00406820 {1 \3 o8 ?# ~4 x0 ?
00404A29 |. 6A 10 push 10
: o* t8 r5 u9 j z00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
/ J/ z' H+ m }- w' b) M* z$ o00404A2F |. E8 2C1E0000 call 00406860 . m. j1 z: C( O) s0 E8 F
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] . A" @* F$ t. ?5 X; |
00404A38 |. E8 A3060000 call 004050E0
% ]8 z+ Y; H3 Z$ k5 y6 U2 \00404A3D |. 68 00800000 push 8000
8 u, r" L' W g a8 e00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
* h6 m. d: N d# y" ~00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
2 f( R! L) S3 J2 e I00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
' _% E* [1 @7 ^- y4 |2 n$ d j00404A50 |. E8 8B060000 call 004050E0
6 ] x) _- I+ R( f$ _+ D9 l7 g00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] $ i/ F7 D* x" G3 S+ l2 E; k+ [
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile . K: D; m" g: |3 @" F9 e, k
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] ! g$ p# c0 U% w# x5 G
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" / Y. v- W5 P% X# H8 D0 y
00404A6B |. 51 push ecx
6 J+ j, C0 A" n0 ]- a00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20]
. m- b" U6 C3 W$ }00404A70 |. 6A 02 push 2
7 s$ X4 k; Y( c5 {1 c. L00404A72 |. 52 push edx 0 B. ?) K; A p6 o% A( e3 j8 z
00404A73 |. 8BCE mov ecx, esi ' p+ B/ r, F5 L+ J( B- c
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
. Q- g I$ z0 H00404A7D |. E8 6E070000 call 004051F0 4 e! _/ i6 d/ m6 ]
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] 7 U2 D4 U, U. B$ b6 r
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
: u5 F. g. ]- H, M* L00404A8B |. 50 push eax 0 l! `6 H3 `8 s6 t
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] . M8 X _5 i3 b
00404A90 |. 6A 02 push 2
( `8 \2 D( I& ^8 _5 u00404A92 |. 51 push ecx
0 z% ^ r9 R+ [0 ?( x00404A93 |. 8BCE mov ecx, esi
! Y' X* K; x0 |( H. c00404A95 |. E8 56070000 call 004051F0 & T' b( c. A1 z) I. s
00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10] 4 \6 `' {- \* |& u, p/ m
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
; V4 U% M( ^# {3 B1 t00404AA3 |. 52 push edx 6 \2 u+ q+ a6 U" f
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] ) }. f: ]( Y; X0 x" x1 Y
00404AA8 |. 6A 00 push 0
. z- n1 m: v4 x1 P# s00404AAA |. 50 push eax # [/ W* y1 o2 \, W
00404AAB |. 8BCE mov ecx, esi
" n2 D! T" ?. u0 ^3 S Q00404AAD |. E8 3E070000 call 004051F0 / Y3 F h6 q5 q
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
$ e- S$ _6 s) g z% {) D# a' y4 k00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
; j8 z1 C4 C5 l" Y8 H00404ABB |. 51 push ecx 5 C* T0 b1 u; J
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
$ c8 e; W" q; e00404AC0 |. 6A 00 push 0 # C+ ]/ o- z+ U1 j4 d- L7 b* N
00404AC2 |. 52 push edx
- N0 M/ H5 i4 \3 r! p8 N. Z* v00404AC3 |. 8BCE mov ecx, esi ! ] r6 F' b+ r/ F
00404AC5 |. E8 26070000 call 004051F0
" ?5 w* k, G7 c/ d" a00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10] : p4 b% E) @+ m
00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png" 2 {6 X, O$ F. E6 o# Z8 d
00404AD3 |. 50 push eax % U# S' `4 f8 m f: c
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
$ e G* ~5 P% ~$ Y0 ]! m7 Y9 @00404AD8 |. 6A 00 push 0 $ \+ |8 M( k! V- G4 W7 U
00404ADA |. 51 push ecx : Z3 S. m8 M7 g/ _; J
00404ADB |. 8BCE mov ecx, esi * ?0 x% U" K9 c1 w/ K0 ^
00404ADD |. E8 0E070000 call 004051F0 h- y" A. j+ w" T& P& r6 ?6 r$ j8 n
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] - p6 `: a6 A0 w( a
00404AE6 |. 52 push edx
" i: w1 L: l7 n9 p00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF # I9 ?! H. [+ e
00404AEC |. E8 6FC5FFFF call 00401060
& {7 R% k2 N [00404AF1 |. 83C4 08 add esp, 8 + ?7 I* _9 @/ h0 X
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 2 Z) d5 K B% I' i# G7 ]
00404AF8 |. 6A 00 push 0 , y5 H" P7 _9 H5 ]4 p
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" 5 U2 {7 V) a ]7 f% o
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
. z+ Y W2 f5 W) z; A7 z4 u: C00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] + ~* U3 f( U: M) D8 O0 y9 K
00404B0B |. 6A 00 push 0 # o- h6 n* r% n6 i( Q- x
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana> / I8 }9 X( Z5 l) E ^" ]
00404B12 |. 8BC8 mov ecx, eax Z- L% Z& V' @+ \, G/ d1 A
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
+ T/ M4 ]. w5 c/ J+ T0 p+ \00404B19 |. 85C0 test eax, eax
8 T7 f: C5 T5 b% x& {& j/ V U00404B1B |. 7E 1B jle short 00404B38 ( w) ?3 D9 D+ m' W) n4 J
00404B1D |. 8BE8 mov ebp, eax
, y5 A) N1 h* a$ E* x& V00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
1 a |8 X. ~9 F/ ]+ `% V5 F00404B25 |. 6A 00 |push 0
5 }4 @, R; C( Y/ c0 H" h00404B27 |. 6A 00 |push 0 " h8 q a+ u% E. g. G9 A- D& ?
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
, K9 H" E' {! [0 x0 Z* U00404B2E |. 8BC8 |mov ecx, eax & R7 t) i/ a. ~. U0 D
00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> ?7 D0 k. B. [0 ?; t9 y9 g+ F
00404B35 |. 4D |dec ebp
# w. O" V: v2 M; I00404B36 |.^ 75 E7 \jnz short 00404B1F
' X7 k! I5 p+ i7 n$ n. a4 K00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] + n' D4 c! X$ n3 Y' w6 F+ P/ p
00404B3E |. 6A 00 push 0
0 Z* Y* F3 v7 g+ r6 v9 y00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
* W& s3 `; ~+ W00404B45 |. 8BC8 mov ecx, eax
+ n, A' S8 B+ V( h00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
* \/ ~7 z6 T, o( L8 U00404B4C |. 85C0 test eax, eax : q( M" A! T; n3 H7 s0 w
00404B4E |. 74 0E je short 00404B5E ) z5 V! D, W9 M3 d8 K5 G/ I2 c
00404B50 |. 50 push eax * b ^0 t9 C. @2 H+ M/ L) i1 q: C0 _
00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" 6 r1 e" j' m" t h) Q* G
00404B56 |. E8 A5C4FFFF call 00401000 8 t/ _, W8 h" q
00404B5B |. 83C4 08 add esp, 8
6 e6 s# Y- {4 y. }5 U! c5 e00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80] : V$ [) p' t8 E# {$ s0 ~- n
00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
4 E. y) V9 m. C, y5 ~! n, w00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString
) k, E; _" Q. G/ c! Y00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78] - ^- C2 ]4 T+ U/ I0 y: H# q: F
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
# v1 f1 O6 ~. @$ @00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] % T# A+ t2 c ^5 m& W
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 8 r2 |0 g7 c4 n5 E/ Z
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] % h2 W5 W/ h: n! F5 ~$ f7 f" ^
00404B85 |. FFD5 call ebp " k9 _- H- A0 d: G
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C] 3 N6 K/ M- H2 c& A2 z5 Q; S* G+ \
00404B8B |. E8 E01F0000 call 00406B70 o) y, U0 ?& ?+ M- P
00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
2 Z5 V& R. y# K% f% Z00404B94 |. 50 push eax : E. ?/ q7 \) q E# N
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete>
8 h* f6 r, ~" ^ W& d7 S00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C] 6 v1 B- S$ U6 @! H0 {8 I0 O6 U
00404B9E |. 33C0 xor eax, eax
; L7 H& m* H0 ^* |00404BA0 |. 51 push ecx
C) b7 [2 c+ S6 e7 }00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax ! q# d. T( M, K' X
00404BA5 |. 894424 50 mov dword ptr [esp+50], eax , E% }1 o* Y6 j0 ]3 {* Q
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
4 K- F' d4 J; M, F7 J5 g# K00404BAE |. 83C4 08 add esp, 8 , x, C/ T* U/ {2 f4 v* S$ @0 {
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] : H% H5 M! z' M: i3 d
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
$ T" W/ Y- C. @2 T8 {5 S2 P00404BBB |. 6A 01 push 1
! R1 s! p( F+ l8 L5 Y3 ]4 X1 {00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C] ! X5 N6 U) X1 Q: r# y c
00404BC1 |. E8 3A1C0000 call 00406800 5 N1 W' h! \: G7 Y; P
00404BC6 |. 6A 00 push 0 2 [$ L; ?7 i+ g( h& H. K! ^$ y/ Z
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
" B/ u: T- [* x- ?/ i4 B0 B00404BCC |. E8 4F1C0000 call 00406820 0 z5 E. o' _3 |
00404BD1 |. 6A 10 push 10
+ @+ C4 G# @; h5 y00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] 6 _0 X! a' J/ |
00404BD7 |. E8 841C0000 call 00406860
# g+ ?) U1 _% d# \7 c% ? Q8 h) D00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58]
& o7 j i& X! }& m& t& [00404BE0 |. E8 FB040000 call 004050E0
: y G4 W9 W, v0 ^, L00404BE5 |. 68 00800000 push 8000
8 X$ j% \: w) j7 u( ]/ S# b8 c k00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
/ e4 _6 X1 T& C3 ]0 Z+ W& b3 r00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile : l- D' P3 ?4 c7 \
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 5 d6 m1 @1 ^: ~ l: w5 p
00404BF8 |. E8 E3040000 call 004050E0 3 ^/ O; D& d- M$ |
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
% n) i0 `4 o9 ~" y+ j00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
" O! a) n6 ] A! ~00404C0A |. 6A 00 push 0
3 k) \; V' Q1 J) K8 `* B00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
' D( \ D$ T k; S$ \* \00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 7 b5 i4 p7 M3 e7 c5 ?1 k
00404C15 |. 52 push edx
$ P6 G% ~4 J3 _: Z9 C: t* s% v00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24] 9 c. z( Z1 O- ] W+ H
00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" / Y' {- w+ ~) h& t4 t f. |
00404C1F |. 50 push eax
% n6 ~! h" j3 b+ f; X00404C20 |. 8BCE mov ecx, esi
" T% w7 C# t& l+ B: _# M1 l1 a00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
' Z# x7 i2 r( L+ j4 z. u00404C2A |. E8 61060000 call 00405290
! k5 N/ c- n1 c. f00404C2F |. B8 58B44000 mov eax, 0040B458
1 o' a% z4 y) ~* J4 ?00404C34 |. 894424 14 mov dword ptr [esp+14], eax 3 R* Q2 n, ]6 W* t
00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4] * a0 n) O& e: o' g2 }; G5 I8 i" a
00404C3B |. 85C9 |test ecx, ecx ! j' x8 C/ b4 y
00404C3D |. 75 39 |jnz short 00404C78 6 Z- e! t: y0 h2 A4 n
00404C3F |. 8B08 |mov ecx, dword ptr [eax] 6 ]/ @0 G: R* u v2 s9 C( ?
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
3 ]1 I$ [" R/ o! L$ [) u) v) Y00404C48 |. 51 |push ecx
- N' K) `$ A- b6 f5 Z. R00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
9 z& { j! n* ?00404C4E |. 52 |push edx
& p; x7 i- B) {5 ?! q% R00404C4F |. FFD7 |call edi
8 F, f- Y- K3 G. @- T$ D00404C51 |. 83C4 0C |add esp, 0C
' u6 z& F+ b3 J/ V' j2 R. z5 g00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] " `% o# |1 W! V* k
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] $ [- \4 f0 t8 r _- }1 i4 m
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18] ) K& r/ ~" F/ `7 p6 Z
00404C63 |. 6A 00 |push 0
8 M. t. }4 m2 P0 A* a+ T- e00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo"
& o8 Y7 z8 G+ x2 ^5 q00404C6A |. 50 |push eax # p; t0 l% C9 @* } q
00404C6B |. 51 |push ecx
- H- J/ O/ b2 F L00404C6C |. 52 |push edx
. @- M/ ?! W6 p00404C6D |. 8BCE |mov ecx, esi
/ Q* Y7 h8 `: H- v9 P00404C6F |. E8 1C060000 |call 00405290 $ H* F: Z4 \2 `; B. @+ K% ?
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
0 @2 w2 P$ m( E- W/ @$ m00404C78 |> 83C0 08 |add eax, 8
4 C t1 m- j* I! ?+ U" k4 F00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
$ n7 G3 Q$ s# ` r- W' _' L9 V00404C80 |. 894424 14 |mov dword ptr [esp+14], eax # K# j9 }5 \7 f' z$ q4 T7 I
00404C84 |.^ 72 B2 \jb short 00404C38
4 n/ U; A k# A- B& F9 I+ |00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10]
7 d e" n) E7 @00404C8A |. 50 push eax " B5 p5 l# k1 ^* z$ F2 `, R; L" W
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
2 ?; H* _9 a' ~% w00404C90 |. E8 CBC3FFFF call 00401060 6 ~) q' c! m1 g$ z& S
00404C95 |. 83C4 08 add esp, 8 7 q' L1 f6 y1 O
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
/ S7 K0 ]: j& R0 t+ V00404C9C |. 6A 00 push 0 # u" w/ S6 j3 a y9 \1 x! Z1 i
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" z2 y, v4 N F0 R1 {; a0 H- Q
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
& f$ }5 G/ h: w( m00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
0 i9 d5 p J; `4 V00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile : o6 t1 }6 Q( E8 M6 ~+ j$ a3 u( W! ^
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
7 A- ~$ N w/ f00404CBA |. FFD5 call ebp
# D0 n) o2 t- v$ P00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60] % V5 E& o, I" Z
00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
2 |4 E. e+ o2 `1 r$ {6 `00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
* o R9 W4 R% b' ^: F$ m( i00404CCA |. FFD5 call ebp ! o- |+ x) R) U# {" p0 }- p
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] & i2 n8 \- j% N$ w
00404CD0 |. E8 1B1D0000 call 004069F0
' E1 p: v4 t9 {6 m( a00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] I! u" |1 q# t, x
00404CD9 |. 51 push ecx 2 K) \. g1 K' l9 {4 U; C
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete> : X+ v& D# o4 F: c4 w) L/ H
00404CDF |. 83C4 04 add esp, 4
) _9 h/ K; b& [: N; j4 e$ g. g00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
2 W6 R* _: A6 b z `( P00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator / h0 W- d8 K) e
00404CEC |. 53 push ebx
6 o; N% w4 ~7 o9 X5 y. d: T00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] " |. s+ g2 Z& A# {' p
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" . O$ ?0 t Q) T: ?0 S8 f0 g& J
00404CF9 |. 52 push edx
! G7 G; g/ a) j- J00404CFA |. FFD7 call edi 1 |! M7 d: A* C# a7 X; I, X
00404CFC |. 83C4 0C add esp, 0C , ~4 m4 P2 H! ~6 }
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88] ( G) O6 p! J; R; g5 z3 i
00404D06 |. 8BCE mov ecx, esi
: n4 x3 D# f) N# h00404D08 |. 50 push eax 2 S# f. Z' [/ i j
00404D09 |. 6A 00 push 0 9 I/ G; U& M8 b" C& B' B
00404D0B |. E8 F0060000 call 00405400 R9 M; i9 l9 i" r9 S
00404D10 |. 6A 01 push 1 : i& g. O; c0 ? F" v9 \% l
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C] 9 z, r. q3 |1 M6 U
00404D16 |. E8 E51A0000 call 00406800
* Y1 @8 e, G& e$ \6 B00404D1B |. 6A 00 push 0
' j* `$ C0 i3 m! W' v# ^: k- ^00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
- d% E+ Q0 [# X: z: g00404D21 |. E8 FA1A0000 call 00406820
o1 w& {( ?6 k: Q$ _00404D26 |. 6A 10 push 10 F5 s6 f; o8 Q! c' V T# e
00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
# a' U0 i3 e* \4 V00404D2C |. E8 2F1B0000 call 00406860 ' B, T7 k& N' _0 r* m- C
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
. e6 x& c/ K" H" c+ y! G5 j00404D35 |. E8 A6030000 call 004050E0 3 s8 L$ w, o4 |5 K; F$ ]
00404D3A |. 68 00800000 push 8000 & E4 F& A% Q" z- F# o+ _
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
6 V( Z' o7 E8 ]00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 1 `9 [2 u$ x* \+ j/ T& z" ?- y
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78] . ~- j% H# z0 b5 d( e3 P- e" N
00404D4D |. E8 8E030000 call 004050E0
0 d' X0 s& m J5 v+ s. p00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] " p' L& M3 p7 `0 r9 U3 P
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 3 P; p. \: W1 o9 C
00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10] 6 @9 F# o8 E% U: ^" o
00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
. p5 {( N4 A: n" z00404D68 |. 51 push ecx
* b, w5 |$ V$ m7 U6 N0 G00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
) q( g7 r9 d0 N; w00404D6D |. 6A 00 push 0
3 e( ]4 m' X0 ?( f- ?; V00404D6F |. 52 push edx
9 H* S; `& K, k; V5 C00404D70 |. 8BCE mov ecx, esi : K; @0 x& _, R7 k
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0
, D1 P* ]9 P9 w3 f- t9 A# t2 @00404D7A |. E8 71040000 call 004051F0
: X% p% n7 j' C" q+ v00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] 9 _, l& P1 Z/ b
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
: ^( a9 e* |: J7 N00404D88 |. 50 push eax & Y# V1 {* Q0 s7 Q
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
: a% b& O {/ V" w: \00404D8D |. 6A 00 push 0 ( I( u; ?' T$ Y( y# @1 j! \* W; n. y
00404D8F |. 51 push ecx
/ C9 V; N" V5 _1 q3 U+ [5 G4 }00404D90 |. 8BCE mov ecx, esi 3 i d4 {0 u8 i6 {$ j
00404D92 |. E8 59040000 call 004051F0 4 s" p: J# g: J7 j0 W/ @9 l
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] 5 ^0 K7 _9 z$ \: m
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png" z1 `; Z/ F' F8 ~. w0 [. u3 @' Y
00404DA0 |. 52 push edx % i0 B( g' H9 y) ]1 `% V
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
6 w0 H* W$ v& l" a) H00404DA5 |. 6A 00 push 0
j; H( B/ t. C. M# v00404DA7 |. 50 push eax
+ q' R9 T8 h' `- @; Q9 G00404DA8 |. 8BCE mov ecx, esi
1 m6 G* |& y! g: _. I4 v00404DAA |. E8 41040000 call 004051F0
& d/ Q5 ^$ W; q) r00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] % j1 |, j8 w9 T1 a$ K- c J
00404DB3 |. 51 push ecx
- I* _, ~3 i: J: u2 g00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
7 e- L+ d& \# g O- P$ \$ X00404DB9 |. E8 A2C2FFFF call 00401060
+ F$ L) H% \) C, ?( d8 |9 K00404DBE |. 83C4 08 add esp, 8
+ P- V3 s+ Z3 u6 {/ Z. V00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] : R) }# V `+ K. O
00404DC5 |. 6A 00 push 0
' l i- ?0 W# U00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
& w6 i8 n7 [6 o4 U, j% m1 u& f. W3 o00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
6 V* b, J& L8 ~' }0 n00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
# Y( B ^4 |$ t* b: [8 o, a# g9 G00404DD8 |. 6A 00 push 0 ( c4 s4 \; `$ ~
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> ( }- m0 P7 P3 i
00404DDF |. 8BC8 mov ecx, eax ' v" | K7 k+ O5 x+ e4 c6 D
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath> 5 O( t8 E5 n" i" ~- v
00404DE6 |. 85C0 test eax, eax
$ ^0 Q; V4 T* R# U& b$ A9 w00404DE8 |. 7E 25 jle short 00404E0F ; r! [( L% z$ ~2 h6 m, Q' ~# m( v
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
- }; U! E# R' a$ u" ^00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] % u+ s' Y$ G2 ^0 J9 g$ z+ H u+ b F
00404DF4 |. 6A 00 |push 0 $ g' G6 A) l, j$ w7 r
00404DF6 |. 6A 00 |push 0
5 X) S1 h" D8 I$ D, B! u/ f00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan>
3 g( ~; ], g# e9 b9 q1 L C( H+ m00404DFD |. 8BC8 |mov ecx, eax % I7 V E, s, k& E7 f" c4 e
00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> . ^- y/ l( S9 `* ?
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14]
& F# P- J- S. J1 D00404E08 |. 48 |dec eax 9 W+ [ w9 `" e8 [; R
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax 9 G0 x2 m ~/ v2 E) L# q
00404E0D |.^ 75 DF \jnz short 00404DEE
8 E# I7 v: a4 L X$ W00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 9 p* D; a' s* ?; @$ v6 w: h% ~
00404E15 |. 6A 00 push 0 5 a2 ]- a$ w ~2 H S' ?, h& w
00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
9 O& o9 u: W: F( }00404E1C |. 8BC8 mov ecx, eax
/ E* N; E" z; @4 C00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
6 ^2 S; J }1 S4 q00404E23 |. 85C0 test eax, eax
2 G+ P/ _& _1 E7 X* p00404E25 |. 74 0E je short 00404E35
; Y. h1 r- J5 a* p00404E27 |. 50 push eax 9 D- u, N, G- m m6 Q' b8 @
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" # @: y4 f4 a" Z, Z2 a
00404E2D |. E8 CEC1FFFF call 00401000
; |& u) [( x+ `$ [$ q @) y9 y8 x3 Q00404E32 |. 83C4 08 add esp, 8 " O* w$ @- V% ?8 d+ j
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
, ]0 c3 m$ b* E' p( S- n4 D00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
3 \* ~# U+ x2 ]8 h; }3 P00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 3 T, s I6 J/ Y8 k/ Z" b
00404E46 |. FFD5 call ebp : n8 }6 Z8 M. J6 _/ O
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 2 Y* o" O2 `$ O4 x
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
7 h+ _" q( D8 ]* E( g! P+ w4 Z00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 4 m+ P G( z4 n" v
00404E56 |. FFD5 call ebp 1 v7 T9 {" n. {5 ?
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
2 V% z- }& M; ~1 D00404E5C |. E8 8F1B0000 call 004069F0 5 c A- e7 d+ I; S, x9 a$ K
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
+ `% U0 m4 U3 Y00404E65 |. 52 push edx # t/ A. @' l* \5 T; Q( N( h
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
" F& n2 d! S, F2 h, [2 K# U00404E6B |. 83C4 04 add esp, 4
; C, z; G, U' B- ^8 }: K. V00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18] i, d, k1 T$ J( O/ v# ?& f% {
00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
( r4 B+ u) j/ B2 ]8 @! ~6 @1 r2 d8 F00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] & `5 z9 Y: ?. I3 m
00404E7C |. E8 6F020000 call 004050F0
$ Y" ~2 j4 C+ x- Z9 d1 b& |- A00404E81 |. 6A 00 push 0
5 r& @1 H S$ B00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14] % J" V) O; Z. w
00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 4 c4 y4 m; Y! C
00404E8C |. 50 push eax 5 I# X3 j \% s- S0 v; l0 {( e: m- @
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] ) q- N# Z5 Z% @
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\"
8 E6 }: W2 B# i' d7 H c00404E96 |. 51 push ecx ~3 D3 T; l) J
00404E97 |. 8BCE mov ecx, esi ( J* n c/ n4 @! i
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 + r9 v; l' W+ `1 ^
00404EA1 |. E8 EA030000 call 00405290 5 I) S) \2 H; X% M
00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
+ y2 }, g: a. |$ x# q, e00404EAA |. 6A 01 push 1
6 S5 L% V0 O, a) S5 H0 N5 |00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] : k3 Q6 d8 V2 j
00404EB0 |. 52 push edx
; K1 h2 s, S$ e7 z5 Z00404EB1 |. 50 push eax 5 T0 F3 p+ q; p& h) Z& z; |& z
00404EB2 |. 8BCE mov ecx, esi % Q( }; K7 ^6 u: o
00404EB4 |. E8 E7F9FFFF call 004048A0
$ a) U8 T: b, H2 M2 a0 T7 k( m00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
& }" N w G+ Y) G3 a9 ^- b00404EBD |. 51 push ecx 4 ?. g, ?7 r& @ W$ b( ^5 V
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF $ _9 E* [' \; f) V
00404EC3 |. E8 98C1FFFF call 00401060
d! M9 F. P/ i( m00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
! K3 ?9 n% |3 E" o00404ECE |. 83C4 08 add esp, 8 - a7 q! P( R% Q# ?
00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] / u+ h. V, S5 {& u7 z) i( l. T9 R0 c
00404ED5 |. 6A 00 push 0 1 k: E- B7 c8 l8 O0 h( w" \
00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
2 c0 v0 _2 M$ f/ g/ W! k00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save>
& X1 ~; J X$ G# v( ~! p00404EDE |. 6A 00 push 0
x+ ], i6 F& |& {; v00404EE0 |. 8BCE mov ecx, esi
9 u- F; {8 R$ `/ {& z. D00404EE2 |. E8 39FAFFFF call 00404920
! `2 ~0 [5 ?3 e8 e0 M00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] : e& y' Z' C; N3 y4 b( {
00404EEB |. E8 A0020000 call 00405190
, x# @( \) L3 Q: L% p00404EF0 |. 53 push ebx
: \9 ^, W1 R: B8 ]' v00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
. p% M) H- G2 c+ N00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_" $ m2 Y* i) T; t4 b- K: l1 \ z
00404EFD |. 52 push edx ! A, L& o7 `; K: D
00404EFE |. FFD7 call edi
' }8 B; O9 n$ o00404F00 |. 83C4 0C add esp, 0C . X3 C0 D: C/ C
00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] + D2 X7 Y4 c, f6 w
00404F0A |. 8BCE mov ecx, esi
- A- g8 {, z; x; p! O00404F0C |. 50 push eax ; k8 q. S: D, F, W! H( B4 S
00404F0D |. 6A 00 push 0 9 ~; C" L. v' t9 X& u7 b9 b( b
00404F0F |. E8 EC040000 call 00405400 7 H3 X& w6 `+ L, |* C6 l1 z
00404F14 |. 53 push ebx 2 ~) X' Y* k9 ?4 K% ~: H) o
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] 6 p+ R9 {0 o# H$ t5 d. e
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" 8 r! p* D! |( T; H D* w- A
00404F21 |. 51 push ecx : j4 ?% N) y! j0 e
00404F22 |. FFD7 call edi
0 L% ?( n6 A% P5 ]00404F24 |. 83C4 0C add esp, 0C , q3 ^3 w4 m6 @# L- U3 U( D
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88] 5 b1 I2 T$ ]9 I1 S- {' ?
00404F2E |. 8BCE mov ecx, esi
2 G7 q! G$ d8 {. L7 w$ p00404F30 |. 52 push edx 6 {6 q5 ?. t7 }+ d% L- L' _
00404F31 |. 6A 00 push 0
5 B9 ~/ M0 o1 V1 h5 ]8 u00404F33 |. E8 C8040000 call 00405400 * O3 E4 n6 x( c4 |2 v
00404F38 |. 53 push ebx
' w6 s+ e& z' y9 h' z( u00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C] " R! s$ _1 a/ i% x% K I
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" . B- n. D: f$ M" c$ o; I
00404F45 |. 50 push eax 6 G/ J2 e8 w- Q( \- x; z
00404F46 |. FFD7 call edi + ^# a& n9 v9 o& N( J- @
00404F48 |. 83C4 0C add esp, 0C
+ O' r' q' u1 y( y* p- C00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
% L0 s8 @; L# l! r00404F52 |. 51 push ecx
/ s3 R" S- u; n4 }% Y( H00404F53 |. 6A 00 push 0 ( W& O; ?% W9 v; K r
00404F55 |. 8BCE mov ecx, esi
1 k5 } V+ v' J: t# ?8 s00404F57 |. E8 A4040000 call 00405400
N6 z; l) o% e* P: ^# N00404F5C |. 53 push ebx
- }7 S" k6 e( _& S- E, R( E. T00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
* T- n1 k9 m$ I9 G. [! f+ s00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" 2 M3 F9 ]# j; \# C2 i! O
00404F69 |. 52 push edx ' `: p H- T* e. `
00404F6A |. FFD7 call edi
4 O. p7 w# v( Q/ L+ F5 \8 Y6 u00404F6C |. 83C4 0C add esp, 0C
, `/ H6 _( M* L" y5 q00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
6 B# I# j! P3 e# E; o00404F76 |. 33FF xor edi, edi
% c& y4 c! X8 j2 G; g00404F78 |. 8BCE mov ecx, esi
* z( q4 f1 U! p$ S/ Q00404F7A |. 50 push eax
. U, ?; |% ?) ^* h$ F00404F7B |. 57 push edi 4 X6 S% T9 Y5 N7 o0 d. O
00404F7C |. E8 7F040000 call 00405400 2 C+ T$ @1 K V) ^" ~ E! ?
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ) a0 Q$ M% k7 Q6 P$ n
00404F85 |. E8 66010000 call 004050F0
2 W! F1 o; v9 k+ I: O00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] . `! I& g- [ }# O6 e) S
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
( X& n2 q F }. E: t00404F93 |. 51 push ecx
8 b) P( y, D( g6 S# X00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
" J, K3 a7 p8 c: `00404F98 |. 57 push edi
! Z) c) u. n, b+ g) M9 i1 ?00404F99 |. 52 push edx
, N" P: h: h, R# l9 w00404F9A |. 8BCE mov ecx, esi
8 p5 c- \) o/ e" N1 ^" U" R00404F9C |. 897C24 20 mov dword ptr [esp+20], edi # C" R/ I3 u* L1 J
00404FA0 |. E8 4B020000 call 004051F0
. b, Y9 q+ ^* H# Z00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] 6 V7 L! R/ q. {% e4 [% Q
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
# |9 h3 y0 F5 j# k! ] T3 F00404FAE |. 50 push eax # n, Y. z$ O4 M0 O
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
2 ?- O" o# B% G. P00404FB3 |. 57 push edi ( ?3 _ E/ F d! n3 Q
00404FB4 |. 51 push ecx " h) P+ ?- o, V8 @& j7 r
00404FB5 |. 8BCE mov ecx, esi & ]! p5 o4 h. K! F/ F, v
00404FB7 |. E8 34020000 call 004051F0
# v4 ~4 l% G- F! L6 {00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] . |& T# o- x7 z" G' |3 M7 i
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" K6 J9 d6 @3 @5 U: s
00404FC5 |. 52 push edx ! z- i! `1 H; K
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
4 t9 F2 T Q- m( K% D6 ~0 I1 X00404FCA |. 57 push edi * z- J7 `4 }# ~6 {3 N5 A) I
00404FCB |. 50 push eax
# E, H" f# Y% `+ {* ^6 v9 g00404FCC |. 8BCE mov ecx, esi . `- @- |% p/ o$ U+ j
00404FCE |. E8 1D020000 call 004051F0
/ M+ g6 t/ x! i9 r$ C* G00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
" g) F0 x8 z0 y$ c1 U1 W+ i, G$ G00404FD7 |. 51 push ecx
. _0 A, |9 K. F9 O r, b9 B00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF 5 D* M( v$ p5 s; p
00404FDD |. E8 7EC0FFFF call 00401060
& K8 |# H7 v% W4 @1 I+ o: p8 h00404FE2 |. 83C4 08 add esp, 8 2 ]& o4 V; K$ K$ X6 a. S
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18] " l" x6 R) `' I
00404FE9 |. 57 push edi
# j2 R, T' l5 T00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb" 6 y. q+ ?. q6 J6 B. g
00404FEF |. FFD5 call ebp
3 h- J! ]( D0 D) \( ~; Q00404FF1 |. 57 push edi
. d' x" i* f. \ j( `; e00404FF2 |. 8BCE mov ecx, esi 4 }. H8 C. ^/ O* M
00404FF4 |. E8 27F9FFFF call 00404920
$ W7 w$ b% w9 D p00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 H v. \# m& B# A00404FFD |. E8 8E010000 call 00405190
f4 H- Y$ I/ k. E( U00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 7 v: O3 v/ z4 e* w2 z
00405006 |. E8 E5000000 call 004050F0 : s7 P0 T2 n: ?9 `) P- |
0040500B |. 57 push edi 5 y8 a6 @& w: @5 b W9 P
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
6 w# v n h q7 k* G0 Z7 }00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 2 u' V% z/ Z* ]$ p& w% q
00405015 |. 52 push edx
1 V( N1 F% V& G* G5 a3 j00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] . r" O. m1 b1 p) U
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
' `4 n9 T4 t5 {5 ?, s: Y9 _* X% i8 X0040501F |. 50 push eax # ]5 ?' z; b- x* S3 X
00405020 |. 8BCE mov ecx, esi
" r1 t0 G8 J8 o G# C" Q00405022 |. 897C24 24 mov dword ptr [esp+24], edi
8 q) k6 d i* q; g4 }00405026 |. E8 65020000 call 00405290
. x& t C* Y5 d+ e( O \' B0040502B |. 57 push edi
- p$ ~1 f* x* |0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14]
- c8 x, j" Z. Q/ W& o8 g b00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
" N, a9 {7 h ]4 r0 Q a2 W00405035 |. 51 push ecx ! X! g1 ]7 c5 H2 W3 L' k
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24] % p8 h9 _, e4 ]5 `6 E* i9 d$ N
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
! k: J& e W5 b0040503F |. 52 push edx
. P ^" u* v$ r- Y00405040 |. 8BCE mov ecx, esi
9 G7 f" U' w' p4 O00405042 |. E8 49020000 call 00405290 % V, E! l( Q$ S) k J# `; o0 W
00405047 |. 57 push edi
5 z4 k) |+ m, {1 P9 X% p00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] 0 B! [3 ^! w# `- W) v9 c+ H0 r
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
3 y0 v, m3 E6 \ a: N7 n5 O4 w* {$ \, K5 ?00405051 |. 50 push eax
# i* E) {8 ~! Z) {. X; B00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
! n$ U- _: L. ]2 m# R6 K00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
/ k S# ], G. p1 e0040505B |. 51 push ecx
+ C f2 ?4 n9 d, s0040505C |. 8BCE mov ecx, esi
7 I+ h# d' j: ?0 l8 k0040505E |. E8 2D020000 call 00405290
! ]6 B1 S. @# r2 O U+ Q# ? J) G8 \00405063 |. 57 push edi
9 |5 r5 t$ g6 E00405064 |. 8D5424 14 lea edx, dword ptr [esp+14]
( z. M/ E3 E9 @8 M+ w4 M% H00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" " k+ K$ q6 Z ?; @1 H
0040506D |. 52 push edx D4 b/ ?- j9 |) D$ e3 ^; U
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24]
0 p" n" u) R$ y- [2 O00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
: E2 R1 k% r+ F( J# q00405077 |. 50 push eax
0 D5 U4 a+ @0 [" C( P @00405078 |. 8BCE mov ecx, esi
$ Y- F- m) X4 J8 ?0040507A |. E8 11020000 call 00405290 - V: ]1 j* O! H9 _) ^
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] ; v2 I" D, e/ @/ d
00405083 |. 6A 02 push 2 0 G/ y# T% A9 ~( A' b
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] , r( V' }$ A' q1 l: `1 Y
00405089 |. 51 push ecx / n; B/ p) B" N$ l% o, m# x s
0040508A |. 52 push edx
$ q! X8 S- l. z! E0040508B |. 8BCE mov ecx, esi $ N8 F. ]6 f: G
0040508D |. E8 0EF8FFFF call 004048A0
7 u- r) H+ O* [8 s+ C00405092 |. 8B4424 10 mov eax, dword ptr [esp+10]
$ Y" w4 y& M4 d5 U00405096 |. 50 push eax
+ h: N5 O( n- X& _, v00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF ( w+ O- n% `8 q* Y% ^
0040509C |. E8 BFBFFFFF call 00401060
/ ~4 A% W8 f& b. B/ W* {004050A1 |. 83C4 08 add esp, 8 $ y/ Q" a' N; f; m3 K8 q9 s
004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
R% i+ O8 |% V* X; j2 t2 N( u004050A8 |. 57 push edi
4 B! B# t; L, @9 K2 u004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
# z/ W/ q& |" f" M" j$ C* X004050AE |. FFD5 call ebp
4 M3 P0 x3 T; M$ [6 }, v1 n004050B0 |. 57 push edi * @% L" x) O0 Y1 F8 G ~0 N. j
004050B1 |. 8BCE mov ecx, esi
7 ^) K9 M: w) L$ R+ m5 L8 c' d004050B3 |. E8 68F8FFFF call 00404920 7 f& w/ a: d9 o8 O3 w7 p
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ! ~) y9 i1 f% h* }/ ]
004050BC |. E8 CF000000 call 00405190
' ?1 `, n4 C0 }# `6 i7 |! @" B4 e004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate." " ~( O4 |& M# g; T4 L% o) Q
004050C6 |. E8 35BFFFFF call 00401000 * W% y- b; Z) ]- c8 {! c5 y
004050CB |. 83C4 04 add esp, 4 ) }/ u) Q, C$ F& B5 t5 \/ h
004050CE |. 57 push edi ; /status
1 ^3 e% P4 r: q( b004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
5 x! T+ q+ U, a4 W" J2 E, w004050D5 |. 5F pop edi 3 Z S0 r* J2 z' n
004050D6 |. 5E pop esi
& R0 V$ _; K& t! Z/ q: U2 P5 s3 M004050D7 |. 5D pop ebp ( n) j# e8 q ^) w# i
004050D8 |. 5B pop ebx
: f9 A1 N ^# Q0 L7 ~0 b+ `. a004050D9 |. 90 nop ' T' n2 H; O! } `/ L
004050DA |. 90 nop
& s; f1 m! f* A2 I# A3 A# `4 }. k004050DB |. 90 nop + \0 I: \" ~& V
004050DC |. 90 nop
. b9 O7 C; F) {) t* {+ h! x004050DD |. 90 nop 1 J5 Z; }$ }, G% R4 s& W/ F* B/ T; V" u
004050DE |. 90 nop + E; ?- I! N; Y7 t' O6 P
004050DF |. 90 nop 5 p! s+ H- k2 {
004050E0 |$ 8BC1 mov eax, ecx
- u+ |9 L, |) b004050E2 |. 33C9 xor ecx, ecx
: d/ N3 _2 S8 t8 C( U004050E4 |. 8908 mov dword ptr [eax], ecx ) N! w* _0 L9 r0 L$ z" g; {9 D
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
! L( ?' p' C9 w+ r' ]1 ] A1 F004050EA |. 66:8948 06 mov word ptr [eax+6], cx 7 W! F6 M+ d& g) Q. H6 d& I
004050EE \. C3 retn
+ I6 S& ]% p+ P: A0 W1 q004050EF 90 nop , S' x0 f* m) ~- h! U" ~
004050F0 /$ 53 push ebx
* X# W- h* P) T' n6 D+ H, b2 P0 [4 i004050F1 |. 55 push ebp & F& L; ^% D/ ]6 F$ p3 B, F
004050F2 |. 56 push esi
) M% v' e) C1 h5 B; N& o% A004050F3 |. 57 push edi : i* E9 A+ r, n4 V' n8 T+ F2 `
004050F4 |. 8BF1 mov esi, ecx + d( N9 O$ _% H4 l* i U! Q
004050F6 |. 6A 14 push 14 ~5 d. o+ [" ]5 u( l0 L. x6 v; ?9 t& d
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
9 [2 Y! M+ N! b" g3 \004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] 3 q5 {, C( z1 l0 `8 G6 U: _
00405101 |. 33DB xor ebx, ebx 3 I5 P' w/ K' E" ?
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1
8 D0 U* \4 j5 q2 H7 [) @: w+ l; q0040510A |. 895E 28 mov dword ptr [esi+28], ebx
+ q! W" {6 y) i c' M0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] % m/ Y% |6 |9 a- m2 n) O9 N
00405110 |. 895E 24 mov dword ptr [esi+24], ebx
# M6 }' U/ B% M p. L$ ]00405113 |. 895E 20 mov dword ptr [esi+20], ebx 6 D. ]/ T9 o% p6 {" |7 |2 n
00405116 |. 895F 04 mov dword ptr [edi+4], ebx
) A2 Y$ W; T% j, q00405119 |. 891F mov dword ptr [edi], ebx
2 @6 v; E, T& ~6 m8 f0040511B |. 6A 10 push 10 - k& J3 O6 h7 e$ g
0040511D |. 8BCF mov ecx, edi ^2 R, b2 `, y' H/ ?: s
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
* V+ m0 b3 b' y: l6 k8 Q% t00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
x$ o2 p' T6 `0 C) K00405125 |. 895D 00 mov dword ptr [ebp], ebx
" M, }% u% Q: W W0 B00405128 |. E8 F3180000 call 00406A20 ; t4 Q3 Y3 n( u' n ?" D2 k& s' `
0040512D |. 8B07 mov eax, dword ptr [edi] 3 G% i( X9 b. O7 j
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] 8 U; o' a [! C9 ^. R" r! _
00405132 |. 3BC1 cmp eax, ecx
6 P1 p: l* e9 J! K" |$ k' p1 F* s& K00405134 |. 74 0C je short 00405142
: Q A, {# c& O& A00405136 |> 8918 /mov dword ptr [eax], ebx
. g7 L4 o6 l3 c, ^6 R00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
8 H& _( X+ C0 D3 K: V; Y0040513B |. 83C0 04 |add eax, 4
+ A, h+ J" q1 v3 q6 ]4 d$ q0040513E |. 3BC1 |cmp eax, ecx 0 D: V9 K5 D! m! i1 Z/ H, t- c# z4 M
00405140 |.^ 75 F4 \jnz short 00405136
( K3 Q& g$ M: p3 o) W% @00405142 |> D905 3C934000 fld dword ptr [40933C] & D3 b0 e: u! ?' I: D" d
00405148 |. D80D 40934000 fmul dword ptr [409340] 5 b8 h- [( U/ ]) N
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol> R: g" x1 m/ o* p, n; ]
00405153 |. 50 push eax 8 n' y* s& H6 g" |1 S! e
00405154 |. 8BCD mov ecx, ebp : X. N( H! ? o0 ]/ H
00405156 |. E8 65190000 call 00406AC0 ' t# z) c' E; T* t+ g3 m) L& q& P3 U
0040515B |. 68 00800000 push 8000 ) E$ o i1 ]" P8 z9 `9 W9 {
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
% h6 s$ z6 p* l, ~1 ]6 ~' j00405163 |. 895E 40 mov dword ptr [esi+40], ebx , k) o5 k2 y: @4 e
00405166 |. 66:895E 44 mov word ptr [esi+44], bx
, a% j) D6 f2 ^; M7 a. c) |0040516A |. 66:895E 46 mov word ptr [esi+46], bx 1 l5 E* x* ~& Q' T v @" `1 y
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile + y6 @5 r8 f% }. d9 i
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] 5 S& r, }8 X! n8 J$ c, A- E
00405177 |. 895E 60 mov dword ptr [esi+60], ebx
4 o% `' S9 X* Z+ G1 w( V. h% u+ s* G1 o0040517A |. 66:895E 64 mov word ptr [esi+64], bx 7 f- b7 T: A3 ^' k! M# i! D; e5 o) i" [$ v' n
0040517E |. 66:895E 66 mov word ptr [esi+66], bx ) e- o4 c& Z/ [! ]( x3 n5 p# A* b
00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
5 Z7 s* a) W, E00405188 |. 8BC6 mov eax, esi
# @" D5 R" X1 z0 n9 h4 Z# R0040518A |. 5F pop edi
! |) \+ J+ p! F( o- b: M( [0040518B |. 5E pop esi
& d+ d5 w' V* I1 N0040518C |. 5D pop ebp
0 p" `" T. y4 H r% ~% o" Y0040518D |. 5B pop ebx % a9 D" a1 C# `# `) T
0040518E \. C3 retn |