在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。 ! v/ |! e" M. y% a3 _
当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 3 [' E% P- f* W7 g/ C
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
* @ [+ j# }1 i, S/ p6 P5 j$ K0 R# f8 P5 t1 {3 h
/ s O* n0 x3 X0 i00404990 >/$ 81EC 7C020000 sub esp, 27C
% Q. V# @$ w# ?8 n& S0 D# a00404996 |. 53 push ebx ) W' |9 r: b$ z) e5 h
00404997 |. 55 push ebp " B, ]2 T! z+ Z# j9 }
00404998 |. 56 push esi % L1 m1 V* ], F
00404999 |. 57 push edi ! i9 k+ {: S- Z4 X; ]
0040499A |. 8BF1 mov esi, ecx " \4 \5 q" S: h6 p% B5 r
0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF ( b# ^, K Y( d- q
004049A1 |. E8 BAC6FFFF call 00401060 1 j/ X; g: d8 t. ?! |& L1 J8 A. N- Y
004049A6 |. 83C4 04 add esp, 4 1 G, W7 X8 ? T$ L4 U
004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
+ W4 p" a7 H V- x b* Q0 Q3 C004049AE |. E8 4DC6FFFF call 00401000 5 O6 m8 S. }. ?5 Q7 q* s
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf ! n N$ c/ D- q2 e' f' A
004049B9 |. 83C4 04 add esp, 4
1 b) w( u% u$ P. x004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238]
/ m+ {& ]8 `: \2 f- E0 a( r5 c& Y004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
1 U+ A* a/ w! S! Q* v# {) c1 J004049C9 |. 53 push ebx ; /<%s> 6 B+ ?: U t0 Q5 B; z* h$ n `
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
9 G, j% m1 L$ z( p004049CF |. 50 push eax ; |s
/ e5 T2 |6 I+ _# Y, Z004049D0 |. FFD7 call edi ; \sprintf , `' Q* o$ c! }7 o
004049D2 |. 83C4 0C add esp, 0C % e; s# y$ a" K- I9 j+ x
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] ) T% X$ j/ f% X @' f- X
004049DC |. 51 push ecx
0 ?# t5 i/ |5 o004049DD |. 6A 00 push 0
5 r/ Q7 i1 W+ p9 o3 Q7 d004049DF |. 8BCE mov ecx, esi
4 o% X& m4 Q6 `1 y2 r# J004049E1 |. E8 1A0A0000 call 00405400 7 G* A; p/ m) w: t4 H9 ^8 w0 }5 O
004049E6 |. 53 push ebx + R) B- r. E* d; P+ E: ^( |9 i
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 7 F# p: x' L( N8 ]* @7 T' K4 v; U
004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\"
% H9 }5 {# w A0 e: Q$ V! ^' q004049F3 |. 52 push edx
@ o% r: ^% M9 z: G& P$ ?004049F4 |. FFD7 call edi
1 C9 Z+ D; b7 ^0 C& ]004049F6 |. 83C4 0C add esp, 0C . f5 C2 {) E: {, P/ z( P9 b# f& k
004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
3 s4 a9 t; t8 P4 L. ~00404A00 |. 8BCE mov ecx, esi
2 N- J& c r% W2 M( n/ r+ [7 j00404A02 |. 50 push eax / n5 Z7 Q5 A* [8 {
00404A03 |. 6A 02 push 2
M1 t9 N/ E* V6 l; h3 s1 b00404A05 |. E8 F6090000 call 00405400
L7 z# x0 V" b' Z" {* Q% Z00404A0A |. 6A 14 push 14 " C W$ x! m" F+ F
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
! Q ^' Z% q# W, W( y/ ~' ]00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator & z' [5 S1 z0 l2 B, w- s; |
00404A16 |. 6A 00 push 0
0 t% l P: A9 |$ u# a4 m00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
9 e; J8 f' ~& y00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
' O: j8 W- U- _5 H% p9 L00404A24 |. E8 F71D0000 call 00406820 , n1 a- _' t; a" z
00404A29 |. 6A 10 push 10 b& Z. m2 l4 J$ H! }2 l( y
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
2 Y7 c! I/ `0 B0 O# e$ g! g1 s00404A2F |. E8 2C1E0000 call 00406860 - \, ^2 y# g) R
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] w/ O$ ~' G3 M9 W! u, H3 H
00404A38 |. E8 A3060000 call 004050E0
8 X- r- e1 p6 s00404A3D |. 68 00800000 push 8000
8 M- |9 y) _* x, @! r7 D' S00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
: T4 Y, C5 P( i1 N, S00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile : ~6 d% L( f* ]: X7 `$ O/ J
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
! h( ~4 u2 ~; c" ]( Z! ~. k9 ]. M" n00404A50 |. E8 8B060000 call 004050E0 # _4 V, y% j; Z4 k7 v1 U7 b$ q( S
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
+ b' J1 e1 ~ C. y- ~" S; _00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
' t8 T/ N. [7 `) y00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10]
/ p# b" e7 N7 ]00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" + r% T& @% H& ^* b! T4 a' J1 R
00404A6B |. 51 push ecx
5 V% Y+ L1 h) E" |. B D y00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] {" @. F; P/ P! n
00404A70 |. 6A 02 push 2 0 C& O1 Z6 ~7 k0 E
00404A72 |. 52 push edx
7 g+ {# B' t6 Q/ A8 o00404A73 |. 8BCE mov ecx, esi
: ~7 W4 L) \. n00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 * F8 D7 x) I! C x2 K1 P
00404A7D |. E8 6E070000 call 004051F0 5 `" `. g/ N2 I$ G1 z/ Q) S0 H; @
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10]
9 M$ O; c" ?0 P+ _' F00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav" ( `+ V8 `' J* h- }: Y P: ]6 j6 [
00404A8B |. 50 push eax
& q. h7 n7 @5 a00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20]
- E* I: Q; J2 _0 T2 k00404A90 |. 6A 02 push 2 , w9 j: ?, b0 ^
00404A92 |. 51 push ecx 2 ~ O7 T5 k. A: X& b2 ?# t
00404A93 |. 8BCE mov ecx, esi
, J! @' |: K+ l' g }4 R( C! E, p00404A95 |. E8 56070000 call 004051F0
! E+ j4 l7 ]0 |7 G# Z1 X00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10] ' X4 |, `# E# t# N1 B
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
) q2 d, B$ T% J) ?" w( p00404AA3 |. 52 push edx r" K& H- N4 t$ M8 o
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] ) {4 R3 I0 _3 N& X# l X1 X1 M& r
00404AA8 |. 6A 00 push 0 ( b1 j2 v: X' e
00404AAA |. 50 push eax
& o! s7 U* V6 X2 h1 H5 h00404AAB |. 8BCE mov ecx, esi r S0 j& ~" r# Y# Q$ c
00404AAD |. E8 3E070000 call 004051F0
6 h0 J$ s* |4 g/ X6 E00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga" . ^/ i3 o5 O3 N% I
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14] $ H. ?# r6 X k S
00404ABB |. 51 push ecx
$ D9 B5 R& w, P; c: j00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
+ \/ r7 Q, G" `1 ?6 b9 q; ]00404AC0 |. 6A 00 push 0 # d( M& E: s" ]+ G* a" ^
00404AC2 |. 52 push edx
! f$ z# l+ T. H0 ]7 V" ^) T00404AC3 |. 8BCE mov ecx, esi
2 z1 v: `! B9 ~. C+ {; H/ H) m J00404AC5 |. E8 26070000 call 004051F0 2 e$ a: k4 C* g! d
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
/ n% o; O5 P$ a0 S: v" R00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png" 5 D' x2 g4 k$ l) x4 r4 {5 _
00404AD3 |. 50 push eax
, {! s+ d; y4 ~4 q( H' Y1 ~00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] " t# j# S4 V0 V( N4 F
00404AD8 |. 6A 00 push 0
0 ~7 i4 c5 G3 d4 X00404ADA |. 51 push ecx & |5 b |7 N9 \# w5 A9 ]
00404ADB |. 8BCE mov ecx, esi
* _- R+ @' j1 R1 @5 F; d00404ADD |. E8 0E070000 call 004051F0 , v; D( `4 v" ~0 q
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] & H+ X9 I6 R1 v$ t$ s' g. q
00404AE6 |. 52 push edx
. u0 ? P9 l0 m1 w00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
2 `2 ^. ]: {0 {7 k. v" N00404AEC |. E8 6FC5FFFF call 00401060
6 C: g/ O$ y$ e; \; o1 B/ _4 u00404AF1 |. 83C4 08 add esp, 8
8 o- G$ n' M7 Q. w, x7 B% {. P, r- k00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
1 ?2 ?, F) E) e5 {0 B, Q. x00404AF8 |. 6A 00 push 0 # x6 Z8 S- Q1 x6 E% J
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" 1 |/ J0 Y/ v" s3 C
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save , T# o# l& n* H' N D8 s
00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
" i7 ]! V( R! O0 C00404B0B |. 6A 00 push 0
8 d2 z+ f4 V! X7 D00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana> " Q6 Q/ ~# `' o5 a3 Y% }+ T
00404B12 |. 8BC8 mov ecx, eax ( Y' |, X- i- t) U' C9 r
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
: k$ U# r# F8 L6 M2 d. R00404B19 |. 85C0 test eax, eax
" _* L+ c7 e, S2 E- ^6 C00404B1B |. 7E 1B jle short 00404B38
$ r) X% \! z I1 ^% Y8 W( c00404B1D |. 8BE8 mov ebp, eax
' b/ s& W& u1 G* ], L2 c00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
( a: u* S: A2 i7 x) F00404B25 |. 6A 00 |push 0 . ~( R; C6 Z" f6 f2 q+ G9 m2 ~1 M
00404B27 |. 6A 00 |push 0
: x8 `0 b+ |- t8 ~00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> 8 o7 o4 H/ a# w/ v2 z$ W
00404B2E |. 8BC8 |mov ecx, eax 3 F, Z8 U2 N# T% Y) ^4 x! y, v# D
00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> . ?/ W6 H' E/ ?3 G5 d; h" g: c
00404B35 |. 4D |dec ebp ( i3 U. p$ [9 f" y b, `& V8 V7 \$ F- m
00404B36 |.^ 75 E7 \jnz short 00404B1F ' y, Q8 ]9 O8 V( G: @, h- F6 p4 C1 }
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 6 b8 ]. k* ~8 D( ~
00404B3E |. 6A 00 push 0 ) \$ o/ I( \9 g C) S
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
0 Q" n& T$ F6 [: W3 @6 J- a00404B45 |. 8BC8 mov ecx, eax
9 O0 D, j( n0 z! ]00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath> 7 `3 c- J$ j! S* V& a) {1 w1 v
00404B4C |. 85C0 test eax, eax
4 K! q1 i: E: v9 e00404B4E |. 74 0E je short 00404B5E 2 D, ~& [# l4 W+ c+ c; `
00404B50 |. 50 push eax
) g/ @6 v3 d! u( L6 l; f7 N1 L00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" 0 v: C6 X; v, f6 a, A; d
00404B56 |. E8 A5C4FFFF call 00401000
# Q0 P+ w* _7 z00404B5B |. 83C4 08 add esp, 8 3 o* M+ v. C* h! L3 k7 Y- [
00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
# g( f- U2 \1 J& ^6 J( ^* ~( T00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
& x9 d% ?! o- ]2 d2 l+ u+ y00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString $ L; a$ y" f( Q0 G( B/ C0 C% ]
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78] & l% z, e) \' a" W9 \1 H
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
6 B6 g! L6 F5 `- z00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
) S, T" f- e! t: S00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
+ r! Z" e, X% B% b00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
9 _0 g! |' a8 X" O, a00404B85 |. FFD5 call ebp
. J6 I& o$ ]6 I7 w. Z00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
! ] J& O; G# u00404B8B |. E8 E01F0000 call 00406B70 ! e8 A7 B% B* W1 O& i# V" K1 N) [
00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
3 F) a" p9 E0 J00404B94 |. 50 push eax & B0 T K K) Z( _
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> % d5 Q- v, R2 k! B5 M4 S
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
3 z% _2 D3 E6 N3 m/ C, {00404B9E |. 33C0 xor eax, eax
7 p+ ` u( S' u' b1 G00404BA0 |. 51 push ecx
4 k/ W! W# A. ?8 q+ S00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax 7 v3 t9 ?% s; R9 n2 V7 @% R
00404BA5 |. 894424 50 mov dword ptr [esp+50], eax ' |: t9 O/ K1 U' g! }
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
# ` C3 G. }. y; S! e( x7 o' m3 c00404BAE |. 83C4 08 add esp, 8 0 Q O3 T; R* W
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
/ Q# V, ?2 @ c- ], x* W( q00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator f( q1 u2 @1 b) o v( h
00404BBB |. 6A 01 push 1 - `# r2 J1 H' D. k1 P
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C] & v" v: B, K& x
00404BC1 |. E8 3A1C0000 call 00406800 8 R B7 H+ ^ _2 i7 p& ~
00404BC6 |. 6A 00 push 0
6 n$ U1 I1 n( t$ Q- P, X5 ]' w00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] . X _! r. O1 f9 G3 Z% Y2 C4 E
00404BCC |. E8 4F1C0000 call 00406820 $ f1 O; _9 q$ P( s4 a; s3 i( m
00404BD1 |. 6A 10 push 10 * t. | z$ K# _6 a' K0 V! J
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
* C1 \1 s- [7 Q+ @4 {$ I00404BD7 |. E8 841C0000 call 00406860 ! R% H1 Z4 c Z' J. R) y
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58]
# r% v8 v0 ?# f4 ~00404BE0 |. E8 FB040000 call 004050E0 & d# G3 O) |# b! _) u A4 M; G
00404BE5 |. 68 00800000 push 8000 " j4 W& m% n8 U
00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
7 C/ d6 t) M( d8 q2 N& n( M00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile ) g% ^- |" F( _& c
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] ) V6 M- `4 v6 S. r% i
00404BF8 |. E8 E3040000 call 004050E0
5 c7 z4 _# f8 I( G- M4 Y! ~: z00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
' a) R, c, ]8 v5 X8 F. \/ [5 I$ l00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile ' u- o# T B( w4 X3 w" ?+ Q6 u5 D
00404C0A |. 6A 00 push 0 . }# o, y$ u2 \+ ^& {5 T C
00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14] ( J B7 |, o2 Q$ [8 `
00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik" - F& q" |/ g; l8 I$ b
00404C15 |. 52 push edx
4 s# E! t# P1 Z* ^7 m00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24] 8 r9 U5 ~0 q& C. s, X2 i
00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" 4 n! O7 O6 G4 \* c* C$ v( g/ S5 t
00404C1F |. 50 push eax
" Q& ]1 B" {* b6 p00404C20 |. 8BCE mov ecx, esi
* H2 `, d0 \# B9 K/ c1 H00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
. _9 U! B6 B$ H' n, N8 ~& Q00404C2A |. E8 61060000 call 00405290 8 T/ c$ x- j( [% C9 V- F# k
00404C2F |. B8 58B44000 mov eax, 0040B458
/ s: ^ z! |# e t6 p, i I. ?00404C34 |. 894424 14 mov dword ptr [esp+14], eax
/ X& L) `- ]# [: Y2 B( D00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
" f4 s$ {/ F* a" u" q d) w00404C3B |. 85C9 |test ecx, ecx
( o$ A6 b4 t" O1 O. ]4 ?- x8 }00404C3D |. 75 39 |jnz short 00404C78
" F1 k5 R& ]. O r# @00404C3F |. 8B08 |mov ecx, dword ptr [eax] + k; f# ^9 J1 F1 ~
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C] + a1 q. i5 J. F2 e5 |2 c6 o
00404C48 |. 51 |push ecx & Q% x2 A2 B$ K4 @- Q- j0 N! f
00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\" - R. J' Z- ?' X# I4 B- {2 w3 [, ], \
00404C4E |. 52 |push edx
: Q6 |2 S9 |% f( t& d00404C4F |. FFD7 |call edi $ D- V3 ]) N+ l$ ?1 K' h; I; K/ z
00404C51 |. 83C4 0C |add esp, 0C & T9 L, {& \. Y4 @) v: ?0 P
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] $ G3 T$ S F, G* ^& }
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C]
1 J, ]2 S' t3 f% t( F' V00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18] * k; Y$ ]5 ]" r
00404C63 |. 6A 00 |push 0 $ h) L* `2 `0 m+ q- S( R) Y
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" / R0 M1 L/ j( Q7 i7 x/ n+ F) S
00404C6A |. 50 |push eax
. a: L7 K% y( u9 C2 A2 k% x00404C6B |. 51 |push ecx
* L% `" ^9 s0 W+ b+ ~00404C6C |. 52 |push edx
! M, Q$ X) Z y" `3 S" b% y+ J00404C6D |. 8BCE |mov ecx, esi
7 p2 w$ Z' M! p1 @; p3 d00404C6F |. E8 1C060000 |call 00405290 7 p; i2 o# [! l9 V
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14] 1 a/ ~ f% R' n! G5 ~
00404C78 |> 83C0 08 |add eax, 8
" T+ K3 O2 j# P( E9 J3 Z! R3 p00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
5 F* P x$ ?, Z7 g00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
^* e8 M6 e% v00404C84 |.^ 72 B2 \jb short 00404C38 ) N" Q; m3 b4 D9 k" {$ ]
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] ; B6 p! h- P: @# @
00404C8A |. 50 push eax
8 F# `$ n( x# M& N& n3 y00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
; r/ M* C) J! K00404C90 |. E8 CBC3FFFF call 00401060 ( R- w( b7 A1 t
00404C95 |. 83C4 08 add esp, 8
) p6 j# r1 N7 w00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
# Z2 b9 F4 {) I' L2 O00404C9C |. 6A 00 push 0 1 G9 W; \5 G6 [! k
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" - B4 C9 D5 T' A8 c
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save ! d3 `, D: w/ f, V% A, ?
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 0 k( O1 v3 o0 p( a- N& p1 l2 O/ f
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile + v4 Z) I. E" C6 t5 m
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 2 Y& k' U# `6 t* \# c
00404CBA |. FFD5 call ebp
0 t) C3 N2 p1 {& R, a00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60] # B7 U( q1 O* k1 J
00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
, x- b% X4 {: F. R( P* d V00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
$ S. T$ h/ U: |: E$ B+ ?5 P0 c00404CCA |. FFD5 call ebp
/ J% C( i5 E$ i7 I& L00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
3 O5 ^# [; g4 _! c& z( i" s00404CD0 |. E8 1B1D0000 call 004069F0 0 j$ S9 K' ?* P2 w% ~9 f$ ~
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38]
4 \% ]& A1 B1 p# X00404CD9 |. 51 push ecx
, Y) m' U( `! y1 f00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
. J# z0 t8 z8 f, F( e$ n00404CDF |. 83C4 04 add esp, 4
. e+ ?* `. \3 @. }00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
6 i- R1 z8 H: J. C# |7 g/ g00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
+ e% c4 a% `+ Y" ]& e1 P00404CEC |. 53 push ebx . R M, m: ?: Q
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
/ ]! m3 _( D/ q1 V: x' z00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_"
; e1 K P2 H+ x0 T5 S00404CF9 |. 52 push edx ; B0 \6 _5 h6 g
00404CFA |. FFD7 call edi
, X7 Y" C' Y7 d1 E00404CFC |. 83C4 0C add esp, 0C 7 z, i+ f; [/ I f3 ^8 q+ t! S
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
1 {) Y( e6 \4 G$ U00404D06 |. 8BCE mov ecx, esi B0 s4 I5 Z/ o* K3 s: r( f) I
00404D08 |. 50 push eax
0 h9 O. U8 W: R B+ Q2 l8 Y4 z00404D09 |. 6A 00 push 0 5 q) s) h7 z2 L+ G# F& R
00404D0B |. E8 F0060000 call 00405400
1 Z. Q: K1 T$ {& S; H0 O8 c1 C00404D10 |. 6A 01 push 1 & y/ q5 R5 V' [& \5 `: p. R G
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
?5 z( q' Z- ]00404D16 |. E8 E51A0000 call 00406800 ; P* d5 G7 N+ X8 J
00404D1B |. 6A 00 push 0 " o5 f2 @2 C# u+ P! q5 u
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C] - }4 H7 C& A0 f: Y7 a& X( u. W
00404D21 |. E8 FA1A0000 call 00406820 ) v' y# s! ~) P0 O' Q1 l( U5 Z( `
00404D26 |. 6A 10 push 10
* R8 q, ]" q9 u4 n* V00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48] ; X! v5 y' U- a* k
00404D2C |. E8 2F1B0000 call 00406860 5 ~/ H, g7 v( S- H/ d9 C! |
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 1 G, m: f: Q5 V) F3 A+ h
00404D35 |. E8 A6030000 call 004050E0
, S W$ }* K4 l+ E00404D3A |. 68 00800000 push 8000
7 I- @/ d0 Q$ a8 u+ f _00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
# g/ K9 d/ B& b- _2 r) G) ?$ _00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
4 M3 \' s8 @% ?% Q0 c* [; m0 O% n00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
! _# r1 P+ \0 L00404D4D |. E8 8E030000 call 004050E0
* `& [* ^0 T7 G6 `% i4 t/ a00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 4 f2 \2 g( \2 a% I& W
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
# k* b* D" |( P* Q% I$ c8 r00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
$ K1 T1 ` [3 I: z$ ^, Y00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
* j, T1 i2 E( I) l00404D68 |. 51 push ecx ! h! ?) I( ?4 a; M( v' Q) j; j
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
# f5 R8 }; Y/ i( B! d5 ?8 |! g00404D6D |. 6A 00 push 0
' b. {) w1 X# J; @* l5 w9 n i, f$ O00404D6F |. 52 push edx
5 Q' }5 \. Z% p00404D70 |. 8BCE mov ecx, esi
5 T0 B4 f2 j- z00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 , _/ d; `: E ^! p- M& G5 A, f
00404D7A |. E8 71040000 call 004051F0 ]; e+ X5 T0 C, }: @* E {) d
00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] 4 z9 B2 c8 F1 w
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" & I; Z& J: H3 Z' ?, E C
00404D88 |. 50 push eax
$ ~9 Z3 P& H5 F2 f1 o) I3 o( q h00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
6 O R7 x% {8 E G2 I3 i: @- `00404D8D |. 6A 00 push 0 ( `* Q3 y ]/ l. k
00404D8F |. 51 push ecx
/ Z: i9 T' d8 z4 O# X* \9 F$ O' m00404D90 |. 8BCE mov ecx, esi 6 E8 J) `, l8 m6 j& b+ r" E
00404D92 |. E8 59040000 call 004051F0 @+ {- q) Y, T, Q+ z1 p! a
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
( d v' F1 l* ]# m0 ?00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
: M% k* l3 L) r/ C7 k00404DA0 |. 52 push edx : R9 _& n8 `7 ^# D6 p$ I" f
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20] ! J3 e2 u6 j/ ]# A$ \5 f
00404DA5 |. 6A 00 push 0
, r; _- E, [7 c00404DA7 |. 50 push eax # d( f: I ` r$ `! w( { x- H' H
00404DA8 |. 8BCE mov ecx, esi
; Q4 o: A5 c8 ?- i2 O7 D! ~00404DAA |. E8 41040000 call 004051F0 $ M5 b8 o; ~. l6 w4 `. X; D
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] 8 Q# [' k5 a1 P9 `
00404DB3 |. 51 push ecx
4 @ L+ E( l5 J3 {00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
4 Z9 A9 w' G6 n) K0 n! T00404DB9 |. E8 A2C2FFFF call 00401060 & ^# C" m, m5 ?" l: _
00404DBE |. 83C4 08 add esp, 8
9 Q& E! v+ v% _( e7 V00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
+ }, ]* K9 ^. m5 {7 ~% a00404DC5 |. 6A 00 push 0
1 o6 O2 I3 f- r2 N. {- {. q |00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
. s0 K7 T" f$ e& y: _& K00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
8 ~$ f3 r$ N+ E: ^: j# L. n00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] ' W3 g6 H2 V3 A% u+ E
00404DD8 |. 6A 00 push 0 8 v' a- g1 `2 v9 t- a7 G. x) D
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> # U1 b8 h+ j \' T" g, q
00404DDF |. 8BC8 mov ecx, eax 5 Q. }# P v7 @1 N, l: E
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath> 7 Z* P4 U. _- w% J1 L6 D
00404DE6 |. 85C0 test eax, eax
0 V5 w) }* ~7 k9 W00404DE8 |. 7E 25 jle short 00404E0F % z# o/ O9 ^& B
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
. ?& M6 m* T) S+ z00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] # c6 M) c6 t+ c4 P1 \# b6 e
00404DF4 |. 6A 00 |push 0 . R3 z7 w3 p4 v7 z
00404DF6 |. 6A 00 |push 0 0 a* v+ x3 n" v
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> 0 t- c# I. j7 L% a& E
00404DFD |. 8BC8 |mov ecx, eax
& {; f; Z' u& f( x. s1 E00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> 9 g4 R) B0 B) Y/ ]7 w! {' l6 I
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] - Q- W6 k+ k4 K& L8 [1 {# m8 e
00404E08 |. 48 |dec eax $ b* X2 w2 m# e) D! Q
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax / R q1 }6 z9 X" z9 c+ r
00404E0D |.^ 75 DF \jnz short 00404DEE
[0 q' B3 h- j6 w1 K1 I2 s00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 3 _! N4 O6 P7 X/ S4 N# C& Y! e
00404E15 |. 6A 00 push 0
$ G$ p: {0 L0 r1 G( K$ T, |( L00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
9 Y# z0 u9 i# r, J8 F00404E1C |. 8BC8 mov ecx, eax . K$ n8 G- C$ r/ ^$ W" g) \
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
: v9 M. {# v; ]: s6 ^' Y1 J- ~( ^00404E23 |. 85C0 test eax, eax
& C8 P1 d: Z. z4 B \7 X1 e- Q00404E25 |. 74 0E je short 00404E35 6 _$ D) w+ a; p) M* l* R9 w% l
00404E27 |. 50 push eax 2 V: x& ~7 D9 H x9 \
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" 6 x' T& @6 L- I- _5 u4 p: u
00404E2D |. E8 CEC1FFFF call 00401000 0 Q) W1 ~7 Z! t
00404E32 |. 83C4 08 add esp, 8
& e' R$ h- O' l* W, q2 E" `00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80] ( n3 U6 s0 ?' L4 C+ h) \
00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
9 j( g5 h8 E7 Q! o6 O( O# s00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] # r' c8 {0 Y D9 i8 g
00404E46 |. FFD5 call ebp 5 B% Z3 X$ r+ N7 ]& X% }* `
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
% G" |8 o" M. w7 v. d' }7 T00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
' [3 W9 X. }6 A- r) G4 v6 o00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58] + h$ |! `/ j. l& [
00404E56 |. FFD5 call ebp " i4 g1 |: s6 H- [4 `
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
) C: P5 k% S* q( j" b- d00404E5C |. E8 8F1B0000 call 004069F0 . [+ q+ F2 Z1 k9 w$ r8 b" @$ Y
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] 2 h( U* M. x; Q% I3 |' j. z
00404E65 |. 52 push edx
, @7 o, t0 D( ^: c1 Q" X00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> 1 O8 H+ @- S# L0 Q' J
00404E6B |. 83C4 04 add esp, 4
0 D; s6 i8 n. h1 N, ]00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
+ t# V5 Z; \! ^& }0 }5 u00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
$ o/ v o& K1 F8 y, d" G. }. ? z00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
# g* Y3 {! q+ t' e) K00404E7C |. E8 6F020000 call 004050F0
3 [) A* f) K1 z00404E81 |. 6A 00 push 0
4 b! k2 f+ a; `+ F00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
! P4 J2 f5 A8 S6 o q9 `" G00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
' O/ o( N4 ]1 k3 l00404E8C |. 50 push eax 4 g! h3 V4 z3 X1 f
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] 9 e0 S- A% n1 X
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" 9 I$ K$ m3 @; d* h2 _; R
00404E96 |. 51 push ecx
' z3 U! ~# Z$ \8 \6 O00404E97 |. 8BCE mov ecx, esi ! L% J2 o9 z9 N1 M+ y' F
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
4 j8 R! I8 |5 k4 I- U00404EA1 |. E8 EA030000 call 00405290
. W0 A- S" W: V2 z00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
6 \: ^1 |7 N" @) h00404EAA |. 6A 01 push 1 ! l+ J( A- C, M% Y
00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] 0 W5 u5 H# V$ v) {7 E n# u/ `
00404EB0 |. 52 push edx % K8 J) J# V q% L
00404EB1 |. 50 push eax
b& G% P! v% v* d00404EB2 |. 8BCE mov ecx, esi # j6 I" p) l/ X' ?- w4 X: T2 m
00404EB4 |. E8 E7F9FFFF call 004048A0
3 c9 ^' v2 L) a N& M8 A00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
9 [& N, j( R: g' ~3 Q00404EBD |. 51 push ecx
# h5 }6 C4 w U00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
" }) a. ?6 p8 x, g2 [; Z00404EC3 |. E8 98C1FFFF call 00401060
: }4 r1 L9 z- }2 t( b* g00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save % G) `2 b5 ?7 t2 P/ J7 l! E5 J# }2 V
00404ECE |. 83C4 08 add esp, 8
5 x$ e" d% I% S# V% {00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ! k9 Q. T9 l; V1 ~
00404ED5 |. 6A 00 push 0 ) t+ H# l1 ]4 ^! L/ ?& [
00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb" ; {6 [3 G0 D7 t9 s+ q
00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> ; d6 N7 j% X- b, u6 b
00404EDE |. 6A 00 push 0
7 v9 X+ x& w/ r4 V! Y$ h00404EE0 |. 8BCE mov ecx, esi & A1 ^! G$ P0 k* }5 `5 `
00404EE2 |. E8 39FAFFFF call 00404920
: \7 y7 t6 m' x/ o& h00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] / f2 r! b5 b( F% T) S6 r; Z* B
00404EEB |. E8 A0020000 call 00405190 : J" u) Q4 C0 I
00404EF0 |. 53 push ebx - S; n; [# b/ n. I! B
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] ' F" a% S$ i! L: p: Q: w
00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
6 z& X3 N' y- `& {! M3 P" C00404EFD |. 52 push edx
% Y* x% B5 e$ H; `; }00404EFE |. FFD7 call edi
1 ` y: d; `1 F- \0 x7 b00404F00 |. 83C4 0C add esp, 0C
! @: U6 n/ D* d W00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] - \/ q4 x/ S4 ] |" W
00404F0A |. 8BCE mov ecx, esi
) n& z* m8 y4 X# @7 L) G i& v. l00404F0C |. 50 push eax
, P5 [& ?, x8 q- y8 i; h- M- L00404F0D |. 6A 00 push 0 ) p; W1 t' j/ G( d
00404F0F |. E8 EC040000 call 00405400 7 B5 t4 O8 X! o- O( C
00404F14 |. 53 push ebx
: ~: }* g/ X6 E6 v8 h00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] 5 D$ p+ ]4 P- M. v6 a& W
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
+ ?3 B; t# G- R9 m* L4 }* b00404F21 |. 51 push ecx
$ p* f1 }, e6 j. O; V# j9 C, C) N( A8 m* T00404F22 |. FFD7 call edi , S Y. z; y9 y* f( o5 l: T
00404F24 |. 83C4 0C add esp, 0C 2 |4 _* Z0 U: X, A/ O* M, D# m
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88] 6 z8 b5 t; E! U0 {" x* n
00404F2E |. 8BCE mov ecx, esi 7 q8 T3 g! \5 I# F/ f
00404F30 |. 52 push edx 7 v$ u1 N% ~5 J
00404F31 |. 6A 00 push 0 5 g, l* z/ ^$ w6 a8 n
00404F33 |. E8 C8040000 call 00405400
3 m3 h5 }! N, R6 j. p4 |00404F38 |. 53 push ebx
( b! A( ^0 e" ]00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
) B3 l: v4 O+ g, |00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" & [; [( H8 H5 O+ o: A" g; ~
00404F45 |. 50 push eax 9 J: j8 m; I" D, n8 [* `& z: u
00404F46 |. FFD7 call edi # a0 Z- R1 \4 O: \! F! u
00404F48 |. 83C4 0C add esp, 0C $ a7 R' G: e" ]) s2 |
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
! B u8 g5 e1 S9 l/ z; b3 [00404F52 |. 51 push ecx
4 F8 y$ ~1 t+ `; J& o3 S00404F53 |. 6A 00 push 0 , o. x/ I: a4 J
00404F55 |. 8BCE mov ecx, esi
* g9 O b1 L6 C" T00404F57 |. E8 A4040000 call 00405400 7 d, x. B% \, T7 Y4 N2 n+ P
00404F5C |. 53 push ebx
( t1 i! x2 a' R' h' U/ X' P3 B5 K00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] ' d! Q, o0 a) K
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" 5 c/ z$ }. Z2 P- ^4 o
00404F69 |. 52 push edx
o* L4 _ S8 V# e6 i" e00404F6A |. FFD7 call edi
4 B# k& r& |' Z5 J00404F6C |. 83C4 0C add esp, 0C . T( D0 M0 m0 S
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
+ M! l, z* y# r- m$ h9 q8 i* H00404F76 |. 33FF xor edi, edi
: {7 E; Q5 v% j6 k) E00404F78 |. 8BCE mov ecx, esi
# G2 s* R& p+ J# l00404F7A |. 50 push eax
x, Z& [) @# K( a) J00404F7B |. 57 push edi ( G& o' d7 p1 E- W% D8 R
00404F7C |. E8 7F040000 call 00405400 ( j& Q, z- y1 C, D9 l7 b
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ o/ ^; l9 W) ]+ h! P& u% R00404F85 |. E8 66010000 call 004050F0
5 @7 S; X9 k8 q, s00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] 3 b) P& E' Q' E: {
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
- h: B2 H$ w5 ^4 {! u P* u0 t( `00404F93 |. 51 push ecx
/ W/ t& F) Q( z& R5 Y4 ?00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
4 ^0 \/ d3 a3 K* Y9 {* `* a& ? \3 Q00404F98 |. 57 push edi
/ Y3 n$ p/ c# Y7 v/ c00404F99 |. 52 push edx
. ~1 Y7 O0 c, W# L+ @00404F9A |. 8BCE mov ecx, esi
& y2 ~" i: m, O# H' M* P00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
0 F" K5 N$ p9 d# E6 y( [9 p7 d00404FA0 |. E8 4B020000 call 004051F0
% i9 _& t+ P8 d00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] T: b9 t. R+ t* T4 x6 X
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
2 K+ ]0 `# \) q/ o' Y00404FAE |. 50 push eax
. `9 W; e6 b4 m0 B0 m; O5 R00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
: Y$ L0 R2 s* M" p! M) u00404FB3 |. 57 push edi ) u9 N6 q) z6 d' ?- j+ K. C; X
00404FB4 |. 51 push ecx u# K1 E; i- D4 \/ J) ^+ O
00404FB5 |. 8BCE mov ecx, esi
: g6 b; O9 _& j# N- v: @& p00404FB7 |. E8 34020000 call 004051F0
3 D1 V, Q! p- U+ `3 [00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] - Z/ {" T$ I* Z3 i# G2 z
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png"
# Y, @- e3 B' r b& p% a00404FC5 |. 52 push edx
& s3 l( J& s6 m+ ?& {$ D00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
4 s r5 i- L+ B9 D8 ~, E00404FCA |. 57 push edi : H1 j2 Z( L: r4 |- W0 d7 [8 s/ h1 k" w
00404FCB |. 50 push eax
* u# K* s; e/ o( O- P00404FCC |. 8BCE mov ecx, esi
, u' W) ?' I/ u- u9 p3 r w9 e3 c: l00404FCE |. E8 1D020000 call 004051F0 ( M" @, ]7 _3 B
00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10] * D- D8 Y/ I. \7 I, y$ p; w! @1 S0 Y
00404FD7 |. 51 push ecx & H" E! o5 v: Q- A- b2 g' u
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF
* K2 m' `/ y% p00404FDD |. E8 7EC0FFFF call 00401060 5 S5 M0 O6 Y5 d' u
00404FE2 |. 83C4 08 add esp, 8
3 ^% t3 U- F3 L- q3 ~5 |$ B! Q9 y' P00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
# O7 v! S) j; j+ J v4 c2 h5 j% j00404FE9 |. 57 push edi - l( |7 w' `( u! q% d% h# {
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
# w( A, t- o; ?4 b5 G+ x: @- w00404FEF |. FFD5 call ebp + u- R' M4 M0 U; Y, y+ Q
00404FF1 |. 57 push edi }3 H% K1 D' |# D* J, g5 D
00404FF2 |. 8BCE mov ecx, esi 5 B4 I5 D# Q1 R9 }& Q
00404FF4 |. E8 27F9FFFF call 00404920
/ u( ^' B7 y8 K00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
' _* t% I' R D4 c% I, F00404FFD |. E8 8E010000 call 00405190 8 T- q$ ~ ^+ F; u
00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 1 \. t% {4 Q2 K; L3 q
00405006 |. E8 E5000000 call 004050F0
% B* P6 Q* E0 O1 V* k0040500B |. 57 push edi
9 F; h7 @; d$ b0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
3 t/ E% `+ c& x9 X00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
5 P5 V4 G, s) P6 g A2 L9 H: t1 S00405015 |. 52 push edx % R8 O G4 E! \3 ~
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] , X! e% q5 i5 P1 U
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
( R! O2 N% f" f2 D% x, i/ f0040501F |. 50 push eax
9 e* I+ R0 R" ]% O1 U00405020 |. 8BCE mov ecx, esi 5 F% x2 w( M' m/ O
00405022 |. 897C24 24 mov dword ptr [esp+24], edi - A! h+ D' z' i8 K$ T
00405026 |. E8 65020000 call 00405290 W5 [1 C* z$ _' Y
0040502B |. 57 push edi / W( I8 e# o7 j. _- S7 D
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] 8 b5 o w* G7 o
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
. R# p/ O x5 L- P4 o00405035 |. 51 push ecx ) @1 v5 \) C4 B, ], J5 e ]
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
) \3 F5 Q2 w9 F: C$ R* j! Q0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" ( C) u' A9 H" H% s4 W# u. P
0040503F |. 52 push edx 1 G: v0 b1 c! [2 ?" p# U
00405040 |. 8BCE mov ecx, esi 3 L. W/ |& A$ c ~6 x
00405042 |. E8 49020000 call 00405290
6 T. Q0 A. P; C6 V% h u00405047 |. 57 push edi : x7 R2 W& I1 |, ^
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] ( `( J2 k& _; J" e. c; Q
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik" * D# F% y. ~9 y) l, r
00405051 |. 50 push eax
D+ o6 @7 t0 N. p2 B4 Y' V00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
$ H. U. V3 X8 b- L/ D6 q t7 q00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
1 _) F' A6 J4 D: t0040505B |. 51 push ecx ! F1 T, g, M+ \' b4 j
0040505C |. 8BCE mov ecx, esi , ^: F# D! k$ j% ~9 S
0040505E |. E8 2D020000 call 00405290 ; G9 W* \7 Q T% Y
00405063 |. 57 push edi
$ a$ U& Y/ I2 g# a m- X00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] : V$ O5 x0 [3 }
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
- D5 G+ F& n, X+ \: P0040506D |. 52 push edx ; b w5 v6 \* q$ x: X' h
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] ( y Y2 N* w8 K5 }% Q
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" ! X& G4 x9 b9 e2 m& B
00405077 |. 50 push eax . A0 I' A y2 T& [* p4 `$ ^
00405078 |. 8BCE mov ecx, esi - j' }' N+ N5 j5 p
0040507A |. E8 11020000 call 00405290
- f' y# Z% F* @0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
/ Y2 ~' Q5 a L# R8 B: w00405083 |. 6A 02 push 2 , f, R+ ~* N# w4 X( ]' g6 I
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] : R8 n. C3 O _
00405089 |. 51 push ecx 2 \; B- E! _' a# i3 G: l+ j4 k
0040508A |. 52 push edx 8 M( Y" g- ~, K) l. ?) M
0040508B |. 8BCE mov ecx, esi / ?: m, z6 A t8 d
0040508D |. E8 0EF8FFFF call 004048A0 1 b! f, {: f$ ~4 Q' g* S
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10]
8 E: R6 C; P- w/ B7 N9 R7 h8 ~00405096 |. 50 push eax " Y. Y3 Q) f" |3 p; S2 s& A" v* r
00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
% M# f% `9 p- G+ s: `3 E- f0040509C |. E8 BFBFFFFF call 00401060
7 H) t; G. _% V- M* @5 w004050A1 |. 83C4 08 add esp, 8 ; G' B5 R' v3 I3 n
004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
& |' |, f9 y( U p004050A8 |. 57 push edi , |* u' M7 E: v2 r
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
" i$ C! p: B# \4 k004050AE |. FFD5 call ebp
* }$ A( X- G* e7 ]# ] i004050B0 |. 57 push edi & b6 D$ G# i' ~. B) U+ W) z
004050B1 |. 8BCE mov ecx, esi 7 g( i# d. Z' V& W
004050B3 |. E8 68F8FFFF call 00404920
' A3 F( D1 ?3 X$ N9 J+ o7 ?004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: f9 ?+ R1 j& V) Q* {6 Y004050BC |. E8 CF000000 call 00405190 6 i, E F& B) A* J
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
) M3 ~3 {+ V7 ~9 \$ S/ \; ^- s* n( Z004050C6 |. E8 35BFFFFF call 00401000
9 u9 N* a+ c( l/ m4 w( _: f" x004050CB |. 83C4 04 add esp, 4 1 P5 H5 g6 f. ^! k8 w- _
004050CE |. 57 push edi ; /status , J3 g8 C; F. ?4 }
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
$ d% B1 \" C7 Y2 t% @004050D5 |. 5F pop edi
; O. |9 o- a% C/ U% v3 b+ b4 O7 x004050D6 |. 5E pop esi
) I# X6 q/ g8 @( o) A9 B$ ~004050D7 |. 5D pop ebp
( {1 y; r5 B0 U6 {, W004050D8 |. 5B pop ebx
3 N9 Y0 b5 ?8 ~; x3 l; m$ y004050D9 |. 90 nop
0 }8 J6 J6 h% k( y004050DA |. 90 nop
- L5 |$ W& |6 i5 e! N3 p& u004050DB |. 90 nop " ^/ i! S) I. R: g1 M: ?" b) b
004050DC |. 90 nop
, D: ]5 v) ~8 w+ w6 i1 X004050DD |. 90 nop
: l# `$ \ |/ `, B: i, W9 M9 m e004050DE |. 90 nop
* j% C; M4 g9 G ^' w6 W: [1 H004050DF |. 90 nop
& M/ H& m" n4 X9 v6 y7 K004050E0 |$ 8BC1 mov eax, ecx ; T0 y8 J4 N/ s- | u) z
004050E2 |. 33C9 xor ecx, ecx
1 A7 c. C6 u" K1 f- `# w/ j3 y004050E4 |. 8908 mov dword ptr [eax], ecx
2 Z3 B5 F3 M9 W9 A004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
8 P1 D, ^0 H* X: I( J( y004050EA |. 66:8948 06 mov word ptr [eax+6], cx
3 z2 ?7 p5 T3 f: o8 e9 M$ u004050EE \. C3 retn
/ Q" p! e( T3 X7 N( h( A004050EF 90 nop
: _) s/ z1 R- o7 T# c004050F0 /$ 53 push ebx
6 O" o# T7 T$ x2 i$ L: b; v004050F1 |. 55 push ebp
% r8 B b: t1 E9 m0 g7 @004050F2 |. 56 push esi
3 p1 I' K @1 W1 X004050F3 |. 57 push edi 2 m- t5 `! @* @& m3 g1 e
004050F4 |. 8BF1 mov esi, ecx
9 \$ Y3 {! \, T5 O; p004050F6 |. 6A 14 push 14 % b6 D. d; d& E. a
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
. Z4 D, h" N, A" Y004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] 3 y# |4 }3 x3 i* I& @
00405101 |. 33DB xor ebx, ebx
; w& h9 F9 a! [6 Q00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 ( n( D, ` a ^( c* h6 ?1 @( \$ U
0040510A |. 895E 28 mov dword ptr [esi+28], ebx
8 p/ f9 b, k9 q0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] " o! X* G) R0 u4 ~/ N" [7 w) t8 |
00405110 |. 895E 24 mov dword ptr [esi+24], ebx e/ ~0 {6 d4 F- A* z) r7 m
00405113 |. 895E 20 mov dword ptr [esi+20], ebx 0 h( N* t3 A+ m# [0 W) I
00405116 |. 895F 04 mov dword ptr [edi+4], ebx 6 M3 m0 k% l5 y0 F, N
00405119 |. 891F mov dword ptr [edi], ebx
+ t' L$ U' D w1 d( O0040511B |. 6A 10 push 10
/ q6 z3 W+ j1 O1 Y ~& B0040511D |. 8BCF mov ecx, edi
' L% N4 e( Z* z0 ?- T0 P0040511F |. 895D 08 mov dword ptr [ebp+8], ebx ! n" G5 e2 e; Y2 r( ?) [0 a
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
: ]6 e; R- s x& B0 N. s" e00405125 |. 895D 00 mov dword ptr [ebp], ebx
9 ]( Z& q. O# Z, W7 N) x4 y00405128 |. E8 F3180000 call 00406A20
& \+ I8 L( N6 x9 s4 P* c0040512D |. 8B07 mov eax, dword ptr [edi] 9 D$ v. J$ X( R7 Q3 G
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] 9 A2 q! n/ i- K
00405132 |. 3BC1 cmp eax, ecx - [8 @3 W6 i# t1 H2 }4 V
00405134 |. 74 0C je short 00405142
7 u9 f; Y* ?) M3 V' d \00405136 |> 8918 /mov dword ptr [eax], ebx
( E- b0 i, G8 A7 F* \7 N$ u: O! }00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
8 x" i- D C; ?2 K' T0040513B |. 83C0 04 |add eax, 4 ! U5 Z! C* d: m$ d; F" X& {
0040513E |. 3BC1 |cmp eax, ecx & j+ X! J# K/ [
00405140 |.^ 75 F4 \jnz short 00405136 ' l3 ]$ V7 b% r g* O1 {6 j
00405142 |> D905 3C934000 fld dword ptr [40933C]
8 p% N; `! I6 B l1 O00405148 |. D80D 40934000 fmul dword ptr [409340]
: o2 J) e0 e1 j; _0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol> , m& Z" E9 p: \6 \
00405153 |. 50 push eax " m) r5 G5 z- v* s! l
00405154 |. 8BCD mov ecx, ebp ' N, ~: Q* O/ V2 L* h& u
00405156 |. E8 65190000 call 00406AC0 5 s+ G, Z4 O& s
0040515B |. 68 00800000 push 8000 # I9 `: E$ t y3 ?/ b; E
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
0 G# U) G, Q$ u& g: }00405163 |. 895E 40 mov dword ptr [esi+40], ebx
. B2 d6 e8 n! p/ h3 N; U00405166 |. 66:895E 44 mov word ptr [esi+44], bx
0 w0 _. n5 w5 I' M! n0040516A |. 66:895E 46 mov word ptr [esi+46], bx . n7 o% y, ]* P) u" G
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
3 Y4 d; H1 d) o! o) S00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
9 H6 c" [( q5 s2 Y' H8 L00405177 |. 895E 60 mov dword ptr [esi+60], ebx
' t( n/ x8 D' C( _# Q9 G. v. o1 s0040517A |. 66:895E 64 mov word ptr [esi+64], bx
: O# D& n5 e) S8 b4 u8 M5 ~0040517E |. 66:895E 66 mov word ptr [esi+66], bx 3 J5 h. _1 m1 N- ^2 N9 t2 f8 D
00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile + Z0 G) \/ |& q& a4 @* Z# l' y* ^
00405188 |. 8BC6 mov eax, esi 1 U7 @6 H5 k- S5 W! V* w
0040518A |. 5F pop edi r7 C* A) L" d [) Y3 U! _ v
0040518B |. 5E pop esi
6 q' B9 h+ D5 j3 Y, O- G' M( Q0040518C |. 5D pop ebp
, z; i( |" r+ \, x) \$ L u6 W0040518D |. 5B pop ebx ! O6 o6 Y& [8 V5 G+ P
0040518E \. C3 retn |