在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。 $ Y- e( Q3 a* Z# X+ t8 g5 b
当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 ) ?6 R# R( T: A: b- }
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
! V/ F. {- g; r. v0 a' X" N/ g4 E% V
1 O5 a9 l# n* d00404990 >/$ 81EC 7C020000 sub esp, 27C
4 U" z8 z; d) N+ \00404996 |. 53 push ebx % d. h9 j/ Z, j; d6 L% B' p/ w
00404997 |. 55 push ebp
( M5 t/ t7 b4 B) \; p9 A00404998 |. 56 push esi
: t7 M) O- ?, a00404999 |. 57 push edi & C' S/ ?. u: m8 x
0040499A |. 8BF1 mov esi, ecx % m- r3 M+ w' u# ~
0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF 0 e6 Y, r4 d! |& }5 H: W% O- \! J* u
004049A1 |. E8 BAC6FFFF call 00401060
& Y1 K) I6 y! \: ?/ e: T004049A6 |. 83C4 04 add esp, 4
, V' @' z7 g! T+ y9 p& P004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
6 h4 Y- {! O3 x: @- q& c7 s004049AE |. E8 4DC6FFFF call 00401000
6 a: s/ j U8 r* t7 H2 R+ e004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
& V8 `. O$ q6 I) {% i! a' J6 q004049B9 |. 83C4 04 add esp, 4
2 H9 K/ }+ J% {& ]004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238]
' u k& M$ e: D004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
: ~/ ?( D" m! Y/ L. ?004049C9 |. 53 push ebx ; /<%s> 1 P8 b2 V7 p0 K" c
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
/ r: Z7 W3 B1 N# I2 R+ [8 ]8 n9 I004049CF |. 50 push eax ; |s
& C& O" h7 `# i0 I1 j004049D0 |. FFD7 call edi ; \sprintf
q0 J( w$ h7 N& f, W004049D2 |. 83C4 0C add esp, 0C ' q% m4 A$ o6 O
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] C2 y( T8 u1 w) B
004049DC |. 51 push ecx 1 q+ b3 X& F/ ?: p
004049DD |. 6A 00 push 0 " y4 O' l6 h9 U. w/ X8 g7 d- [( f7 s
004049DF |. 8BCE mov ecx, esi
" `& Y3 B8 B6 z; J/ t6 Y004049E1 |. E8 1A0A0000 call 00405400 * M) O/ p% B2 L& n
004049E6 |. 53 push ebx
6 W- \0 V/ O1 r- P* e# z: ]004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
0 V' F% m( c4 A$ V3 p004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" . u0 b0 g4 J; J8 V
004049F3 |. 52 push edx 4 b( X, o& d5 e& m4 g. t
004049F4 |. FFD7 call edi 1 M i& a X, T1 F3 Z6 p+ z
004049F6 |. 83C4 0C add esp, 0C 0 a, `6 R# D& |% |+ E+ ?- J* P3 }
004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88] 5 r3 y; e$ P% y7 ?7 a" a
00404A00 |. 8BCE mov ecx, esi . Y9 r2 K) L$ T! p
00404A02 |. 50 push eax
6 X; i3 C6 j2 j5 }4 V00404A03 |. 6A 02 push 2 * S, w/ j" V9 \+ w) C# Y( V T
00404A05 |. E8 F6090000 call 00405400 $ S- r2 N2 @' C. `; @6 ^( \
00404A0A |. 6A 14 push 14
7 @/ H2 J3 D1 k0 M00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C] 7 E1 q, _- o$ L! a6 _# x+ U. }+ B
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
& u. b: a/ D# ]& p: g00404A16 |. 6A 00 push 0 C$ p# C0 W8 A8 I0 I
00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
8 T7 ]* p+ R/ X) m0 [/ r, r1 n00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1 6 m* i( q, s. i. V# u0 D/ [
00404A24 |. E8 F71D0000 call 00406820 6 ~1 b. D# S4 n# N" A) i0 s4 s
00404A29 |. 6A 10 push 10
8 |" w6 @! V0 _4 H/ g00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48] 2 T( ^5 Y" R- K/ \- Q! j! _7 h7 F+ i7 p
00404A2F |. E8 2C1E0000 call 00406860 : j# I; B. s i! |! Z
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 8 a+ r2 n, T8 J. K( Z: q: ~
00404A38 |. E8 A3060000 call 004050E0
- `; d$ V; N1 l00404A3D |. 68 00800000 push 8000
! }2 M+ K2 i! J5 E: B9 o: I00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64] ) s3 ^$ m0 m5 q
00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
- H. A6 b1 r/ g00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78] $ Q% g' T* a- f1 J0 |9 m$ H* ^, [2 Y
00404A50 |. E8 8B060000 call 004050E0 0 U' q# K, a" q. Q
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
3 s I0 U; k, B4 E8 N* @* u00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 5 x/ ?* X( Q) I& z8 ^
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] ) X7 t8 A; a: Y& I0 P' i
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" _( k0 B# x; R( l {% Y
00404A6B |. 51 push ecx
" R& z6 {8 l$ [1 ]00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] + c B$ R; E$ y' {8 Z
00404A70 |. 6A 02 push 2
/ h; K+ C, b+ _5 K, o6 d) u00404A72 |. 52 push edx
- f8 S6 _) S* X7 V0 d' P# g' y00404A73 |. 8BCE mov ecx, esi
/ c# }$ V# _- b, j W# E00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 & f* E/ l- }6 H, t
00404A7D |. E8 6E070000 call 004051F0
* s/ m5 @( ~6 E I7 ? p3 h00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] - R6 X8 O2 [3 J; K/ w
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
/ _ b. X+ W- D9 N' V00404A8B |. 50 push eax 8 X) x6 V: M+ Q+ e
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20]
w8 q: P! Z! k2 s/ K00404A90 |. 6A 02 push 2
& _2 K; H& q; O' M! }1 f8 I00404A92 |. 51 push ecx 2 m( n; e6 P( }9 x3 D9 n/ C- M$ `
00404A93 |. 8BCE mov ecx, esi
: D2 B4 u. ^) o6 w00404A95 |. E8 56070000 call 004051F0 & {# V" i9 L# @
00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10] % t( e9 u# Y9 p- Q3 C1 \
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
O2 X: S- s1 Y' p$ H6 E00404AA3 |. 52 push edx t8 U8 e5 Q3 d( S% Y/ M% E! h- c
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
9 T$ ~. Y% W4 }9 K, q00404AA8 |. 6A 00 push 0 $ Q) E0 K$ K8 h; N
00404AAA |. 50 push eax
: @. [- i# o! U: P' g. j00404AAB |. 8BCE mov ecx, esi 4 F$ J' }" X! M3 c" @( i+ V
00404AAD |. E8 3E070000 call 004051F0
) x& W. P0 F9 p0 h, M8 y00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga" 3 t( ^$ F/ I {9 t2 p2 x
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
( Q( l, Q: ]5 I! D2 m' Y! I00404ABB |. 51 push ecx - p% `' t; A- v/ i
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20] - O: u8 k2 ?/ Q7 p3 A
00404AC0 |. 6A 00 push 0
; F5 I+ q4 j U5 a& I00404AC2 |. 52 push edx / z* G4 U9 j+ m' m% {; ] Q$ X
00404AC3 |. 8BCE mov ecx, esi
" C- E+ T [ u/ W7 S; z00404AC5 |. E8 26070000 call 004051F0 ' U I, l7 K" }- ^6 b j
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
! g2 l8 P' |4 N0 t8 k9 v* t" e00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
; |! e- K7 b" U2 r" G7 o00404AD3 |. 50 push eax 3 K+ y7 k- S3 L# y6 g
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] - g; }/ _: u! s& |9 b
00404AD8 |. 6A 00 push 0
) r& x! Q: N6 _' v* C) S00404ADA |. 51 push ecx
: _& E( x3 w& L0 ]! R00404ADB |. 8BCE mov ecx, esi
: r3 E* q$ M6 I00404ADD |. E8 0E070000 call 004051F0 . S( [" l9 `; P0 K, B3 Q( o i6 C
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] 0 A8 Z1 E0 a4 a* o- o# J
00404AE6 |. 52 push edx
$ U9 \6 I0 j, t00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF A2 n; E+ F5 V Y" u+ T
00404AEC |. E8 6FC5FFFF call 00401060 6 M# O& u. \1 B1 b& V, i. F' ^' Y
00404AF1 |. 83C4 08 add esp, 8
- Z, R. x) t4 A00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
; Y* ^% L0 R- A* b00404AF8 |. 6A 00 push 0
0 G6 x/ |8 t k0 y00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" $ @) M- H4 c) f+ S3 ?$ W, [8 b
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save 5 Q, w0 w- {2 w( S; F6 b F* ?# ?3 j
00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
2 `( b1 T0 c" y00404B0B |. 6A 00 push 0
* i2 z* O/ [& Z7 L! q t8 \00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
0 k! `) K, m8 S8 }00404B12 |. 8BC8 mov ecx, eax
' ?' w. t4 f- _* f: N00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath> 8 @- ~. I1 o4 A5 F# i- [
00404B19 |. 85C0 test eax, eax
% d3 |& G! A( m( y5 m00404B1B |. 7E 1B jle short 00404B38
) n r+ F2 I4 Y00404B1D |. 8BE8 mov ebp, eax , K# _( S6 y2 `* s, `1 E
00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
7 P7 F( G) W" K: I* U00404B25 |. 6A 00 |push 0 ( U$ P. U3 J, \4 E
00404B27 |. 6A 00 |push 0 1 X m1 {% {; b7 A/ i: Z
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
! c2 n8 F, B& v2 ~1 k* ?+ J00404B2E |. 8BC8 |mov ecx, eax
6 A: D ?9 z. @; J! a1 y00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> ( b$ A, O- O' D4 a4 I
00404B35 |. 4D |dec ebp & k [( c+ t: ~7 J- C
00404B36 |.^ 75 E7 \jnz short 00404B1F 7 J& I! I$ M5 {9 h- E! L( |
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
0 p1 K+ V/ `6 J9 J3 q1 ^/ K8 A3 ~4 u00404B3E |. 6A 00 push 0 " F/ C6 s( I" l8 e% L
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
1 g: q, i3 M9 p00404B45 |. 8BC8 mov ecx, eax , y0 ~ p1 o7 N" |
00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
( ~$ w# S8 x; L' Y00404B4C |. 85C0 test eax, eax
7 E' Y- }/ x" P% p00404B4E |. 74 0E je short 00404B5E . V( b4 \" p' P6 S$ d
00404B50 |. 50 push eax
, k g7 a3 h6 d; h00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" ! L) T/ Y0 o6 W3 Q7 i
00404B56 |. E8 A5C4FFFF call 00401000
' y+ h& `8 r; E0 ~9 e4 J00404B5B |. 83C4 08 add esp, 8 % r. i' m& x0 E& d4 L3 u, }
00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
+ z% z. r" ~+ F7 |4 t! V+ X, {2 v00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
8 o6 i' q' B% y! e2 x. j00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString 0 X7 S9 Y' u- J. D. S0 q$ g
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
2 x, d: s9 R6 M0 N/ o4 c" Q00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
# ~) T. P, J \2 o' s' K5 k00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] ' ^7 c4 Z7 T, F% q* _
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 1 P3 i/ I( S# Z
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
; p, l6 u* q/ b. x. g% b" x- q4 W00404B85 |. FFD5 call ebp
- Z, R# F" t# a9 M7 Q$ g2 n00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
% X: K" v* I) c00404B8B |. E8 E01F0000 call 00406B70
$ ?4 Z) f" G+ R5 H( k00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44] 7 q" F2 F+ |: o
00404B94 |. 50 push eax ; r& o: ^4 a1 M: j2 D
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> S( _: I) c# n& A
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C] 7 S: v4 x( Y8 g4 x
00404B9E |. 33C0 xor eax, eax 9 P; ]' \4 ^ @2 y h
00404BA0 |. 51 push ecx 3 P2 _& f! Y9 n- r: a6 Z
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
2 \$ H; u( @9 Q+ r- X5 X: p00404BA5 |. 894424 50 mov dword ptr [esp+50], eax / B+ a2 C( F& N5 U- \' y! B: m- H
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete> ' w/ S# j1 r$ S4 T$ h
00404BAE |. 83C4 08 add esp, 8 " r. l$ D7 x l" S& }5 J2 r
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
. w" Q4 I$ B# t! K' y00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
. a( g# L. m# j; V00404BBB |. 6A 01 push 1 % d# R' T6 \8 e5 W* Y- ^6 H; f
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
; C8 F0 }" @+ S. c00404BC1 |. E8 3A1C0000 call 00406800 5 P; U, v; a! |
00404BC6 |. 6A 00 push 0
& }7 ?. i2 X0 \( i. W O00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
( c, J) k' y% o! k" y5 i- \00404BCC |. E8 4F1C0000 call 00406820
, |6 X n4 M* C; @00404BD1 |. 6A 10 push 10 ) A0 B$ t( W F. U+ s$ ^
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
4 b k( c$ a( H8 G/ ^00404BD7 |. E8 841C0000 call 00406860 5 q8 ?5 c; e# ?* E) ~ ~
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] 6 V; T9 g, ^! f, w$ _- v
00404BE0 |. E8 FB040000 call 004050E0 ) _# e$ }9 K% X$ n. R9 h* j) t
00404BE5 |. 68 00800000 push 8000 / M3 K) H; z6 O5 \( p6 @% o
00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64] / v' i& M% _' \5 E( h: P
00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
) t, F! J' G- j6 z3 v0 a) J8 M00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] # `* I. B4 j& l8 ~% C0 s% I
00404BF8 |. E8 E3040000 call 004050E0 9 Y9 z6 t# B5 t/ ~
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
/ ^/ J+ B0 V3 N5 B00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
: ~+ X. A [. ]* g00404C0A |. 6A 00 push 0 % p5 r. j _( w! M: A- v& b3 u! t6 f
00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14] ( ^3 T9 Y8 Z3 W) F: T* w) v$ I# S
00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
- |) t5 V* M% f: K! j# g Q00404C15 |. 52 push edx 9 `) w" x* E& ?& ^: G3 z. t$ N
00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24] n0 i* d* k: r1 H5 a" D
00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
4 J& B8 P; e1 H3 j00404C1F |. 50 push eax % G$ w; }: o- B9 u$ w, T
00404C20 |. 8BCE mov ecx, esi # z/ s4 Z# l! |2 ^
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0 I& W: l* Z5 _# X* x1 Z
00404C2A |. E8 61060000 call 00405290
" e5 H) d2 M$ @$ R' n! F( [0 m00404C2F |. B8 58B44000 mov eax, 0040B458
) [& x( M7 N1 _$ J! q00404C34 |. 894424 14 mov dword ptr [esp+14], eax # l) W1 v3 r5 g* U: o6 F7 N
00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4] ! }) a v4 ^' X7 q7 Z* L
00404C3B |. 85C9 |test ecx, ecx / K% i$ R" J7 W9 B. l- ]7 N$ C
00404C3D |. 75 39 |jnz short 00404C78
; V& s! P0 I. l; F9 l00404C3F |. 8B08 |mov ecx, dword ptr [eax]
$ ~, w6 ]7 }( I$ h00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
3 V- S! I; k) i/ T00404C48 |. 51 |push ecx # S/ A( j& s3 Z# P
00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\" ' n) m6 K n* z
00404C4E |. 52 |push edx % T8 C; X0 F; y& c
00404C4F |. FFD7 |call edi 2 V0 B b) o' n) Z* O
00404C51 |. 83C4 0C |add esp, 0C
' F4 r) A- ^7 l% L7 S( g% N00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] . t. n; l2 s! b, R$ ^" z
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] 6 c1 |: E, g, o0 J- C8 w* o" N
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18] % q7 K/ j u. [$ p$ R0 g
00404C63 |. 6A 00 |push 0 : \2 g4 k/ ~- ]# z* g$ Q
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo"
# C$ u7 ?1 e" C2 Y [00404C6A |. 50 |push eax
" l& r4 I) V& d$ c$ I4 f& j00404C6B |. 51 |push ecx
0 I+ h+ t s1 c( t) W- I00404C6C |. 52 |push edx ) D% q6 ]* T6 ]2 @# _. ~, |) @
00404C6D |. 8BCE |mov ecx, esi
$ K9 J" a b' k) Y* `% ~# {9 u00404C6F |. E8 1C060000 |call 00405290
! B M2 u: H& h00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
' \+ f6 U8 Q8 R00404C78 |> 83C0 08 |add eax, 8 s6 Q. ~$ y; j
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
; u( z m6 [# o; P$ ^4 y& a00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
7 ]7 ~8 K9 U; i& b00404C84 |.^ 72 B2 \jb short 00404C38 ) g* ]" J" A) P5 h
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] , d4 f( b! Y& J" F) b
00404C8A |. 50 push eax - r9 U1 \. w5 Z# T
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF 5 s" Y: @8 O. _, W8 d8 D
00404C90 |. E8 CBC3FFFF call 00401060
1 K3 D2 _+ w# D" s% W! m00404C95 |. 83C4 08 add esp, 8
# n# F/ ~: y% P: f; k00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ) S& S8 I5 q. ?: g7 ~ ^
00404C9C |. 6A 00 push 0
+ Z4 E$ {3 d6 n* @$ t; ^( `; w00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb"
2 P1 D$ ?& K: m0 {( \0 Y: U9 s00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
; O1 z, B, b$ d! m$ O% v2 b00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
4 U; n6 P: T4 y00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
0 y: k% ^9 {9 d' G00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
9 L* U6 ^: j% `+ y, N0 Y/ Q00404CBA |. FFD5 call ebp 4 F K) T5 ?+ h( J$ ^! B( `
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
; o% { I0 M+ f* i) `00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 5 g% A% n0 {8 z. }: M% p2 D
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58] , Z) X7 v, l2 S; a1 y
00404CCA |. FFD5 call ebp - j `2 S: _6 P7 H2 r) o
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] 0 W X8 G1 [7 L( S- d
00404CD0 |. E8 1B1D0000 call 004069F0 2 c0 x& c6 q. B& Y6 t5 _/ H: p$ \
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] 9 F9 `6 O5 D! k# T
00404CD9 |. 51 push ecx $ H! @9 m8 o s; ~9 ^$ ?8 N
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
: t7 b% k; d2 q8 \00404CDF |. 83C4 04 add esp, 4
2 T3 f/ l9 y' I0 e3 v00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
7 X) y0 h2 w: _% f- ^00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator * b1 u2 P; |0 _$ z6 w
00404CEC |. 53 push ebx
$ Y, G& z$ c4 P# g1 h" g% q00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
- @2 d: B, R; n* D7 a0 w1 }7 `00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" ! Z6 c3 Q, ?. W
00404CF9 |. 52 push edx
( g4 S6 S9 d8 S& m00404CFA |. FFD7 call edi ( t1 M: a( E3 s, U/ l
00404CFC |. 83C4 0C add esp, 0C
/ Z Y6 r0 y3 e9 v: C5 T5 W6 o# D00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
4 x0 F, g3 j, @/ b4 ?/ l' p% E00404D06 |. 8BCE mov ecx, esi 5 Q4 _" a3 u6 V6 c
00404D08 |. 50 push eax
$ ^6 h( b% d9 m00404D09 |. 6A 00 push 0
& @5 X2 A* I* ]9 v00404D0B |. E8 F0060000 call 00405400 $ L5 Y3 g0 z: }" B' y; W) l( F
00404D10 |. 6A 01 push 1
4 P7 ?( R5 a: u$ W- P# d& G' O6 c00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C] ) c# N, o2 c+ p+ Q, l
00404D16 |. E8 E51A0000 call 00406800
3 }+ s/ N$ T2 ^( c1 z! ~ l1 X00404D1B |. 6A 00 push 0 O7 ]3 M. K: s9 L5 g1 B
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
7 e& ^ I/ ]( r) c9 b00404D21 |. E8 FA1A0000 call 00406820
7 b# q- X+ X Z00404D26 |. 6A 10 push 10 0 I' d2 R. M1 J7 C9 G3 m! I" \; j
00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
) ^6 v5 w; T2 I, D B3 Q9 Y1 l1 P- E00404D2C |. E8 2F1B0000 call 00406860 6 m0 N2 T5 T9 l7 ]& @
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
5 O, N7 y4 @7 D0 `( M4 |% v00404D35 |. E8 A6030000 call 004050E0
! n2 I* n2 p9 U4 m. \00404D3A |. 68 00800000 push 8000 0 E% E7 N- x+ A7 I w# `( t
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64] , V) f b- j) }& y. D1 D3 G1 J$ D. D
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile 6 @( M9 G( S- b- z. r: _! ^
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
" w1 z/ f2 R8 ]9 M$ W00404D4D |. E8 8E030000 call 004050E0
; C' L y) s: v. r5 P( f00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
& s# ^% q O) R) r% l00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
; ~ \! [) _' } ?$ ~1 c00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
% y* D3 c0 ~; J; Y00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
' R8 @4 n0 `0 h1 _00404D68 |. 51 push ecx , |7 `' H+ A) j9 [
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
4 P* e+ v: f% X: A6 g1 I& R00404D6D |. 6A 00 push 0
- Z/ n# P! N+ s- ?0 n5 l00404D6F |. 52 push edx 5 x2 t. T6 u9 W/ G+ v1 w: F, H; E0 S
00404D70 |. 8BCE mov ecx, esi
; n3 ?( u7 d9 F/ _+ ~& H1 p00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 X7 ~, z$ {3 l; }/ c
00404D7A |. E8 71040000 call 004051F0
: _% r& {: R3 E1 o00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10]
/ K* v; p0 I% ^+ U; ~" o00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
! }0 q$ P/ p4 Y) X- }) l }7 S00404D88 |. 50 push eax
1 w6 `) S* c1 F- m+ Q6 a00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
& L9 Z5 Q0 [" F" z5 L2 _00404D8D |. 6A 00 push 0
4 K) y1 M/ \2 J00404D8F |. 51 push ecx
* k( x; S! b( o# ~8 r00404D90 |. 8BCE mov ecx, esi
! l+ d" X2 x/ P& x M b" `" j00404D92 |. E8 59040000 call 004051F0
! b0 U2 s# w9 {0 l- L" Z& t, v2 A( A00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] + Q1 s7 H7 k* \% w# H
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
I. b1 K- Z+ ]7 \2 H/ Y# S00404DA0 |. 52 push edx 8 `& j7 }: h, D
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
; Y5 |& I+ ?% V; W0 Q" w00404DA5 |. 6A 00 push 0
% q6 f9 O0 O! H) A2 q" @5 t00404DA7 |. 50 push eax 0 E4 k8 g( U7 T' m0 d4 @) I2 x2 H
00404DA8 |. 8BCE mov ecx, esi
1 F! J+ S5 D5 C4 n) X U00404DAA |. E8 41040000 call 004051F0 1 i, ~$ v% p. j8 m
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10]
# g7 J" d0 Y w3 o6 ?00404DB3 |. 51 push ecx [ }; G0 g0 c. N3 U; f2 W
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
6 H: f, r1 B/ k1 t+ V! U00404DB9 |. E8 A2C2FFFF call 00401060 . h8 j6 e' V4 t5 _* n
00404DBE |. 83C4 08 add esp, 8
% D0 o$ L$ q! g. k/ U00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] & {7 C1 H- j/ Q9 E
00404DC5 |. 6A 00 push 0 , V0 G1 W' r6 Y8 A/ K u+ C2 j8 z
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
! o; `5 q$ O6 k4 S* s; I$ p, H* a2 g00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
# X4 p. e3 g) F5 h2 O L: y00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
4 Y8 L3 p" W) c; `' p9 Z00404DD8 |. 6A 00 push 0 ; Y( Y( ?' E- _' _1 v# m
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> : B5 U# i# ]* j
00404DDF |. 8BC8 mov ecx, eax
" x& z% L f9 A( t0 U, C00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
$ T8 C* `$ _) ^9 M) ^& X( E2 p+ C5 _, J00404DE6 |. 85C0 test eax, eax 6 ^ B' ?& Q2 r- H* Z: P
00404DE8 |. 7E 25 jle short 00404E0F
T; a2 g% g$ |00404DEA |. 894424 14 mov dword ptr [esp+14], eax
- `0 V7 X( \3 J* |1 C; t00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
# V' \1 d$ @- G6 y1 o00404DF4 |. 6A 00 |push 0
5 f3 g0 a% d) K) ~$ y00404DF6 |. 6A 00 |push 0
9 o/ R! \( h4 H+ q00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan>
1 H9 r/ V0 ? o. e6 d3 j00404DFD |. 8BC8 |mov ecx, eax $ E% R% ?# ?. ^, S) d4 f' \
00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> 0 }) }/ j* P8 x. k6 K3 _
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] % v5 D& o) V# q2 X9 A
00404E08 |. 48 |dec eax
# H. a! X: g- g, q! w+ q00404E09 |. 894424 14 |mov dword ptr [esp+14], eax ) W! L, d) b9 u: ` r# _& h
00404E0D |.^ 75 DF \jnz short 00404DEE # m/ k1 ?8 c. E$ [! i
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] , H1 H2 a# @/ g# M) S. g$ S$ \8 N
00404E15 |. 6A 00 push 0
- F T8 g2 M* q00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana> " |, p+ c m: D7 Y$ t3 k5 T1 p
00404E1C |. 8BC8 mov ecx, eax
! v* [: H j/ \' r, }- J8 y/ `" G00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
+ r& J; h4 V/ u& B/ K' R00404E23 |. 85C0 test eax, eax " d# L; x5 o4 _/ w6 t2 _
00404E25 |. 74 0E je short 00404E35 / _3 _/ \$ }8 E& Q( A, k! E8 ]4 j
00404E27 |. 50 push eax
& x' ?, b' ]4 M3 ]- ]0 P00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
' c& [ {$ F" ^& ^1 V) N00404E2D |. E8 CEC1FFFF call 00401000
* ?5 ^" G8 J& k) x* E00404E32 |. 83C4 08 add esp, 8 3 G3 h4 P+ }7 {- Q' |& H. n
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
, i6 z1 I1 @$ X( y2 N/ E00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
4 o+ A* B1 ?, X, o% ]% y00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78] H( G6 G7 d r0 S
00404E46 |. FFD5 call ebp 9 W+ G [0 t$ ?. m/ A: \( R, O6 _2 a
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] / k& y' m7 c% i" ~& H. J3 q' o. Y
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile 5 p2 G6 T: M( s0 }' Z
00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
6 h: B8 G+ m* w, w" o00404E56 |. FFD5 call ebp
( g J/ z- K" R+ K. p0 {/ P5 h00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44] ( d" m U* @9 C. k3 O
00404E5C |. E8 8F1B0000 call 004069F0 ( ?4 f3 B; d; J
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] : a2 y r! C/ h9 J
00404E65 |. 52 push edx
# m7 r: T2 a/ A; `# @00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> 4 {) d, x5 D$ T
00404E6B |. 83C4 04 add esp, 4
, o5 J. Z: S! ^/ a w9 c+ q00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
8 c7 m- d R. X2 L9 h00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
1 ]( X- o; y* w8 W- I00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] - h. \, |, D' }0 b. B) N
00404E7C |. E8 6F020000 call 004050F0 2 r- y. @/ O8 r/ Q5 A: d( {; `# _
00404E81 |. 6A 00 push 0 8 a5 c$ X6 Q G% y3 x; A/ ^( w
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
. I" M' f* u& P4 D00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
0 ?, F% F7 m: ]; W8 f00404E8C |. 50 push eax
) z" X* c/ ]3 X8 i* h% o+ e00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] " \; g" x0 P; p, U$ S9 [! w. T
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" 1 @ }; W# M$ L# ]& Y1 `
00404E96 |. 51 push ecx ( x7 {4 e$ X& O, m- j
00404E97 |. 8BCE mov ecx, esi
1 c* |5 c6 f" I' O, ?00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 & R& K8 K' i7 C7 R
00404EA1 |. E8 EA030000 call 00405290 . T, ?# K% Q6 r6 p. O
00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10] , h: u& h7 ]* G
00404EAA |. 6A 01 push 1
- P1 I& X5 x y! L4 s: S0 Z00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C] 9 o9 R) o8 c1 m% H) N% G
00404EB0 |. 52 push edx
+ X) g4 k! G" [: p1 X$ ?& _00404EB1 |. 50 push eax 0 b* e/ }8 B: H
00404EB2 |. 8BCE mov ecx, esi
# u3 o, _% p0 P00404EB4 |. E8 E7F9FFFF call 004048A0 ' d: }$ @1 f# O( H
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
2 e6 P% j2 [1 R00404EBD |. 51 push ecx
+ W4 `. x6 c$ ~00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF & g. A. C% L( P' Q1 M6 i5 y, Q
00404EC3 |. E8 98C1FFFF call 00401060
) b5 U. U- e* ?00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
u, Y% \: |( J2 }00404ECE |. 83C4 08 add esp, 8
% B0 M b) R) c, @/ ~00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
5 R0 v$ v# z c# K7 n2 X00404ED5 |. 6A 00 push 0
0 l3 k4 p! R& |$ Z9 J# x: e00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
$ o6 M9 X9 N# F: J4 X3 {' z; i00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save>
/ P: C/ Y( M O( Z00404EDE |. 6A 00 push 0
; C8 G0 ~) u+ i4 z- W/ H8 }00404EE0 |. 8BCE mov ecx, esi
" i6 ^9 P, F' ^3 l00404EE2 |. E8 39FAFFFF call 00404920 + v; k; ?* s) c! o5 G
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] , {, {5 f( }) o, i! F, j8 p- p
00404EEB |. E8 A0020000 call 00405190
+ v. |6 D( M$ F. Z$ {00404EF0 |. 53 push ebx
, U6 p' }2 x: Q. _6 ]8 B/ T00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
$ `/ m/ h; J' l. _& G* ^7 ~00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
1 M$ l. F' A9 I+ N00404EFD |. 52 push edx ) G" A, d2 q2 G* x& S6 w/ ^
00404EFE |. FFD7 call edi
" m! w, S7 J: x8 E- {9 M00404F00 |. 83C4 0C add esp, 0C
8 y& N/ p- h. l/ c7 }- d00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88] . Z: |5 m9 A1 x0 x) y3 I
00404F0A |. 8BCE mov ecx, esi
' n7 t5 _9 a6 b+ p4 k8 d00404F0C |. 50 push eax
0 E# }" s7 D, h0 u00404F0D |. 6A 00 push 0 + q5 ^( j" W2 x9 b% ~" d& e
00404F0F |. E8 EC040000 call 00405400 ; S5 g2 N6 V% {$ u# e4 ^" G
00404F14 |. 53 push ebx
/ r. F2 J @; p) c; n4 M00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C]
# D. Q$ R S! z" k00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_" ( C5 v- [' C" @3 N8 a
00404F21 |. 51 push ecx
: u9 ^6 Z, C5 H00404F22 |. FFD7 call edi
. B* V2 O4 L j+ q" y8 K% B2 E3 X00404F24 |. 83C4 0C add esp, 0C
' B) v( I- N4 m% c00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
! X7 a* H3 X, p0 g# u7 a4 W00404F2E |. 8BCE mov ecx, esi
4 ]) n8 y1 h, b) o! E00404F30 |. 52 push edx
" L0 `1 Z8 ^/ W/ L+ N6 ^# F ~8 _" L00404F31 |. 6A 00 push 0
+ X! N0 r3 R3 Q! y; d; q00404F33 |. E8 C8040000 call 00405400
! g+ ?" v% m1 u* H% I: t Q00404F38 |. 53 push ebx 6 Q4 f8 l" T j7 d/ A( k
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C] / x& H/ r6 d3 z. l3 J6 Y, ~1 \7 k
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
+ W/ o' M. l9 i3 ~4 p- ?; y, P& g4 Y3 @00404F45 |. 50 push eax
3 {2 k. b0 V2 k4 @- _00404F46 |. FFD7 call edi 5 M6 x& ]. T1 X$ k% R5 w
00404F48 |. 83C4 0C add esp, 0C ' ^5 M% l# M" _. A6 \: O1 `" l6 ]1 r
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88] & Z" h6 l: Q2 B1 u% a
00404F52 |. 51 push ecx 6 v- [4 _& [, i' q9 I: @- u
00404F53 |. 6A 00 push 0
+ r S( }1 H8 @7 C/ I00404F55 |. 8BCE mov ecx, esi 8 |. _, [" E) P- h e
00404F57 |. E8 A4040000 call 00405400 " f7 Y% _: ]" }1 B4 Z4 ]2 T! e
00404F5C |. 53 push ebx 6 R! E- _4 {& z) T5 x5 p0 B
00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
/ E0 v4 N% b! ]00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" 3 m0 k4 d6 V/ K6 O5 ?6 O( _8 |
00404F69 |. 52 push edx
( f1 k* |2 m8 a+ ?3 Q* n00404F6A |. FFD7 call edi ' H+ x5 m$ `4 `) e5 I. P9 ?- b" J Q
00404F6C |. 83C4 0C add esp, 0C ' A: }* C3 Q6 Q( u/ w7 A+ X
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88] 1 W9 @4 C. k8 p. v8 Z8 G
00404F76 |. 33FF xor edi, edi 9 J5 \/ u0 l% {/ g( L
00404F78 |. 8BCE mov ecx, esi # l! A0 k0 Y! O" d7 ?6 C7 }. c
00404F7A |. 50 push eax 8 X, y8 I& r& Z/ Y# R
00404F7B |. 57 push edi # }' v3 Q7 {! F& }+ m2 C5 p
00404F7C |. E8 7F040000 call 00405400
7 L' u1 Z& w+ C) K& T; `00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
; j6 [3 t6 ? z: A6 A00404F85 |. E8 66010000 call 004050F0
4 X* F! @( ~; ?1 ?6 ]8 d1 j" Y00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10]
; Q$ x( E+ [2 a' s00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" " Y8 k( I; K, g5 \2 g5 D e2 d9 b
00404F93 |. 51 push ecx
. q+ S& e U' t3 \00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
6 G& z+ B) T, t$ x) M7 J$ x00404F98 |. 57 push edi
& Y' M! k& d3 j0 x00404F99 |. 52 push edx
, R1 v2 _6 D$ ]) z8 V" g( @00404F9A |. 8BCE mov ecx, esi
5 z" z$ D4 X. ^7 U+ D1 x# X2 N00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
& o) S% O* W8 S5 h% Z! n00404FA0 |. E8 4B020000 call 004051F0 0 h a4 {$ o4 W4 d$ V; ~
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10]
]: Q$ p* N4 p: t, M3 a00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
6 W$ S) g& h, m00404FAE |. 50 push eax 5 W( D; R0 ^4 I" J
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
1 _; Y( U; k6 R1 h5 t1 I00404FB3 |. 57 push edi
4 ^5 r! B! z' X; P6 j00404FB4 |. 51 push ecx
2 J; d3 S+ s* _2 A: ~) x; h" a00404FB5 |. 8BCE mov ecx, esi & E" R: b! T# W, t/ r1 z& {
00404FB7 |. E8 34020000 call 004051F0
+ g; W1 N% k8 ^2 w0 [$ S# |00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10]
5 M3 y) i" T/ V5 d00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png"
3 \7 l) ^. ? J) {: v00404FC5 |. 52 push edx
- W2 q& `# K% F1 f: Z- _( ^0 J00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] 3 m0 S+ s; n: t- U7 t
00404FCA |. 57 push edi
! X9 V3 j* j5 b$ Q4 n9 z* @00404FCB |. 50 push eax
! s, [3 w- j8 L f* w9 c00404FCC |. 8BCE mov ecx, esi ; e6 j& w9 C1 U+ E
00404FCE |. E8 1D020000 call 004051F0 , q) G5 J! S" j( M% R/ K
00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10] 4 Y# p. d0 U# @8 |
00404FD7 |. 51 push ecx - n3 s5 V" [: K* z: w0 @
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF 3 e5 v: H6 ~' W; a9 z- t
00404FDD |. E8 7EC0FFFF call 00401060
2 p. i3 o9 m& o: C! o00404FE2 |. 83C4 08 add esp, 8 ; T1 ]- J% D1 G7 ?0 D c! @1 n" ~
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
; s2 l+ X, ^) J& |; R00404FE9 |. 57 push edi 3 W5 G' W- D: U7 t% a- x& o# B
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb" 6 }* O6 j# ^6 m/ i4 m- s( [
00404FEF |. FFD5 call ebp # l' {& n' p0 h" Q! c. U B8 F
00404FF1 |. 57 push edi / {- a$ r& {+ f% Y' b8 t
00404FF2 |. 8BCE mov ecx, esi
& x# |! Y& N( I+ R00404FF4 |. E8 27F9FFFF call 00404920
* P$ l y, ]# {# D3 y00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 8 M$ ^9 d' K( n R
00404FFD |. E8 8E010000 call 00405190
0 ~ P& q8 \) X6 f00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18] , H; L- \" Z6 i; @" K2 c' c2 {
00405006 |. E8 E5000000 call 004050F0 6 S* U$ F0 ^+ J/ }) {2 s) t/ ~
0040500B |. 57 push edi
7 x6 n8 S% a9 L0040500C |. 8D5424 14 lea edx, dword ptr [esp+14] $ m6 |+ r2 ?$ ]# [' L$ ~) Z
00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik" $ b8 V" }0 z" E' _7 y- Z/ z) u
00405015 |. 52 push edx 1 f7 U; G; E0 L, |9 H
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24]
' C5 b* M3 s$ A& A0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
5 {. e- N8 y7 j v# `0040501F |. 50 push eax
1 n& m, z1 |0 T) F00405020 |. 8BCE mov ecx, esi
- a+ E" V3 {: ^$ Z8 g1 b' {* i/ Z00405022 |. 897C24 24 mov dword ptr [esp+24], edi : b- V3 T$ d; y2 m0 `- ^( n
00405026 |. E8 65020000 call 00405290 7 u* V5 U0 N8 q% Z' F+ ~
0040502B |. 57 push edi
6 @+ B. a0 A3 D4 n1 m0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] 7 ?) l6 \& X+ n3 ?1 C7 a: b
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
, ^0 a1 O1 a/ n' b# k7 a00405035 |. 51 push ecx ! {, f1 o3 \ P% f+ r& O5 Z
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
2 S3 B9 E% e a- L, \0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
3 R8 q0 \) y: e3 Y, Z- M) m0040503F |. 52 push edx
3 q& G9 \% H, ^$ t* T) j7 A00405040 |. 8BCE mov ecx, esi
7 n9 h( Q6 L* L+ H( Z. b! ^00405042 |. E8 49020000 call 00405290
& O2 ~! C3 U' v" x& q* ~* A# \- R00405047 |. 57 push edi , l; v5 h" U* \4 [
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14] 8 F; I) h6 B0 T# V$ p9 V( ^% l: u
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
9 H, I' I ~& P4 B( u" `00405051 |. 50 push eax
+ M. _/ x% _( |1 e+ K6 L# x+ r* G00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
# P. S7 W8 q# a00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28] 8 G" ?& Y0 O8 u
0040505B |. 51 push ecx
) @9 @" {. O8 T! a' V' M5 [0040505C |. 8BCE mov ecx, esi 0 P! m1 b1 z. P( ~: d& n L
0040505E |. E8 2D020000 call 00405290
0 V @0 M! c+ Z* J! U6 O2 ^00405063 |. 57 push edi 2 g( A6 x! a, G
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] 7 H; l) P- i2 H# o/ Q: P; r9 D
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik" 8 X! u9 ~. P6 s0 I. y, l1 `+ ^
0040506D |. 52 push edx 6 O4 _1 O- E; y) G$ P* R$ r
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] 6 l# [. g' j( d9 ?
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\" 5 Y6 I" Y9 n7 f2 k( f. K
00405077 |. 50 push eax 1 Y% R0 W7 {# @" p
00405078 |. 8BCE mov ecx, esi ) S7 e. L' d* ?& M) t- X
0040507A |. E8 11020000 call 00405290
# {* p. [) P8 i% U. u0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10] & f/ u+ s) v7 ~. K3 ^$ w, v* |
00405083 |. 6A 02 push 2
: ]+ q/ a+ }) Y% [00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] 3 j$ B: a& T. R# q [$ K, X, I- u
00405089 |. 51 push ecx
8 r( u& D3 E; a' y" W9 n5 }5 h, Y8 i0040508A |. 52 push edx
( e" ^; [+ l2 ?7 J% Y+ _0040508B |. 8BCE mov ecx, esi
. |4 k2 S4 V; @' L0040508D |. E8 0EF8FFFF call 004048A0 ! Q; U- o. @; I& r9 i/ M
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] 0 Z- \: a6 k* _ G4 z2 R
00405096 |. 50 push eax , ?8 R. u" Y8 l8 v q! w
00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF / b! N4 `1 L2 H$ Q6 a
0040509C |. E8 BFBFFFFF call 00401060 % E) p9 U# B# _0 `$ c. R
004050A1 |. 83C4 08 add esp, 8
@3 |5 m. c: N3 C6 @! \0 y004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 7 I8 K. P, s' Q
004050A8 |. 57 push edi
9 K: N* L/ |3 L1 k004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
( l4 h6 ~- Y: k5 p) H; o( M004050AE |. FFD5 call ebp ! g1 P: o$ U" a/ R
004050B0 |. 57 push edi ) _6 ^1 Z9 t8 ?7 F5 `: x
004050B1 |. 8BCE mov ecx, esi
; k+ Y& V* ^# H* f* C- g+ g004050B3 |. E8 68F8FFFF call 00404920
) g5 `( E0 ? v" e004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] * [# S7 L. b: O+ _5 D% o6 b) h7 f
004050BC |. E8 CF000000 call 00405190
+ K. f+ B) R/ a* k a004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
7 W* e) N/ V) m. n; A5 l004050C6 |. E8 35BFFFFF call 00401000
( j1 u7 F# Y% A% A K004050CB |. 83C4 04 add esp, 4
4 `. P# I* ~0 d: I$ k! Q004050CE |. 57 push edi ; /status
3 b# d- w% }0 m6 W) e' Q1 M# ~004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit 6 Y: N" w0 Q! A) U9 k- P
004050D5 |. 5F pop edi
: ^" p$ J+ _7 J' i004050D6 |. 5E pop esi
7 X4 K2 e6 p, i3 Y004050D7 |. 5D pop ebp / G0 x1 M( }# M5 L+ z9 W
004050D8 |. 5B pop ebx
, \2 T/ M$ O& p: ~" g004050D9 |. 90 nop
4 T J* N5 S2 a3 L% }! H& B004050DA |. 90 nop 5 m' K$ F( f; M. J) V# V
004050DB |. 90 nop
, k; X& L/ y$ y, r% a- p004050DC |. 90 nop
$ `' j1 {: T( l# ^* U( M. P& |004050DD |. 90 nop
! s$ d7 y& k' D1 ?' Z004050DE |. 90 nop
/ w( B2 t Y: e* R# p7 r004050DF |. 90 nop * |; ?) Q: M4 a( y, w
004050E0 |$ 8BC1 mov eax, ecx 9 A: q) O3 ]& G$ K* \9 v# v
004050E2 |. 33C9 xor ecx, ecx
: [/ ^4 ]5 E& @) ^. F004050E4 |. 8908 mov dword ptr [eax], ecx
+ \7 _4 ~) `3 b004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
4 I5 H: |0 w% n% Z$ E004050EA |. 66:8948 06 mov word ptr [eax+6], cx
4 x$ ^$ B3 d8 y004050EE \. C3 retn p! G6 L1 u3 ]3 ~
004050EF 90 nop % l2 K+ n, V1 F+ u
004050F0 /$ 53 push ebx
6 d9 I1 k; T! X% ?004050F1 |. 55 push ebp 3 o! F4 `1 G$ B D! d* J
004050F2 |. 56 push esi
$ k" @3 \ T, `7 s& ~004050F3 |. 57 push edi
7 i) Q1 [+ o: I8 x' F, q004050F4 |. 8BF1 mov esi, ecx , u+ z8 a) z% K" L" a; u4 k
004050F6 |. 6A 14 push 14
. u# F9 d/ t$ ?3 d+ t3 l% f004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator ( O7 e" g$ p+ _, Y# q6 {) i
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] * W& s8 B; J; X' L" q3 _* M
00405101 |. 33DB xor ebx, ebx
+ y4 ?( c9 Q, f/ E: d. r' {00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 " y& W. i3 n8 c! ?5 i
0040510A |. 895E 28 mov dword ptr [esi+28], ebx : ~& [ G) K; v( d. E
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
0 L$ k" k: z( Z$ F" k00405110 |. 895E 24 mov dword ptr [esi+24], ebx
# R2 @" D# w# [1 T/ I00405113 |. 895E 20 mov dword ptr [esi+20], ebx
+ L0 L! O I- E8 e00405116 |. 895F 04 mov dword ptr [edi+4], ebx 7 d% [' }5 W) L' Q; _
00405119 |. 891F mov dword ptr [edi], ebx ) S _3 D6 b9 z V
0040511B |. 6A 10 push 10 3 s3 ]/ k8 d% j
0040511D |. 8BCF mov ecx, edi " z7 ~$ M! q, D3 l8 D' B% H
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx 2 i$ {9 V. A# ]1 O* M' v+ X- s
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx % X8 i; I2 V1 k
00405125 |. 895D 00 mov dword ptr [ebp], ebx
, H: H m) X, q' ~9 Z4 b00405128 |. E8 F3180000 call 00406A20
$ w/ S: r( G3 U2 _; m% C7 z0040512D |. 8B07 mov eax, dword ptr [edi]
+ B! Z" M9 B& c. Y( E+ ~( R0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
# n p* S: Z6 D% Z; o8 r8 e3 {00405132 |. 3BC1 cmp eax, ecx 4 U N" S# l- E& `) O
00405134 |. 74 0C je short 00405142
- X' w) v: a6 c0 ^/ o1 X00405136 |> 8918 /mov dword ptr [eax], ebx $ `9 ~$ r* n& D/ v8 i; Q) }
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
; o& D2 V8 `0 \* y, {0040513B |. 83C0 04 |add eax, 4 $ v* M3 ?) M0 d4 D$ Q+ H- N
0040513E |. 3BC1 |cmp eax, ecx ' ~6 D) O' U s x& e ^
00405140 |.^ 75 F4 \jnz short 00405136 : t# D! l& p- u y( C/ f
00405142 |> D905 3C934000 fld dword ptr [40933C] |6 S5 L3 e. E0 B0 R
00405148 |. D80D 40934000 fmul dword ptr [409340] ! W% \1 A6 J: b) A g
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
. q6 P2 N7 v8 b3 m; X7 z00405153 |. 50 push eax
, Z+ ~; M( `. T) {" x00405154 |. 8BCD mov ecx, ebp
" ^- o8 C0 W5 A4 N% U" R6 H00405156 |. E8 65190000 call 00406AC0 9 M, K+ _7 ^7 K6 l& P" Q( d
0040515B |. 68 00800000 push 8000 - m9 o0 E' I0 Y- f S
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
4 @' f: K+ a4 O0 Q1 M3 |00405163 |. 895E 40 mov dword ptr [esi+40], ebx
1 r1 m: }" ? F4 {# W00405166 |. 66:895E 44 mov word ptr [esi+44], bx
& ^* D# b+ h0 ~" E) T) s; B) l# e0040516A |. 66:895E 46 mov word ptr [esi+46], bx - J% ]) I$ b! G. s
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
! Q. C: d3 R4 A$ T, [8 \" ^: m6 S00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] ; d3 Z$ `. f7 O. A" U
00405177 |. 895E 60 mov dword ptr [esi+60], ebx ; x' z2 h' @( b% K# v8 e) z
0040517A |. 66:895E 64 mov word ptr [esi+64], bx ; G9 R o, l1 S. ?
0040517E |. 66:895E 66 mov word ptr [esi+66], bx
7 ]8 ]* W4 o# X; V! _4 B- H3 p00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile , y# I8 _5 a" k7 \
00405188 |. 8BC6 mov eax, esi
: E; F( j0 x8 h F! m$ n3 m; L, P! k0040518A |. 5F pop edi 9 s7 `5 O8 n' @ G6 r
0040518B |. 5E pop esi , F( ]. Y3 \' s9 U) H' U( ~# }2 W
0040518C |. 5D pop ebp 4 y- j# Y' E) ]# s8 u) s" Z' d2 |+ A- Z
0040518D |. 5B pop ebx ' t3 v8 Q* U% c; q% e$ q. y" F9 N3 ~
0040518E \. C3 retn |