冒险解谜游戏中文网 ChinaAVG
标题:
【汉化资料】Syberia2中暗藏的打包函数
[打印本页]
作者:
shane007
时间:
2008-12-27 16:46
标题:
【汉化资料】Syberia2中暗藏的打包函数
在分析Syberia2的时候在EXE文件中发现了一个暗藏的打包函数。
- \# s" K% |- I; y% P. `
当然,现在打包器已经开发完成,暗藏的打包函数已经没什么用了。
7 G! ^6 X4 U8 V z. N. Z. c2 n
不过,倒是给我们提供了一些启示,这就是在游戏中也许暗藏着一些有用的函数,我们如果能看懂,或是截取出来,也许能够直接用于我们的汉化中。
: ^, U' p" D8 {5 j R4 `, f% k2 L
7 V D7 k) |8 W6 A( `' P
# k. i B" J1 }: s
00404990 >/$ 81EC 7C020000 sub esp, 27C
, \* N, y& u+ ^
00404996 |. 53 push ebx
& S* x9 @; a( o% Q
00404997 |. 55 push ebp
' [* u, C! g, G3 ?% c
00404998 |. 56 push esi
" e% t2 G- ? Z+ X' c' ?
00404999 |. 57 push edi
4 T, S0 h6 x, P" [3 n
0040499A |. 8BF1 mov esi, ecx
$ R' y1 u0 {# s2 E5 v: K
0040499C |. 68 C0C24000 push 0040C2C0 ; ASCII "Begining construction of the BigFile",LF
2 \, p: l# o( u% s9 i
004049A1 |. E8 BAC6FFFF call 00401060
/ G# Q2 k: M& d; q' W( i
004049A6 |. 83C4 04 add esp, 4
& Z ^/ h @; C4 X; w8 ~! ~; p
004049A9 |. 68 6CC24000 push 0040C26C ; ASCII "Building BigFiles (.syb). This will take about 5-10 minutes. Press CANCEL to start."
3 p/ h5 l# b5 L! _! Q7 {
004049AE |. E8 4DC6FFFF call 00401000
/ b M: `$ S8 g5 J1 C4 q% E: v
004049B3 |. 8B3D 30924000 mov edi, dword ptr [<&MSVCRT.sprintf>; MSVCRT.sprintf
( p0 g, v. t* `6 w
004049B9 |. 83C4 04 add esp, 4
+ }2 k! i" R W
004049BC |. 8D9E 38020000 lea ebx, dword ptr [esi+238]
5 D9 _ A6 d( K. D9 o
004049C2 |. 8D8424 880000>lea eax, dword ptr [esp+88]
: M+ i- T3 M4 h# k
004049C9 |. 53 push ebx ; /<%s>
4 U: A( r4 K, P) j3 l! X
004049CA |. 68 58C24000 push 0040C258 ; |format = "%sTextures\InGame\"
; G& l* J4 Y8 v& K2 a. e |
004049CF |. 50 push eax ; |s
5 W; D& e+ u% ]6 c4 u! j
004049D0 |. FFD7 call edi ; \sprintf
. j9 @: R3 U- p9 M
004049D2 |. 83C4 0C add esp, 0C
$ R, J! g+ [) T& |; f6 K7 h
004049D5 |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
6 h* f! V; V. f: ?
004049DC |. 51 push ecx
9 A7 u$ N2 X! D2 d. \% }
004049DD |. 6A 00 push 0
5 p' V/ p' E9 G) m# I( i- i
004049DF |. 8BCE mov ecx, esi
2 y; J0 D% \8 c" M4 Q
004049E1 |. E8 1A0A0000 call 00405400
0 d5 S& h3 @% N1 W
004049E6 |. 53 push ebx
7 o; l' W9 X% K
004049E7 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
" S; j9 B4 A* {& k
004049EE |. 68 00BA4000 push 0040BA00 ; ASCII "%sSounds\"
/ X3 o6 m1 b' o f, D
004049F3 |. 52 push edx
9 ]% D) s! v, y( `
004049F4 |. FFD7 call edi
! c0 j. R1 T1 _1 i4 U" U
004049F6 |. 83C4 0C add esp, 0C
/ w- Z5 i! _4 ]0 K* H3 U: _4 J
004049F9 |. 8D8424 880000>lea eax, dword ptr [esp+88]
* d6 `% E" j# m0 n) Y
00404A00 |. 8BCE mov ecx, esi
$ @9 y+ v* h& E$ M
00404A02 |. 50 push eax
& f0 l, d* V5 ]9 B
00404A03 |. 6A 02 push 2
, N6 j% |2 Y6 q& V' b% r; q+ Z% f
00404A05 |. E8 F6090000 call 00405400
* `! q4 c) z X8 q7 q4 r8 Q
00404A0A |. 6A 14 push 14
% a+ u% M& j4 g6 B
00404A0C |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
8 X8 q D A0 c, u
00404A10 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
" u! d* i) p+ X9 k' {3 j3 z9 l
00404A16 |. 6A 00 push 0
! e. X" W1 b2 Z6 x' q$ D$ L
00404A18 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
) Y2 j- S! ?& l: q5 h
00404A1C |. C74424 38 010>mov dword ptr [esp+38], 1
$ T+ I) J' n9 Q, z* V* [
00404A24 |. E8 F71D0000 call 00406820
2 Q k1 O6 [* B- {
00404A29 |. 6A 10 push 10
; f( ~& k- A: g6 z; g, J4 J3 I
00404A2B |. 8D4C24 48 lea ecx, dword ptr [esp+48]
, @/ z# b- g9 b1 Q5 h- l; h
00404A2F |. E8 2C1E0000 call 00406860
- m, M% A& {0 h
00404A34 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
5 x/ W* M3 e7 r4 b. b
00404A38 |. E8 A3060000 call 004050E0
$ z0 V" C2 P/ H5 F* M1 J
00404A3D |. 68 00800000 push 8000
$ D! [; h$ D" B. ]& ?& x
00404A42 |. 8D4C24 64 lea ecx, dword ptr [esp+64]
$ [) R- ^" }& M( `, S- A
00404A46 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
) N2 e5 [' ~+ T [- s/ F$ ^
00404A4C |. 8D4C24 78 lea ecx, dword ptr [esp+78]
+ c7 ~# S j% n, s9 e; U
00404A50 |. E8 8B060000 call 004050E0
) R& r; b$ q/ ?. \( ^6 @$ H7 Q9 o
00404A55 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
" N8 ^: H* v1 p' D; Z
00404A5C |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
/ o& m) y8 d+ S) ~; {
00404A62 |. 8D4C24 10 lea ecx, dword ptr [esp+10]
! ?( x9 o8 c2 T6 M! h4 E2 t" I- O
00404A66 |. 68 04C04000 push 0040C004 ; ASCII ".mp3"
, `# o' X) ~- A/ }
00404A6B |. 51 push ecx
. M* y4 e! m( s6 H, C/ e9 a
00404A6C |. 8D5424 20 lea edx, dword ptr [esp+20]
: J6 x, M$ z& M* P: v
00404A70 |. 6A 02 push 2
! [: O8 E) S& ]7 s+ C& [
00404A72 |. 52 push edx
# X. Z" T0 f4 ]( }
00404A73 |. 8BCE mov ecx, esi
" a9 b/ Y/ A4 m# R, i2 [
00404A75 |. C74424 20 000>mov dword ptr [esp+20], 0
* f6 g( Z; Y3 [: `
00404A7D |. E8 6E070000 call 004051F0
6 l. p$ m$ n2 w8 x7 s6 [
00404A82 |. 8D4424 10 lea eax, dword ptr [esp+10]
$ ] W2 u: F' |9 A
00404A86 |. 68 FCBF4000 push 0040BFFC ; ASCII ".wav"
" K; l- j+ i& f+ {: R3 n
00404A8B |. 50 push eax
- J8 ?$ M! n3 E0 j; }
00404A8C |. 8D4C24 20 lea ecx, dword ptr [esp+20]
3 l S, F" p3 E
00404A90 |. 6A 02 push 2
" ~' J+ t* ?7 _. H( }
00404A92 |. 51 push ecx
- N7 h7 T; K8 A& ]7 w
00404A93 |. 8BCE mov ecx, esi
( s5 \ I$ M! m# Z
00404A95 |. E8 56070000 call 004051F0
" b4 s' Y3 j0 y( `0 P
00404A9A |. 8D5424 10 lea edx, dword ptr [esp+10]
# O9 p) j" M, E
00404A9E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
2 | \( b( \4 f0 X3 g
00404AA3 |. 52 push edx
8 Q3 e2 w5 m4 P% ?: V. R9 Y- r3 @) S
00404AA4 |. 8D4424 20 lea eax, dword ptr [esp+20]
( Y& u6 y. q8 x; g; a) I
00404AA8 |. 6A 00 push 0
; x# k7 z( f7 P" `" l
00404AAA |. 50 push eax
' b% Y( \" E8 _) P
00404AAB |. 8BCE mov ecx, esi
) E: U" t/ f u/ Z- V
00404AAD |. E8 3E070000 call 004051F0
- j& h; B* ^. ^& X* j" i1 Q" i
00404AB2 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
8 l0 [+ X' x" e3 L4 J
00404AB7 |. 8D4C24 14 lea ecx, dword ptr [esp+14]
: r' _* c4 F% ^
00404ABB |. 51 push ecx
2 o3 Q$ d) ?$ G$ l
00404ABC |. 8D5424 20 lea edx, dword ptr [esp+20]
+ r5 K' f* N" M9 c3 p
00404AC0 |. 6A 00 push 0
( i; S; m* ^+ d- |& Z3 p; r
00404AC2 |. 52 push edx
& d( x" [1 W& ?1 [: S& J5 \$ j3 f/ Z
00404AC3 |. 8BCE mov ecx, esi
1 T* b& O) @" i% ~5 V
00404AC5 |. E8 26070000 call 004051F0
, M, {% e$ ~+ l, P: v* [) ~
00404ACA |. 8D4424 10 lea eax, dword ptr [esp+10]
! F# R j2 v* x- j) e
00404ACE |. 68 0CC04000 push 0040C00C ; ASCII ".png"
& p7 M& u7 p$ j% l- f3 ~9 ~
00404AD3 |. 50 push eax
5 u7 m4 l7 V, d& {5 i
00404AD4 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
$ O6 Q1 U, t) A
00404AD8 |. 6A 00 push 0
* Y& S6 G+ s2 f
00404ADA |. 51 push ecx
2 K" n- k8 {$ j4 J7 ^: b$ }: U. t
00404ADB |. 8BCE mov ecx, esi
2 B, B Y) X1 _% N: @9 V# o9 A
00404ADD |. E8 0E070000 call 004051F0
D+ i% m3 F+ S
00404AE2 |. 8B5424 10 mov edx, dword ptr [esp+10]
. e1 j |3 Q0 s! h9 [
00404AE6 |. 52 push edx
3 y1 s" P' i6 M
00404AE7 |. 68 2CC24000 push 0040C22C ; ASCII " Added %i file, saving MinimalRes.syb.",LF
3 `/ ~) C* F# L- B
00404AEC |. E8 6FC5FFFF call 00401060
3 p. b5 Z$ H$ ^3 M0 k
00404AF1 |. 83C4 08 add esp, 8
6 _* I* h, S6 s0 h$ ~4 O
00404AF4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
; K$ A, E* V; t
00404AF8 |. 6A 00 push 0
8 m w2 T) v3 u6 M2 Q/ u+ Z
00404AFA |. 68 18BA4000 push 0040BA18 ; ASCII "Data\MinimalRes.syb"
0 G. P0 J; R g0 K
00404AFF |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
# @1 O5 y) }( T. y( m
00404B05 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
; M" X& B3 ?& S9 F/ x2 K# x
00404B0B |. 6A 00 push 0
8 V0 L4 @8 I* ?/ Y
00404B0D |. E8 2C340000 call <jmp.&CK2.CKContext::GetPathMana>
+ D7 Q1 A1 S+ u
00404B12 |. 8BC8 mov ecx, eax
' j9 D% v! Z" ~- E
00404B14 |. E8 61340000 call <jmp.&CK2.CKPathManager::GetPath>
7 R% T2 v! ]- d ^! C+ U0 K
00404B19 |. 85C0 test eax, eax
/ t4 e2 C! D; [" M" c3 B3 c# e8 A
00404B1B |. 7E 1B jle short 00404B38
0 T0 o0 u$ g Z! W; S$ ?3 C5 }! k9 B
00404B1D |. 8BE8 mov ebp, eax
; f0 ~1 m P" ?$ _
00404B1F |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
& s( ?$ O g& i' D7 ], U
00404B25 |. 6A 00 |push 0
+ G* C" V$ R4 S8 b
00404B27 |. 6A 00 |push 0
X% V) G& K' S3 l8 ?
00404B29 |. E8 10340000 |call <jmp.&CK2.CKContext::GetPathMan>
/ p$ x& I# W* W+ C
00404B2E |. 8BC8 |mov ecx, eax
% i, J% n. A3 H% b! [9 W* Q' p
00404B30 |. E8 3F340000 |call <jmp.&CK2.CKPathManager::Remove>
* ~- q7 C* r; p5 K. Q/ J+ A6 B9 k
00404B35 |. 4D |dec ebp
( K5 m! z9 n9 O ~# v
00404B36 |.^ 75 E7 \jnz short 00404B1F
' R: X: B4 I' C4 R! {
00404B38 |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
/ L7 @# v% K+ {/ k& m
00404B3E |. 6A 00 push 0
' g& ^" e8 g; [2 s p
00404B40 |. E8 F9330000 call <jmp.&CK2.CKContext::GetPathMana>
8 p; i. c- [$ L9 Z! f
00404B45 |. 8BC8 mov ecx, eax
' u) n; v2 c3 m+ o( I0 a6 x
00404B47 |. E8 2E340000 call <jmp.&CK2.CKPathManager::GetPath>
& T' Z, k4 T+ s' g( H2 m
00404B4C |. 85C0 test eax, eax
1 _4 `# W# B' K5 X1 F% I ?
00404B4E |. 74 0E je short 00404B5E
1 P: `( E/ l% b2 O- G3 r6 V
00404B50 |. 50 push eax
; h1 y+ z' p& O. T2 [
00404B51 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
# Y. H8 a* o! X, ^$ P3 D' m9 R7 ]
00404B56 |. E8 A5C4FFFF call 00401000
9 \, [1 N) y! k( \% J1 y
00404B5B |. 83C4 08 add esp, 8
1 V# ~0 m% p/ O6 v& ^6 h2 ?! Y
00404B5E |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
, h6 a# S: E/ U6 R6 n& D7 {
00404B65 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
& x+ T, Z& n6 s Y- o9 @( d2 ]7 B
00404B6B |. 8B2D CC924000 mov ebp, dword ptr [<&VxMath.XString>; VxMath.XString::~XString
/ L7 d% o/ @3 g" d8 O; _3 D
00404B71 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
! W" }# f3 b' i4 @% m' k7 X2 p
00404B75 |. FFD5 call ebp ; <&VxMath.XString::~XString>
+ [' H8 H& t6 X1 n7 d: e4 A
00404B77 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
; S+ T) c5 R$ {) j$ B t0 T9 h
00404B7B |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
! {5 S' h; L2 c, I, P+ ]+ A
00404B81 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
7 y& c" p$ s7 ^4 f% N, T/ L$ c
00404B85 |. FFD5 call ebp
! ^0 w) u# L- }- _) L
00404B87 |. 8D4C24 4C lea ecx, dword ptr [esp+4C]
% W: ?6 {2 u; R1 W6 p* T2 w
00404B8B |. E8 E01F0000 call 00406B70
- n* g I+ ]( @, F
00404B90 |. 8B4424 44 mov eax, dword ptr [esp+44]
+ G4 D1 B' e7 M. ^! U: {
00404B94 |. 50 push eax
# O" E/ n* u6 R- K8 b
00404B95 |. E8 46340000 call <jmp.&MSVCRT.operator delete>
( N. N* M+ y' K8 \
00404B9A |. 8B4C24 3C mov ecx, dword ptr [esp+3C]
+ ]/ A6 W! y Y2 B. J% g y
00404B9E |. 33C0 xor eax, eax
" |& [7 y& k- d$ R' Y
00404BA0 |. 51 push ecx
+ U) l! d8 {( |( r8 ]9 X1 W
00404BA1 |. 894424 4C mov dword ptr [esp+4C], eax
) A8 ~* T5 M! D
00404BA5 |. 894424 50 mov dword ptr [esp+50], eax
3 d# B' J3 L$ R7 G; A8 Q: `4 f
00404BA9 |. E8 32340000 call <jmp.&MSVCRT.operator delete>
# p5 q2 V2 @/ Z+ J( n
00404BAE |. 83C4 08 add esp, 8
7 J. M* F! ?5 m; j$ u( {
00404BB1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
" X4 K8 h' a! ]( i" r( e2 c
00404BB5 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
: M: Y% G# H* z" w, B$ Z4 ^) b e
00404BBB |. 6A 01 push 1
" Z0 X" k0 l. C! U* Y8 N' R6 D8 C! s
00404BBD |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
% ^# n9 z: u! J$ b
00404BC1 |. E8 3A1C0000 call 00406800
& g+ `% A5 K# t
00404BC6 |. 6A 00 push 0
6 f3 G: r3 k3 o; k$ E
00404BC8 |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
5 m' u+ s" f7 ?" _( P
00404BCC |. E8 4F1C0000 call 00406820
$ R2 X2 d$ c: ?# h% [
00404BD1 |. 6A 10 push 10
& x' [1 K) O" P1 x& W+ I! a1 i
00404BD3 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
9 w+ L. \2 ` ]. [
00404BD7 |. E8 841C0000 call 00406860
, Z5 a( h9 Z4 U! y+ W8 }
00404BDC |. 8D4C24 58 lea ecx, dword ptr [esp+58]
0 h6 z, @3 J! k2 i5 r; m
00404BE0 |. E8 FB040000 call 004050E0
; f' }/ \5 _! x! [# ~" C6 u2 t* |
00404BE5 |. 68 00800000 push 8000
% [0 T, X- J$ f5 t7 y( ^
00404BEA |. 8D4C24 64 lea ecx, dword ptr [esp+64]
0 E) n; F' [1 O( L9 ?# _
00404BEE |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
& o2 x. V2 Q, l7 H
00404BF4 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
( c: n$ @; W3 i5 R
00404BF8 |. E8 E3040000 call 004050E0
6 r2 D& \2 c5 S I/ @6 A9 N5 I
00404BFD |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
6 J- w7 ?( e2 o
00404C04 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
- Z7 o- w7 L5 _( f( M
00404C0A |. 6A 00 push 0
' f1 ~6 |9 d \ ~. [% q% B& t
00404C0C |. 8D5424 14 lea edx, dword ptr [esp+14]
* w+ F* ~& F" w# R7 L' O
00404C10 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
" ?) B, C) J$ S |. C
00404C15 |. 52 push edx
8 h( N ?( j/ q; z3 i+ Z7 T9 h2 d0 k* {
00404C16 |. 8D4424 24 lea eax, dword ptr [esp+24]
% E' }: x0 d6 V5 i! s. z) \1 p
00404C1A |. 68 14C24000 push 0040C214 ; ASCII "Video\PackMenu\"
+ j3 {4 ]5 a5 O6 x
00404C1F |. 50 push eax
+ `* E& x/ B2 C0 P f+ I
00404C20 |. 8BCE mov ecx, esi
, V! C+ w5 \* N
00404C22 |. C74424 24 000>mov dword ptr [esp+24], 0
" y5 u: R' q6 {# b) P S% i( C
00404C2A |. E8 61060000 call 00405290
9 U/ r; _, O7 ?9 k
00404C2F |. B8 58B44000 mov eax, 0040B458
- J" V# @$ B( a" R( l
00404C34 |. 894424 14 mov dword ptr [esp+14], eax
, V6 u" W* j, r: N$ e2 V6 U
00404C38 |> 8B48 04 /mov ecx, dword ptr [eax+4]
$ n M# K5 _& c" C3 e
00404C3B |. 85C9 |test ecx, ecx
3 ]. L N3 k( @
00404C3D |. 75 39 |jnz short 00404C78
6 t3 Y) K0 n9 p$ r7 ]
00404C3F |. 8B08 |mov ecx, dword ptr [eax]
' E( x E* e" D5 A) F/ o ]
00404C41 |. 8D9424 8C0100>|lea edx, dword ptr [esp+18C]
; L& h$ G* w; M# p& w+ `
00404C48 |. 51 |push ecx
- J/ l. Z# I, s4 ?. b, f
00404C49 |. 68 B0BF4000 |push 0040BFB0 ; ASCII "Data\Animations\%s\"
9 ]8 Y( C. p5 u3 \
00404C4E |. 52 |push edx
- L' N$ a" g( ?& L
00404C4F |. FFD7 |call edi
! P$ g% H* {, Y1 f) \6 V5 s$ t9 x. b+ z
00404C51 |. 83C4 0C |add esp, 0C
, e+ y' {/ c) t* l
00404C54 |. 8D4424 10 |lea eax, dword ptr [esp+10]
* A7 {8 V) D" Y( t/ e
00404C58 |. 8D8C24 8C0100>|lea ecx, dword ptr [esp+18C]
3 F B7 Q- M& n# V/ @* O
00404C5F |. 8D5424 18 |lea edx, dword ptr [esp+18]
/ R" S" [2 A$ l* j1 ^6 `$ S
00404C63 |. 6A 00 |push 0
/ f3 I4 B* j' [4 C
00404C65 |. 68 A8BF4000 |push 0040BFA8 ; ASCII ".nmo"
/ y. r( l, W2 v F& K$ a
00404C6A |. 50 |push eax
) D' `4 V8 h4 [6 l
00404C6B |. 51 |push ecx
/ g6 w" C1 U* i( b6 L0 D* f
00404C6C |. 52 |push edx
! C( f/ o5 Z! e) o# I# E; W
00404C6D |. 8BCE |mov ecx, esi
' w; `5 f* I K$ M& l+ h
00404C6F |. E8 1C060000 |call 00405290
& Y5 W6 H1 _6 ^4 r8 F' U. c2 D
00404C74 |. 8B4424 14 |mov eax, dword ptr [esp+14]
; n2 m4 b7 i7 e1 P6 y: J( T
00404C78 |> 83C0 08 |add eax, 8
1 y" N. f9 K x2 q. _
00404C7B |. 3D E0B54000 |cmp eax, 0040B5E0
; a' d1 M! l# m) y$ g- Q
00404C80 |. 894424 14 |mov dword ptr [esp+14], eax
) j& b' K, p3 r
00404C84 |.^ 72 B2 \jb short 00404C38
) y$ O7 e4 s) i% H! ~
00404C86 |. 8B4424 10 mov eax, dword ptr [esp+10]
, ~- I* ]# @: t
00404C8A |. 50 push eax
# \+ \. v; } N
00404C8B |. 68 ECC14000 push 0040C1EC ; ASCII " Added %i file, saving Minimal.syb.",LF
: C3 N m* @* t# _& p
00404C90 |. E8 CBC3FFFF call 00401060
_* W; m; `9 U: v3 u" M+ w# A
00404C95 |. 83C4 08 add esp, 8
( Q( Q# }) l5 G/ q) T- z
00404C98 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: a8 k" p- ]+ C4 C
00404C9C |. 6A 00 push 0
C1 U* a. \6 r1 Q/ K
00404C9E |. 68 2CBA4000 push 0040BA2C ; ASCII "Data\Minimal.syb"
. b+ f/ t k0 F- }% S2 d
00404CA3 |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
7 A$ x& e3 G: ~ H% s
00404CA9 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
- z3 ^& a v( g1 f
00404CB0 |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
- t, u0 w$ B2 @) Q" L9 S
00404CB6 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
+ ]# m$ T/ }0 a, C/ f) }8 G6 b; P
00404CBA |. FFD5 call ebp
+ n. x" |' b& ?8 V
00404CBC |. 8D4C24 60 lea ecx, dword ptr [esp+60]
# K' Y5 o: W$ `1 z: Y
00404CC0 |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
5 i/ q* m* y: A% l/ y+ T6 H
00404CC6 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
1 H( f4 \2 \; h' x7 a, H
00404CCA |. FFD5 call ebp
a5 ~& i7 h# v1 R- O# s
00404CCC |. 8D4C24 44 lea ecx, dword ptr [esp+44]
Q9 Z9 l" Q5 o- v
00404CD0 |. E8 1B1D0000 call 004069F0
9 E8 A& k' S' v- Q, y7 U
00404CD5 |. 8B4C24 38 mov ecx, dword ptr [esp+38]
5 f6 {9 c$ V+ X$ i% U! l" U
00404CD9 |. 51 push ecx
5 { q/ f3 y* c7 c& F; ^5 s
00404CDA |. E8 01330000 call <jmp.&MSVCRT.operator delete>
: ?. o9 C9 O3 q7 z
00404CDF |. 83C4 04 add esp, 4
! I' y1 D- X) ~& L1 ?; x
00404CE2 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: N! S6 n, T2 j3 _5 k; k
00404CE6 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
, \8 X. R! u+ b% N6 O$ B: r% j9 E+ r6 R
00404CEC |. 53 push ebx
. R; ^: @6 [' x) _
00404CED |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
$ v" f: m8 N6 v3 m, P8 c1 a( V
00404CF4 |. 68 DCC14000 push 0040C1DC ; ASCII "%sTextures\A1_"
: `& R" |* M& x2 q5 ]& U
00404CF9 |. 52 push edx
- I) t3 i* ^+ I2 d/ m4 W. O2 O
00404CFA |. FFD7 call edi
) l ?5 b! e/ N8 w! w
00404CFC |. 83C4 0C add esp, 0C
9 M8 n. u/ D$ P0 T) P% {# S- H
00404CFF |. 8D8424 880000>lea eax, dword ptr [esp+88]
, n; t7 A, i8 U$ X& Y
00404D06 |. 8BCE mov ecx, esi
0 e! ~2 ~# i# i0 N- V3 ]0 O
00404D08 |. 50 push eax
( U7 L, c3 L7 k! N$ j9 d' a
00404D09 |. 6A 00 push 0
. y _0 k. Q- p8 i8 S
00404D0B |. E8 F0060000 call 00405400
, e1 {4 r' v O5 ~
00404D10 |. 6A 01 push 1
, F, ^* t9 M1 o4 [: G/ d, c# b
00404D12 |. 8D4C24 1C lea ecx, dword ptr [esp+1C]
/ V1 ]. M$ I3 x: w" {3 d/ f, j
00404D16 |. E8 E51A0000 call 00406800
/ n& E I+ a6 \6 |
00404D1B |. 6A 00 push 0
/ |$ ?4 C. ~ z0 |8 o, y
00404D1D |. 8D4C24 3C lea ecx, dword ptr [esp+3C]
, l D# U* R3 X
00404D21 |. E8 FA1A0000 call 00406820
) ]' e! S; ^7 z4 |
00404D26 |. 6A 10 push 10
! m" W! v8 t+ f3 L! O+ V/ p6 e
00404D28 |. 8D4C24 48 lea ecx, dword ptr [esp+48]
" W2 B. Z3 G" @& I
00404D2C |. E8 2F1B0000 call 00406860
5 z" h; d3 f5 m" a$ `% G' d
00404D31 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
4 x7 }/ h0 `& n* h, d. C
00404D35 |. E8 A6030000 call 004050E0
/ n, M: U5 I6 h- I0 Y
00404D3A |. 68 00800000 push 8000
+ P7 I# e) |0 ^" o8 Q1 ^, @) `7 M
00404D3F |. 8D4C24 64 lea ecx, dword ptr [esp+64]
! b* x1 L. [- Z
00404D43 |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
* W6 g9 w8 t4 m2 c* ^' w* j
00404D49 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
( k: H& ]; T; t# [8 y- K' g5 M
00404D4D |. E8 8E030000 call 004050E0
; U4 o( T/ W) I
00404D52 |. 8D8C24 800000>lea ecx, dword ptr [esp+80]
6 w$ P3 s( r& s% G
00404D59 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
1 d5 E5 X; X) D8 n' |! o
00404D5F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
) `0 ?' l. b+ T
00404D63 |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
- A: A/ ]# w& R
00404D68 |. 51 push ecx
3 w* i" u A5 J M c1 p% y
00404D69 |. 8D5424 20 lea edx, dword ptr [esp+20]
2 ^" S6 n' x$ j% Z
00404D6D |. 6A 00 push 0
G1 A- {4 k+ E; _5 x
00404D6F |. 52 push edx
^9 Y$ |! b9 [ p6 F1 M# X0 {( g1 M
00404D70 |. 8BCE mov ecx, esi
, K- O) ?9 x2 c; w7 }: A
00404D72 |. C74424 20 000>mov dword ptr [esp+20], 0
0 \1 k; k5 Y9 S" h! s: @6 i5 S
00404D7A |. E8 71040000 call 004051F0
; D$ B: L8 t0 x6 V \' E
00404D7F |. 8D4424 10 lea eax, dword ptr [esp+10]
& Y( [$ P4 `; H0 n" |
00404D83 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
6 Z* A# \; i/ e+ v2 X9 B5 B
00404D88 |. 50 push eax
2 D/ d2 X1 A1 p j) I7 W, D& s7 y
00404D89 |. 8D4C24 20 lea ecx, dword ptr [esp+20]
2 S& i+ S* L* \1 S* i- `
00404D8D |. 6A 00 push 0
0 s( n* R) t/ D t: y0 h" b
00404D8F |. 51 push ecx
/ K1 Q, Z2 C& |- J1 N: }' t
00404D90 |. 8BCE mov ecx, esi
* H1 e9 f" R' y
00404D92 |. E8 59040000 call 004051F0
- v* x7 X7 K! ^0 A+ N- G
00404D97 |. 8D5424 10 lea edx, dword ptr [esp+10]
: v: ^; T& M5 q: ?$ c$ p
00404D9B |. 68 0CC04000 push 0040C00C ; ASCII ".png"
: v0 f$ u5 h( r
00404DA0 |. 52 push edx
( t5 s7 ?' |# Z: } T. Y- g
00404DA1 |. 8D4424 20 lea eax, dword ptr [esp+20]
5 C! B" f: _: g) v5 V5 `1 u
00404DA5 |. 6A 00 push 0
3 O$ j, U7 J1 [ Y/ x: D( h
00404DA7 |. 50 push eax
0 L- D2 i/ D$ G( U. K
00404DA8 |. 8BCE mov ecx, esi
+ {1 p8 y' q- ~. _* `6 U" P. x: A
00404DAA |. E8 41040000 call 004051F0
3 g- ]1 S! ~" }
00404DAF |. 8B4C24 10 mov ecx, dword ptr [esp+10]
3 _+ d+ J( H; y$ G$ S; ` E+ }5 G% r
00404DB3 |. 51 push ecx
: Z* f8 `% n" i& J
00404DB4 |. 68 B0C14000 push 0040C1B0 ; ASCII " Added %i file, saving Medium1Res.syb.",LF
/ T! w, Z( ]4 Z, f
00404DB9 |. E8 A2C2FFFF call 00401060
+ X( u1 o6 t2 d, V
00404DBE |. 83C4 08 add esp, 8
, S& n+ k6 s ]. I) _4 W+ j
00404DC1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
e( ^% o# Y) S; m* }* ~* X
00404DC5 |. 6A 00 push 0
" B7 i# `8 q% J/ P
00404DC7 |. 68 9CC14000 push 0040C19C ; ASCII "Data\Medium1Res.syb"
. o" y) H: a* ?. r, C" X$ D- x- }
00404DCC |. FF15 D8924000 call dword ptr [<&VxMath.VxBigFile::S>; VxMath.VxBigFile::Save
- N% i& Z0 f( [. y: `9 M2 D
00404DD2 |. 8B8E 28010000 mov ecx, dword ptr [esi+128]
, |6 d% }/ c, ^9 q& C# T9 h3 j
00404DD8 |. 6A 00 push 0
$ @# D; j8 ?8 _* ]) A) ~1 C
00404DDA |. E8 5F310000 call <jmp.&CK2.CKContext::GetPathMana>
( G7 ~3 A) A. F" [6 _. o" F
00404DDF |. 8BC8 mov ecx, eax
, [ ^& w, e% D$ G. E/ g/ T
00404DE1 |. E8 94310000 call <jmp.&CK2.CKPathManager::GetPath>
; Q) h( m: G1 t* ?+ [
00404DE6 |. 85C0 test eax, eax
# Q$ Y) D& n8 x
00404DE8 |. 7E 25 jle short 00404E0F
9 }# Y, m- U0 H" Z9 g
00404DEA |. 894424 14 mov dword ptr [esp+14], eax
3 U/ z2 D: }$ [( N
00404DEE |> 8B8E 28010000 /mov ecx, dword ptr [esi+128]
7 P( x. E4 ^% a. [( x6 s& Q/ _6 t5 ]
00404DF4 |. 6A 00 |push 0
* l$ l6 w. T9 B$ U+ }
00404DF6 |. 6A 00 |push 0
' J8 F& [; F2 l& m6 P
00404DF8 |. E8 41310000 |call <jmp.&CK2.CKContext::GetPathMan>
+ Y9 Y: ]' X+ l$ f% n
00404DFD |. 8BC8 |mov ecx, eax
: _9 M. m3 A6 c! b m, }
00404DFF |. E8 70310000 |call <jmp.&CK2.CKPathManager::Remove>
; m0 W5 ^2 a; ]1 O* F
00404E04 |. 8B4424 14 |mov eax, dword ptr [esp+14]
' P1 e, V. N0 a$ X
00404E08 |. 48 |dec eax
3 r5 ]. d( U( |6 `- ~
00404E09 |. 894424 14 |mov dword ptr [esp+14], eax
# A7 Q0 Q4 @- v; W
00404E0D |.^ 75 DF \jnz short 00404DEE
; }$ ^" H' W* ]; p. G! m) x
00404E0F |> 8B8E 28010000 mov ecx, dword ptr [esi+128]
, [5 H2 m1 C4 W% S% h J( s
00404E15 |. 6A 00 push 0
- z, H. r- M( H5 k
00404E17 |. E8 22310000 call <jmp.&CK2.CKContext::GetPathMana>
. F0 o2 z: o! t% m4 u, |
00404E1C |. 8BC8 mov ecx, eax
- e( |, ~" G! [/ q3 K" K+ }& J
00404E1E |. E8 57310000 call <jmp.&CK2.CKPathManager::GetPath>
`: o7 L8 Y- J% w, q
00404E23 |. 85C0 test eax, eax
* n) x' b1 y6 h- s2 c E/ L
00404E25 |. 74 0E je short 00404E35
' }9 Q7 s& N. Z v. G
00404E27 |. 50 push eax
5 x: u9 U' P. e( E
00404E28 |. 68 C4BF4000 push 0040BFC4 ; ASCII "RemoveAllPath: Error there is %i path still present!"
* D9 e8 R! i; O+ T
00404E2D |. E8 CEC1FFFF call 00401000
9 U8 x7 m8 s( B( F" ~( h
00404E32 |. 83C4 08 add esp, 8
* a8 g! T! i; C9 C# F) H
00404E35 |> 8D8C24 800000>lea ecx, dword ptr [esp+80]
. K+ r7 H8 _7 I$ g
00404E3C |. FF15 C8924000 call dword ptr [<&VxMath.VxFile::~VxF>; VxMath.VxFile::~VxFile
! I3 H/ L& f0 ]1 K8 L1 ~
00404E42 |. 8D4C24 78 lea ecx, dword ptr [esp+78]
; W6 `/ Z7 v+ j! p I( v
00404E46 |. FFD5 call ebp
0 R1 }4 _9 m$ x/ {6 F8 n
00404E48 |. 8D4C24 60 lea ecx, dword ptr [esp+60]
# ?2 @" W) ]! l% N3 e
00404E4C |. FF15 C4924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::~VxCachedFile
& Y* l$ Q8 L& s8 Y) A+ o* a
00404E52 |. 8D4C24 58 lea ecx, dword ptr [esp+58]
/ m/ t# d5 `) I3 M/ n
00404E56 |. FFD5 call ebp
, f; e) K8 x. {& e: ]. m- k
00404E58 |. 8D4C24 44 lea ecx, dword ptr [esp+44]
, \/ G# x' Z D1 x! n
00404E5C |. E8 8F1B0000 call 004069F0
3 m; M/ D/ s4 [. k" M' M1 w. q
00404E61 |. 8B5424 38 mov edx, dword ptr [esp+38]
1 d& F" S# ?$ s) R& H7 _
00404E65 |. 52 push edx
0 Q& B$ B' Z9 U% `6 N; x2 C
00404E66 |. E8 75310000 call <jmp.&MSVCRT.operator delete>
' `2 T6 M5 [* q, L/ M% x
00404E6B |. 83C4 04 add esp, 4
6 \1 ?) _* I3 q4 L% l% {
00404E6E |. 8D4C24 18 lea ecx, dword ptr [esp+18]
: r) {7 Q% Z, ^0 g6 ]4 {) S8 K/ T+ m5 {
00404E72 |. FF15 C0924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::~XFixedSizeAllocator
5 z _1 c! H& o
00404E78 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
5 q3 Z( z2 F+ L, i* O$ P8 g |" L
00404E7C |. E8 6F020000 call 004050F0
! c4 z# }& i2 f- \* X+ V) Z- C# c& y
00404E81 |. 6A 00 push 0
2 E$ L. m# W6 _2 i
00404E83 |. 8D4424 14 lea eax, dword ptr [esp+14]
# o K M1 ]9 g
00404E87 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
+ _6 e4 ^6 X4 A
00404E8C |. 50 push eax
& n3 |7 B- M, Z C( Q
00404E8D |. 8D4C24 24 lea ecx, dword ptr [esp+24]
: ~7 ]0 T* X$ b" X- d! c! R; q3 D
00404E91 |. 68 8CC14000 push 0040C18C ; ASCII "Video\Pack1\"
/ X) {& P/ E9 v1 ?1 Y9 F* a8 p
00404E96 |. 51 push ecx
: @) Z$ F& x- k* o: c; {, Y' n
00404E97 |. 8BCE mov ecx, esi
/ d# h* Z9 p9 h4 ?) m& c! Q3 H, _
00404E99 |. C74424 24 000>mov dword ptr [esp+24], 0
0 I ?/ u+ T& \$ t4 a
00404EA1 |. E8 EA030000 call 00405290
. t S# z9 P/ @: N
00404EA6 |. 8D5424 10 lea edx, dword ptr [esp+10]
# ~& f- h Z) b: ]$ R
00404EAA |. 6A 01 push 1
- g9 a; n/ S0 i9 R s* ?9 j/ k) J
00404EAC |. 8D4424 1C lea eax, dword ptr [esp+1C]
4 l8 [: d2 N% |. v! k
00404EB0 |. 52 push edx
" o ]& [. Q; m6 Z3 M5 m
00404EB1 |. 50 push eax
8 P: j% N7 f% O+ K U1 ]
00404EB2 |. 8BCE mov ecx, esi
& P1 o$ L" U9 z, h
00404EB4 |. E8 E7F9FFFF call 004048A0
3 g) d' H& w2 c! u; p7 G. A
00404EB9 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
% T7 V8 W6 E+ V, n8 |. q9 y1 c; g
00404EBD |. 51 push ecx
) f# T3 R* [' G! P4 y
00404EBE |. 68 64C14000 push 0040C164 ; ASCII " Added %i file, saving Medium1.syb.",LF
! R/ T% _2 j% ~' K9 d
00404EC3 |. E8 98C1FFFF call 00401060
1 u7 i* @1 s; u% i
00404EC8 |. 8B2D D8924000 mov ebp, dword ptr [<&VxMath.VxBigFi>; VxMath.VxBigFile::Save
9 n" M6 x' k, q& L
00404ECE |. 83C4 08 add esp, 8
" O2 O( }0 l7 J) [! b
00404ED1 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
, Q0 m& n0 _- b3 c u2 S
00404ED5 |. 6A 00 push 0
; m3 e9 D6 v- | R
00404ED7 |. 68 50C14000 push 0040C150 ; ASCII "Data\Medium1.syb"
! c: y, f# k1 A( a4 i
00404EDC |. FFD5 call ebp ; <&VxMath.VxBigFile::Save>
$ b/ L# v0 |( P
00404EDE |. 6A 00 push 0
* A# M9 W5 g$ [
00404EE0 |. 8BCE mov ecx, esi
9 A2 S# F& {& u/ G) a# ^
00404EE2 |. E8 39FAFFFF call 00404920
% `& w& O% j- _. [
00404EE7 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
! N' N6 n) T3 z; ]5 ~
00404EEB |. E8 A0020000 call 00405190
+ G, Y) D% O5 D4 F0 H
00404EF0 |. 53 push ebx
4 W9 B& I( G: R! N
00404EF1 |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
1 s: S% g8 r0 b
00404EF8 |. 68 40C14000 push 0040C140 ; ASCII "%sTextures\A2_"
5 \2 ?! `3 E2 R! K! y2 N
00404EFD |. 52 push edx
2 D! v# c4 u2 q1 i: I6 I0 I
00404EFE |. FFD7 call edi
4 k" |; ^2 f' F8 w5 E9 e
00404F00 |. 83C4 0C add esp, 0C
' d2 l) @; _8 s8 a0 t) Z$ `. A' L' u
00404F03 |. 8D8424 880000>lea eax, dword ptr [esp+88]
9 j9 X* M0 C$ s" w$ V
00404F0A |. 8BCE mov ecx, esi
8 D4 `- L& @- d7 S. X! R
00404F0C |. 50 push eax
+ d" U% ^ T% n. T7 d" H$ X
00404F0D |. 6A 00 push 0
) @5 T0 b! n. l3 h' ?) Z
00404F0F |. E8 EC040000 call 00405400
& K* c9 J, z. {% N8 E8 G
00404F14 |. 53 push ebx
4 \. `, v0 A2 [$ n
00404F15 |. 8D8C24 8C0000>lea ecx, dword ptr [esp+8C]
# O8 n/ J! M3 _4 v: T2 Z5 u' Q& Z
00404F1C |. 68 30C14000 push 0040C130 ; ASCII "%sTextures\A3_"
8 v0 R3 _5 |/ ]. ]9 V
00404F21 |. 51 push ecx
5 V0 r) }* @& j0 G
00404F22 |. FFD7 call edi
9 M- ]: C* V. @+ {1 k
00404F24 |. 83C4 0C add esp, 0C
9 |+ z5 I% k4 x
00404F27 |. 8D9424 880000>lea edx, dword ptr [esp+88]
4 F3 @* c3 g" N% ^6 u4 g* G8 ^
00404F2E |. 8BCE mov ecx, esi
, h0 m4 R/ \3 M- u
00404F30 |. 52 push edx
5 u3 d& U! C) W9 r% u
00404F31 |. 6A 00 push 0
( c/ q0 i! Y0 k& U, i/ _# g
00404F33 |. E8 C8040000 call 00405400
$ D3 Q+ y! ]1 T- C! [% z3 a' z5 U
00404F38 |. 53 push ebx
( P# m( R1 s0 z0 V3 h
00404F39 |. 8D8424 8C0000>lea eax, dword ptr [esp+8C]
1 z1 \6 X# y5 P6 A
00404F40 |. 68 20C14000 push 0040C120 ; ASCII "%sTextures\A4_"
! }) q4 K. S }1 D, U
00404F45 |. 50 push eax
: w3 |% C% X% ], g9 b% a. r
00404F46 |. FFD7 call edi
; b$ _: u, W" F+ F7 H# q5 t4 @
00404F48 |. 83C4 0C add esp, 0C
+ @7 D; J% J. f+ O: ^( w. e
00404F4B |. 8D8C24 880000>lea ecx, dword ptr [esp+88]
! l! V( Y* d5 H
00404F52 |. 51 push ecx
+ N* z; v; C4 e* I$ Q- N; D
00404F53 |. 6A 00 push 0
3 A. z8 L5 J _: ^/ R! B' ^
00404F55 |. 8BCE mov ecx, esi
0 m, D7 C4 s+ g! r2 @5 q
00404F57 |. E8 A4040000 call 00405400
3 A; _- V4 G; [6 I
00404F5C |. 53 push ebx
7 q& L( B3 L$ s$ p( o
00404F5D |. 8D9424 8C0000>lea edx, dword ptr [esp+8C]
- T" [& R" L& V, B
00404F64 |. 68 10C14000 push 0040C110 ; ASCII "%sTextures\A5_"
7 ]& D2 f2 d/ k/ F+ u
00404F69 |. 52 push edx
- P, y0 }5 ~, _9 I
00404F6A |. FFD7 call edi
* d2 G7 _# {1 |4 d N) x! I% o1 d
00404F6C |. 83C4 0C add esp, 0C
9 g/ B9 k1 g' Z3 k
00404F6F |. 8D8424 880000>lea eax, dword ptr [esp+88]
0 I9 o+ A$ X& C$ M# T8 A0 {: y
00404F76 |. 33FF xor edi, edi
' Q* q* s. ?4 B1 t9 A% Z/ l O
00404F78 |. 8BCE mov ecx, esi
9 C" @6 ]5 D% @4 i# v# ^
00404F7A |. 50 push eax
4 y8 G# O" [: L& t( f6 _$ { z; g$ i
00404F7B |. 57 push edi
$ N) \6 L1 L7 V4 j7 W
00404F7C |. E8 7F040000 call 00405400
; |5 S: o! k m" ~
00404F81 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
5 Q! m4 y, Y- n M0 j. v
00404F85 |. E8 66010000 call 004050F0
1 z0 C0 I+ q! Y7 ]! B( G
00404F8A |. 8D4C24 10 lea ecx, dword ptr [esp+10]
- e' u, L' y/ ]2 H0 R
00404F8E |. 68 1CC04000 push 0040C01C ; ASCII ".jpg"
& }/ H9 f( M& B3 m
00404F93 |. 51 push ecx
; z6 j A: j5 ], L+ j! W
00404F94 |. 8D5424 20 lea edx, dword ptr [esp+20]
& v0 v. A$ t W3 p/ L6 v6 Q
00404F98 |. 57 push edi
* o/ R6 J* I" ]' ?; B( r4 k
00404F99 |. 52 push edx
( W% V I7 r2 N: w( {4 P
00404F9A |. 8BCE mov ecx, esi
9 W+ L1 G: S0 B: A7 }
00404F9C |. 897C24 20 mov dword ptr [esp+20], edi
( T6 q& X$ C- P9 H9 ]! L
00404FA0 |. E8 4B020000 call 004051F0
/ {5 o/ ?% I7 B- O; Q; S
00404FA5 |. 8D4424 10 lea eax, dword ptr [esp+10]
2 G9 G1 u2 p9 ^$ ~! ~. Y/ E% ]
00404FA9 |. 68 14C04000 push 0040C014 ; ASCII ".tga"
3 Y3 k- V" }' J% }; P% x: W
00404FAE |. 50 push eax
" M' |/ H. z( U3 S0 }
00404FAF |. 8D4C24 20 lea ecx, dword ptr [esp+20]
8 f$ L. q2 m6 f* g/ w5 O
00404FB3 |. 57 push edi
% D, T/ c& t1 P$ N
00404FB4 |. 51 push ecx
" s0 f, _0 O) m9 }
00404FB5 |. 8BCE mov ecx, esi
! o7 \; F5 Z! m0 M: h1 t. c) P
00404FB7 |. E8 34020000 call 004051F0
6 a) }' M# Q, B# m3 Z0 j
00404FBC |. 8D5424 10 lea edx, dword ptr [esp+10]
* P; o, y. Z+ Q% U8 [) Z
00404FC0 |. 68 0CC04000 push 0040C00C ; ASCII ".png"
% _, @2 E7 l' b' u: |, _
00404FC5 |. 52 push edx
J) t% A6 z: \* z
00404FC6 |. 8D4424 20 lea eax, dword ptr [esp+20]
1 v! D' |. o" ]. M- l8 `) \2 L
00404FCA |. 57 push edi
5 K- `& P: h% j2 E+ L
00404FCB |. 50 push eax
4 y# O- Y, _0 \: m; J. j, `5 t
00404FCC |. 8BCE mov ecx, esi
+ W! r: D- m& ~; U3 f3 }
00404FCE |. E8 1D020000 call 004051F0
; j2 j+ h3 T( r$ b
00404FD3 |. 8B4C24 10 mov ecx, dword ptr [esp+10]
1 x% n7 d! w& W; ]& y, v, ^' O4 p- {
00404FD7 |. 51 push ecx
: Y% E n7 u0 t; w- u+ s$ j. L) }) Y' F
00404FD8 |. 68 E4C04000 push 0040C0E4 ; ASCII " Added %i file, saving Medium2Res.syb.",LF
) y8 B% B) A% H8 {- n
00404FDD |. E8 7EC0FFFF call 00401060
9 j% W; L* T2 L- Q9 G
00404FE2 |. 83C4 08 add esp, 8
: L, ]+ c: O0 _+ U# L& u5 O9 ?
00404FE5 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
( V$ N8 z. L4 ^- ^0 O/ y
00404FE9 |. 57 push edi
9 R7 n2 |! b; s( ]1 @! s M. ?
00404FEA |. 68 D0C04000 push 0040C0D0 ; ASCII "Data\Medium2Res.syb"
: h1 [+ Y/ K# k! s
00404FEF |. FFD5 call ebp
2 |& O: X% _2 u/ w
00404FF1 |. 57 push edi
: }% m6 e5 n' ^! t0 k, U) N
00404FF2 |. 8BCE mov ecx, esi
& e. c% }* l9 Y6 Z+ L0 m6 r
00404FF4 |. E8 27F9FFFF call 00404920
. j4 R$ \/ }' d8 e- y' d% A
00404FF9 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 I: E# A2 A/ C- B6 k6 x
00404FFD |. E8 8E010000 call 00405190
- ^# q& ~. |. T% q* X" a+ }! Z& O
00405002 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
0 b- R, f% _5 K" u
00405006 |. E8 E5000000 call 004050F0
' _% y/ S/ G, Y* i# n- A& O
0040500B |. 57 push edi
r) W' } b9 x5 w, r7 m
0040500C |. 8D5424 14 lea edx, dword ptr [esp+14]
: m* @8 d4 y/ t$ S& n
00405010 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
5 I- X/ P2 U2 c% ?/ G
00405015 |. 52 push edx
( n( D' c# c$ ^* D
00405016 |. 8D4424 24 lea eax, dword ptr [esp+24]
$ ~4 k' S! f+ f$ G" R* o6 ^2 r
0040501A |. 68 C0C04000 push 0040C0C0 ; ASCII "Video\Pack2\"
1 H! O2 q3 V" A; u
0040501F |. 50 push eax
7 H+ ~8 }8 q. X% s1 x. S( e, W2 Q& v
00405020 |. 8BCE mov ecx, esi
4 Z/ Y+ J" \4 w! e- e9 ^9 f% n* t% I
00405022 |. 897C24 24 mov dword ptr [esp+24], edi
; U n3 N* _& w0 A2 I, P6 }' Q3 |
00405026 |. E8 65020000 call 00405290
4 g$ m* b1 d5 @( T8 I
0040502B |. 57 push edi
: U' E& {; b! l0 x! |+ O4 p
0040502C |. 8D4C24 14 lea ecx, dword ptr [esp+14]
, ? G V+ Y- y! t
00405030 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
~% v- W5 S* ?3 z
00405035 |. 51 push ecx
, Z/ R6 C: G/ n# J
00405036 |. 8D5424 24 lea edx, dword ptr [esp+24]
$ ]. j- |8 a \1 E4 c$ P8 }
0040503A |. 68 B0C04000 push 0040C0B0 ; ASCII "Video\Pack3\"
9 D! N$ s' c% d% v/ s/ A
0040503F |. 52 push edx
" u* p8 @7 G0 Q( _3 y. | a
00405040 |. 8BCE mov ecx, esi
9 b/ R1 u$ W8 o" H
00405042 |. E8 49020000 call 00405290
; |) z2 }* b. m: {; \
00405047 |. 57 push edi
+ e1 N1 A4 e5 S. x- G7 e3 l
00405048 |. 8D4424 14 lea eax, dword ptr [esp+14]
7 K6 m0 v3 h b+ R+ D( y: x
0040504C |. 68 24C24000 push 0040C224 ; ASCII ".bik"
0 B5 P5 @6 b9 R
00405051 |. 50 push eax
3 u i5 z* i/ w9 n/ P8 R
00405052 |. 68 A0C04000 push 0040C0A0 ; ASCII "Video\Pack4\"
; V' T! J4 F; N- Q( Y4 ]
00405057 |. 8D4C24 28 lea ecx, dword ptr [esp+28]
0 f: T: F1 F2 G1 Z! @0 e9 F9 Z
0040505B |. 51 push ecx
: M; Z H( i% V% K
0040505C |. 8BCE mov ecx, esi
& p+ }7 D: a z2 R+ K
0040505E |. E8 2D020000 call 00405290
' i& c( n; E* W. P7 f! P8 M
00405063 |. 57 push edi
. f! y" h8 H; Z/ \3 H. U# O
00405064 |. 8D5424 14 lea edx, dword ptr [esp+14]
1 v) D. I. G( W# ~4 k
00405068 |. 68 24C24000 push 0040C224 ; ASCII ".bik"
1 a: J$ }" w m* \' a# l, E
0040506D |. 52 push edx
. v, N: }/ H: U3 y) d4 F
0040506E |. 8D4424 24 lea eax, dword ptr [esp+24]
3 B9 d2 s; O1 L/ R
00405072 |. 68 90C04000 push 0040C090 ; ASCII "Video\Pack5\"
" c9 u" X% J; X
00405077 |. 50 push eax
% G) t# x) q* N2 ~* u
00405078 |. 8BCE mov ecx, esi
& x1 ?" U# G: ?
0040507A |. E8 11020000 call 00405290
7 V1 {& X) w9 e6 F
0040507F |. 8D4C24 10 lea ecx, dword ptr [esp+10]
8 Z( n4 c% M& W" T* i: L& p& } G
00405083 |. 6A 02 push 2
7 y* {, R- H; ^! G2 M2 x# T
00405085 |. 8D5424 1C lea edx, dword ptr [esp+1C]
2 k3 z! X: c' _9 z8 Y
00405089 |. 51 push ecx
; G( ~1 g& e2 m
0040508A |. 52 push edx
- D6 a8 M) M+ f; Q- @" a" t! j
0040508B |. 8BCE mov ecx, esi
% g i& E V6 h8 Z* A$ e
0040508D |. E8 0EF8FFFF call 004048A0
' |+ @8 E9 _5 r1 P, G& ?/ z
00405092 |. 8B4424 10 mov eax, dword ptr [esp+10]
L7 D+ }+ `* Q8 b
00405096 |. 50 push eax
4 R7 j7 Q- l9 b; T( h$ B5 T
00405097 |. 68 68C04000 push 0040C068 ; ASCII " Added %i file, saving Medium2.syb.",LF
* V2 ]4 J, t) J! l! I2 H N
0040509C |. E8 BFBFFFFF call 00401060
. x) z8 A, b" Y1 k
004050A1 |. 83C4 08 add esp, 8
* H" Y0 P! h# c% \( H7 Q# r* }* q, x
004050A4 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
! J$ N0 P+ q8 t
004050A8 |. 57 push edi
2 K2 ], n5 o: ~0 [
004050A9 |. 68 54C04000 push 0040C054 ; ASCII "Data\Medium2.syb"
2 z5 V9 T8 e4 R! t4 s0 w
004050AE |. FFD5 call ebp
* t2 [/ ~6 Q2 c, I
004050B0 |. 57 push edi
) w4 |3 U# O1 X4 o. G3 B0 y
004050B1 |. 8BCE mov ecx, esi
# g7 ~- E! U. W W7 r
004050B3 |. E8 68F8FFFF call 00404920
' h6 w& h% `5 t) q1 |% A
004050B8 |. 8D4C24 18 lea ecx, dword ptr [esp+18]
- c2 b1 r5 ^! o: D; {2 o# E+ g
004050BC |. E8 CF000000 call 00405190
+ r/ Z. s. }4 s
004050C1 |. 68 24C04000 push 0040C024 ; ASCII "BigFile completed. Press CANCEL to terminate."
9 Q2 l- E+ H6 ]$ A& e' p% C$ A* K# ]
004050C6 |. E8 35BFFFFF call 00401000
( @ d% }, R- y2 ]
004050CB |. 83C4 04 add esp, 4
/ A# w3 ^. }# x# v" L
004050CE |. 57 push edi ; /status
6 B S1 C% V" R" p8 }# f [
004050CF |. FF15 BC914000 call dword ptr [<&MSVCRT.exit>] ; \exit
$ I0 E7 C4 \0 U8 i$ T, @5 I# j
004050D5 |. 5F pop edi
: `- w2 T/ z+ z1 u" g" V0 m5 p3 z
004050D6 |. 5E pop esi
7 L- [: L% i6 A- z
004050D7 |. 5D pop ebp
4 O7 P U* w( G9 F% J. \
004050D8 |. 5B pop ebx
2 z% s; u- ^3 U2 E9 ^. [) M2 T
004050D9 |. 90 nop
1 b$ i/ h2 o ^4 q \* S
004050DA |. 90 nop
$ q; [3 F$ A' @2 `2 y: n$ e% i6 V+ l5 ^
004050DB |. 90 nop
! S1 u' e" m+ r" A i: @$ v
004050DC |. 90 nop
, e4 F* Q& d, m# \1 o
004050DD |. 90 nop
' B3 K$ M- R2 R: C1 x- \+ y
004050DE |. 90 nop
8 q( E; G# l% t5 q: F% B$ ~# w* M
004050DF |. 90 nop
- { w. C8 j6 c8 h0 ?
004050E0 |$ 8BC1 mov eax, ecx
" i3 a6 p, V% ^+ p, m; [# ^. U* F
004050E2 |. 33C9 xor ecx, ecx
! ?+ y+ D R) c o% c
004050E4 |. 8908 mov dword ptr [eax], ecx
1 E( l5 i0 A1 n0 \
004050E6 |. 66:8948 04 mov word ptr [eax+4], cx
- o6 Q4 H4 G9 f6 K' {
004050EA |. 66:8948 06 mov word ptr [eax+6], cx
2 P$ Q8 s. z% l. O
004050EE \. C3 retn
# \2 W% P" z8 G) G1 J4 P
004050EF 90 nop
* E0 X- n6 F& [4 K- O; V
004050F0 /$ 53 push ebx
/ Z. Q, R# F1 m* Y$ n D' g$ k
004050F1 |. 55 push ebp
- D; p) s: D3 o/ D
004050F2 |. 56 push esi
9 k3 A$ o6 l: b: i" Q
004050F3 |. 57 push edi
: v$ |1 m0 T, l9 z/ C! v: Q# H( I
004050F4 |. 8BF1 mov esi, ecx
; I- T, _, m" [( C3 X
004050F6 |. 6A 14 push 14
* B4 C+ P) l* X3 V8 K
004050F8 |. FF15 E4924000 call dword ptr [<&VxMath.XFixedSizeAl>; VxMath.XFixedSizeAllocator::XFixedSizeAllocator
% e$ ^, S2 e9 e- }
004050FE |. 8D7E 2C lea edi, dword ptr [esi+2C]
, C4 w7 _( {' a3 _! K/ Y3 P
00405101 |. 33DB xor ebx, ebx
3 n# U3 y3 f" I4 \5 k t
00405103 |. C746 1C 01000>mov dword ptr [esi+1C], 1
4 |5 _& n& D8 G" m6 c
0040510A |. 895E 28 mov dword ptr [esi+28], ebx
% P! ` b% a. n% ^6 J& I
0040510D |. 8D6F 08 lea ebp, dword ptr [edi+8]
" L; r! s4 l% B7 q! F
00405110 |. 895E 24 mov dword ptr [esi+24], ebx
4 T0 U) h ~8 i4 x4 F; _0 z
00405113 |. 895E 20 mov dword ptr [esi+20], ebx
& S& A; z: g9 a' U* l/ q
00405116 |. 895F 04 mov dword ptr [edi+4], ebx
w& K- g; [% k! @' s
00405119 |. 891F mov dword ptr [edi], ebx
( b4 B5 m/ x8 B' V
0040511B |. 6A 10 push 10
1 S: `- B1 |% y: f0 P
0040511D |. 8BCF mov ecx, edi
) s9 W" `6 r& J7 M" r# N
0040511F |. 895D 08 mov dword ptr [ebp+8], ebx
$ L( {0 X9 l ~$ H M& i+ v
00405122 |. 895D 04 mov dword ptr [ebp+4], ebx
' k# W$ |, h2 x) W+ V- L
00405125 |. 895D 00 mov dword ptr [ebp], ebx
7 b6 n \. j! g) ]
00405128 |. E8 F3180000 call 00406A20
6 f; Q% G ?' ]
0040512D |. 8B07 mov eax, dword ptr [edi]
, k7 b% S* g7 p
0040512F |. 8B4F 04 mov ecx, dword ptr [edi+4]
3 i! L, Z' S; Z* f
00405132 |. 3BC1 cmp eax, ecx
& B% @( C; P9 S1 g+ n4 ?3 c6 P; r
00405134 |. 74 0C je short 00405142
3 R% N& U' Y: A
00405136 |> 8918 /mov dword ptr [eax], ebx
: e4 q' S6 q( n( ~+ E0 E' j
00405138 |. 8B4F 04 |mov ecx, dword ptr [edi+4]
1 M; v2 R! ~! U7 ?: j* K, `
0040513B |. 83C0 04 |add eax, 4
: g! _9 X1 i- [/ F, ^* ]
0040513E |. 3BC1 |cmp eax, ecx
% k1 I( s7 [1 o6 o" Q+ I9 D
00405140 |.^ 75 F4 \jnz short 00405136
2 `' l: R; i9 U1 F
00405142 |> D905 3C934000 fld dword ptr [40933C]
5 c4 c7 ]: X9 `/ h0 D; T/ l
00405148 |. D80D 40934000 fmul dword ptr [409340]
, k) l% E) t0 n; G5 y8 B
0040514E |. E8 9D2E0000 call <jmp.&MSVCRT._ftol>
/ P# V8 o2 @& d* u8 E
00405153 |. 50 push eax
: A5 `/ { E2 T6 V: Z& A
00405154 |. 8BCD mov ecx, ebp
- S: t" f) X5 a0 o
00405156 |. E8 65190000 call 00406AC0
" \) F r8 p/ Q
0040515B |. 68 00800000 push 8000
6 G5 S- {0 b- ?, w" R7 m
00405160 |. 8D4E 48 lea ecx, dword ptr [esi+48]
Q' M0 r# E( |, T+ T+ \6 n0 r
00405163 |. 895E 40 mov dword ptr [esi+40], ebx
. k6 S4 J8 n% D* \! N) _
00405166 |. 66:895E 44 mov word ptr [esi+44], bx
# Z, t# f, G6 [6 y' d4 l! q
0040516A |. 66:895E 46 mov word ptr [esi+46], bx
f( C" ?# E& K9 s- m4 V5 B5 C
0040516E |. FF15 D0924000 call dword ptr [<&VxMath.VxCachedFile>; VxMath.VxCachedFile::VxCachedFile
# w/ O& n8 W, o! k# @+ b! u
00405174 |. 8D4E 68 lea ecx, dword ptr [esi+68]
9 z% _4 k% |; S" `! l, ?
00405177 |. 895E 60 mov dword ptr [esi+60], ebx
& c; s4 V: k0 C7 J0 m+ ?
0040517A |. 66:895E 64 mov word ptr [esi+64], bx
& |$ D6 J, X3 B% C% z; r# Q
0040517E |. 66:895E 66 mov word ptr [esi+66], bx
4 A0 l% N7 \. m% Z# J3 b
00405182 |. FF15 DC924000 call dword ptr [<&VxMath.VxFile::VxFi>; VxMath.VxFile::VxFile
% w& s- a; e7 a8 o
00405188 |. 8BC6 mov eax, esi
' }1 I E8 q5 G
0040518A |. 5F pop edi
% H ]- O$ S. r6 r
0040518B |. 5E pop esi
4 ~1 t$ x& h9 T. H9 R) S4 b
0040518C |. 5D pop ebp
6 G Z+ Z4 @" Q
0040518D |. 5B pop ebx
" j4 ?' F* b, t S- ^8 j: d
0040518E \. C3 retn
欢迎光临 冒险解谜游戏中文网 ChinaAVG (https://chinaavg.com/)
Powered by Discuz! X3.2