在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。 e& E- w' I+ g7 _9 A$ V: ? ~
当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。
0 g- a/ A. k( q l不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。 , T' u9 L1 S1 W( P1 n: a H
$ \5 i$ h9 u. s6 q5 l
& U. W4 W& m F, H00404990 >/$ 81EC 7C020000 sub esp, 27C
8 ^; P2 [2 L* E1 l. G00404996 |. 53 push ebx % v8 ^: P" s8 y' A
00404997 |. 55 push ebp 9 B+ w1 T# E* B9 {3 |; B* O9 ]$ \9 u. m
00404998 |. 56 push esi ' m. c( `2 { K0 u
00404999 |. 57 push edi
H3 j( t. w: n) L9 h0040499A |. 8BF1 mov esi, ecx : u# ]: Y% u; m/ P
0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF , w8 M( x2 p& ~
004049A1 |. E8 BAC6FFFF call 00401060 + S% h; F# y2 z% q- x
004049A6 |. 83C4 04 add esp, 4
3 K6 Y# d6 T- N" w% N& d: q T004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
; F0 h$ Q' T& t$ Z; A004049AE |. E8 4DC6FFFF call 00401000
8 y4 d; o% N# k" ~6 R0 { f9 N& L6 K+ n004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
4 w$ m+ z) B( `& s. q004049B9 |. 83C4 04 add esp, 4
% A4 P L# h2 c2 k4 l/ C$ F9 L9 P/ s004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238] # P* o9 ~2 y* U' q& ~" r- |4 W' U8 d
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88] 7 v H. p0 B( ~# X: Y1 h% \
004049C9 |. 53 push ebx ; /<%s> ; q6 {; D/ R! ?% k, ?
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
( O- m/ s; T/ K8 {: F004049CF |. 50 push eax ; |s 9 ?( o1 b; P) ]& j# ]" _
004049D0 |. FFD7 call edi ; \sprintf
8 {" d# i' W+ z& E R004049D2 |. 83C4 0C add esp, 0C : f$ D" x( E) l, ^$ ~7 u
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88] ) `5 h( O K1 R2 ~+ m
004049DC |. 51 push ecx
* R2 N0 K$ K v9 w* H8 d004049DD |. 6A 00 push 0
, `8 i# C, y1 C, w" R9 J004049DF |. 8BCE mov ecx, esi 9 n; k: H0 X% d% t0 g7 U
004049E1 |. E8 1A0A0000 call 00405400
1 d8 k) X" _, U3 r7 P004049E6 |. 53 push ebx - f3 I% M8 I: { O# v" c
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 5 p( y" ^$ @; a1 P
004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\"
9 K6 p% k! T& n* A' ~* P7 q! |004049F3 |. 52 push edx
- n: d* X& k& J2 Y. ]004049F4 |. FFD7 call edi 5 Q6 K$ [' ?) Y+ v% j; _; w
004049F6 |. 83C4 0C add esp, 0C 2 t* t8 s; R# f: `4 O4 |2 V' R
004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
; b/ u- W5 o- b2 I00404A00 |. 8BCE mov ecx, esi
/ D7 F+ b1 B. _00404A02 |. 50 push eax ( Q: q! s+ A [. v2 o
00404A03 |. 6A 02 push 2 * P0 c6 ~- T; J$ a
00404A05 |. E8 F6090000 call 00405400
$ k2 V5 j6 U' w4 y0 T: G8 |00404A0A |. 6A 14 push 14 5 |4 v! Q' E6 g. ^- n' _
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
! N" U! F* Y/ g! j" `1 E00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
6 c; ]0 z) d3 b- o/ |' g( d: \00404A16 |. 6A 00 push 0 2 ^5 f- Z: @+ \* \' p
00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
7 `/ H* P1 {* Y00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
+ w$ o$ y% k8 l' @3 }9 k6 I( {00404A24 |. E8 F71D0000 call 00406820 6 Q/ v" ]) T9 J& w
00404A29 |. 6A 10 push 10
% ~ p5 C/ W i1 k00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
, ^& f: a6 x8 T1 q! f1 T; P00404A2F |. E8 2C1E0000 call 00406860 4 o& F; o L9 i% P# {, M: J
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
8 c* h# k: J6 y. |0 J00404A38 |. E8 A3060000 call 004050E0
% H8 e' b, P1 t0 R; }- K. D, S00404A3D |. 68 00800000 push 8000
2 I1 {9 q8 Q- K3 G5 y3 V00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
: A+ ?! U" R( V' @3 s) ^- W00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile ; m5 k0 P4 _: l$ L! |
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
+ \2 q) c" \8 _' W6 S00404A50 |. E8 8B060000 call 004050E0
; _4 `1 P9 g) J4 B1 \- K7 r00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80] 3 s% L- l* o3 y" [
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
P. A: C0 W5 e4 N4 Y ~4 a4 W00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10]
* R* Q7 s: j) T( I6 V& f00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
! |- y; Z+ l3 I/ J% p( w) H7 n' h$ }6 z3 ?00404A6B |. 51 push ecx # W& _" l' q: z! E
00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20]
. c6 @" ?; H7 O; |; f$ X" j9 `00404A70 |. 6A 02 push 2
8 B, c) T+ y+ ~* K- H! E00404A72 |. 52 push edx
% z( G/ O6 c) W" d3 c2 S( e+ C00404A73 |. 8BCE mov ecx, esi
& I: e3 d4 h7 d+ ^, t00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
' v- a3 F* U# l' t) | x00404A7D |. E8 6E070000 call 004051F0 1 s. m3 F; c7 L) r- I' g& n; ]
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10] 6 i. a T1 y9 k4 z' x6 h3 S
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav" # G' {1 x+ g7 F# {9 T
00404A8B |. 50 push eax 3 S Q( }) x. ?( T+ s! @
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20]
. X1 J8 `2 l0 w; o00404A90 |. 6A 02 push 2
! n- H7 X2 j3 V1 Y" ~$ Q00404A92 |. 51 push ecx
/ g1 c! z: l: q, v5 s- }6 V00404A93 |. 8BCE mov ecx, esi
2 R/ V; i" `( p5 ]9 ~" @ Q00404A95 |. E8 56070000 call 004051F0 % W: J w4 p: q4 D/ h
00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
8 D2 w) S: E, \( n1 m- E00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" * ]3 E( V8 X5 q7 H2 z+ }0 x# c& |
00404AA3 |. 52 push edx 8 q1 Z5 m o- M- X5 L- N
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20] ) x/ _: m+ v& C- ]6 d- i2 H
00404AA8 |. 6A 00 push 0
0 F6 A2 M7 V/ I* q# D) j00404AAA |. 50 push eax 9 Y( o- t v5 R$ M" e4 f9 O
00404AAB |. 8BCE mov ecx, esi
2 J* w( t; X* h2 M7 y3 \: y, M00404AAD |. E8 3E070000 call 004051F0 " x7 c0 [/ x0 l- i6 s
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
2 {& K$ o- r& y# _4 g3 K00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
; K9 K& Y% T- j" x00404ABB |. 51 push ecx
z" Q1 G, m0 _6 o O00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
" s H. T# C# U1 p00404AC0 |. 6A 00 push 0 - ]: a6 x/ U: L. ]2 l
00404AC2 |. 52 push edx ! I- N6 h# x8 M% r7 T; ~0 @
00404AC3 |. 8BCE mov ecx, esi + Q0 o+ v' ^! O. M0 x/ Z" @, o
00404AC5 |. E8 26070000 call 004051F0
1 ]! M7 u w. F$ `& O$ H00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10] - R: i, g6 {* m3 \
00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png" ( Q/ [! F5 j" Q' L9 D9 l
00404AD3 |. 50 push eax
/ n$ k0 b% q9 \- _8 j00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20] ; }" N S/ R- P# a
00404AD8 |. 6A 00 push 0
# L8 x5 o$ u9 H# K9 h( k4 l00404ADA |. 51 push ecx
A7 A! \8 I; @; R6 t! L6 b00404ADB |. 8BCE mov ecx, esi
; R0 |5 Q/ k) o: `# x1 k0 A9 D00404ADD |. E8 0E070000 call 004051F0 $ \, G2 U$ |; M
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10]
7 p0 J0 F' t( V `2 Q00404AE6 |. 52 push edx
- N0 F! V/ t7 D00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF & i0 [: w) S4 O) S" R% v5 j/ E$ F
00404AEC |. E8 6FC5FFFF call 00401060 5 Z9 v9 `0 u. N
00404AF1 |. 83C4 08 add esp, 8 & q- w1 Y8 F Q7 m+ `, ^0 U
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
% o; T! k) r1 z$ o8 Y00404AF8 |. 6A 00 push 0
$ F* G! T' z8 U4 s9 K00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb" # \4 |2 G0 t( \# y* Z
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
/ ^/ ~6 l9 k+ i- y, c X00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128] J+ c( `9 F8 E4 |+ X) h' D0 s) F9 c
00404B0B |. 6A 00 push 0
5 |6 ?2 l: y" X+ q6 A! f9 Y. m5 \7 N00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana> 7 k/ v( z; C3 h) k
00404B12 |. 8BC8 mov ecx, eax
; U. u7 o' ?, J: Q4 G00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath> % }/ i2 M" o7 O& ]1 f$ j) _ P
00404B19 |. 85C0 test eax, eax
% s& i- _( H/ K! ?00404B1B |. 7E 1B jle short 00404B38 ! P+ _, X2 }0 X; k& K( v
00404B1D |. 8BE8 mov ebp, eax
1 w1 z" j2 m% y, Y- V" `* L00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] 1 H( B2 v7 T: u$ V+ ?0 H7 q5 [. }
00404B25 |. 6A 00 |push 0 & D0 r; v, e4 K# v
00404B27 |. 6A 00 |push 0
( e) ]$ U; g& S0 L2 i00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan> " G7 o% n. E1 z
00404B2E |. 8BC8 |mov ecx, eax : ]+ K% k. ^+ g9 A2 s% v4 q
00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove> ( M8 D5 y/ P$ b- s# ?- b: y
00404B35 |. 4D |dec ebp
. W; b! h7 t' @' d00404B36 |.^ 75 E7 \jnz short 00404B1F , I, o# L. r7 |5 Y$ K9 |, _' F0 ^
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128] 3 I/ t' c1 `/ P/ x# |5 z ~, v
00404B3E |. 6A 00 push 0
2 d `+ p6 z3 _: R# ^; u) v s. G00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
! I' D, c. n5 p- @3 ~' d00404B45 |. 8BC8 mov ecx, eax
. G- H$ z) F) l5 H; m. e' f3 g00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
1 B% f9 h% A1 ^5 F& {) K00404B4C |. 85C0 test eax, eax
% D# D/ T q- T1 J( q, o00404B4E |. 74 0E je short 00404B5E
- K& q3 r( t7 y' ?00404B50 |. 50 push eax
( P6 x( h: X; `: E# ]00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
: {& i! h* N7 ~00404B56 |. E8 A5C4FFFF call 00401000 . t# R9 O8 w& M6 y
00404B5B |. 83C4 08 add esp, 8
4 R+ H5 S7 ?+ u/ r$ E00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
; d8 R: n7 c2 ]! k5 `" j: l00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile 1 J0 K% |+ E3 J0 ]$ n2 q0 S
00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString
4 U. L; w. l6 Z1 w) b( W00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
2 c3 \% n0 E& [+ T: u00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString> ' {. l6 F7 B+ g2 w* C- n \7 _4 U
00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
. E f |0 N R00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
3 x# _4 L- j e9 ]/ e00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
6 a. z5 T: z$ X00404B85 |. FFD5 call ebp
) |+ U! G! i: w2 B1 W00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C] 7 k: x( y: P0 n4 o
00404B8B |. E8 E01F0000 call 00406B70 _. M8 v# \6 t; j) Z
00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
+ F0 Y* q0 C3 [00404B94 |. 50 push eax 6 e; U. J8 x, X: s1 o
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete>
* w( Z6 L f+ Z& F/ l H00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C] + x$ M2 ]! N5 _
00404B9E |. 33C0 xor eax, eax 6 C7 T! o* O# Y
00404BA0 |. 51 push ecx
# ^- ^- I. T7 N00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
! p& ^4 j2 |( C/ [00404BA5 |. 894424 50 mov dword ptr [esp+50], eax , u$ l8 I$ ^# S4 d
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
4 R; y! F, {) E! m" a! V) Q00404BAE |. 83C4 08 add esp, 8
- P1 P: ~3 ^! u; j' e% l5 @# w% A00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
( S% Z1 h8 p' d00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator % ]0 n% g+ R7 S' b. A) |
00404BBB |. 6A 01 push 1 & Q: M% v/ R: w. a
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C] # W; N. C7 ?4 c# l' r3 P; l
00404BC1 |. E8 3A1C0000 call 00406800 9 ]9 R4 P& z1 {1 X" V
00404BC6 |. 6A 00 push 0
0 k" ?! t" Q2 m, q$ i00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C] 8 |2 v: b8 [2 ~0 h( e! M6 C3 a
00404BCC |. E8 4F1C0000 call 00406820
2 \) w. |! E; `$ E00404BD1 |. 6A 10 push 10 % i* \. D9 k5 s( o
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48] ! ~. k) d( J! i+ t" E+ D
00404BD7 |. E8 841C0000 call 00406860
+ B/ V7 t% b% i9 u8 g Q00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58] 3 G7 F* [, ]# w/ ?: Y
00404BE0 |. E8 FB040000 call 004050E0 ' @& z0 K& {# @7 `
00404BE5 |. 68 00800000 push 8000
2 Y1 v9 q0 E- g; _ [& C. w00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
G( Q% b/ }+ D I F$ x8 |7 N00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile . ], p- i; P* j1 ]0 [
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 6 U5 z \0 J& f! ?; l4 M: W3 G
00404BF8 |. E8 E3040000 call 004050E0 0 S8 F. n( I% e, Z5 w
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80] + G L( r( u2 Z; M" M
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
' @- b6 M s8 M# b0 `9 i00404C0A |. 6A 00 push 0
* o: f$ I. \9 \: L, I9 y" \4 e00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14] . t% G/ b; ?5 I
00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
9 ]' q1 K. }- Y& m; q) t6 R2 Y+ g00404C15 |. 52 push edx
/ G2 k6 R6 ^$ C: \+ N00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
* W0 D3 L$ P2 Q, L1 Q" p9 x5 ]00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
! N6 W) q- \- ]00404C1F |. 50 push eax 4 D2 _+ [& m8 N a# {" M2 d
00404C20 |. 8BCE mov ecx, esi
0 T5 h8 ^* t6 O: K/ u8 [! P00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
. | k. H1 J; T( P; o00404C2A |. E8 61060000 call 00405290 3 H4 L1 W0 E! O6 V; C
00404C2F |. B8 58B44000 mov eax, 0040B458
7 \* w0 d+ |9 @' K4 i00404C34 |. 894424 14 mov dword ptr [esp+14], eax
$ T) d: c" L3 S4 D* K6 a r00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
5 [& Q! L* E- K6 e00404C3B |. 85C9 |test ecx, ecx
" n7 w+ B0 }" O! E7 W' B# o% D00404C3D |. 75 39 |jnz short 00404C78 ! C/ o2 d/ n+ A0 E, J$ I
00404C3F |. 8B08 |mov ecx, dword ptr [eax] $ l- r0 ~, i& x s5 l
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
- f1 T$ b$ k7 a8 u' U+ h00404C48 |. 51 |push ecx
o; Q' T4 L7 t7 c: d7 }00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
' q; i5 ?4 F( c1 ]3 A0 D00404C4E |. 52 |push edx & x. y9 v3 P: p) T V5 M, f
00404C4F |. FFD7 |call edi
! |3 w4 X3 f+ g: E1 L4 N {8 u00404C51 |. 83C4 0C |add esp, 0C
; H) ?8 b$ ~5 x) v( q00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10] : }* S6 o- A' [( ?9 w* B
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C] 3 j. \! c! m9 ?, E
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
, i. s2 [$ g- l. {5 o00404C63 |. 6A 00 |push 0
% Z( i; ]. i9 m0 ` Z; J. a7 X00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo" ) p; O8 z- n, i" n
00404C6A |. 50 |push eax & P% W1 M% X- ?' {3 X
00404C6B |. 51 |push ecx % S& x% m9 R( `1 y8 A6 `
00404C6C |. 52 |push edx $ e; z& ?6 X+ T0 u9 K5 x
00404C6D |. 8BCE |mov ecx, esi ( m) e3 @7 R7 ?, O# J
00404C6F |. E8 1C060000 |call 00405290
7 Q% C- V- ]7 @% o00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
( \" ~2 s5 @" W% p0 T9 `7 {00404C78 |> 83C0 08 |add eax, 8 % x8 }8 N7 B4 c0 }
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
( q, k" K1 S& w+ r- ]( @% c00404C80 |. 894424 14 |mov dword ptr [esp+14], eax ( z! \ h6 m `
00404C84 |.^ 72 B2 \jb short 00404C38 % \5 v$ } |' k
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10] ; R, L# O T2 r! b
00404C8A |. 50 push eax 3 W% _ p; u* _# h1 H, i+ j- ?
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF 4 o7 F; ^2 |- x+ s; a/ a
00404C90 |. E8 CBC3FFFF call 00401060
: ?+ A ? Q% [: A6 J+ } v# n00404C95 |. 83C4 08 add esp, 8
6 r& w$ g' ]& Q; K; S7 K00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
) E7 F* Y) O0 D$ s* [$ g% \% ~4 y8 O00404C9C |. 6A 00 push 0 + y0 }7 G" r* W& D% \$ b9 g
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb"
! j; N$ e6 \$ l, W7 l0 Q3 T( G3 f00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save / x1 f2 v2 d0 h( ?9 {2 ]
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
; q: x H/ Z6 _4 K3 ]: P00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile ( H4 ^( }( S- ^" k4 h1 F5 R+ V
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
# ]9 H- }8 f/ A8 h% w6 W00404CBA |. FFD5 call ebp
; R& D" l+ R2 i( W00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
1 T- ~1 O1 C$ m7 |/ r$ B$ F9 E00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
r1 q, {; i* W0 b5 n* p h* T1 O00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58] 6 }' o: l, L! A) }+ K0 d5 a: i3 B
00404CCA |. FFD5 call ebp * v$ ~. ^8 m; o M
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44] * n& z$ N( F+ [$ l
00404CD0 |. E8 1B1D0000 call 004069F0
+ c( P" I+ `. N$ {) x0 H00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38] , W8 G3 z# r! I
00404CD9 |. 51 push ecx * Z: ?+ A) A2 l; c* _, m5 ]. c, h
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
* x) W9 f$ |7 ~% q00404CDF |. 83C4 04 add esp, 4
4 F+ ?2 W& N! \6 S- j, | C00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18] * r9 _+ ], q; q$ R2 l! M& v3 `
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 8 G' h8 k5 e0 {; n: M
00404CEC |. 53 push ebx : N; A7 B0 l$ z6 e: p8 a
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 3 R* l9 F+ A" n
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_" 7 x4 }1 r5 ^7 C O+ }+ }( H
00404CF9 |. 52 push edx
7 O' y; x9 s% Z0 r00404CFA |. FFD7 call edi 2 d9 U) ^$ V6 F: c; Q2 W
00404CFC |. 83C4 0C add esp, 0C 3 ]3 E, N; ?! w. R2 P
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
% y+ X. z p" F: Q- k00404D06 |. 8BCE mov ecx, esi
, r5 t8 z! I8 V$ w- |- w00404D08 |. 50 push eax
( c( u$ _3 D; q: R) Q, E00404D09 |. 6A 00 push 0
5 B+ @: z( g/ I V' X/ v% D00404D0B |. E8 F0060000 call 00405400 ) E+ O) t" V& k2 V9 }5 C! A* a# v
00404D10 |. 6A 01 push 1 5 L8 `- u( F- w+ B$ A
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
8 y+ V5 c/ J$ H" h0 ^. v) D00404D16 |. E8 E51A0000 call 00406800 4 J: u. K! z# a
00404D1B |. 6A 00 push 0
( Q( W, z1 N) n5 T" ?+ [00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C] ( F; [) x$ c' y( R2 n
00404D21 |. E8 FA1A0000 call 00406820
+ O# t& o5 W" ]7 s4 X! D00404D26 |. 6A 10 push 10
8 E7 T! J& U3 ]- t |2 \( G: ~00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
+ b @2 A$ r9 ~% H1 Q' C00404D2C |. E8 2F1B0000 call 00406860 " ~/ D* L' H5 S8 q! E+ j# z
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58] + L Z# \+ S& f1 D6 o
00404D35 |. E8 A6030000 call 004050E0
) a" N0 M& m [) P* l00404D3A |. 68 00800000 push 8000
! f+ t9 J- w; l( C4 E- V0 N00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
- Q& ]8 |9 q' O( K. m9 v! F00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile , z$ q: [* _9 C# Q1 V. J
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78] 8 N( J+ K: L' C; ^7 b) `
00404D4D |. E8 8E030000 call 004050E0
# j3 K3 r9 P+ Q, K$ v00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
5 w% l9 R0 O% B u, t00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile }* T+ Y1 w1 z" w9 i- E
00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
7 Z" j3 x0 L5 [+ Z3 _, S: V00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg" 6 x7 S5 A3 h2 X5 r! Z
00404D68 |. 51 push ecx & s! Z2 f: ?# B9 R: }( V" f
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
1 E) Y/ W1 E; f00404D6D |. 6A 00 push 0
' e* B& o X- b' ` s g6 ^$ h00404D6F |. 52 push edx
* m9 w5 b4 E: W- s00404D70 |. 8BCE mov ecx, esi , J! {- s) A; z
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0 ) y: A) \2 J$ t+ _8 f' `
00404D7A |. E8 71040000 call 004051F0
1 k& u6 }# M) g& V$ V) t" w r2 G. @00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10] $ @* X1 K- r; Q* V& G7 n. e B: d
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga" - M- y" y2 U% W1 Q" w
00404D88 |. 50 push eax % t* q Z( h5 a% N
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20] 7 \# I9 w2 [; w$ ]3 s. M
00404D8D |. 6A 00 push 0 . u( f7 m @( E3 j2 ^! o" n5 u z
00404D8F |. 51 push ecx
# @5 k( k" ]$ T/ _" \00404D90 |. 8BCE mov ecx, esi + K$ q& n+ a7 g( i- s
00404D92 |. E8 59040000 call 004051F0 8 j% e8 P F/ w9 m2 H6 t, G( S5 I0 Q
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10] 1 t9 Z# b! _" P- } Z
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
c! y0 c6 G/ Q00404DA0 |. 52 push edx # z% x6 T% X: k" L6 S! g) U
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
# E* H3 j7 s g6 z& \00404DA5 |. 6A 00 push 0 $ p, x" t/ W: f5 v4 E
00404DA7 |. 50 push eax : O0 ~3 X! |! {2 _* Y3 R2 N
00404DA8 |. 8BCE mov ecx, esi
7 p3 c$ a5 m, w! h4 i' A00404DAA |. E8 41040000 call 004051F0 $ g3 _+ h2 w! N7 ?9 P* `
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10]
5 \7 }6 b3 y: v8 ]00404DB3 |. 51 push ecx * K0 R& S3 R- q% L. i8 u
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
# B8 k6 m7 ?+ v' {; j: c. J0 [+ ~/ p, ^00404DB9 |. E8 A2C2FFFF call 00401060
# e2 x) G- c$ C; @: w8 I1 U00404DBE |. 83C4 08 add esp, 8 ( v1 {; j; N7 f' Y
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 8 Y! j) G* o% k0 [' ]6 P1 Q
00404DC5 |. 6A 00 push 0
7 |0 k6 I0 l8 X% I, S6 B' r00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb" 1 {1 h7 a( I6 d2 w. V% u2 i, d
00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
8 C/ L7 ?; T: `- f9 n$ g00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
8 Q- Z* b8 W: j; ]00404DD8 |. 6A 00 push 0
7 P: B' `* h6 @ [% f' j7 Y( I0 `00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana> $ R0 W: B P& B0 V
00404DDF |. 8BC8 mov ecx, eax
' U- g! b6 b4 B8 w2 c: Z00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
0 e4 n x1 I' D# J) `00404DE6 |. 85C0 test eax, eax
. z; n+ \, m9 R7 r00404DE8 |. 7E 25 jle short 00404E0F % T: G* q6 n; p; m# t( m, U+ u, z
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
+ E& g N/ G6 R# |, y, y2 k5 Z00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128] 6 n5 C0 s9 x, {: [
00404DF4 |. 6A 00 |push 0
6 v$ A/ t9 ^; }% t( q5 Y00404DF6 |. 6A 00 |push 0
$ \1 _: C) @% e00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan> 5 w: [4 f1 u( L$ g. `& T! v
00404DFD |. 8BC8 |mov ecx, eax
7 K* ~$ y Q+ n% W5 \3 I& I00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove>
8 h6 Z5 }6 C& k) T+ c" N6 z00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14] : W7 a" c! P! a+ C: |3 l9 g$ U! D4 y
00404E08 |. 48 |dec eax
9 h- I" }8 p7 c0 z$ {. K8 K6 ?00404E09 |. 894424 14 |mov dword ptr [esp+14], eax ( \1 W, u2 Q, r. q% j6 Q
00404E0D |.^ 75 DF \jnz short 00404DEE
5 M1 G: R P7 }1 u( s00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
- h+ o' u3 t8 w7 S- m5 G00404E15 |. 6A 00 push 0 - j' y- B0 s' N; H# b8 s
00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
+ s; x7 A+ q @2 F( J; r8 q! S" z00404E1C |. 8BC8 mov ecx, eax
# K& d4 |* a1 i, y00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
! k, {. o3 ~: ], q00404E23 |. 85C0 test eax, eax ! l: P8 f/ P' |) p
00404E25 |. 74 0E je short 00404E35
1 V. L, }0 D- f5 F5 n$ }00404E27 |. 50 push eax ! P5 ^7 t8 f* u, [% D
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!" 6 S, W0 W( [ p$ T
00404E2D |. E8 CEC1FFFF call 00401000
' H+ N) a2 N- m# L- a: w00404E32 |. 83C4 08 add esp, 8
% V v P4 R* t8 ^00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
- p7 v* y7 i% M9 v2 u, g00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
3 g$ z# _2 S$ b$ F1 N% o" O6 a) F9 Y00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
, E% b# n0 w0 V5 A- s4 n: {00404E46 |. FFD5 call ebp
( `1 ~. i1 ~' A0 k4 h; z; ^00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60] 0 | g1 q5 H; V
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
* ]- e5 c+ t0 j00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
% a2 {# @8 I6 Y4 |& f# d& k00404E56 |. FFD5 call ebp ) L( n% ~! S+ r& g- U" e7 _1 _
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44] ! N1 v: d' I: s# r
00404E5C |. E8 8F1B0000 call 004069F0
. {2 _! O. _' E" I" f0 Z- j00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38] 3 m7 w0 j/ S* t' i- n" @1 m
00404E65 |. 52 push edx % U) K2 v. e$ ^ H0 ]
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete> - `# m% h0 X7 w! ^7 i3 l a3 n
00404E6B |. 83C4 04 add esp, 4
7 e0 d# k& Z2 S Q3 `! e$ c4 e( F00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
7 y' b# P1 T/ e00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator 2 ?7 H6 X& h1 {! O' d' j. d' ?
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ' p6 v$ m1 U/ n9 d t
00404E7C |. E8 6F020000 call 004050F0
( g* ` e' r" y$ ?* W c9 f, o00404E81 |. 6A 00 push 0
9 D& O! M9 p# b- z00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
. l$ E }9 ]5 N00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
& h7 V* K, p1 a. m, G00404E8C |. 50 push eax
/ H; F8 J* }& C00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24] 5 l/ C) E$ i* c/ o- y" A
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\" $ c' Q) p$ j6 _, x
00404E96 |. 51 push ecx
- ~9 j: l' @1 h3 t00404E97 |. 8BCE mov ecx, esi
8 b F; h7 y3 `+ ^. \& U00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
7 P5 S; l) f+ x4 T% x00404EA1 |. E8 EA030000 call 00405290
" U' O% G( E; x! p1 F' W6 R00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
& }1 f( n& y9 g, l, p' S00404EAA |. 6A 01 push 1 6 A* O9 x' ^2 [
00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C]
) j, x5 z: S- ?6 B2 Z0 H00404EB0 |. 52 push edx
Y" Z$ \! P. T/ X00404EB1 |. 50 push eax - g v0 |& G4 \9 V5 m' T" z
00404EB2 |. 8BCE mov ecx, esi
, e6 i# K+ i1 D4 y$ O) N+ D00404EB4 |. E8 E7F9FFFF call 004048A0
1 u: `2 w3 q, [; N00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
2 D% V% V7 P) @3 A- Q: m; @00404EBD |. 51 push ecx
, M/ V6 N) H. J/ i, H00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
, }, \/ c; x+ P0 g3 O# Z$ n- c! d00404EC3 |. E8 98C1FFFF call 00401060 7 {7 J/ Q4 j) W' J
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save 0 Y6 u/ B$ y3 R2 W
00404ECE |. 83C4 08 add esp, 8
5 m, k) t6 n8 K0 {& s00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18] ) i% k0 l6 ^2 F$ ]0 Q3 b9 @
00404ED5 |. 6A 00 push 0
+ s4 V" U/ p# d: x ~' n00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
a% j# c8 d4 I- |00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save> ' w) X0 _8 A: R+ a
00404EDE |. 6A 00 push 0
5 I& `/ r- ?: Y; r/ F \6 M00404EE0 |. 8BCE mov ecx, esi 2 h$ J( Q$ w$ ^/ [' b" ]6 K. f
00404EE2 |. E8 39FAFFFF call 00404920
3 I& o+ o3 W( F( x0 e# x3 C00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 3 _9 Z6 d& y+ G% F
00404EEB |. E8 A0020000 call 00405190
6 g! Z2 J4 v) m/ _0 o, N00404EF0 |. 53 push ebx 9 D5 _4 Y! c( J
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C] 3 A; L1 W7 A) c9 u9 d: g, R5 x
00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
9 q9 N5 F4 Z7 c00404EFD |. 52 push edx
% q P7 p' O" _00404EFE |. FFD7 call edi 7 j1 W2 c" s# h
00404F00 |. 83C4 0C add esp, 0C " f' ]. d, ?5 i$ ?
00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88]
% r2 e; I: C) G2 a# a# L00404F0A |. 8BCE mov ecx, esi . n& n7 L+ F& L+ I! f) T/ n
00404F0C |. 50 push eax 2 P1 o; q: L) p! j: ]* G; ]" P: ^
00404F0D |. 6A 00 push 0
8 m5 `7 U4 c1 t00404F0F |. E8 EC040000 call 00405400
% t1 [% G+ D/ n00404F14 |. 53 push ebx
! B5 ]" E& G: v8 ^& O6 w6 S1 I00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C] ; x/ d6 Q; q6 g5 o
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
* W6 Q% v( @7 L- k! u" h/ L00404F21 |. 51 push ecx
* h* K; s! Z# R; B" n! H( W$ @00404F22 |. FFD7 call edi
0 x% {! w3 g3 b0 q00404F24 |. 83C4 0C add esp, 0C
9 s* U7 P6 X+ l; S$ H00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
( t% a \. `3 a- x00404F2E |. 8BCE mov ecx, esi
& S& B! f" W0 \7 y6 \00404F30 |. 52 push edx
4 Z3 e* w3 D6 c( x4 h. O00404F31 |. 6A 00 push 0
+ E: [% J$ }+ t7 s; Q$ e) I4 K7 D00404F33 |. E8 C8040000 call 00405400
7 z+ I n$ _- h6 r$ o00404F38 |. 53 push ebx - N5 s1 f5 ~/ q2 [+ r9 H
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C] - a: [6 A2 Q9 `4 ~
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_" 5 B3 ? |3 y3 b' J' g! V
00404F45 |. 50 push eax ' D7 B Q7 ?$ N' A1 ~
00404F46 |. FFD7 call edi ( {% H' G3 i }' T9 t. i0 u
00404F48 |. 83C4 0C add esp, 0C & r2 L, O' p _) ~
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88] ) N% i1 O& z4 X! T
00404F52 |. 51 push ecx , i' y$ e- e; ^9 z2 e% b
00404F53 |. 6A 00 push 0
7 ~6 ~9 O. C& |# |3 @00404F55 |. 8BCE mov ecx, esi * L3 B! y, i% a! c
00404F57 |. E8 A4040000 call 00405400
$ w5 Q9 i+ |' r00404F5C |. 53 push ebx
+ }7 G' O, B2 n' S3 a4 \00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
4 n2 ^7 G6 L8 ~ D8 P00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_" ) C6 V5 f8 {% I% k0 H
00404F69 |. 52 push edx
; V& L* Z t+ [5 ~5 S+ [00404F6A |. FFD7 call edi % b# O X$ K5 E/ e2 m+ _
00404F6C |. 83C4 0C add esp, 0C
0 G2 L3 P8 t% F7 b9 o7 ?00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
" V0 J9 o/ b5 w& N$ K$ b00404F76 |. 33FF xor edi, edi
& v8 P0 a+ z; [" r00404F78 |. 8BCE mov ecx, esi ( ?" E4 H$ Q: Q6 }( D
00404F7A |. 50 push eax * e5 O: R7 A# h
00404F7B |. 57 push edi 6 b+ l" o3 O% ~' b! C
00404F7C |. E8 7F040000 call 00405400 3 S' `- f; ?( i. f3 q% ~! h2 E" p
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 4 u; K* k L0 [- ~; ~7 p
00404F85 |. E8 66010000 call 004050F0 , J, L: s" l, R0 ^& A0 n
00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10] 4 D% y6 w! u2 ~; v' W% |" ?2 D4 P
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
. V# s7 _ w) r6 `00404F93 |. 51 push ecx i, l, ?2 ]3 N; x
00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20] / h; w: V; w1 M8 t7 _, m
00404F98 |. 57 push edi # }1 o; O* U/ e8 z( i' b) ?# ^
00404F99 |. 52 push edx
7 I9 q3 w! w$ \00404F9A |. 8BCE mov ecx, esi
* v1 j- ?2 ]: U" z K; b# T00404F9C |. 897C24 20 mov dword ptr [esp+20], edi * X& G4 {+ ^5 c, j! N8 w i
00404FA0 |. E8 4B020000 call 004051F0 7 H/ C# |7 N4 W+ L
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10]
! y# |( f: j# }0 F$ Y* T00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga" 4 ^# F, ^! A5 V7 B
00404FAE |. 50 push eax - ^; m- c, F. S) D9 Z" V4 J* y2 N: m$ U
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
+ r4 ^' {7 ?; T6 i00404FB3 |. 57 push edi 8 n, r' C: e+ {% a3 O
00404FB4 |. 51 push ecx # V7 n4 c$ H' |8 N$ t
00404FB5 |. 8BCE mov ecx, esi
' v" p) ]1 ^! o% a00404FB7 |. E8 34020000 call 004051F0 " |% W# X# B3 ]( R! y) ]
00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10] : K S1 O' }0 `! _9 V( I2 [
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png" 3 S; }& G2 x$ f" a) W6 s) g9 [
00404FC5 |. 52 push edx / t/ X# `" R! a- K" Y; c1 K" t
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
' X: t: h1 w# H2 z. ]2 [00404FCA |. 57 push edi + E4 l+ L `" o y( R
00404FCB |. 50 push eax J$ r; h0 e6 c8 j5 f' ] J2 b5 i; Q
00404FCC |. 8BCE mov ecx, esi
& Q% U6 g# `% D, }% @# [00404FCE |. E8 1D020000 call 004051F0
8 e( a/ J* v' Y3 ]" \& c( q3 o; G00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
& q9 R& n4 I1 q% H, k00404FD7 |. 51 push ecx
/ K5 }4 E8 q$ d% n4 ~7 ~0 I4 N00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF ! d8 ~; M, `3 v, _5 H
00404FDD |. E8 7EC0FFFF call 00401060
0 W" Z0 C+ x. u: a$ W00404FE2 |. 83C4 08 add esp, 8 3 x2 e( d& P8 g* E5 [7 O$ g
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 1 o' ?+ U% r& e; G3 K0 ?5 `, a: Y
00404FE9 |. 57 push edi + j# e6 W$ b) q9 n8 D. _$ B- A' y
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
, n- t; h" h5 i( N8 I00404FEF |. FFD5 call ebp
4 M) f2 t1 l. o* s; x6 n$ S7 L8 y00404FF1 |. 57 push edi
$ z4 u( a- e2 }: i; _* M, v00404FF2 |. 8BCE mov ecx, esi 8 R# f- V G8 j
00404FF4 |. E8 27F9FFFF call 00404920 8 Y k- c- B1 g. W4 T- m2 r
00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18] + h s7 S& ^. @, F4 |, C
00404FFD |. E8 8E010000 call 00405190
. e6 V8 ?) Q, Q' y9 P$ K0 I00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
, t1 ?9 e% g4 a00405006 |. E8 E5000000 call 004050F0
0 C" T' Q/ {) H4 Z( N ~0040500B |. 57 push edi 4 }4 y5 r9 T6 s2 g5 g
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
k7 h H# G; m00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
$ J; ~8 f" C3 m4 b( O1 G5 \00405015 |. 52 push edx $ F. {! S6 Q6 }: O' @/ Z
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24]
8 P4 I, C% t) n/ M0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\" : Y* R2 `' i$ [6 u# l8 R- @
0040501F |. 50 push eax
+ ?: m7 W, Z' Y00405020 |. 8BCE mov ecx, esi 0 T* Y2 p6 T; I
00405022 |. 897C24 24 mov dword ptr [esp+24], edi
% a3 g6 {' D# W00405026 |. E8 65020000 call 00405290
9 {, a% p4 P# ]1 g; U0040502B |. 57 push edi . o" ~# O0 G. q
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14] * {( s8 C0 ]3 b# m/ v0 O+ g7 P
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
4 b/ K+ l9 H a7 H# E! J1 Z00405035 |. 51 push ecx
b( x2 Y! b3 ]2 n( L b" `% ^00405036 |. 8D5424 24 lea edx, dword ptr [esp+24] : Y- b, U3 D4 Z4 p+ q
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
s/ B$ b/ s8 X( x0 u- K5 k0040503F |. 52 push edx $ S0 c {6 k% e) e( J6 m
00405040 |. 8BCE mov ecx, esi
2 Z1 F2 y" k( ~- G) {% i4 `00405042 |. E8 49020000 call 00405290
7 R' `' y: ?( ?1 v3 w, k00405047 |. 57 push edi - u: H4 m8 H$ `: \
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14]
. u$ ?, U) ?/ M9 G0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
( h% O- ~/ a4 Y6 O00405051 |. 50 push eax ) Q$ r9 o c- Z% H0 ^: N+ u$ T
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
% _0 Q& z) R2 _' G$ i! P00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28] : m+ c5 Y( f% g E$ d' k4 L6 S
0040505B |. 51 push ecx
^0 q* [% |: H: x' y* y0040505C |. 8BCE mov ecx, esi
0 `$ `; m1 ^; m" r7 a i5 m- Q0040505E |. E8 2D020000 call 00405290 . ~; F* M5 r& d6 k
00405063 |. 57 push edi 7 W7 r# A& O% V1 o" r& j) s
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14] 0 m$ v) q1 S; @* m
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
# h0 p0 S. `; S* U) Q# k4 z8 P0040506D |. 52 push edx
0 [0 V- O1 l: l7 I0 X" K1 ^0040506E |. 8D4424 24 lea eax, dword ptr [esp+24] , M9 P3 Z8 }# n5 d" d
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
4 Q$ A i# Q( b1 Y00405077 |. 50 push eax
) y7 B8 o, _0 F% t; c0 D& S00405078 |. 8BCE mov ecx, esi 8 K- J+ e0 q) [' i# t! @
0040507A |. E8 11020000 call 00405290
! r+ C2 t0 a( D; Z: T' r" p; Q0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
; F7 z& C, y: \00405083 |. 6A 02 push 2
1 |; p. c5 L; x! T00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C]
4 N' x- P1 m0 y8 c/ ?3 n, o7 Z00405089 |. 51 push ecx
3 |3 A7 B1 p2 `* I m# C9 ]9 W0040508A |. 52 push edx 0 ^+ V% ^0 y5 F9 X0 \, P+ m5 S
0040508B |. 8BCE mov ecx, esi ' R" s2 Y9 I; r1 A
0040508D |. E8 0EF8FFFF call 004048A0
- j6 H; r: t# b: D- P/ J% o00405092 |. 8B4424 10 mov eax, dword ptr [esp+10] 1 G( b2 `/ r6 C, o& [% b: ?. u; v+ x
00405096 |. 50 push eax
. }- P' D! d. T) f: e. I00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
1 `7 g6 r( ^8 J! Y0 y6 H& V1 c0040509C |. E8 BFBFFFFF call 00401060
6 m) d. P0 x: o& F0 i% I004050A1 |. 83C4 08 add esp, 8 / D+ `3 ^$ o4 |9 l- E7 U
004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 9 G; ?' Y" k3 j1 p6 T' x
004050A8 |. 57 push edi ; _ ]+ }/ J$ ~) o1 P4 h
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb" - m4 t8 L1 _' B
004050AE |. FFD5 call ebp 5 U" ?8 ^% u1 t+ {/ @# U3 |
004050B0 |. 57 push edi
% q: K! B, D( w; T004050B1 |. 8BCE mov ecx, esi $ x O- B! t' G3 s
004050B3 |. E8 68F8FFFF call 00404920 ) l$ t/ _5 O: S
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18] 8 o& I1 f, r7 z! L" G5 u
004050BC |. E8 CF000000 call 00405190 : M, w0 @! ^4 D( K6 b" ^
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
7 V% x0 |1 e6 T" ^ h+ p004050C6 |. E8 35BFFFFF call 00401000
3 @& N5 h. Z) q4 ~004050CB |. 83C4 04 add esp, 4
7 p( g% G# c4 N3 o9 b004050CE |. 57 push edi ; /status
) p+ @0 c- O! w* X# x6 w004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit 5 o7 P6 k( Q; T# D- ~# l
004050D5 |. 5F pop edi 9 ~" B& z, G/ D( W# q
004050D6 |. 5E pop esi 0 O, Y \' w# a* T& i9 F( W$ Z# m
004050D7 |. 5D pop ebp
% ?/ V% C7 |! T( z7 v) N004050D8 |. 5B pop ebx ]* }5 e; A x- X* d' x7 E
004050D9 |. 90 nop
; `9 f. Y$ s1 r1 G) m' G7 \# @004050DA |. 90 nop - K7 T! Q7 y' s2 P% i+ d9 G8 h
004050DB |. 90 nop , U' f# k" N7 i2 S- ]5 g, d! h7 w
004050DC |. 90 nop
( t$ o( R% a& ^. F. r' S004050DD |. 90 nop
3 l! ?+ C4 t% c' R3 E& E" r004050DE |. 90 nop 7 F# `+ N, k& ~7 c
004050DF |. 90 nop ' p, K9 C) U7 b7 k0 s& O# S0 V5 ~
004050E0 |$ 8BC1 mov eax, ecx ( O2 z# M! i, C) H( e
004050E2 |. 33C9 xor ecx, ecx : P* v& D* u0 u
004050E4 |. 8908 mov dword ptr [eax], ecx / U6 x5 v. t& [) Q& h
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx % N; O! f" M N5 Y( x
004050EA |. 66:8948 06 mov word ptr [eax+6], cx 9 e% j. y: \7 m# {6 w
004050EE \. C3 retn
7 V( l+ c) g9 |! U- e) h5 z004050EF 90 nop " t5 O5 ]# O t- e q( _% F
004050F0 /$ 53 push ebx
N9 a p; j' n5 k/ Z# I- ]9 t004050F1 |. 55 push ebp " _# {! A9 L6 \+ F% B% R' W+ w# p
004050F2 |. 56 push esi 6 l/ U, H7 S0 u9 n1 L! w8 s- w
004050F3 |. 57 push edi
. C/ W% X- e& g( |+ z; _: D7 J004050F4 |. 8BF1 mov esi, ecx
; m _7 Q4 J" z1 V004050F6 |. 6A 14 push 14 , x" K% [/ L6 \/ W1 k* Q/ i
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
m% Z' a7 j; K7 G- ?- S0 |004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C]
0 ` }6 Q C, V6 n1 M* k3 Z i00405101 |. 33DB xor ebx, ebx
9 a) [- q" ^, u, c& Y3 c00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1 ; p B; Q/ Q/ q6 s- S
0040510A |. 895E 28 mov dword ptr [esi+28], ebx * ~3 {- m' d6 V# h/ b& ]
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
' x' e+ u) }+ d* ?/ L/ @' Y00405110 |. 895E 24 mov dword ptr [esi+24], ebx
2 R5 H7 W/ L: T0 _4 |: P00405113 |. 895E 20 mov dword ptr [esi+20], ebx p/ P4 d) \9 b$ h8 D
00405116 |. 895F 04 mov dword ptr [edi+4], ebx : s4 x* S- x' W. x: w
00405119 |. 891F mov dword ptr [edi], ebx 0 k# F, ?. J! d4 U. j3 C$ K
0040511B |. 6A 10 push 10 % J% K; \# w4 K9 u8 |6 Y8 i
0040511D |. 8BCF mov ecx, edi 3 g9 ?! `% c' A8 J- [
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
w: A; P7 F9 r1 E/ p( F1 u' _$ `00405122 |. 895D 04 mov dword ptr [ebp+4], ebx 1 D7 O: b6 k2 b1 H1 Q( V3 F+ H; y
00405125 |. 895D 00 mov dword ptr [ebp], ebx 0 |- U. a$ i. `3 X0 z4 z* u
00405128 |. E8 F3180000 call 00406A20
) @7 Q9 K M8 x! h0040512D |. 8B07 mov eax, dword ptr [edi]
4 |0 _+ x! c4 T2 m* t# z0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
$ o6 q2 `) G, ]" m, z00405132 |. 3BC1 cmp eax, ecx - {% Y/ F* g+ p% x, {6 X* E# l
00405134 |. 74 0C je short 00405142
: b* }8 T& Y, A$ N9 |00405136 |> 8918 /mov dword ptr [eax], ebx # ~% s; {2 `+ B
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
0 g" m3 G( \- O& w+ a9 o) R6 [7 @0040513B |. 83C0 04 |add eax, 4
' _. p" i& q$ `' a% w8 T8 d0040513E |. 3BC1 |cmp eax, ecx
( W! ~4 m- L# C- R00405140 |.^ 75 F4 \jnz short 00405136 4 l% E$ S7 A% Y; ]9 |" [% J% b
00405142 |> D905 3C934000 fld dword ptr [40933C] + E, M% X+ N; l
00405148 |. D80D 40934000 fmul dword ptr [409340] ) r9 M5 ]& j& _- R0 R4 ~
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol> ' o3 F1 X# }& [; p* o2 ~9 r
00405153 |. 50 push eax : l5 V* l2 M9 B$ Z
00405154 |. 8BCD mov ecx, ebp 8 r5 [- U u3 L5 a4 L
00405156 |. E8 65190000 call 00406AC0
# C8 H6 w" ?" |; v0040515B |. 68 00800000 push 8000 / T$ _$ F: \& @' o1 r9 A) g. U
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48] 5 C* j! |" E) O( v
00405163 |. 895E 40 mov dword ptr [esi+40], ebx
) z: s% g; p2 X! ~6 M1 C$ h& r: ^# D00405166 |. 66:895E 44 mov word ptr [esi+44], bx
9 x& I! m; A: P0040516A |. 66:895E 46 mov word ptr [esi+46], bx
) y1 q9 z; D- `) _+ E; ~: B1 ~' l0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
7 \2 b0 X* l; R00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68] 8 U: i" y% T- g/ W; L2 Y
00405177 |. 895E 60 mov dword ptr [esi+60], ebx & t+ ?. o: }0 {
0040517A |. 66:895E 64 mov word ptr [esi+64], bx , g1 n* u" {4 E+ b( I: ^5 C( Y
0040517E |. 66:895E 66 mov word ptr [esi+66], bx 8 C5 {) Y4 Z" w
00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile 6 l) c# ^, Y3 j- m7 d5 H9 O' G
00405188 |. 8BC6 mov eax, esi ! u2 y4 s9 @" u) J% b# h
0040518A |. 5F pop edi
' w( k5 t' E8 S* D0040518B |. 5E pop esi
0 U; V, y$ x% K" d" j% d0040518C |. 5D pop ebp
# d/ G5 O0 l$ E0040518D |. 5B pop ebx + t, O+ E y- N: i( |
0040518E \. C3 retn |