在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
+ P0 d% m3 b3 J3 ?当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。
' x! [% [% f5 [% e; H8 i" l( H不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。 2 h& ^; J! J$ e! y+ M* p' q
4 M7 t6 T, C/ R
: \1 c$ ]0 G. z8 u# K00404990 >/$ 81EC 7C020000 sub esp, 27C - N9 i/ {& c4 T! G
00404996 |. 53 push ebx 1 T ~2 H. ]9 @! n
00404997 |. 55 push ebp
$ L" {0 y) D8 u& e% ^$ z00404998 |. 56 push esi 2 c6 g/ B( \! N1 q" @
00404999 |. 57 push edi
! f9 F6 e6 v/ D- F/ `( v- q0040499A |. 8BF1 mov esi, ecx
! r- ` \( ~' J0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF
& L" d, m. ?+ e- v7 p6 C' d004049A1 |. E8 BAC6FFFF call 00401060
1 o/ ^: J, V( q! O0 U9 P) d004049A6 |. 83C4 04 add esp, 4
- }$ k% v( }/ c& a/ g! i/ X& \004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start." * H7 x4 X( z0 f o
004049AE |. E8 4DC6FFFF call 00401000 . p. M- C& x3 M$ \1 I" ^: O5 M( u* s
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
" E. F; U+ i, g) J* X8 \004049B9 |. 83C4 04 add esp, 4
' r/ D/ {8 T' ^004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] 0 O( e! M, x1 K& K# Y
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
( m! |+ H2 ?+ i- l! f004049C9 |. 53 push ebx ; /<%s> 3 B- p9 D- f! H8 H$ m
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
+ A( j6 ]3 w" P. T$ ^% H/ o. N004049CF |. 50 push eax ; |s - N3 H/ q! k, y$ U. E% F3 Y
004049D0 |. FFD7 call edi ; \sprintf + f2 g! H$ Y7 p! u
004049D2 |. 83C4 0C add esp, 0C
9 V$ u. i& ]2 t: ?3 t% ~& Z% X004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
8 ^0 v2 F9 |! n* h9 v8 L004049DC |. 51 push ecx 5 t/ O. }' p1 ~7 w
004049DD |. 6A 00 push 0
$ V0 a8 v, y! i* E& r: F& M004049DF |. 8BCE mov ecx, esi / b2 N! _) M! x% Z3 c' O
004049E1 |. E8 1A0A0000 call 00405400
: g4 T$ |% j* B! h004049E6 |. 53 push ebx / d# F- Q! a" b9 h; v& _ p
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] - {/ X3 W/ L' u: ~" {: I
004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" ' q( l/ T( c" ~5 M& V. r9 E
004049F3 |. 52 push edx : L( J* Q. f2 v! a" L* }
004049F4 |. FFD7 call edi ) Y+ s2 `5 o. D! Q
004049F6 |. 83C4 0C add esp, 0C
9 l5 a& X8 {4 M7 H" D O2 j, a004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] 7 t4 R: M \2 Y& l! v6 s7 r
00404A00 |. 8BCE mov ecx, esi
4 M: ]! K/ O; Z$ Q2 O3 t# e2 |00404A02 |. 50 push eax # a; o) I) b4 s! [: z1 s
00404A03 |. 6A 02 push 2
) k/ H4 q7 I3 c- x6 x( t) _00404A05 |. E8 F6090000 call 00405400 , B" F j/ U6 t$ c) W( @& u
00404A0A |. 6A 14 push 14
r C6 D! ^& [% f% O7 [; I& Q00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] ' ^: t4 A0 f) z4 {. \
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
' T, J, m2 _, Y/ O! x00404A16 |. 6A 00 push 0
8 V/ T- m$ r j00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 3 f% `; h! T- _9 K0 S3 v" X
00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1 ' Q c: Z q/ J5 A, K' {
00404A24 |. E8 F71D0000 call 00406820 4 k) o X: W. Q9 k
00404A29 |. 6A 10 push 10 3 r$ K. j/ ?8 H+ v
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
$ _& L" x% C( } W7 u00404A2F |. E8 2C1E0000 call 00406860
M7 T, w4 ?. J2 i6 h: `6 C1 }00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
$ s! G) N. P. u8 U* z c0 \00404A38 |. E8 A3060000 call 004050E0
c9 s0 S: x: _1 O00404A3D |. 68 00800000 push 8000 + H$ {$ S' N1 H8 F- H
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
9 n+ V1 Q: E! ~! F) s Q" d" s00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile ( h6 h6 `( L9 K" l( i' `
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
( P' k+ L6 V; `. u& X, B00404A50 |. E8 8B060000 call 004050E0 ( L* t1 s. Y: i/ o6 w6 d
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] + K1 P5 B% o$ G" K' a0 b$ d
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 2 G2 o; Z2 \% _4 Y3 W
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] ; W! ~! A$ Y- t8 O' U* Z
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
: s5 a+ O* ?! u) m00404A6B |. 51 push ecx # _, l& V& y- f7 a2 y# z; _+ Q
00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] - N0 h6 X; V: d a6 A# T7 i
00404A70 |. 6A 02 push 2
6 M% D+ ^0 k" k* X/ V* @00404A72 |. 52 push edx 7 r: Y6 W- e4 }7 {+ v
00404A73 |. 8BCE mov ecx, esi 1 J1 E/ m) U: N/ [& x* X
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
, S" q) T% \! B00404A7D |. E8 6E070000 call 004051F0
2 n0 ~, V" L A00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] 4 k9 k2 _% b, {
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
! ~3 P% H6 _% k5 `( n- J2 y00404A8B |. 50 push eax " v1 P G2 n/ ~; k* J; L* m
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20] . c; j: s; I0 z* ~
00404A90 |. 6A 02 push 2 4 Q5 S0 Q6 q0 d3 s
00404A92 |. 51 push ecx 6 |3 Q) j: X2 n2 G3 `0 j& h
00404A93 |. 8BCE mov ecx, esi , N" S" n: V3 P
00404A95 |. E8 56070000 call 004051F0
0 I( ?# H4 U5 p4 o00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10] ! {$ r* y6 x2 i9 Q# t- B
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 3 U" @9 b- _( L* D
00404AA3 |. 52 push edx
; c4 [" W) Y* n: z1 K, y( D% D00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] 9 ^6 U; a5 T* R
00404AA8 |. 6A 00 push 0 ( ~( v2 m2 G, f7 T9 L3 X; \
00404AAA |. 50 push eax : w. x0 ]7 X! C' V3 \
00404AAB |. 8BCE mov ecx, esi * c9 w4 x- s9 `8 ~8 y, E
00404AAD |. E8 3E070000 call 004051F0 4 G2 `' v: T9 ]. b8 v( a
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
9 E5 H9 s8 N6 r- V; ?3 s* o00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14] - E# u% a3 N( k) e
00404ABB |. 51 push ecx
8 T n: H- M9 w- T/ i: k00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20] / z8 _4 A7 v/ a/ {8 L) S
00404AC0 |. 6A 00 push 0 ~4 Z1 Y( E6 j( o. w+ m
00404AC2 |. 52 push edx , q* K# l. a% z& n
00404AC3 |. 8BCE mov ecx, esi
; x& f- {* f) Y! ~9 C2 O5 b( a. J5 n00404AC5 |. E8 26070000 call 004051F0 # a* P. v- N4 k% p: j @9 W/ e
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10] ( V0 g1 S, [$ B& F4 |
00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
4 T) U8 |* Z$ J+ r00404AD3 |. 50 push eax . b3 G0 m- u9 l) M# x
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] / q. ^) a1 q2 D; K! g1 g
00404AD8 |. 6A 00 push 0 7 f9 L; M# o3 D A! x
00404ADA |. 51 push ecx ) m2 J+ A6 y, [% @6 X+ u
00404ADB |. 8BCE mov ecx, esi
. A' `: ^! o, Z4 p3 m- g+ u. U& C+ @00404ADD |. E8 0E070000 call 004051F0 i3 @* p# X0 i6 t) H/ ~& l
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] 7 V9 I4 Y: W1 b
00404AE6 |. 52 push edx 9 D" b2 g; Y1 `0 A* q% N1 h
00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
2 Q, _8 K [& U* K% i) l( J00404AEC |. E8 6FC5FFFF call 00401060
s5 A) j% o! g$ ]2 m00404AF1 |. 83C4 08 add esp, 8 4 C% ~' @% ~8 m( p) b
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
7 c- `! a( C' D' j \6 w1 F' ?00404AF8 |. 6A 00 push 0
% E: u+ i2 r1 A8 b00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb"
3 Z6 G% z: D6 D# x2 i* u M00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
( @8 m# y: g8 B/ N) ~00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
1 H A' V) a( I) @6 `) F/ V00404B0B |. 6A 00 push 0
( v7 r! u+ b) l D( h# ]# m' h00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
+ y6 u( D5 A6 o00404B12 |. 8BC8 mov ecx, eax * s7 K* X8 X$ `! e8 ?; Z& T
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath> . e* U+ K/ R) V5 H' ]9 O1 I
00404B19 |. 85C0 test eax, eax
2 }3 N, k6 T: Z' H/ Z00404B1B |. 7E 1B jle short 00404B38 / D0 D; s8 H8 ]; U- v# T
00404B1D |. 8BE8 mov ebp, eax 5 Z; j# h# i/ r/ A
00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
4 x7 h9 o! y [5 C- s2 C00404B25 |. 6A 00 |push 0
6 P. c% F ]6 I z00404B27 |. 6A 00 |push 0 ( V* Q5 o. h% V( }/ k
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
& |1 f0 ~/ t4 } M' n, m& E1 o( Q00404B2E |. 8BC8 |mov ecx, eax
4 T* `9 Z4 c: \* u, H; D00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> ( R4 R4 D( A9 d" K" r! A
00404B35 |. 4D |dec ebp
F8 \, V% \; J7 z00404B36 |.^ 75 E7 \jnz short 00404B1F % U: D! Q: u6 Q: [9 F! h) E
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
0 P4 ~* Y2 O2 z, d1 I5 I! _- D& |" W00404B3E |. 6A 00 push 0 ( e) X- |- P+ K2 l6 i, X8 a9 i
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana> . Q* `0 @/ W; \3 L
00404B45 |. 8BC8 mov ecx, eax ) N, E: l6 H$ p7 V
00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
2 u4 m) V7 g8 F. }4 w00404B4C |. 85C0 test eax, eax
0 L3 C5 @7 O7 w2 L; q/ p& j4 y00404B4E |. 74 0E je short 00404B5E 3 p2 @! r. O" Z% n0 ?9 f
00404B50 |. 50 push eax
8 K. z# V ]* @8 D2 |% X00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" " M6 {$ a) J* q
00404B56 |. E8 A5C4FFFF call 00401000 ! K+ ^7 I& Q+ ^/ F/ z2 G' A
00404B5B |. 83C4 08 add esp, 8 % _. t$ B: e# n0 n
00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80] - G8 R4 u! ~, S* m
00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
/ y/ N5 d$ m D8 J( O00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString
& A) P4 u# ]' t/ `, W' t- ]8 U00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
/ E% f9 a9 M. q# l00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
7 H4 n [2 ?2 O00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 8 ^* x8 n5 A0 }8 o* z. C/ Q+ _
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
" a4 h, d0 @1 I3 q00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
5 `' a' \, ~0 P8 e00404B85 |. FFD5 call ebp , M7 {) n. z& x6 c4 j! r
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
4 O- ?: O# U. J00404B8B |. E8 E01F0000 call 00406B70 + A4 ?' z7 _# m# n0 t+ y
00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44] [1 e: Z# L6 n% K
00404B94 |. 50 push eax + U6 ?3 V) b h
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> ' Z; z( l" F+ t; ~
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
. A9 u8 K' z7 E4 x# y9 K5 z00404B9E |. 33C0 xor eax, eax ( v- v' ]# v' [' G7 B9 w# g
00404BA0 |. 51 push ecx 4 U/ z' m+ j5 \& W4 z
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
1 y& Q) Q. c& j5 R00404BA5 |. 894424 50 mov dword ptr [esp+50], eax - I5 q5 J8 M: D/ x. l/ ^9 O
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
, p2 V C }/ ~00404BAE |. 83C4 08 add esp, 8 & k+ T; B3 H+ w. s! I: D+ p
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 7 I9 e& g/ K+ M' S
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
0 m7 v$ N0 a- g" b& p00404BBB |. 6A 01 push 1
$ Q: d2 G, G$ m5 C7 h' m00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
$ W" ?2 r: M8 a1 A# L, [5 ]/ ]. w00404BC1 |. E8 3A1C0000 call 00406800 % v; s" Y' t( V& v% \. f
00404BC6 |. 6A 00 push 0 4 M' t1 S: X; C. {4 b- l* k, z4 p
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 9 T. i& b6 w6 R2 ~& I
00404BCC |. E8 4F1C0000 call 00406820
! M3 \9 D1 T, Z: E00404BD1 |. 6A 10 push 10 7 T0 Z" J* D6 r6 \- r1 o$ [
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] 5 q. J8 x2 X3 C4 s9 e0 N
00404BD7 |. E8 841C0000 call 00406860 " y2 g/ F/ G! S. w# m
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58]
5 t |1 x) I% X. G9 g& ^* J$ N00404BE0 |. E8 FB040000 call 004050E0 6 K7 |! ]* }% i: n) U+ A$ _* }8 e
00404BE5 |. 68 00800000 push 8000
5 G7 F1 [9 p1 ^4 I, j00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
& H8 Q; m+ \2 c00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile ; |3 [2 r4 u R5 T
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
% @9 X- F7 `2 M% W$ Y+ M* R00404BF8 |. E8 E3040000 call 004050E0
7 U- Z. P% Z" b" y: q( U; r1 }00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 6 ]# s$ ]: j. b W
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
0 E( t! b3 y5 f- ]. w00404C0A |. 6A 00 push 0
% z0 x0 S; M; {' Y3 s2 ?- g9 n00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
4 ^% D7 O8 s* H00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
" f0 O' S% S ^, K00404C15 |. 52 push edx : u' M/ A4 h- E
00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24] 0 Q; \7 ^5 t( P4 G
00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\" % Y# t/ Q1 I. f6 P6 [- Z2 Y
00404C1F |. 50 push eax " a" d# {. K6 i& _6 I. Q
00404C20 |. 8BCE mov ecx, esi , Z7 R: k0 k6 k) {; t( Y
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
% ]+ C8 M8 j7 z+ Y6 h0 h00404C2A |. E8 61060000 call 00405290
" ]9 g! W0 m0 d: _+ w: [00404C2F |. B8 58B44000 mov eax, 0040B458 " ?# z9 a6 j2 T0 n
00404C34 |. 894424 14 mov dword ptr [esp+14], eax " S6 @" {! W* A! y; I) Z
00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
- W p! z0 e t; F! [8 f00404C3B |. 85C9 |test ecx, ecx
6 W& _3 ?; O# Q: Z5 s! i) j8 [00404C3D |. 75 39 |jnz short 00404C78
: t" s" I. O2 K& i5 J, n00404C3F |. 8B08 |mov ecx, dword ptr [eax] m0 H! r* ]: ~, I$ V; l& a1 }
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C] # g3 E" n9 q6 Q) A0 a$ L6 `2 d# X
00404C48 |. 51 |push ecx 2 @6 E/ p2 h3 Q6 M- B
00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
9 y( G, X( [) S7 s! I8 l- ?9 s9 r00404C4E |. 52 |push edx * L6 v. U; _6 x! H0 c" L
00404C4F |. FFD7 |call edi
! O/ {+ Q [2 f9 Q, ~& ?00404C51 |. 83C4 0C |add esp, 0C
( P6 A4 B: R5 H3 s2 [4 h6 \00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] : d, f) D4 @1 C& H. Z" b
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] 1 ]/ `4 G/ \0 E
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
* {7 L. ]4 l1 \4 Y+ w; S00404C63 |. 6A 00 |push 0 : x$ C& }- u m, Y
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" 6 V8 f! T( {9 z3 x C; x
00404C6A |. 50 |push eax 7 K8 `6 f! [5 p$ x) O- a! p
00404C6B |. 51 |push ecx + m: m Z: s& ~7 B9 v# Q" C
00404C6C |. 52 |push edx
$ b4 T) |3 ?% E* Z7 Z* U/ c3 y p" A00404C6D |. 8BCE |mov ecx, esi $ m* F2 x2 r; ^1 q" U
00404C6F |. E8 1C060000 |call 00405290
* C s6 j- V5 v: X00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14] + i; b! @1 \) D% _* N
00404C78 |> 83C0 08 |add eax, 8
6 D- v& N3 S3 y/ S# ?" _5 h00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
* O, d- g0 i" X3 E7 j7 n. O$ k00404C80 |. 894424 14 |mov dword ptr [esp+14], eax % }8 C0 l6 ^) X1 i( l
00404C84 |.^ 72 B2 \jb short 00404C38 ' l! \5 I6 ^4 g1 e1 F* o9 i
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] 5 q1 g, i0 A: ]7 A
00404C8A |. 50 push eax 4 z$ O( r' @5 P2 e8 `
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF ( V: R7 |7 J7 a2 O
00404C90 |. E8 CBC3FFFF call 00401060
8 q; t/ _5 E3 j$ b8 W00404C95 |. 83C4 08 add esp, 8 . R# h# b" Z% V4 N8 j- t% ]" r; _
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
9 T+ k* ?$ q" S00404C9C |. 6A 00 push 0
[$ g: z" ~: P; \+ @# C00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb"
0 ~! F/ J/ `4 k& O7 e0 s00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
7 L% o* ]: n3 s5 f3 a00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 8 T' q: E0 _; s8 `! b I
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile / s3 \/ C" u. r% ^* s
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
/ T0 X# }8 `, Q7 l% E00404CBA |. FFD5 call ebp ( w8 x# w% F8 @: {1 x* F
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
& y5 E/ F8 V. o00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile . X8 [6 f# j- x
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58] ' M9 Y6 l: K; G# o% y( [
00404CCA |. FFD5 call ebp
3 V( D- U$ x0 V J00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
; Z) z( m5 ?' P; ^( U7 x00404CD0 |. E8 1B1D0000 call 004069F0
; G3 D/ v# A3 E/ F2 j! o" P00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38]
' w* }/ T* k3 _/ R+ Z00404CD9 |. 51 push ecx ; n& G) b2 n( H# a
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
5 |3 T, ~+ m. k4 e9 B00404CDF |. 83C4 04 add esp, 4 - X! D" m" x% S" h& P& R/ d" n4 D
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ! }% ^* ^* C' c: P6 A& s
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator |3 y, g8 }6 T1 M# b
00404CEC |. 53 push ebx # X; X! r f# l: u) w0 F! W% {- T) k+ O
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
9 y6 J' j: y, a00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_"
& c' Q# c* ]5 Z4 H% G3 `4 S00404CF9 |. 52 push edx
. a% q: ?6 h5 g4 s00404CFA |. FFD7 call edi
2 r# v3 M2 Z- r# M00404CFC |. 83C4 0C add esp, 0C
* E* B+ _# M; ^) k* g3 y00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
( r* _% E5 m' F8 U# _00404D06 |. 8BCE mov ecx, esi
+ F( o. ]! U* j3 g L5 ]2 h$ k00404D08 |. 50 push eax ' f, _* D6 D( h% R2 k
00404D09 |. 6A 00 push 0 # a2 X: e8 p6 U% Q- B5 `* }' ^0 ~0 s
00404D0B |. E8 F0060000 call 00405400 - [! a: e3 U0 i
00404D10 |. 6A 01 push 1 ! |( o7 o$ j1 d7 R2 z1 {
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
( A: d! M! O( W" M& C8 v4 _3 V00404D16 |. E8 E51A0000 call 00406800 2 P& M+ Z4 Z/ Y) L' ^5 [/ U |
00404D1B |. 6A 00 push 0 ( F& h' u1 W, q1 C5 r
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
5 r- z; N8 r+ M; v9 B D4 [3 U00404D21 |. E8 FA1A0000 call 00406820 4 M2 r& G$ c. a& L
00404D26 |. 6A 10 push 10
* m$ p& Q: C; R: A/ H' V3 H* ~00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
) j: E, w: u1 v00404D2C |. E8 2F1B0000 call 00406860 ; {5 v. \* C% H6 y3 T2 H& C- r! K) s
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58] - e" v0 A0 A7 o8 M8 y( x* a; Z
00404D35 |. E8 A6030000 call 004050E0
" p) E1 h* _5 A0 k- f% r00404D3A |. 68 00800000 push 8000 ) {. R, i. T) _1 y4 I- E
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
9 p l7 H7 C0 j. p# W# C/ R& q00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
( X; k% f( U8 C! l/ E& k00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
" V! x6 v8 }. K+ X* o. e- X$ p00404D4D |. E8 8E030000 call 004050E0
" A6 m$ {, X! D; Q- R& N3 q+ E00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] / P9 ?3 V& u9 P L) i
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
9 I+ Y$ v' l$ C! g; I- Z00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
( y5 r5 @5 [+ F4 K6 M00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
0 G9 m Q9 v" q00404D68 |. 51 push ecx 8 R! j9 A' \+ E
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
1 ]! D M' y( W( G00404D6D |. 6A 00 push 0
, Q% y" `3 @% y' A# k* [2 i00404D6F |. 52 push edx
! Y5 z5 V& E8 o00404D70 |. 8BCE mov ecx, esi # D( S9 K ]2 t/ p/ T9 N
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 5 Y4 n- _2 G* N2 v4 C
00404D7A |. E8 71040000 call 004051F0
& I4 c4 C! m0 |8 d; V8 k00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] , m- q) G( o( W
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
+ u- W! {2 ]6 s, C00404D88 |. 50 push eax
$ }# _ q6 s4 O3 d, ~) |+ I, M00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
; t; ~3 T7 O/ h6 f' w# u! [& ?/ J. i00404D8D |. 6A 00 push 0
0 R8 Y4 R* }9 ~) A! q) o/ p00404D8F |. 51 push ecx
' D* S( K8 ~+ P* v' w# K$ }00404D90 |. 8BCE mov ecx, esi / j) J- _7 Q- @" z( `2 O" c9 J, b
00404D92 |. E8 59040000 call 004051F0
: v2 S2 n3 q8 T5 X+ |8 F3 k00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] 5 ~5 N. H. J, E& f* ]/ f5 h
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
$ i: f. K: Z3 D. F( p00404DA0 |. 52 push edx 3 S. E ]; ]1 u. O& f
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
. L8 @3 ]: H* a& B% C# v00404DA5 |. 6A 00 push 0
: D. p: z5 h0 e/ S1 ?00404DA7 |. 50 push eax + {9 x# M: ^; y" a& {
00404DA8 |. 8BCE mov ecx, esi
: C2 P% D( n0 x. T2 m0 }5 G00404DAA |. E8 41040000 call 004051F0 6 ]! V8 a* p; p9 G. o
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] ' I" _$ }4 H4 X% q; T
00404DB3 |. 51 push ecx / p7 |/ t: f) u$ R5 t' m
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF 0 {6 T) D' S1 Y8 c4 e2 C6 H
00404DB9 |. E8 A2C2FFFF call 00401060
* J6 ~" n7 e8 R1 Z( u00404DBE |. 83C4 08 add esp, 8
' D" o' V6 q$ u+ ?4 |" D- @" n00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] $ B9 y8 C' V* |" h) b# R- ~/ t5 T
00404DC5 |. 6A 00 push 0 $ s9 o" b' B8 @8 ^8 F% J6 o3 J
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
8 w+ T; u6 G' Z/ E$ `3 Y+ Y0 I8 P0 S00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save + _' S( i& f2 h6 ?5 X
00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] # D* A" p4 d* H: U- V
00404DD8 |. 6A 00 push 0 + }) Y9 y3 P! q% D
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
' u0 m4 Z, x7 n3 ^00404DDF |. 8BC8 mov ecx, eax
! t: y. S; c) X) I00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath> , Q8 B* ^/ ~8 j# O
00404DE6 |. 85C0 test eax, eax # [* q- [- T( H$ O1 z, ~; Z
00404DE8 |. 7E 25 jle short 00404E0F
# v) H- b- Q2 n, a, I00404DEA |. 894424 14 mov dword ptr [esp+14], eax 7 U: C: g. t. [- Y5 x/ f
00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
6 [- z J/ `6 h6 g4 n( U7 y- }* ?$ g00404DF4 |. 6A 00 |push 0 3 M$ b' n3 g! y2 [# A* |
00404DF6 |. 6A 00 |push 0 9 C& V( u, f' V4 B: s8 _8 {' Z5 H
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> 2 b5 i1 H9 j6 G( B' X" Z- r
00404DFD |. 8BC8 |mov ecx, eax
+ u9 d2 Q+ U. r4 B6 H/ h g0 t00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> 3 {" {0 Z( S, N( _% x2 J
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] . m- `) t/ r4 B0 L. g
00404E08 |. 48 |dec eax P, Y- b# }% ^, D' F) h$ D
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax + g7 g e7 x8 l8 ^9 ?
00404E0D |.^ 75 DF \jnz short 00404DEE
! q8 f* B, m2 [( B" H: Q, O00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
: B# W: I( h3 V7 j" Y- J4 S; g00404E15 |. 6A 00 push 0
6 Q3 g- {: O' a4 q00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
6 v u8 R7 C+ _7 a. d00404E1C |. 8BC8 mov ecx, eax 9 U9 b$ O/ x$ |; M3 I0 {' C
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
4 t& ]% }4 G/ T- f7 k5 B& S00404E23 |. 85C0 test eax, eax
0 Z* i/ {8 j# S9 u4 b4 u( L00404E25 |. 74 0E je short 00404E35 $ X q! z" W0 ~( z3 g1 o( s
00404E27 |. 50 push eax / i- N. A+ m" q! C0 w1 ~
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
6 K* `( B+ O& y( |1 s00404E2D |. E8 CEC1FFFF call 00401000 + c4 f, [) E9 E$ ^+ O s
00404E32 |. 83C4 08 add esp, 8 k. e5 S: d+ X8 \# c8 r$ J
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80] " h' A: X% g- M4 [
00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
/ h4 k M" G* }00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
; \( D+ y( ^% m' D6 E00404E46 |. FFD5 call ebp 4 A" X8 N4 x, C$ G( C$ ^
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
0 F8 l! H- m8 X4 d# N% p00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
! D9 i8 C7 o+ M" U8 z( K6 m8 H00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
6 a5 _- Q1 U4 U- F/ C" |00404E56 |. FFD5 call ebp ( p M. e5 w t7 V" e. R, Y6 n- ^! ^
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
& q C+ ]& U7 b, w& X/ P: u00404E5C |. E8 8F1B0000 call 004069F0
A @, F' ?. ~& H* j! H# x00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
* \( X# I9 |. m$ S" F00404E65 |. 52 push edx + h( g& \9 ]( v1 j0 l
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> ! R- C) \' @8 x9 d
00404E6B |. 83C4 04 add esp, 4
5 V$ x* ?9 b9 e1 W h+ m00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18] $ @ F$ j, D' r: u
00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 0 t* l8 |% _/ O. i# z7 `% F& o
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ! U w7 D! t8 @( u0 p- _) u9 @6 x
00404E7C |. E8 6F020000 call 004050F0 ' l1 {7 k( P0 O9 Q) A. y
00404E81 |. 6A 00 push 0 " }# Q+ w q6 M5 {% H5 R+ v
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14] 6 M u' I `- q) c! j
00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
. K% K5 T: y0 T5 K+ Q0 b& N00404E8C |. 50 push eax
/ {4 b) H0 M( O% M" ^00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24]
5 i v& m) v' ?7 T% q00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\"
3 v1 y0 x) F) ^3 n00404E96 |. 51 push ecx 4 {$ r" s P7 D
00404E97 |. 8BCE mov ecx, esi
" w$ E$ B& O- c/ E00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 9 G8 L3 U2 ?& @0 _/ I' E% [
00404EA1 |. E8 EA030000 call 00405290 # [5 x+ k: ^$ H6 R3 M
00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
- N6 D! v k6 |+ A00404EAA |. 6A 01 push 1
( c5 C3 L4 U& O: U' ^/ x5 |00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] ; T/ H- G+ W* @. a8 [% m. O- Q1 _: Q
00404EB0 |. 52 push edx 9 N' t/ z: \0 z+ h
00404EB1 |. 50 push eax 6 a. \3 n+ J9 [5 h6 P
00404EB2 |. 8BCE mov ecx, esi
& l+ h; q2 w# ], `00404EB4 |. E8 E7F9FFFF call 004048A0 0 y; N% ?: N) |" z$ E
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10] : X/ O! R0 h( s& Z0 V) g
00404EBD |. 51 push ecx & r/ W* L6 ?, `! m
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
7 i& D, Q- m5 U0 X' b. H, y00404EC3 |. E8 98C1FFFF call 00401060 - n( v0 e$ Q) k# ?$ u& h- z& T
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
; x9 a) { _8 T$ ]- m# |; U; H' t00404ECE |. 83C4 08 add esp, 8
" D! X4 ^4 s3 E: G( K0 @# _00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ` d% F, j4 {+ e) Q
00404ED5 |. 6A 00 push 0 + i, k% X2 X4 b- K1 e7 w1 ?( X
00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
: ]# Z( M; M l' P: B, m& R00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> 8 {$ ]- F \. Z' `6 S
00404EDE |. 6A 00 push 0
4 ]7 J# u8 o0 Q% Z00404EE0 |. 8BCE mov ecx, esi
! w+ X; C2 o& R& T4 I3 @7 |0 U( U00404EE2 |. E8 39FAFFFF call 00404920
* M: w, O Y7 c" ^" D00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 9 j0 j. w6 K7 Z$ ~5 N
00404EEB |. E8 A0020000 call 00405190 6 m: d9 b3 }$ Y2 J3 w) r
00404EF0 |. 53 push ebx
! ~' |/ J# X0 c2 `7 ^5 g7 M- J00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] * J# u" G Y7 l- c
00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
/ g. n' s( |3 @; ]4 N/ j5 k00404EFD |. 52 push edx ; q# J' D+ q! |/ J0 w
00404EFE |. FFD7 call edi 8 O# D, L! J0 r. B/ ?) U9 ~
00404F00 |. 83C4 0C add esp, 0C
3 Q1 P# }8 b S1 ~5 W00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] - K8 |$ _, `+ }
00404F0A |. 8BCE mov ecx, esi
5 v8 `3 v" s6 e0 ^$ y$ o/ b00404F0C |. 50 push eax - _ l4 r: c/ y& s6 H! o
00404F0D |. 6A 00 push 0
7 A/ Y. I. Q6 ~00404F0F |. E8 EC040000 call 00405400
3 j# A- t% I7 Q) o& J9 b- S00404F14 |. 53 push ebx " S- ~: {9 p: H
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C]
6 L% \7 c4 n. u* r, Q3 W00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" , U- ^* S L' b% f- B' _& J1 f
00404F21 |. 51 push ecx 5 U. D+ D/ _6 r, G# }
00404F22 |. FFD7 call edi 7 D6 c+ y; a7 R3 m- u
00404F24 |. 83C4 0C add esp, 0C
: Z2 D1 O) f9 k/ B* \4 I00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88] ; g5 M) U W, Q% [! }7 n; d* q }
00404F2E |. 8BCE mov ecx, esi
3 m! r6 Y# x3 d00404F30 |. 52 push edx
5 U. D0 y$ x7 n1 b3 F00404F31 |. 6A 00 push 0
& f- f9 S9 f8 ]+ N N0 U- A00404F33 |. E8 C8040000 call 00405400 / C2 M+ e! w# s6 b$ d% T2 |
00404F38 |. 53 push ebx ' n* a6 e+ t3 B, ~/ a6 m" q( D
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
$ [4 ~: O6 y( Y' l% @8 x00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" & e- u% B3 K) Y
00404F45 |. 50 push eax
; d% h# x2 F7 Y+ A) F$ |, @- |00404F46 |. FFD7 call edi
8 Q& p9 C y- c00404F48 |. 83C4 0C add esp, 0C ) C( W |- S' P# A% {2 a6 I* L7 m/ j
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88] m2 w$ r* T c8 q
00404F52 |. 51 push ecx 0 R. ?6 ~! d, s. m
00404F53 |. 6A 00 push 0 $ L I) _' S: _6 R# } R
00404F55 |. 8BCE mov ecx, esi
6 w# }5 @& M u2 u. Q00404F57 |. E8 A4040000 call 00405400 5 s- T6 w! y5 n9 d# l" M1 g
00404F5C |. 53 push ebx
, V4 O. o9 R: @* j00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] . I+ d* @* O6 b5 o, q9 o
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_"
& f2 F# ~4 ]( U# I) W% h00404F69 |. 52 push edx
# [! `! k; L1 i6 M' w00404F6A |. FFD7 call edi e! S( e# H+ K" T
00404F6C |. 83C4 0C add esp, 0C : o; Z1 z7 t0 k7 B+ Y. q+ L9 Y) A$ x# z {
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88] * g& Q# ^+ F- S0 z& T# K
00404F76 |. 33FF xor edi, edi
" c3 i5 K" A( j; o) }& D00404F78 |. 8BCE mov ecx, esi
% v$ p6 E% b/ U( O) H- d3 B; h F9 w7 E00404F7A |. 50 push eax
8 w. `. T1 p# { h00404F7B |. 57 push edi
" ?+ ?! x0 G0 p$ R0 V00404F7C |. E8 7F040000 call 00405400
& z" |8 \: P9 b7 x6 F/ R00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ( e8 _! \$ f; M) o/ w; h% L
00404F85 |. E8 66010000 call 004050F0 ' X/ _4 S$ c; E( |2 S3 v/ ]: Z/ J
00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] # O6 m; |" T' y) \, m
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" % z4 R2 O9 m7 u$ m
00404F93 |. 51 push ecx 2 W9 I& J( B" `, w4 C& f+ M
00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
; d& ]( d+ H( [; ~, Y' M00404F98 |. 57 push edi " l# @$ c! e O& F1 q+ g+ H! g( k
00404F99 |. 52 push edx
1 i+ ^4 R3 o) y: K$ l0 S00404F9A |. 8BCE mov ecx, esi
5 n7 s' i0 O! U00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
# G' l! i/ `( Y: m! a) I. Z& o00404FA0 |. E8 4B020000 call 004051F0 / o) F$ ~& F3 W; |% G. K0 J9 k& @
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10] ( ?) J- D, M# B
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
5 m/ M8 h% j. g, G* x0 G00404FAE |. 50 push eax 3 m$ R& u6 j7 I0 P
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
7 |7 T5 `+ \6 g3 f9 K0 Y" s$ R1 s00404FB3 |. 57 push edi
; [! S8 i1 X1 N# J00404FB4 |. 51 push ecx : |4 r9 z5 p% R! ? H- [8 y
00404FB5 |. 8BCE mov ecx, esi , J2 W( V; p3 P2 A/ C
00404FB7 |. E8 34020000 call 004051F0
2 ]% m* {) b1 J: G) E7 l00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] ; @: z9 t2 b8 ~, }
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png"
9 n) L5 u2 S& d00404FC5 |. 52 push edx % r" g1 v) }# d. }, ]( F
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] : [3 p3 J, b& t) L
00404FCA |. 57 push edi 8 u0 ]0 Q$ b8 R. Z
00404FCB |. 50 push eax 7 p+ c7 f7 Z" p. t
00404FCC |. 8BCE mov ecx, esi
6 }8 A E) U4 _3 J1 a' L, D9 @6 a00404FCE |. E8 1D020000 call 004051F0
5 P0 V0 o2 N7 D9 v2 m% B00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10] 4 a( x& U v) D/ \& L
00404FD7 |. 51 push ecx 1 G" l3 z; i$ W, i0 |9 t4 L1 I
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF ! k3 f' d" {8 X
00404FDD |. E8 7EC0FFFF call 00401060
4 v* Y2 h# g! G4 x0 ?# h3 A; u( B y00404FE2 |. 83C4 08 add esp, 8
5 ^7 O& \5 k9 \. D" M00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
+ W+ p$ P, \0 F, T+ m* ~# @0 o: h0 m/ `00404FE9 |. 57 push edi 3 H. \8 [2 a( r! l$ s) u# ^& b
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
- U" t/ Z& O+ X* L# s' n* y00404FEF |. FFD5 call ebp Y3 { [ W: n7 `- b$ e0 W
00404FF1 |. 57 push edi
9 \$ P9 } D7 P* ]* M9 u0 I# z( h00404FF2 |. 8BCE mov ecx, esi
/ \! Z# ~" h* I, {! m$ Z4 t00404FF4 |. E8 27F9FFFF call 00404920
6 a% [( {2 h. d( s f: l$ \00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ; }- X' e1 @/ g5 H3 D
00404FFD |. E8 8E010000 call 00405190
; H; V7 E; E R( f00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
- I: }& R/ G @8 i/ H$ E4 i00405006 |. E8 E5000000 call 004050F0
" |# T$ N0 ]3 t! {: b3 ?0040500B |. 57 push edi
5 d$ }6 I5 Q1 K+ [/ E& ^0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
( E& w# ^! t6 X# R9 A3 V' |* o1 r- X0 j00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" % e3 N" B7 Z' N+ q
00405015 |. 52 push edx ! J, k+ s/ j6 \" v4 n
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24]
6 D" V# c5 B! N; g0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\" / l8 p! M+ @, i& o
0040501F |. 50 push eax
* [6 }% i X! }+ q00405020 |. 8BCE mov ecx, esi . Y+ J5 G1 {! W- Z, [) g
00405022 |. 897C24 24 mov dword ptr [esp+24], edi
D, n: B0 }9 b8 y( a& W00405026 |. E8 65020000 call 00405290
' J) Q, j9 q" _8 l6 M. K' l: g0040502B |. 57 push edi
" a1 r5 j; ~; t' a0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14]
( {& c0 H/ c# V+ u1 z |: P00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik" + h' Q4 O; G/ n0 h- R$ G% f
00405035 |. 51 push ecx
" G% }' V; I" g9 t00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
. g7 B3 W C; \5 X0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\" & Q" K) b' D) @- \2 R s! d
0040503F |. 52 push edx - o+ k: n% c. b) A
00405040 |. 8BCE mov ecx, esi
, o3 B( E6 h. { G+ f9 V9 }: \00405042 |. E8 49020000 call 00405290 + V1 B9 v* Z" _* F
00405047 |. 57 push edi
* I1 U O% Z; P o1 |( h( s9 q00405048 |. 8D4424 14 lea eax, dword ptr [esp+14]
" @( d3 R+ a/ _$ b! g2 U0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
/ I' V0 w, O. B/ @: i3 m9 N8 M3 P* u00405051 |. 50 push eax # I' n! q% M, v4 c- D
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\" ' N. o2 f& Q) D1 U" @0 Z5 B
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28] - ?2 c& ?+ J4 D* S
0040505B |. 51 push ecx & W6 O! w$ |% f' [( I5 p
0040505C |. 8BCE mov ecx, esi
1 r+ E. T" s- t+ F& b0040505E |. E8 2D020000 call 00405290
5 g9 [" Q) N& |2 Z- q T00405063 |. 57 push edi
9 I3 w* ^- ^4 S/ R00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] " k9 k0 t% g4 Z. c6 `, M, v
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" : V; W: P. N0 N" V2 z* B
0040506D |. 52 push edx 8 I, }- m7 [# ?. z/ U; N/ P4 X
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] 0 M- h: v" a* J- B
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" % W+ ?/ N% u6 x. L# W! d" Z* K
00405077 |. 50 push eax ( e" U+ @& k M
00405078 |. 8BCE mov ecx, esi
. w. q0 ?- p# s0040507A |. E8 11020000 call 00405290 8 ?5 r* u+ D, ^7 |, E* M
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
" p* S# I/ ?3 W; |- }' s$ _00405083 |. 6A 02 push 2 8 v; F( n2 Q# J+ D5 C! W% e* c
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C]
! c6 U! m2 b# _. x$ N; P00405089 |. 51 push ecx
9 `% Q& ?4 y4 R8 t' u( U8 T% {9 `0040508A |. 52 push edx 7 Q: W* i# s: v% }- S
0040508B |. 8BCE mov ecx, esi
* v# @4 K5 B# i- X0040508D |. E8 0EF8FFFF call 004048A0
$ L1 p( m! a0 X9 \; K" G00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] ( S! X( Q& Z7 J$ L. z
00405096 |. 50 push eax
/ p' c- E. A% u1 k n$ l00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
* v7 l+ @; v6 `0040509C |. E8 BFBFFFFF call 00401060
4 J4 f* _( Y. o004050A1 |. 83C4 08 add esp, 8
. `! V8 U+ O+ G9 t004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] x- ~3 A9 `) T T' P& p/ T' W
004050A8 |. 57 push edi ( ^* G+ L2 G" | X X
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
$ ?9 Z! `% M4 `004050AE |. FFD5 call ebp 5 m3 Z& \" I. N2 _/ M, O
004050B0 |. 57 push edi
2 v! v* d" L8 `1 d6 ?4 S004050B1 |. 8BCE mov ecx, esi
, t; ~' s! W# i004050B3 |. E8 68F8FFFF call 00404920
8 s/ Q7 a3 n5 {: ?0 y& K2 G1 g" b004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 3 C0 ^! b4 e/ z! V6 U3 {
004050BC |. E8 CF000000 call 00405190 4 }& d, X2 }) P& a
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate." 9 l$ T% I$ X% T3 Q
004050C6 |. E8 35BFFFFF call 00401000
; ^ t: d, m9 P) j004050CB |. 83C4 04 add esp, 4 : S( F$ d( N5 J6 ~+ Q8 \ ?$ h
004050CE |. 57 push edi ; /status 2 V7 W1 D& h& a/ c X+ R: V
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
" W9 p# {# ?$ _: P004050D5 |. 5F pop edi / `: y& R' i) F( x6 T5 _; W8 f. N
004050D6 |. 5E pop esi
! l2 r' n( J% }8 v4 k$ o004050D7 |. 5D pop ebp - Y$ d; F! h) S. \2 _
004050D8 |. 5B pop ebx ) l: i: n7 F6 A5 N0 y: L( y% N
004050D9 |. 90 nop / N1 t) l6 P, L8 C, N- R
004050DA |. 90 nop
4 x4 F5 m4 m! O+ t. l( @7 {004050DB |. 90 nop
3 o" ^- p; l- b3 L0 f9 k4 t& H004050DC |. 90 nop
' Y; Z! Y+ S1 |! C) a+ A$ g004050DD |. 90 nop 6 k5 B1 O, ?3 O. T; ? l- A
004050DE |. 90 nop 5 w6 Z0 T8 y. e
004050DF |. 90 nop 2 l+ H& f7 @' M# r0 g
004050E0 |$ 8BC1 mov eax, ecx n+ s F/ C; T Y3 C1 p
004050E2 |. 33C9 xor ecx, ecx
3 D8 |. J' I- Q: d004050E4 |. 8908 mov dword ptr [eax], ecx ) n0 q2 P) |1 z4 v
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx " }* p" W8 x7 g+ a
004050EA |. 66:8948 06 mov word ptr [eax+6], cx + @9 \0 I! G" X4 W }
004050EE \. C3 retn
3 ?5 n/ v, B7 v% O9 S# f004050EF 90 nop
5 n( ~) u" i* }% M$ ]004050F0 /$ 53 push ebx " t P& T9 l( J7 r6 _" N
004050F1 |. 55 push ebp 2 e; V7 A& B: {0 a
004050F2 |. 56 push esi : D: m* y8 H2 Z& t2 @6 V
004050F3 |. 57 push edi . u, m9 [4 C* k! M" C) h) A( g. O
004050F4 |. 8BF1 mov esi, ecx - X' O2 x) q. e' [( O+ ^4 o& V
004050F6 |. 6A 14 push 14
8 X8 w7 R+ J5 B2 s' F/ A" o004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator 2 Z+ n. ~3 \3 H/ M3 X
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] - z$ l9 ~3 c5 z: O; F' [
00405101 |. 33DB xor ebx, ebx 0 t4 F7 G( `1 ?3 [' V i
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1
- o3 R* }! P) [3 F! B0040510A |. 895E 28 mov dword ptr [esi+28], ebx
) h: g$ f) x7 l+ R0 F- C# d0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8] " |/ i9 k" Q, t7 U
00405110 |. 895E 24 mov dword ptr [esi+24], ebx * Y* |8 c! F8 k4 v. M# I* G/ ]4 g
00405113 |. 895E 20 mov dword ptr [esi+20], ebx
# f E( {; \+ ?( L00405116 |. 895F 04 mov dword ptr [edi+4], ebx / h+ d- S v! g2 ~
00405119 |. 891F mov dword ptr [edi], ebx / U6 J0 b& H, U* S$ a" e+ V
0040511B |. 6A 10 push 10
4 S( ^/ t5 p1 k1 _0040511D |. 8BCF mov ecx, edi
4 O4 z# |+ K( A. ?3 P; b0040511F |. 895D 08 mov dword ptr [ebp+8], ebx 6 Q7 J3 P" i' o9 X* B
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
1 h; F( q# j1 l7 [8 H00405125 |. 895D 00 mov dword ptr [ebp], ebx 6 O( A9 H* Z& s2 }
00405128 |. E8 F3180000 call 00406A20
" Q& a/ M3 h3 g0 Z$ t0040512D |. 8B07 mov eax, dword ptr [edi] " c2 g3 o. {4 q5 H3 H/ O! L
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] 0 a8 x, x% S' z% ?; p. ?9 h* |
00405132 |. 3BC1 cmp eax, ecx
5 w2 Y- ~/ U$ @: Z, U: `( R1 v9 T00405134 |. 74 0C je short 00405142 * Y- Z9 j/ C0 c# K( Z+ @! _
00405136 |> 8918 /mov dword ptr [eax], ebx 4 y8 C1 T) _5 H" G. Q
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4] ( V! U4 v3 d* @) j+ [3 b7 y& [
0040513B |. 83C0 04 |add eax, 4 Y; j+ J& Y+ S5 E" M3 n5 }1 }' t* i
0040513E |. 3BC1 |cmp eax, ecx 1 d% v3 x. j, s
00405140 |.^ 75 F4 \jnz short 00405136
* D) I: V0 h y( z* N. ^! }8 S00405142 |> D905 3C934000 fld dword ptr [40933C] * c4 c3 W/ S8 {' W4 t
00405148 |. D80D 40934000 fmul dword ptr [409340]
" |, l+ X8 e- q0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
- p, J+ M1 R. K2 J+ W00405153 |. 50 push eax
' \" J; e! n. H8 Q2 g6 `% z00405154 |. 8BCD mov ecx, ebp
6 v; M& h% V( O00405156 |. E8 65190000 call 00406AC0 ( _* u4 j# C4 l' r# H
0040515B |. 68 00800000 push 8000
, d4 X/ B- }) T/ P/ i00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48] ( w. u0 I+ Q2 d% J+ a! @$ A
00405163 |. 895E 40 mov dword ptr [esi+40], ebx 9 n4 j; t- |1 g+ a2 Z% L
00405166 |. 66:895E 44 mov word ptr [esi+44], bx 3 R" n) _8 D: w
0040516A |. 66:895E 46 mov word ptr [esi+46], bx
O6 h! F+ S r6 Q: k+ ?. e8 P0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 5 i2 `$ ]- L" w% ^1 e+ _1 T
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
7 p0 Y r2 r6 ^1 U+ ^00405177 |. 895E 60 mov dword ptr [esi+60], ebx # _9 q; b$ ?9 |
0040517A |. 66:895E 64 mov word ptr [esi+64], bx
) o! s" p" i5 {' K; P0040517E |. 66:895E 66 mov word ptr [esi+66], bx
G& I: l! V' _" t0 m# ]6 p* w$ M00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
; a" i6 U% d8 E' v00405188 |. 8BC6 mov eax, esi
% \& l5 s% H# u0040518A |. 5F pop edi 1 O- Y, ^0 P" N8 ?; A1 ^( r& R* z
0040518B |. 5E pop esi * ?! q# ]8 o2 E F
0040518C |. 5D pop ebp 5 @* M( Q1 W8 r, i4 e: @; l
0040518D |. 5B pop ebx 2 d0 o: f# {$ X2 ]0 b- b$ T
0040518E \. C3 retn |