在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
# E6 u- N- K- r0 ]2 n8 B$ D当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。 ! T: T; O& h- R9 a
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
/ }* ^3 z# R) V- I& P. n7 l& _$ j L* \: N4 O
( V% N, X7 u- ~2 {! [00404990 >/$ 81EC 7C020000 sub esp, 27C , v5 j5 ]" V4 H! N& B+ P; l7 K, i
00404996 |. 53 push ebx
# X6 _' q+ j. f. }* \1 ^3 |+ @00404997 |. 55 push ebp
# A9 ^) a E: M( P00404998 |. 56 push esi
$ f; B7 e) ]1 G3 n7 Z00404999 |. 57 push edi
$ B* B6 ~8 Z6 `! C7 M) B* G0040499A |. 8BF1 mov esi, ecx
$ Q5 L$ `% O4 r* {* W `6 [0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF , q: I! b+ [7 _
004049A1 |. E8 BAC6FFFF call 00401060
* E" b. u# x8 X" O$ x* R4 b: K% L004049A6 |. 83C4 04 add esp, 4
3 [0 t0 N9 T F' M1 D004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
* P7 ]& @3 F& D9 ?6 Q1 c% o$ A' M( r! n004049AE |. E8 4DC6FFFF call 00401000 & J7 v7 G4 h+ }/ g- l' s2 }
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
7 D+ v& h$ |. s) T5 |004049B9 |. 83C4 04 add esp, 4 0 y- P# ^3 J( m# ]/ m7 b, V) D' g+ x# R1 Y
004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238]
6 k: R6 h: k, f' N' T004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88] 1 ?: @8 _! q) _3 e9 E7 V( R
004049C9 |. 53 push ebx ; /<%s>
$ j- f. q1 [1 a4 v004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
: L0 I B" A7 k- w( C2 v6 d. W004049CF |. 50 push eax ; |s
4 M2 G( N$ I7 U; Y7 q8 x004049D0 |. FFD7 call edi ; \sprintf % q) `$ A9 k8 B1 U) @. M& J
004049D2 |. 83C4 0C add esp, 0C % W: p/ ~( z1 @7 O
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] 1 \ u7 [* D, B! M5 K2 q& {/ i
004049DC |. 51 push ecx
+ c1 K4 Q( L) T- l004049DD |. 6A 00 push 0 ; t! o$ u E1 U) i
004049DF |. 8BCE mov ecx, esi
8 K; y( z) P( V j6 w004049E1 |. E8 1A0A0000 call 00405400 8 v1 @; h! z: ?% ], ^3 h6 W
004049E6 |. 53 push ebx
' u) V9 I1 k% E) ^$ S2 d004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
' M& V- Y2 S; V& a) ?/ M' x004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\" * @$ b4 e" C" ^- U# Y' C" M
004049F3 |. 52 push edx
5 ~) a; a$ `, K004049F4 |. FFD7 call edi
8 O- ?2 D/ n/ t: C" Z004049F6 |. 83C4 0C add esp, 0C
: J# m* @5 F+ s004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
6 C# O" J1 Y0 }00404A00 |. 8BCE mov ecx, esi
+ L9 }2 w. c+ p6 D* d00404A02 |. 50 push eax
4 c4 v4 U2 U/ [9 f00404A03 |. 6A 02 push 2
. K( F0 ~7 O7 K0 O; ~: C0 p00404A05 |. E8 F6090000 call 00405400 ! V" x$ j$ S$ E5 u
00404A0A |. 6A 14 push 14
9 r0 g: _; [9 H00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
+ Y: B0 ^& ], k: f* l' b00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
0 j/ P; V& J8 z1 P- C! a00404A16 |. 6A 00 push 0
, Q `2 G/ r. M00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
/ g$ P' G! j7 ^7 ~' v& E7 Y00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1 % Q/ Q& H' \7 i
00404A24 |. E8 F71D0000 call 00406820 $ t" O P% b( l, j' \; T
00404A29 |. 6A 10 push 10
7 E, K4 [/ k% A% k- }6 l& Q00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
% V0 Y: y- I l z4 N00404A2F |. E8 2C1E0000 call 00406860
+ R# E; X) l" c: d00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58] ) V- {6 T( f- C1 I; {) B6 S8 h& g
00404A38 |. E8 A3060000 call 004050E0 5 ^2 @7 o5 `2 J" C0 ?' u" N4 O
00404A3D |. 68 00800000 push 8000
$ ~' ?8 P+ r4 h9 T5 U00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
2 K$ V/ {; w7 ?6 |00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
7 O$ A, _; t- S9 N00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
; K# O! J# M3 Z7 N" Y' L00404A50 |. E8 8B060000 call 004050E0 ! |2 [, \& R& g. ^: _1 R2 v- _
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] ; s7 v2 y; t% j% v% e
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
- |5 w8 g+ D( _) B( f0 `00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10] ) l& B2 T0 M4 r! c0 ?
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3" ; U# p' F3 \4 k
00404A6B |. 51 push ecx
! s0 W' c* Q+ I* b# u4 J/ t2 M00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20] + I" X: o4 p/ X" x) K
00404A70 |. 6A 02 push 2 - g& t- a6 f, A) c9 F: _
00404A72 |. 52 push edx
0 g1 H! J& K+ C8 z2 }0 {. t00404A73 |. 8BCE mov ecx, esi , q7 L5 e9 L3 p9 ^ W# v5 S+ ^
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0 5 y# `, m7 @" m( x; F$ ]6 T
00404A7D |. E8 6E070000 call 004051F0 ; }" q& x% y9 V% T* r1 ], A
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] . d! u& r4 @( R
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
# b) R% {/ u+ @% H. o+ X) _# e00404A8B |. 50 push eax U5 r3 W, ~5 i! [6 A1 n
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20]
+ {" a" K# `6 j0 M& f1 M8 w1 n00404A90 |. 6A 02 push 2 ( Q X5 X. E* b4 u; g) `
00404A92 |. 51 push ecx 3 b" h/ L6 b. t0 N7 _, [" ~ C
00404A93 |. 8BCE mov ecx, esi m1 g: F* a+ J: s# M. S* x
00404A95 |. E8 56070000 call 004051F0
+ j6 ?$ C9 x2 ]. A/ z00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
8 d( |4 E7 |9 X6 A% \& }& W8 q00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" - m- z# H" a, D' G6 ` Z0 b
00404AA3 |. 52 push edx 1 z+ q: P$ e3 F7 v X6 b
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
; |' q$ K T! ]2 G7 u) u00404AA8 |. 6A 00 push 0
6 E! }8 a) U0 w7 V00404AAA |. 50 push eax / e1 Z8 L( t; {; {
00404AAB |. 8BCE mov ecx, esi
; d! W; |, L5 `, N0 P00404AAD |. E8 3E070000 call 004051F0
$ x0 e* I6 h% k00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
, E: s3 z2 |& l; G% s4 J* b; r00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14] 5 n& q- m- g* [6 S' N g8 g4 l n
00404ABB |. 51 push ecx 4 d& J, T% Q H' B( e( \
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
$ v; z, k9 g! M% ?0 ]5 S6 Q00404AC0 |. 6A 00 push 0
/ k U1 ?4 C7 Z* N4 c6 |00404AC2 |. 52 push edx
. Q, M; X4 I" L) s6 s3 {00404AC3 |. 8BCE mov ecx, esi
# O" {# z w$ _( P1 Z00404AC5 |. E8 26070000 call 004051F0 # P) M9 {, }, V3 B- c$ [5 i7 r5 s9 P
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
/ o) Y) ]: v/ n) c! [' I00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
5 O& g' x9 b, P/ ?00404AD3 |. 50 push eax 9 N% j$ q& @1 d* s7 @1 T! c5 M7 Y5 t
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
8 k1 q1 c* k3 ~) [00404AD8 |. 6A 00 push 0 ; u, `- c( A# a, l. v
00404ADA |. 51 push ecx 3 p2 p! E2 o6 |- b0 s
00404ADB |. 8BCE mov ecx, esi
5 P& { r) G$ m3 N# v6 J- J00404ADD |. E8 0E070000 call 004051F0 ( r7 w5 X4 d8 P a
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10] % `6 i8 Y* x! Q) E- W$ L1 h% [
00404AE6 |. 52 push edx ! c6 U* j& i6 @ o
00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
: |% e6 h! u) M00404AEC |. E8 6FC5FFFF call 00401060
/ G) y. M% ]' G( D; ]2 P6 M00404AF1 |. 83C4 08 add esp, 8 ; U% u- \4 S- u+ T' |7 ~
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
1 G1 h! _2 B9 D7 K. @( O4 ?4 f00404AF8 |. 6A 00 push 0 ( r, N+ o' b$ T) w
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" % v! ~% q# |$ @ x, S7 l/ [
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
3 H" `+ v' S/ O( a. d00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
- P7 @& H" i% n, T00404B0B |. 6A 00 push 0 6 x. s* R+ U0 q3 D: e
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
+ p9 [ g/ |5 m, D7 z6 j# G7 y+ |3 l00404B12 |. 8BC8 mov ecx, eax . [: j) A! S9 d# I" a: n
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
7 x" b& h$ S' v+ w, n/ _$ @$ t00404B19 |. 85C0 test eax, eax
* E' F4 m7 ~' G# Y- r00404B1B |. 7E 1B jle short 00404B38
/ H( H# B9 X$ Q+ x9 x( t% g! q2 G. k00404B1D |. 8BE8 mov ebp, eax
1 c4 }% O% t8 i7 F* R3 [& n00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
7 }& F* F4 { W00404B25 |. 6A 00 |push 0
; W0 x6 N9 F; N! Y+ l00404B27 |. 6A 00 |push 0 ' i- G) ]8 i1 }+ v6 \1 W8 [6 [1 M l9 z* q
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> 5 Y, R% H0 c0 O
00404B2E |. 8BC8 |mov ecx, eax
3 [" c6 G, `3 p* v8 P2 ?1 s00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove>
& z3 T' q/ ~" r# I# C2 [, g00404B35 |. 4D |dec ebp
( M- ^# s* [: ?, G00404B36 |.^ 75 E7 \jnz short 00404B1F
! w" y# X1 `6 ~( y8 H9 l4 G! d00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 2 n. p1 G) z! D% ~
00404B3E |. 6A 00 push 0 8 ~2 W* n9 N4 u$ \" n/ ~1 B
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
1 H% {. b+ ]! g, h6 N( j00404B45 |. 8BC8 mov ecx, eax
0 s" s( j3 P! N- x00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath> 3 s7 w$ d5 L3 i
00404B4C |. 85C0 test eax, eax
0 U% @4 L( v& E* H0 `00404B4E |. 74 0E je short 00404B5E
8 h7 o! l7 u6 x# k% j. W6 l9 _00404B50 |. 50 push eax
) {4 Z% R0 H1 W) L( p; R00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" ) i7 o" N' h/ n8 r
00404B56 |. E8 A5C4FFFF call 00401000 5 ~; o2 j% y4 S' R3 e* Q% ~
00404B5B |. 83C4 08 add esp, 8 - E4 K6 H4 l' n
00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
4 B& V% a6 [2 p. G& E4 L' Q! |00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
1 k6 ]& Z, \- r$ J0 @00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString % _( u: H7 y# r7 n( t: r V$ a
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
9 {& V e4 _& a# `9 h3 B7 ^0 S00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString> / B. i# T/ H' |
00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60] ! L, k s* o9 R, _. D% F1 f$ \
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
2 M* D- L* ^* o* R1 G00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58] ) S/ m% e& A) }3 H& `' A
00404B85 |. FFD5 call ebp
# i) T- J) u- R- v3 ]( E3 I1 G. e, J0 A00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
% d/ O# q- \5 B& v- \- M* e00404B8B |. E8 E01F0000 call 00406B70
6 R6 S+ @, J/ a& {+ G# [+ H00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
* l7 C8 V" l6 N8 i00404B94 |. 50 push eax
( Z# \' q- }, J. f. _3 {00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete> + i1 K7 f4 I* x% S& x! h
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
# Z' w2 E. t0 L/ S+ J( t00404B9E |. 33C0 xor eax, eax ( G0 \8 V, ^8 r' J* a) J% F
00404BA0 |. 51 push ecx
: C3 A: V$ ]% x, m00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax 5 {; n& A. K# M- n
00404BA5 |. 894424 50 mov dword ptr [esp+50], eax 7 \4 O1 Y! \8 h
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
' ^7 ` I% v" I! Y00404BAE |. 83C4 08 add esp, 8
9 t: c9 G& H% r% x00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 9 H( l# \6 y8 C* l7 U/ G
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 6 g2 x* T4 x$ N( u! R; |' [* z+ c
00404BBB |. 6A 01 push 1 + O3 [) a3 S" ]2 p% Y1 |3 z
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C] ' d* T; z% o! n) ?
00404BC1 |. E8 3A1C0000 call 00406800 6 J2 i/ {) v) u3 B* a: I
00404BC6 |. 6A 00 push 0 + V# P/ P5 Z/ C
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 4 N! g" J0 A4 k4 M5 _5 ~& n
00404BCC |. E8 4F1C0000 call 00406820
; }& k1 x: g Q' N5 m5 h! o; H00404BD1 |. 6A 10 push 10
m( h/ q) ~; Q, A* @5 h00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] $ }# s+ a9 ]9 K5 y( g& z- [
00404BD7 |. E8 841C0000 call 00406860
' Z" p2 K! Z& D6 D& c* o00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58]
) r& ^- \1 @# ]& ~6 k/ @. f% Z) x* g00404BE0 |. E8 FB040000 call 004050E0
+ Z2 ?+ f! M! M: g& D00404BE5 |. 68 00800000 push 8000
8 l+ U" m8 `1 \* F- l5 Z00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
p8 ^+ G$ Z) @% A" O8 b, H9 T- j6 t00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
3 D* @: ^/ W+ {00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] . l& l; F9 ?+ p% E' g
00404BF8 |. E8 E3040000 call 004050E0
5 ]! ?! Z8 x6 R0 f B; ^00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80] - L+ G5 E; t7 H/ |3 C
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
4 d. I* Z' N8 R4 g00404C0A |. 6A 00 push 0
4 f' S& q% E1 L$ R3 A00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
, z4 O/ @: _; W3 e. ]6 K00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik" ( \/ K1 y% B( y$ E( ?
00404C15 |. 52 push edx
D! g" O5 \5 o$ o6 X00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
8 t1 }, }4 i p. S, M" K00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
" m) I7 ]1 B f6 C4 L00404C1F |. 50 push eax
% a2 y, D! s* G K% x" R8 f2 {00404C20 |. 8BCE mov ecx, esi - i( x9 |' `& d! E0 _
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0 9 O( U3 b' P. x- k$ N
00404C2A |. E8 61060000 call 00405290
7 o5 x' [% }. s5 G- L+ G7 u00404C2F |. B8 58B44000 mov eax, 0040B458
; Y7 Q$ R+ j; r9 H4 K' U0 u& e00404C34 |. 894424 14 mov dword ptr [esp+14], eax
2 _; }; w; R2 A' n5 z00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
) B* T/ n" [* W* ?# {00404C3B |. 85C9 |test ecx, ecx
( |5 t" O/ {' p: C* b00404C3D |. 75 39 |jnz short 00404C78
* X' M$ I+ Z2 O00404C3F |. 8B08 |mov ecx, dword ptr [eax] 1 p% U0 p3 m& N N. o( U
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C] $ N( Q8 W& i, ~) R# B& }3 Q
00404C48 |. 51 |push ecx
( x( F3 R# |# G. e* O00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
- [' K, r) e, x& n6 f8 X, r- j; V00404C4E |. 52 |push edx 2 }+ L$ C2 _- x: J- S" |
00404C4F |. FFD7 |call edi ! v8 _1 e7 h4 V) g3 r+ ^ D
00404C51 |. 83C4 0C |add esp, 0C , G; T: n0 u% O7 A) J2 H
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] ' H) P! F4 h2 L- ~9 P6 F* u# ?
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C]
! R1 j* B3 O" a4 {00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
# ]9 D! [ @1 y, D$ t! M00404C63 |. 6A 00 |push 0
! a5 Y1 H' S. H5 x00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" 4 z! T4 ~5 P4 ~& S' d* i' N: d! R
00404C6A |. 50 |push eax
+ H% ?( l. E4 `( b% R2 d00404C6B |. 51 |push ecx 1 _* [; z3 t$ @
00404C6C |. 52 |push edx
2 n' F1 O$ |8 y9 m7 t00404C6D |. 8BCE |mov ecx, esi
# M& L. x/ \( h; p+ `+ Q7 i00404C6F |. E8 1C060000 |call 00405290 n# _$ K# R6 l* J0 o
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
! _* E3 |0 Y, R& V00404C78 |> 83C0 08 |add eax, 8
1 C; ^ N- W" M2 p+ l00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0 5 j& I- i- R( z# N% l
00404C80 |. 894424 14 |mov dword ptr [esp+14], eax ' t# ?% R" a/ J$ i4 A
00404C84 |.^ 72 B2 \jb short 00404C38 ' G8 Q3 i! q' c1 n( r
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] ) r$ ]6 b& ?9 g( m' M9 c
00404C8A |. 50 push eax
# d7 y4 C, Q: o3 i00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF 6 Z# y6 |3 F5 Y5 [) H1 B( o8 F2 `
00404C90 |. E8 CBC3FFFF call 00401060 0 ]1 F# x9 b* J7 ~$ R0 [
00404C95 |. 83C4 08 add esp, 8
7 g( Z: t' {( T$ l00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ; }, @' _2 d# t+ f2 n
00404C9C |. 6A 00 push 0 & g; B9 x" C3 S* _% G7 d' a$ D& n' }
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb" $ W0 ^* e' z# f# Z3 `% H. }
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save ) V% \/ j2 Q- i1 c5 C
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] ' F- g3 e* `) y
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
) H: a% C" D" b5 Z00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78] . n2 a3 T( s" }" E
00404CBA |. FFD5 call ebp
( C( Y3 t a6 t2 d; L, L5 N& F+ k/ w00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
; y: h; c0 J4 U- ]5 b! l- {00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
( \1 v1 x) o6 k- U& G& X00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
* P& Z: t" C b# G- o! g: |00404CCA |. FFD5 call ebp / G+ ?4 ^3 l& ~/ R$ Q7 o) r" [7 t2 ^
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
5 d# T/ P: A L) j1 c3 y00404CD0 |. E8 1B1D0000 call 004069F0 . M" z: ~! |' | ^7 V
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38]
( P( ?5 T! C, \7 M00404CD9 |. 51 push ecx
8 n* w4 u# Q/ ~; L8 h: v00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
6 g% j! ]. v) ?: i00404CDF |. 83C4 04 add esp, 4 , Q7 `1 b' h9 E, |4 }) Q; w
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
3 t3 U) Y3 @& a0 _00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
( x v' H3 Y/ P* I7 W! O00404CEC |. 53 push ebx
: A7 O. k, }2 x9 V5 k4 F: _* Q1 V% ?00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] $ t; \, X. }! a) `4 S
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_"
& D, ^5 v9 B( h/ |00404CF9 |. 52 push edx ; k9 X( O% n3 |, i/ ]
00404CFA |. FFD7 call edi
( I' k# f, o; I: `4 X: W00404CFC |. 83C4 0C add esp, 0C
9 u9 e8 z; |0 Z4 g/ q00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
' L5 m; K- Q4 k9 B& j) \; t00404D06 |. 8BCE mov ecx, esi
- I- ~+ l1 J% r9 N; [00404D08 |. 50 push eax & E# v* W, t1 F
00404D09 |. 6A 00 push 0 & _+ s4 a/ N4 O& g7 e5 a, x
00404D0B |. E8 F0060000 call 00405400 ~7 k3 t2 {5 N7 B# Y
00404D10 |. 6A 01 push 1
1 I$ k' r" k) w3 w& Y* M9 i00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
/ w4 r! J2 P; M% J4 }, E* g00404D16 |. E8 E51A0000 call 00406800 6 K3 C: _; a9 U0 h
00404D1B |. 6A 00 push 0 2 b. A+ @# u# \9 M) j; J+ q" Q
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C] # \) i2 J; S- r% O$ p. H
00404D21 |. E8 FA1A0000 call 00406820
1 m3 j. j7 U; `/ k. E, M00404D26 |. 6A 10 push 10
' M4 O$ t4 d+ z9 v1 k+ U00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
4 z) Z# x: J$ I( z; `0 @00404D2C |. E8 2F1B0000 call 00406860
& c: \1 N0 H" ^0 I3 q8 z7 a [00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
3 U( ]: b( Y' e; D2 z" a1 E00404D35 |. E8 A6030000 call 004050E0 ) V" A" y" L6 M N- O- Q
00404D3A |. 68 00800000 push 8000
9 S6 p2 s! C& h; Y6 L/ a+ k00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64] # {7 L$ }! h0 j7 {8 v) Q. R
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile $ G. b2 k" g1 Y% V4 S
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78] ( J! A* u: Q9 `, N. j
00404D4D |. E8 8E030000 call 004050E0 0 l( |; C: \% r% W' ^* l
00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] + `& Y( L2 W5 i5 X' Q( P5 Y2 q
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
+ [3 O; \" H" n9 b F. j3 F00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
5 I% k6 B( C. P& T6 V, o9 H00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 8 `6 s5 p( N6 v* O0 M
00404D68 |. 51 push ecx
) ~4 ~, g; X- I9 P0 }; _00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
( O) [7 K% Q0 E: z# K. b2 L4 a00404D6D |. 6A 00 push 0
! L5 B u! m4 z) p4 x9 B' Z4 j; P: e4 J00404D6F |. 52 push edx
5 T: x. ?; v* h00404D70 |. 8BCE mov ecx, esi
L8 [- @, a7 S* L/ B: g) A00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0
n, j3 G1 ~; L% i00404D7A |. E8 71040000 call 004051F0 8 d. v! P2 E4 \8 r
00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] $ r4 Q- m% u) p2 y3 i# a) g
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" , [7 m0 Q2 l% G$ r/ o; A& T* X
00404D88 |. 50 push eax
( H6 c* |: w5 W4 x9 l5 u. o8 C00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
5 F/ r+ q& t }0 I$ e: D3 }00404D8D |. 6A 00 push 0 " H+ G( s N( ]: s4 F6 N
00404D8F |. 51 push ecx
, L& j& P8 z V6 }: G; \+ x00404D90 |. 8BCE mov ecx, esi
9 ?( [9 T; a% o1 _) M" V# T; V& [00404D92 |. E8 59040000 call 004051F0
0 T6 w; ]- \5 c! E' C8 j) E. Q00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] 2 K! y6 f8 |% z8 B
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
! J: t3 {# E( S4 w00404DA0 |. 52 push edx 8 h2 M9 C, A+ U! T, K
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
% S! W$ `" ~1 m5 \4 V( Y00404DA5 |. 6A 00 push 0 % e% f3 n2 s; w' }+ N1 s
00404DA7 |. 50 push eax # b% s" \* q$ J5 G ]
00404DA8 |. 8BCE mov ecx, esi
# z6 U' n r L00404DAA |. E8 41040000 call 004051F0
) c4 M6 _8 w5 c% R$ q }' ^/ I3 m00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10] ! q8 R( `9 V* ]! g
00404DB3 |. 51 push ecx $ b% s V9 Y, {9 r7 |" N9 W, s
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF 9 p4 A& p( v& p) i$ \9 ~
00404DB9 |. E8 A2C2FFFF call 00401060 2 n3 O8 P' c% Y
00404DBE |. 83C4 08 add esp, 8
' N" r! y4 x6 \1 h00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: Y. h# }4 F: W; U* L5 k# P00404DC5 |. 6A 00 push 0 5 ~+ G: Q( F$ f4 P" I" e
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
) h8 l% ~* o! S5 k o/ W00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save ; S! \5 F+ P P( a; M. u% C
00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
5 L. g4 E: W* i# s1 [00404DD8 |. 6A 00 push 0
. v+ |' u. {- t; }- i- P00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> " h7 {7 o0 `# c8 v' R& H( v
00404DDF |. 8BC8 mov ecx, eax
; u8 ]; d0 C2 s& @00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath> / ^, f) G) Y" P( w+ c4 N7 _
00404DE6 |. 85C0 test eax, eax * A5 L% D( F- _( B( a0 x
00404DE8 |. 7E 25 jle short 00404E0F . X+ d, [9 p# p
00404DEA |. 894424 14 mov dword ptr [esp+14], eax 8 X. }) `5 f% u
00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] 7 K6 {' e% B# N/ I4 c5 [* n
00404DF4 |. 6A 00 |push 0 5 l: b9 n1 `2 P
00404DF6 |. 6A 00 |push 0 : ]; n* B X h) R+ B
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> ) ^; |- P6 S" L# M- _
00404DFD |. 8BC8 |mov ecx, eax
8 R2 m I4 N O0 N00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove> ) e0 N/ j. i! w ]4 u
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] ) p2 Q( ^' T/ t
00404E08 |. 48 |dec eax
7 c5 b$ W) G+ `! c5 Y& o' V" b00404E09 |. 894424 14 |mov dword ptr [esp+14], eax - {& N/ Y* F H$ v# j* b
00404E0D |.^ 75 DF \jnz short 00404DEE & M, k2 t' Q9 r! S
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128] f- L; P ~6 C& e+ q
00404E15 |. 6A 00 push 0 " S0 H, B$ r- v6 @3 w
00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
- n' J( n$ a: A: E2 v00404E1C |. 8BC8 mov ecx, eax
! ^1 J8 }9 A1 F1 J* t00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath> ( U9 D4 m5 p, Z, N" W/ I- z
00404E23 |. 85C0 test eax, eax
' y9 \. T9 z; D* V00404E25 |. 74 0E je short 00404E35 , z9 h: o' W' ~% A9 l& M) X
00404E27 |. 50 push eax ) t! c/ a( Z) i) v% V
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
6 b) G5 e8 A) o5 V& Q00404E2D |. E8 CEC1FFFF call 00401000 . u2 Y! S" s. e; l7 v( a
00404E32 |. 83C4 08 add esp, 8
R2 V5 ?. ?! S9 F) u0 E00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
0 m1 L1 G7 p/ m1 i+ Y00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
" j( z& ]2 [- D3 U8 @( I+ r00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
1 L" v1 d* s2 K00404E46 |. FFD5 call ebp % C% ~& ?& n) _$ ~ K7 p# [4 L
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] : t6 Z' u* G- Y c7 `! e2 c& a
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
! e& j# t. g+ e% K. H00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
3 k1 Y1 C0 T% I: s4 F( X00404E56 |. FFD5 call ebp ; m, f$ n1 J. @+ a7 H
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44] 7 Q, Q1 Y( G+ O+ {6 \" x7 s w
00404E5C |. E8 8F1B0000 call 004069F0
# t9 A1 f) k4 F( H5 Y5 N+ L00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
/ o+ ~& u8 W* ^$ m" J00404E65 |. 52 push edx 5 `. O5 t1 ]4 y% t; ^8 L4 U) J; [1 J
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
+ s$ A& q% h B) S3 h, j0 V/ H00404E6B |. 83C4 04 add esp, 4
. s- @# ]+ L& M0 b5 A; F, J00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18] 1 P, a+ j3 h- A) w( M
00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator : ?9 c% ^* L* ~& l/ R0 s3 k
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 5 w: ^3 [4 ^/ V) n; {" C
00404E7C |. E8 6F020000 call 004050F0 9 E! }3 Y6 {1 y3 e" ]
00404E81 |. 6A 00 push 0 ) W7 F7 o. N# [% r7 J8 {4 @9 f
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
- O" w; O ~/ ~00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik" * m' v5 P% s2 h4 h9 L. {
00404E8C |. 50 push eax # [ u( o7 X+ J; e2 o, \
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24]
3 E: K; h7 b5 E1 |00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" " T0 M! A4 {! S: L
00404E96 |. 51 push ecx ; q# c3 h* ]6 J: t
00404E97 |. 8BCE mov ecx, esi
5 h1 I' S4 ]( E4 j; ~00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0 / X, o' p/ L& p8 w( Z- z) `) j
00404EA1 |. E8 EA030000 call 00405290
- G) n2 y: r0 ^2 I0 D8 W! u& s: W00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10] & |. Y9 S+ O- {% R! V
00404EAA |. 6A 01 push 1
) k p5 x5 m/ `8 j2 ?# w00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C]
: n7 q4 O& ]" ~0 i: ~00404EB0 |. 52 push edx ) v* L0 m( J. K' l+ c) C( A
00404EB1 |. 50 push eax
( f! z9 j* @. {# q" E00404EB2 |. 8BCE mov ecx, esi
4 f* i* \6 B U( l# ]3 f00404EB4 |. E8 E7F9FFFF call 004048A0 0 {1 [- x% t2 L6 X5 ?0 w6 k) ]! ~
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
9 p& g: G2 ?+ R& m00404EBD |. 51 push ecx ; i$ W3 m" O, _: o
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF 6 t; {1 F6 ^% c/ T) b/ B$ K
00404EC3 |. E8 98C1FFFF call 00401060 * f8 e) G7 p% l3 I+ I0 i8 S
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
- ^3 f0 i/ Z. ?" t0 V# [! X00404ECE |. 83C4 08 add esp, 8 ; @$ V+ t# a+ U1 }& z5 Y z5 x# h
00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] - I* `+ T1 L) Q) G; z& _
00404ED5 |. 6A 00 push 0
/ q. r* S4 v& R% ]# i4 r* ^' h$ {; ~% A00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb" 9 N3 q- J$ T9 g3 j' N2 L
00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save>
# j3 H& l7 X; e+ R0 _. S; j00404EDE |. 6A 00 push 0
; L( Z8 ^/ z1 P0 _00404EE0 |. 8BCE mov ecx, esi
, `5 @/ n0 s A. H8 l) ?00404EE2 |. E8 39FAFFFF call 00404920 | M; g6 ?4 Q
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
' m. }. Q, [3 W$ ?' T3 v& T8 L- g00404EEB |. E8 A0020000 call 00405190 ' R+ n l! i6 n r3 W0 |1 }1 b0 E
00404EF0 |. 53 push ebx 1 v" R( g4 b0 @/ Z8 }0 l. [+ A
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
8 b3 s8 t1 B9 c, W9 I0 Q: v* s% t00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
" @! D" {6 p/ g0 U# F" e& P00404EFD |. 52 push edx
3 K. a* ^# K8 u; X- C+ c" T7 R! M, D00404EFE |. FFD7 call edi ) T7 C7 f; l" e( z; ]
00404F00 |. 83C4 0C add esp, 0C
3 T. A. x5 X5 G+ @$ G00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88]
1 \& F- q- P @ { r00404F0A |. 8BCE mov ecx, esi 6 O- U& b4 [0 ~2 M
00404F0C |. 50 push eax [! }6 o& b+ o
00404F0D |. 6A 00 push 0
2 \; W' H# U# e {% w* N& S0 b00404F0F |. E8 EC040000 call 00405400 + W' w/ B/ I9 O7 E; S
00404F14 |. 53 push ebx
- b+ C- b; R! j2 ~7 b) W6 t I00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] . a( a) I! H, x/ B9 ^
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
3 w. `$ f5 M7 d8 m& Z00404F21 |. 51 push ecx
* O6 `& g+ k# J0 P! N00404F22 |. FFD7 call edi
0 b5 ]3 g( a( x6 g% T, J00404F24 |. 83C4 0C add esp, 0C 4 r8 [/ U: l3 c, I/ N
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
* _4 V8 ~& q" M; T+ C# @, U Q G00404F2E |. 8BCE mov ecx, esi
% @# X7 D5 s1 q k* ?00404F30 |. 52 push edx - D( F) Y3 W0 \) r
00404F31 |. 6A 00 push 0
# N1 s# S2 X5 g, I6 `* B00404F33 |. E8 C8040000 call 00405400
6 i! I0 W& M! A9 i2 b00404F38 |. 53 push ebx
+ p1 }' D- r7 K0 z00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
# b% k* i2 T- k' ?- y4 x; U4 q00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
: w* H" e& T( J- ^: d, x) ?7 I/ R( `00404F45 |. 50 push eax 5 i# z& X( C% f5 f4 D
00404F46 |. FFD7 call edi
3 E7 t2 i" \* y; d3 k00404F48 |. 83C4 0C add esp, 0C
, s- c% U, r! O" Z) y- z8 X00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88] 7 y2 i, `) j% M" C4 ?( \
00404F52 |. 51 push ecx
B( k/ X. b% B, u) X) f/ J- N00404F53 |. 6A 00 push 0 8 l/ Z2 O# P0 \+ z. o1 J
00404F55 |. 8BCE mov ecx, esi
3 T9 `: v2 s3 f: W/ F7 w5 k- Y7 G00404F57 |. E8 A4040000 call 00405400 % d6 W5 m1 ]% ~
00404F5C |. 53 push ebx
7 B+ ~0 q" I( |00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] ; m g6 U9 p. s" _0 J
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" 4 q8 X7 X* t/ C$ B# H6 v+ c s& \8 _
00404F69 |. 52 push edx
; u4 k0 b' K( }, x3 C% g# O00404F6A |. FFD7 call edi
5 i* ]9 g4 c& M* k" r! I00404F6C |. 83C4 0C add esp, 0C . _* O7 \7 u4 ~, v( s. A, v1 W& E
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
7 c* |) Q# f8 u00404F76 |. 33FF xor edi, edi
. L3 N" n7 P! g) p& R& ^" |; i00404F78 |. 8BCE mov ecx, esi
, @5 W) l2 T& ^3 h I9 E00404F7A |. 50 push eax
/ q/ {" a7 a( ?) c' W/ t- W00404F7B |. 57 push edi % F% D6 n5 p9 W7 M3 {, b' i7 Y% F* _
00404F7C |. E8 7F040000 call 00405400
) F1 Z- U% a' f# \00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 7 t. o8 L* Q( o! e- Q2 L; f
00404F85 |. E8 66010000 call 004050F0
* Q4 O9 a9 B. ?& p M2 V00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] v4 X% D$ Q: E
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
! v' I8 d8 `& i, i( K0 C" m00404F93 |. 51 push ecx
5 G4 I5 E' \9 g* X$ {% D1 b6 @00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20] # u i8 y3 W1 w& J$ M, f# v7 F
00404F98 |. 57 push edi 1 t& F3 }" \( u" d' `
00404F99 |. 52 push edx * _* H, x( a$ V4 b/ I# r
00404F9A |. 8BCE mov ecx, esi ( F9 u6 a2 P9 l0 e+ b1 }# u
00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
& g/ m" k# b5 e00404FA0 |. E8 4B020000 call 004051F0 7 G. [5 |& Z) ]
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10]
- w1 N: T: K6 |: Q00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
; ?* L$ t" P8 R0 e G2 L00404FAE |. 50 push eax
2 |6 M! z' X: `8 @5 H00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20] $ @& Z M3 h5 T
00404FB3 |. 57 push edi 8 ?; {5 ?; V" J+ e, M
00404FB4 |. 51 push ecx 2 _) r1 a1 f8 i1 W& L
00404FB5 |. 8BCE mov ecx, esi * }) G% w$ C/ D0 l$ h
00404FB7 |. E8 34020000 call 004051F0 + o) V/ q; t5 z' |
00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10]
* [3 ~6 U( I1 {$ D; r4 {& T+ n00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" 8 J$ |( V! `# W: ~1 @
00404FC5 |. 52 push edx ( q; ]1 k; B5 k
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20] 6 `, e4 `+ m- x2 Q; }
00404FCA |. 57 push edi - N6 O, `+ C- E6 K1 i; o q
00404FCB |. 50 push eax ) s$ }. _& r& y: J, y
00404FCC |. 8BCE mov ecx, esi
2 ~' |! E& [' B% k7 P+ l00404FCE |. E8 1D020000 call 004051F0 1 \. C6 }+ D) Z: c, t
00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10] ! p& ?* M; l0 e4 o3 j( c
00404FD7 |. 51 push ecx ; X* G* c9 y% k2 r T) Z
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF ' h/ N1 R# x0 L) N- u0 g8 ~$ Q# H' n8 k
00404FDD |. E8 7EC0FFFF call 00401060 : x4 H* U! `& w' V- y5 l4 f+ b
00404FE2 |. 83C4 08 add esp, 8 ! S3 s$ a. V# I4 c1 e
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
. y( M. o4 \1 z" M00404FE9 |. 57 push edi
2 R6 Z# e5 d9 u5 B5 T: w. @7 t00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
2 D; j$ a9 i* f6 m" a4 l00404FEF |. FFD5 call ebp
- v2 @0 r" k5 s00404FF1 |. 57 push edi
. r) q) Z. J; P) }, m00404FF2 |. 8BCE mov ecx, esi 2 ?7 }; l# p5 M% `. q
00404FF4 |. E8 27F9FFFF call 00404920 9 ?0 Q$ X9 V3 A/ b6 i8 s8 Y
00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
% a' {$ f$ P3 a00404FFD |. E8 8E010000 call 00405190
# E3 h/ H# D8 C2 g00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18] , o( G& }$ q+ N' |
00405006 |. E8 E5000000 call 004050F0 $ Q- N7 ~% l6 s$ S6 I! `# \
0040500B |. 57 push edi
' Z( l0 i7 P0 f- `0040500C |. 8D5424 14 lea edx, dword ptr [esp+14] 1 m: F9 v2 z& y! M3 [; g2 j* p
00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
+ W+ ^8 x* F0 B00405015 |. 52 push edx ( H9 |2 L5 A+ H% z
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24] # \5 d) J" N u6 V3 q+ h# Y
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
2 |2 F$ i4 e0 d0040501F |. 50 push eax * k' m. T% U. q; T4 }% ^& J T
00405020 |. 8BCE mov ecx, esi # o. s. ?' D8 W1 j: N/ f
00405022 |. 897C24 24 mov dword ptr [esp+24], edi
0 N9 R2 M( C2 q q00405026 |. E8 65020000 call 00405290
) R% x g9 v- H! g7 [0040502B |. 57 push edi ! D. k4 p: u; I8 v4 J; ?
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14]
+ U. M8 z& ^' _00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik" + L( o# z- N8 }- t" P5 U7 [* @% }/ s0 T
00405035 |. 51 push ecx 0 e i, ^5 Y1 b0 v9 |- f
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24] ) C7 {1 Y" L* H! k4 q
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
7 a. @5 U3 c( I9 M: I" R' a9 {; @+ k5 x0040503F |. 52 push edx
+ b+ K: {8 E6 T h3 C* ~8 U00405040 |. 8BCE mov ecx, esi
0 S1 N& o2 B% Y1 I00405042 |. E8 49020000 call 00405290
& b! F* {$ x0 o00405047 |. 57 push edi ' e' {6 h, O8 W/ M
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14]
& b' q/ V' n( p3 _0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
; Y! G/ c$ v6 `$ ? V* I00405051 |. 50 push eax
8 O6 ?" t8 G$ x! i \; k00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\" # _# M/ c4 |# a3 s9 U; F
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28] : C2 k: F7 s7 m, t. s' [* ]
0040505B |. 51 push ecx , `9 \: `! d3 K: F/ S" z& K
0040505C |. 8BCE mov ecx, esi + F" W' j: L! m& B5 K5 g' V: w7 |# M
0040505E |. E8 2D020000 call 00405290 " ~$ \/ s0 F& t3 v) j* b
00405063 |. 57 push edi 6 Z R! ^ q% u8 h1 ^
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] 5 k) S3 r! F* I; v3 t$ w
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
+ `# ]9 T4 [; V' K" r0040506D |. 52 push edx
1 T7 q) u3 f) b1 a0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] $ R/ m B& k4 J' D" Z
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
. U7 W0 U/ g1 D! P7 B6 p* b; O00405077 |. 50 push eax * [7 y' L5 r7 z
00405078 |. 8BCE mov ecx, esi ) p: Q% k" P" b5 n4 T* j3 e, L
0040507A |. E8 11020000 call 00405290 ; D" x& N. h. g8 o" U
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
# ~7 I& k8 A/ m8 ?; C% n( J00405083 |. 6A 02 push 2
( l. f5 i$ X: l00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C] & i# E+ M& J7 H7 A- D$ k, o& ]
00405089 |. 51 push ecx 6 u+ P$ A# T9 P8 }
0040508A |. 52 push edx
6 S% Y: {. k! c& a: X0040508B |. 8BCE mov ecx, esi
( @" U# O0 f/ [$ L" y0040508D |. E8 0EF8FFFF call 004048A0
: f" O& I& J& D9 }7 L( {9 |00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] 0 i" S* k$ K2 p' I2 e% [
00405096 |. 50 push eax
" W5 D3 _* {9 U. G00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
; p: K( s$ `6 j5 T7 O' B, l0040509C |. E8 BFBFFFFF call 00401060 - L; J+ w, f4 Z* g2 E- A. g
004050A1 |. 83C4 08 add esp, 8 6 x, v% x7 O* y1 b. _- _+ ?% s
004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
! @0 @3 k. l3 W2 B004050A8 |. 57 push edi " N5 F; @ S6 s7 L6 |- i
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
- [2 }% n( o+ j( s7 v5 K& m5 M, _004050AE |. FFD5 call ebp
1 T, s4 Q) ?2 k. ^) B$ w004050B0 |. 57 push edi 7 t+ l4 I+ y2 w0 [
004050B1 |. 8BCE mov ecx, esi
$ M/ i6 B7 e% E; n: x4 z004050B3 |. E8 68F8FFFF call 00404920 ( o; z" o9 ^; V5 i' F
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
$ B& `, k5 H @0 k# M% b004050BC |. E8 CF000000 call 00405190 5 M7 Z% q( L, C @
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate." 5 _/ x2 ]+ N K$ W! c9 ?
004050C6 |. E8 35BFFFFF call 00401000 % ]9 f# @4 x4 J9 j" |
004050CB |. 83C4 04 add esp, 4 1 Y7 Y i; K5 L& N' u# |6 C* ~
004050CE |. 57 push edi ; /status ; D: X8 }; o5 x0 e
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
, b0 M9 Z1 V8 b& o2 h1 B3 i004050D5 |. 5F pop edi 6 y3 T, A* e2 r' L; c. M2 r
004050D6 |. 5E pop esi - O6 {. c: Z/ K4 c( ~& J
004050D7 |. 5D pop ebp 8 T' S+ x( F+ B# q6 i
004050D8 |. 5B pop ebx
& z+ Q7 z$ y% u; V" s. w. Z% @* A004050D9 |. 90 nop 4 v: z# B! E6 l) R
004050DA |. 90 nop
$ {% g- K0 e; R0 _5 _& g3 m [004050DB |. 90 nop
5 D1 V6 s1 g0 T% q- b3 B. o/ \004050DC |. 90 nop ) ~9 u% l! O7 ^* Q! e2 p! r! w
004050DD |. 90 nop ; G* j3 l9 p; T6 I& P$ E2 E3 N5 M
004050DE |. 90 nop 5 Y# C5 K) n1 A- a! b6 V
004050DF |. 90 nop
' l" F- _* R6 L5 x5 v: U' ^2 R' e004050E0 |$ 8BC1 mov eax, ecx
1 x) f0 M+ I d$ d0 p; I004050E2 |. 33C9 xor ecx, ecx / K3 W, U T' ^8 F9 n2 F, G$ g
004050E4 |. 8908 mov dword ptr [eax], ecx 5 o+ N o* S3 F0 p- Q* Q5 N
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
+ a/ y% x/ ^$ I3 q) c& g* ?004050EA |. 66:8948 06 mov word ptr [eax+6], cx / |. ^8 i$ f, L7 e! j
004050EE \. C3 retn 4 ]/ d! ]- [8 x
004050EF 90 nop
) W2 h8 u2 I- D3 v( o9 o/ z004050F0 /$ 53 push ebx
f' p+ ~* g4 {004050F1 |. 55 push ebp $ r0 Z# J2 d7 B
004050F2 |. 56 push esi " d& W/ n7 c4 O9 u" k6 x
004050F3 |. 57 push edi 1 _5 ?% p/ \9 E8 R: b0 [) M5 a
004050F4 |. 8BF1 mov esi, ecx ! e; z: ]; n2 l" v3 j, X
004050F6 |. 6A 14 push 14
! p$ ?$ ~& {' s# @; Y" y) l* a004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator % r* E% Y& r) Y% q
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C] ' G/ y' @* \3 V
00405101 |. 33DB xor ebx, ebx 4 D& ^/ Q% c9 v6 B, e
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 e, K, z& G4 l2 g
0040510A |. 895E 28 mov dword ptr [esi+28], ebx - _$ B1 ^, I# A+ X1 O' l( ]
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
( O8 O7 F! X; S+ A# Y0 @& Q00405110 |. 895E 24 mov dword ptr [esi+24], ebx 6 Q% N7 K v" ]7 ]
00405113 |. 895E 20 mov dword ptr [esi+20], ebx
) c, e) @' R3 v4 E" p& M0 a' I00405116 |. 895F 04 mov dword ptr [edi+4], ebx
6 w6 L8 h- I7 u' N3 |: i& h) R00405119 |. 891F mov dword ptr [edi], ebx 1 j' E" q- r( K5 F
0040511B |. 6A 10 push 10
, X+ j( H9 A M; y+ O7 M0 M0040511D |. 8BCF mov ecx, edi ! ? h) S: a% U9 X8 d
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
* [0 F8 ]# S$ f4 I# m6 F0 e00405122 |. 895D 04 mov dword ptr [ebp+4], ebx + C3 @9 _0 t( s, }5 G) z. J
00405125 |. 895D 00 mov dword ptr [ebp], ebx 6 _5 Q( S3 [6 P6 h, m1 G
00405128 |. E8 F3180000 call 00406A20
, @. |; L; O% N) j4 M- s/ G0040512D |. 8B07 mov eax, dword ptr [edi]
0 T4 w2 N; P" ~" B1 @4 ?7 S6 y0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4] 4 L9 n0 A2 H4 L5 u. g1 B
00405132 |. 3BC1 cmp eax, ecx
. Y* u5 [; w% f0 H9 U00405134 |. 74 0C je short 00405142 ( r$ j, m1 u, r4 [* t
00405136 |> 8918 /mov dword ptr [eax], ebx , r( q7 |& X/ m0 Z3 |- H5 m
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
6 N& u1 y+ p: K: @7 v& ^: G* G0040513B |. 83C0 04 |add eax, 4
4 N# W1 N3 l# y. m0040513E |. 3BC1 |cmp eax, ecx & ]3 C* ^" X- m- U6 b( N$ i$ L
00405140 |.^ 75 F4 \jnz short 00405136 % J5 N4 ]$ [% }# e8 \6 |. N
00405142 |> D905 3C934000 fld dword ptr [40933C]
! f8 n( A+ v% D& i3 n6 Z" `00405148 |. D80D 40934000 fmul dword ptr [409340]
6 g2 u( z# M, C0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol> ' W/ Q' B( i; o' _9 j
00405153 |. 50 push eax
8 j* l, A$ U5 V% k/ N" B8 L' M00405154 |. 8BCD mov ecx, ebp ! e7 R' q+ J' e5 H" a
00405156 |. E8 65190000 call 00406AC0
; I- `( z* E: E8 |: T* F- C0040515B |. 68 00800000 push 8000 8 g* w3 \" z5 j% J& R* H3 A1 y, J8 V
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
% R8 r" x, T- b" M00405163 |. 895E 40 mov dword ptr [esi+40], ebx
2 \2 ~+ p, G! V( ?) f00405166 |. 66:895E 44 mov word ptr [esi+44], bx
+ m1 B: A8 U1 a. m" d0040516A |. 66:895E 46 mov word ptr [esi+46], bx
! C# t- V0 q6 i* ?9 E0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
% z6 h7 X: }" H8 _; H' R2 J) e00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
/ S6 y5 q% K! U2 Q8 }# Y2 m00405177 |. 895E 60 mov dword ptr [esi+60], ebx
2 X b, ~9 h- ]. I7 A) p0040517A |. 66:895E 64 mov word ptr [esi+64], bx
! c# K: [0 ~& \0040517E |. 66:895E 66 mov word ptr [esi+66], bx
. `7 n$ V& w2 Z3 C00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
/ B% p( B- n7 g$ K3 Q00405188 |. 8BC6 mov eax, esi ; y5 c% _5 ^) A
0040518A |. 5F pop edi
2 n! s2 ?# E; d$ E% n' r2 C; @/ f! A0040518B |. 5E pop esi
; {, ?. E( h& ? Q& m7 ~2 I% ]' u$ o3 i0040518C |. 5D pop ebp / O+ I1 D: v5 j* e
0040518D |. 5B pop ebx
. l, l1 w4 m y. t4 j2 B8 X8 s0040518E \. C3 retn |