Function at 0x53a9b4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x644b1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push ebp
mov ebp, dword [esp + 0x118]
push esi
mov esi, ecx
mov dword [esp + 0x44], 0
mov eax, dword [esi + 0x1fd4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x1fd4]
test eax, eax
lea ecx, [ecx + esi + 0x1fd4]
push edi
je 0x53a9e8
push ebp
call fcn.0048ea80
mov ecx, eax
call fcn.004ac640
fld dword [esp + 0x120]
fcomp dword [0x654a20]
fnstsw ax
test ah, 0x41
jne 0x53aa0e
mov dword [esp + 0x120], 0x3dcccccd
mov ebp, dword [esp + 0x120]
mov edx, dword [esi + 0x1f98]
mov eax, dword [edx + 4]
lea edi, [esi + 0x1f98]
lea ecx, [eax + esi + 0x1f98]
mov eax, dword [ecx]
or ebx, 0xffffffff
test eax, eax
je 0x53ab31
push ebp
call fcn.0048ea80
mov ecx, eax
call fcn.004ac640
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1f98]
mov dword [esp + 0x14], 0
call fcn.0048ea80
fld dword [0x654e5c]
mov ecx, eax
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 0x41
jp 0x53aa98
fld dword [ecx + 0x10]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x41
jp 0x53aa98
fld dword [ecx + 0xc]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53aa98
fld dword [ecx + 0x10]
fdiv dword [ecx + 0xc]
fsubr dword [0x6532d8]
fstp dword [esp + 0x18]
jmp 0x53aaa0
mov dword [esp + 0x18], 0x3f800000
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x1fa4]
call fcn.004343f0
fst dword [esp + 0x18]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 5
lea eax, [esp + 0x14]
jnp 0x53aac9
lea eax, [esp + 0x18]
fld dword [esp + 0x120]
mov ecx, dword [edi]
fmul dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1f98]
fstp dword [esp + 0x120]
call fcn.0048ea80
mov cl, byte [eax + 0x15]
test cl, cl
je 0x53ab2a
xor eax, eax
mov dword [esp + 0x3c], 0x6580c8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov dword [esp + 0x11c], 5
call fcn.00493570
lea ecx, [esp + 0x3c]
mov dword [esp + 0x118], ebx
call fcn.0048f9a0
mov ebp, dword [esp + 0x120]
mov eax, dword [esi + 0x1b04]
xor edi, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x11c], 6
call fcn.0048bee0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
cmp eax, ecx
je 0x53ab79
mov edi, edi
mov dword [eax], edi
add eax, 4
cmp eax, ecx
jne 0x53ab70
mov edi, dword [esi + 0x1b00]
lea ecx, [esp + 0x13]
push ecx
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x120], 7
call fcn.0053de10
mov eax, dword [esp + 0x3c]
push 0
lea edx, [edi + edi*4]
lea edi, [eax + edx*4]
lea ecx, [esp + 0x23]
push ecx
lea edx, [esp + 0x70]
push edx
push edi
push eax
mov byte [esp + 0x12c], 8
call fcn.0053e160
add esp, 0x14
mov dword [esp + 0x40], edi
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x2044]
push eax
mov byte [esp + 0x11c], 9
call fcn.0053ecc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x118], 7
call fcn.0049b1a0
mov ecx, dword [esp + 0x68]
test ecx, ecx
mov dword [esp + 0x118], ebx
je 0x53ac25
mov eax, dword [esp + 0x78]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x53ac1b
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ac25
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esi + 0x2050]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 0x2050]
test eax, eax
lea edi, [esi + 0x2050]
lea ecx, [edx + esi + 0x2050]
je 0x53acd7
mov al, byte [esi + 0x1b8c]
test al, al
je 0x53ac6d
call fcn.0048ea80
mov ecx, eax
call fcn.00488f90
fcomp dword [0x6532dc]
fnstsw ax
test ah, 5
jp 0x53acd7
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ebp
lea ecx, [ecx + esi + 0x2050]
call fcn.0048ea80
mov ecx, eax
call fcn.004ac640
mov edx, dword [edi]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x2050]
call fcn.0048ea80
mov cl, byte [eax + 0x15]
test cl, cl
je 0x53acd7
xor eax, eax
mov dword [esp + 0x3c], 0x6580c8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
mov dword [esp + 0x11c], 0xe
call fcn.00493570
lea ecx, [esp + 0x3c]
mov dword [esp + 0x118], ebx
call fcn.0048f9a0
mov edx, dword [esi + 0x1bf0]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x1bf0]
call fcn.0048ea80
mov cl, byte [eax + 0x15]
test cl, cl
je 0x53ad68
mov al, byte [esi + 0x1b8c]
test al, al
je 0x53ad04
mov al, byte [esi + 0x70]
test al, al
je 0x53ad68
fld dword [esi + 0x1b24]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 5
jp 0x53ad38
fld dword [esp + 0x120]
fadd dword [esi + 0x1b24]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 1
jne 0x53ad38
mov byte [esi + 0x1b28], 0
mov al, byte [esi + 0x1f70]
test al, al
jne 0x53ad68
fld dword [esp + 0x120]
fadd dword [esi + 0x1b24]
fstp dword [esi + 0x1b24]
fld dword [esp + 0x120]
fadd dword [esi + 0x1b18]
fstp dword [esi + 0x1b18]
mov al, byte [esi + 0x1b8c]
test al, al
jne 0x53dd82
mov ecx, dword [esi + 0x1be4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 0x1be4]
test eax, eax
lea ecx, [edx + esi + 0x1be4]
je 0x53adb7
call fcn.0048ea80
mov cl, byte [eax + 0x60]
test cl, cl
je 0x53adb7
mov eax, dword [esi + 0x1be4]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1be4]
call fcn.0048ea80
jmp 0x53dd82
fld dword [esi + 0x1f74]
lea ecx, [esi + 0x1f4c]
fsub dword [esp + 0x120]
push ebp
fstp dword [esi + 0x1f74]
call fcn.004d6190
fld dword [esi + 0x1f40]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53aee4
fld dword [esi + 0x1f40]
fsub dword [esp + 0x120]
fst dword [esi + 0x1f40]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jp 0x53aee4
lea edx, [esp + 0x13]
push edx
push str.FishdomStartLevel
lea ecx, [esp + 0x88]
call fcn.00403db0
lea eax, [esp + 0x80]
push eax
lea ecx, [esi + 0x118]
mov dword [esp + 0x11c], 0x10
call fcn.00417340
lea ecx, [esp + 0x80]
mov edi, eax
mov dword [esp + 0x118], ebx
call fcn.00449cc0
mov ecx, edi
mov dword [edi], 0x43c80000
mov dword [edi + 4], 0x43960000
call fcn.00439fe0
mov ecx, dword [esi + 0xf0]
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov dword [esi + 0x1f44], ecx
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x33]
push edx
push str.level_start
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x33]
push eax
push str.timer_rising
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
mov dword [0x16c7884], 0x40800000
mov dword [0x16c7888], 0x40800000
mov dword [0x16c788c], 0x3ecccccd
fld dword [esi + 0x1f44]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53af8b
mov al, byte [esi + 0x1be0]
test al, al
je 0x53af8b
fld dword [esi + 0x1f44]
mov dword [esp + 0x14], 0
fsub dword [esp + 0x120]
fst dword [esp + 0x18]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 5
lea eax, [esp + 0x14]
jnp 0x53af37
lea eax, [esp + 0x18]
fld dword [eax]
mov eax, dword [esi + 0x1bd8]
test eax, eax
fst dword [esi + 0x1f44]
mov dword [esp + 0x14], eax
jle 0x53afe0
fdiv dword [esi + 0xf0]
push ecx
mov ecx, dword [esi + 0x1bcc]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1bcc]
fsubr dword [0x6532d8]
fild dword [esp + 0x18]
fdivr dword [esi + 0x1bdc]
fmulp st(1)
fstp dword [esp]
call fcn.004f2a00
mov ecx, eax
call fcn.005346b0
jmp 0x53afe2
fld dword [esi + 0x1f44]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53afe2
mov al, byte [esi + 0x1be0]
test al, al
jne 0x53afe2
fild dword [esi + 0x1bd8]
mov eax, dword [esi + 0x1bcc]
push ecx
mov dword [esi + 0x1f44], 0
fdivr dword [esi + 0x1bdc]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1bcc]
fstp dword [esp]
call fcn.004f2a00
mov ecx, eax
call fcn.005346b0
jmp 0x53afe2
fstp st(0)
fld dword [esi + 0x1f3c]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53b040
fld dword [esi + 0x1f3c]
fsub dword [esp + 0x120]
fst dword [esi + 0x1f3c]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jp 0x53dd82
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x2b]
push edx
push str.field_appear
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b7c0
jmp 0x53dd82
lea ecx, [esi + 0x128]
push ebp
call fcn.004bb750
mov eax, dword [esi + 0x1bf0]
mov ecx, dword [eax + 4]
push ebp
lea ecx, [ecx + esi + 0x1bf0]
call fcn.0048ea80
mov ecx, eax
call fcn.004ac640
mov edx, dword [esi + 0x1bf0]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x1bf0]
call fcn.0048ea80
fld dword [0x654e5c]
mov ecx, eax
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 0x41
jp 0x53b111
fld dword [ecx + 0x10]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x41
jp 0x53b111
mov eax, dword [esi + 0x1bd8]
fld dword [esi + 0x1f60]
test eax, eax
jne 0x53b0bb
fstp st(0)
fld dword [esi + 0x1f60]
fchs
fmul dword [esp + 0x120]
xor ebp, ebp
add esi, 0x1c00
fstp dword [esp + 0x14]
mov edi, edi
push ebp
mov ecx, esi
xor edi, edi
call fcn.0048f4e0
lea ebx, [ebx]
push edi
push ebp
mov ecx, esi
call fcn.0048f4e0
mov ecx, eax
call fcn.0048f570
fld dword [esp + 0x14]
fadd dword [eax]
push ebp
mov ecx, esi
inc edi
fstp dword [eax]
call fcn.0048f4e0
cmp edi, 0xd
jl 0x53b0e0
inc ebp
cmp ebp, 0xf
jl 0x53b0d0
jmp 0x53dd82
mov ecx, dword [esi + 0x1bf0]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1bf0]
call fcn.0048ea80
mov ecx, eax
call fcn.00488f90
fld dword [0x6532d8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x53b169
mov eax, dword [esi + 0x1bf0]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1bf0]
call fcn.0048ea80
mov cl, byte [eax + 0x15]
test cl, cl
je 0x53b169
mov eax, dword [esi + 0x1bd8]
test eax, eax
setne dl
mov byte [esi + 0x1f0c], dl
mov eax, dword [esi + 0x1b00]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
jle 0x53b35c
mov dword [esp + 0x18], ebp
jmp 0x53b190
mov eax, dword [esi + 0x1b04]
xor edi, edi
test eax, eax
jle 0x53b32b
push edi
push ebp
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xfffffffe
je 0x53b31c
push edi
lea ebx, [esi + 0x258]
push ebp
mov ecx, ebx
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.0048ea80
mov ecx, eax
call fcn.0053e080
fstp dword [esp + 0x14]
push edi
push ebp
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov edx, dword [esp + 0x14]
push edi
push ebp
mov ecx, ebx
mov dword [eax + 0x18], edx
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.0048ea80
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea edx, [ecx + eax + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x2044]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
lea ecx, [eax + edi]
mov dword [esp + 0x20], edx
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
sar eax, 5
and ecx, 0x8000001f
lea eax, [edx + eax*4]
jns 0x53b26f
dec ecx
or ecx, 0xffffffe0
inc ecx
jns 0x53b26f
add ecx, 0x20
sub eax, 4
mov edx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0
setne cl
test cl, cl
mov ecx, dword [edx]
je 0x53b28c
or ecx, eax
jmp 0x53b290
not eax
and ecx, eax
push edi
mov dword [edx], ecx
push ebp
mov ecx, ebx
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov ecx, dword [eax]
mov edx, dword [esp + 0x120]
mov ecx, dword [ecx + 4]
push edx
add ecx, eax
call fcn.0048ea80
mov ecx, eax
call fcn.0053e370
test al, al
jne 0x53b2c6
mov byte [esp + 0x1c], 1
push edi
push ebp
mov ecx, ebx
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.0048ea80
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
test ecx, ecx
lea eax, [edx + eax + 4]
je 0x53b2f9
mov byte [esp + 0x1e], 1
push edi
push ebp
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
fld dword [eax + 0x14]
fsub dword [esp + 0x120]
add eax, 0x14
fstp dword [eax]
mov eax, dword [esi + 0x1b04]
inc edi
cmp edi, eax
jl 0x53b1a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1b00]
inc ebp
add ecx, 0x14
cmp ebp, eax
mov dword [esp + 0x18], ecx
jl 0x53b190
mov al, byte [esp + 0x1e]
test al, al
je 0x53b35c
mov dword [esi + 0x1f6c], 0
jmp 0x53b7c0
fld dword [esp + 0x120]
mov edi, 0x13
fadd dword [esi + 0x1f6c]
fst dword [esi + 0x1f6c]
fcomp dword [0x654a20]
fnstsw ax
test ah, 0x41
jne 0x53b48a
mov eax, dword [esi + 0x1ba8]
test eax, eax
jle 0x53b48a
mov eax, dword [esi + 0x2020]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x2020]
call fcn.00407760
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, 1
jne 0x53b48a
lea eax, [esp + 0x13]
push eax
push str.clear_hint
lea ecx, [esp + 0xe8]
call fcn.00403db0
lea ecx, [esp + 0xe0]
push ecx
mov dword [esp + 0x11c], edi
mov dword [esp + 0x4c], 3
call fcn.0047ae30
add esp, 4
test al, al
je 0x53b437
lea edx, [esp + 0x13]
push edx
push str.clear_hint
lea ecx, [esp + 0xd0]
mov dword [esp + 0x50], 7
call fcn.00403db0
lea eax, [esp + 0xc8]
push 0
push eax
mov dword [esp + 0x120], 0x14
mov dword [esp + 0x50], 0xf
call fcn.0047b4e0
add esp, 8
test al, al
jne 0x53b48a
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x13]
push ecx
or ebx, 0x10
push str.silverCountInt
lea ecx, [esp + 0x88]
mov dword [esp + 0x50], ebx
call fcn.00403db0
mov ebp, ebx
lea edx, [esp + 0x80]
or ebp, 0x20
push edx
mov dword [esp + 0x11c], 0x15
mov dword [esp + 0x4c], ebp
call fcn.0047b1b0
mov ecx, dword [esi + 0x1ba8]
add esp, 4
cmp ecx, eax
jge 0x53b48a
mov bl, 1
jmp 0x53b48c
xor bl, bl
mov eax, dword [esp + 0x48]
test al, 0x20
mov dword [esp + 0x118], 0x14
je 0x53b4b6
and eax, 0xffffffdf
lea ecx, [esp + 0x80]
mov dword [esp + 0x48], eax
call fcn.00449cc0
mov eax, dword [esp + 0x48]
test al, 0x10
je 0x53b4bd
and eax, 0xffffffef
test al, 8
mov dword [esp + 0x118], edi
je 0x53b4df
and eax, 0xfffffff7
lea ecx, [esp + 0xc8]
mov dword [esp + 0x48], eax
call fcn.00449cc0
mov eax, dword [esp + 0x48]
test al, 4
je 0x53b4e6
and eax, 0xfffffffb
test al, 2
mov dword [esp + 0x118], 0xffffffff
je 0x53b501
lea ecx, [esp + 0xe0]
call fcn.00449cc0
test bl, bl
je 0x53b7c0
xor edi, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov eax, dword [esi + 0x1b00]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x118], 0x16
jle 0x53b5cf
mov eax, dword [esi + 0x1b04]
xor ebp, ebp
test eax, eax
jle 0x53b5c0
push ebp
push ebx
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xfffffffe
je 0x53b5b5
push ebp
push ebx
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x53b5b5
cmp edi, dword [esp + 0x44]
mov eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
je 0x53b599
test edi, edi
je 0x53b590
mov dword [edi], eax
mov dword [edi + 4], ebp
add edi, 8
mov dword [esp + 0x40], edi
jmp 0x53b5b5
push 1
push 1
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edi
lea ecx, [esp + 0x50]
call fcn.004906a0
mov edi, dword [esp + 0x40]
mov eax, dword [esi + 0x1b04]
inc ebp
cmp ebp, eax
jl 0x53b542
mov eax, dword [esi + 0x1b00]
inc ebx
cmp ebx, eax
jl 0x53b532
sub edi, dword [esp + 0x3c]
sar edi, 3
test edi, edi
jbe 0x53b785
call fcn.006122e1
xor edx, edx
div edi
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + edx*8]
mov ecx, dword [ebx + edx*8 + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add eax, 0xffffffd6
cdq
sub eax, edx
mov edx, dword [esi + 0x1b04]
sar eax, 1
sub edx, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
fmul st(2)
mov ecx, esi
fadd st(1)
fstp dword [esp + 0x18]
fild dword [esp + 0x24]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
call dword [eax + 0x14]
fld dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esi + 0xf4]
mov ebp, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
add ebp, eax
call fcn.00611c14
mov edx, dword [esi]
add ebp, eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call dword [edx + 0x14]
fld dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xf4]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.00611c14
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add edi, eax
add edi, edx
mov ecx, edi
mov dword [esi + 0x1f64], edi
lea edi, [ecx - 0x15e]
test edi, edi
mov dword [esi + 0x1f68], ebp
jge 0x53b6b1
lea edi, [ecx + 0x3c]
fld dword [esi + 0x1f74]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jp 0x53b789
mov edx, dword [esi + 0x1f68]
push 0
push edx
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0x37]
push eax
push str.clear
call fcn.00403db0
push 0x12c
push edi
lea ecx, [esi + 0x58]
call fcn.00528390
test al, al
mov byte [esi + 0x1f70], al
je 0x53b789
push 0x48
call fcn.004063f0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x118], 0x17
je 0x53b738
push 1
push 0
push 0
push 0
push 1
push 0x3f000000
mov ecx, eax
call fcn.00492180
jmp 0x53b73a
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x120], 0x16
call fcn.0048eed0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esi + 0x2050]
mov byte [esp + 0x11c], 0x18
call fcn.00493570
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 0x16
call fcn.0048f9a0
mov edx, dword [esi + 0x1f78]
mov dword [esi + 0x1f74], edx
jmp 0x53b789
mov ebx, dword [esp + 0x3c]
test ebx, ebx
mov dword [esp + 0x118], 0xffffffff
je 0x53b7c0
mov eax, dword [esp + 0x44]
sub eax, ebx
sar eax, 3
shl eax, 3
cmp eax, 0x80
jbe 0x53b7b6
push ebx
call fcn.00611869
add esp, 4
jmp 0x53b7c0
push eax
push ebx
call fcn.005d6970
add esp, 8
mov eax, dword [esi + 0x1bcc]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1bcc]
call fcn.004f2a00
fld dword [eax + 0x2c]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53b7fd
mov edx, dword [esp + 0x120]
push edx
mov ecx, esi
call fcn.00542e80
test al, al
mov byte [esp + 0x1f], 1
jne 0x53b802
mov byte [esp + 0x1f], 0
mov al, byte [esp + 0x1c]
test al, al
mov byte [esp + 0x1d], 0
je 0x53c15b
mov eax, dword [esi + 0x1b6c]
mov ebp, dword [esi + 0x1b68]
lea edi, [esi + 0x1b68]
sub eax, ebp
xor bl, bl
and eax, 0xfffffff8
cmp eax, 0x10
mov byte [esp + 0x13], 0
mov byte [esp + 0x3b], 0
mov byte [esp + 0x1c], bl
jne 0x53bb82
mov eax, ebp
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
lea ebp, [esi + 0x258]
push edx
mov ecx, ebp
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.0048ea80
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax + 4]
cmp dword [eax], 0
jne 0x53bb82
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
mov ecx, ebp
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.0048ea80
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax + 4]
cmp dword [eax], 0
jne 0x53bb82
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
lea ebp, [esi + 0x284]
push eax
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
mov eax, dword [edi]
je 0x53b996
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x20], 0xfffffffe
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 0x1c], 5
jne 0x53b970
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x53b943
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
jmp 0x53b970
mov ebx, dword [edi]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push 0xfffffffffffffffe
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00534dd0
mov ebx, dword [edi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
jmp 0x53ba69
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x53ba7b
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x20], 0xfffffffe
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 0x1c], 5
jne 0x53ba46
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x53ba1b
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
jmp 0x53ba46
mov ebx, dword [edi]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push 0xfffffffffffffffe
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00534dd0
mov ebx, dword [edi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
push eax
push ecx
mov ecx, esi
push edx
call fcn.00534dd0
mov byte [esp + 0x1d], 1
mov ecx, esi
mov byte [esp + 0x3b], 1
call fcn.00541600
mov bl, al
test bl, bl
mov byte [esp + 0x1c], bl
je 0x53bb27
mov al, byte [esi + 0x1b74]
test al, al
je 0x53bb27
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x1b30]
mov dword [esi + 0x1b34], eax
mov al, byte [esi + 0x1b28]
inc ecx
test al, al
mov dword [esi + 0x1b30], ecx
je 0x53bad6
fld dword [esi + 0xc4]
fchs
fstp dword [esi + 0x1b24]
jmp 0x53bae7
mov dword [esi + 0x1b24], 0
mov byte [esi + 0x1b28], 0
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x33]
push edx
push str.item_success
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
mov ecx, esi
call fcn.004a9100
mov ecx, edi
mov byte [esi + 0x1b74], 0
call fcn.0048cb20
jmp 0x53c060
mov al, byte [esp + 0x1d]
test al, al
jne 0x53bb76
push 1
mov ecx, edi
call fcn.004475c0
push 0
mov ecx, edi
mov ebp, eax
call fcn.004475c0
push 1
mov ecx, edi
mov ebx, eax
call fcn.004475c0
mov eax, dword [eax + 4]
mov ecx, dword [ebp]
push eax
push ecx
push 0
mov ecx, edi
call fcn.004475c0
mov edx, dword [eax + 4]
mov eax, dword [ebx]
push edx
push eax
mov ecx, esi
call fcn.0053f110
mov bl, byte [esp + 0x1c]
mov byte [esp + 0x13], 1
mov ecx, edi
call fcn.0048cb20
jmp 0x53c060
mov al, byte [esp + 0x1e]
test al, al
jne 0x53c060
mov al, byte [esi + 0x1b75]
test al, al
je 0x53c060
mov eax, dword [esi + 0x1ba8]
test eax, eax
jle 0x53c060
mov ebp, dword [esi + 0x1f80]
lea eax, [esi + 0x1b00]
inc ebp
push eax
mov dword [esi + 0x1f80], ebp
call fcn.00489900
lea ebx, [esi + 0x1b04]
push ebx
mov edi, eax
call fcn.00489900
add esp, 8
test edi, edi
mov ebp, eax
jl 0x53bd00
cmp edi, dword [esi + 0x1b00]
jge 0x53bd00
test ebp, ebp
jl 0x53bd00
cmp ebp, dword [ebx]
jge 0x53bd00
push ebp
lea ebx, [esi + 0x284]
push edi
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xfffffffe
je 0x53bd00
push ebp
push edi
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x53bd00
push ebp
push edi
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 8]
test ecx, ecx
jg 0x53bd00
lea eax, [edi + 1]
push ebp
push eax
mov ecx, esi
call fcn.00492880
test al, al
je 0x53bc7d
push ebp
lea eax, [edi + 1]
push eax
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xffffffff
jne 0x53bd55
lea eax, [edi - 1]
push ebp
push eax
mov ecx, esi
call fcn.00492880
test al, al
je 0x53bcaa
push ebp
lea eax, [edi - 1]
push eax
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xffffffff
jne 0x53bd55
lea eax, [ebp + 1]
push eax
push edi
mov ecx, esi
call fcn.00492880
test al, al
je 0x53bcd7
lea eax, [ebp + 1]
push eax
push edi
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xffffffff
jne 0x53bd55
lea eax, [ebp - 1]
push eax
push edi
mov ecx, esi
call fcn.00492880
test al, al
je 0x53bd00
lea eax, [ebp - 1]
push eax
push edi
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xffffffff
jne 0x53bd55
call fcn.006122e1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x656298]
fild dword [esi + 0x1b00]
fsub dword [0x653bc4]
fmulp st(1)
call fcn.00611c14
mov edi, eax
call fcn.006122e1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
lea ebx, [esi + 0x1b04]
fmul dword [0x656298]
fild dword [ebx]
fsub dword [0x653bc4]
fmulp st(1)
call fcn.00611c14
jmp 0x53bbd4
push ebp
lea ebx, [esi + 0x284]
push edi
mov ecx, ebx
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
push ebp
push edi
mov ecx, ebx
mov dword [eax + 4], 0x14
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
push ebp
lea ebx, [esi + 0x258]
push edi
mov ecx, ebx
mov dword [eax + 0x1c], 5
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24c]
sub esp, 0xc
mov ecx, esp
add eax, 0x30
mov dword [esp + 0x2c], esp
push eax
mov dword [ecx], 0x6580c8
call fcn.00490cf0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x124], 0xffffffff
call fcn.0048ea80
mov ecx, eax
call fcn.004a89d0
push ebp
push edi
mov ecx, ebx
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov edx, dword [eax]
mov ecx, dword [edx + 4]
push 0x42200000
push 0
push 4
push 0x1f
push 0
add ecx, eax
call fcn.0048ea80
mov ecx, eax
call fcn.0049e670
push 0x24
call fcn.004063f0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x118], 0x1c
je 0x53bea5
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x14]
push ebp
mov ecx, esi
mov ebx, eax
call fcn.004892f0
call fcn.00611c14
mov ebx, dword [ebx + 4]
add ebx, eax
mov eax, dword [esi + 0xf4]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
add ebx, eax
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [edx + 0x14]
push edi
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004892c0
call fcn.00611c14
mov ecx, eax
mov eax, dword [esi + 0xf4]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
push 1
add ecx, eax
mov eax, dword [edx]
push 0x3f333333
add ecx, eax
push ebx
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0052be40
jmp 0x53bea7
xor eax, eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push 1
push eax
mov dword [esp + 0x12c], 0xffffffff
call fcn.0048f070
push 1
lea ecx, [esi + 0x128]
call fcn.004b00e0
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x33]
push eax
push str.create_bonus
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
lea ecx, [esp + 0x13]
push ecx
push str.lighting_hint
lea ecx, [esp + 0x88]
call fcn.00403db0
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x11c], 0x1d
call fcn.0047ae30
add esp, 4
mov bl, al
neg bl
sbb bl, bl
lea ecx, [esp + 0x80]
inc bl
mov dword [esp + 0x118], 0xffffffff
call fcn.00449cc0
test bl, bl
je 0x53c055
lea eax, [esp + 0x13]
push eax
push str.lighting_hint
lea ecx, [esp + 0x88]
call fcn.00403db0
lea ecx, [esp + 0x80]
push 0
push ecx
mov dword [esp + 0x120], 0x1e
call fcn.00412cc0
add esp, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0x118], 0xffffffff
call fcn.00449cc0
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [edx + 0x14]
push ebp
mov ecx, esi
mov ebx, eax
call fcn.004892f0
call fcn.00611c14
mov ebp, dword [ebx + 4]
add ebp, eax
mov eax, dword [esi + 0xf4]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
add ebp, eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0x14]
push edi
mov ecx, esi
mov ebx, eax
call fcn.004892c0
call fcn.00611c14
mov ecx, eax
mov eax, dword [esi + 0xf4]
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
add ecx, eax
push 0x3f266666
add ecx, edx
sub esp, 0x18
mov dword [esi + 0x1f64], ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x2f]
push edx
push str.bomb_hint_lighting
mov dword [esi + 0x1f68], ebp
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0x47]
push eax
push str.GameField
mov dword [esp + 0x154], 0x1f
call fcn.00403db0
lea ecx, [esi + 0x1f4c]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0049f1f0
mov bl, byte [esp + 0x1c]
mov byte [esi + 0x1b75], 0
mov ecx, esi
call fcn.004985c0
test al, al
je 0x53c072
mov ecx, esi
call fcn.004a9100
mov al, byte [esp + 0x3b]
test al, al
jne 0x53c083
mov ecx, esi
call fcn.00541600
mov bl, al
test bl, bl
jne 0x53c097
mov al, byte [esp + 0x1f]
test al, al
jne 0x53c097
mov al, byte [esp + 0x1d]
test al, al
je 0x53c09e
mov ecx, esi
call fcn.004a9100
mov al, byte [esp + 0x1e]
test al, al
jne 0x53c15b
mov al, byte [esi + 0x1b0c]
test al, al
jne 0x53c15b
mov al, byte [esi + 0x201c]
test al, al
jne 0x53c15b
mov ecx, esi
call fcn.004b6160
test al, al
mov byte [esi + 0x1b0c], al
jne 0x53c130
mov al, byte [esp + 0x13]
test al, al
jne 0x53c130
mov al, byte [esp + 0x1d]
test al, al
jne 0x53c130
mov eax, dword [esi + 0x1ba8]
test eax, eax
jle 0x53c130
mov ecx, esi
call fcn.004985c0
test al, al
jne 0x53c130
mov ecx, dword [esi + 0x1bcc]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1bcc]
call fcn.004f2a00
mov ecx, eax
call fcn.0053de00
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53c130
push 0
push 1
mov ecx, esi
call fcn.004b6840
mov al, byte [esi + 0x1b28]
test al, al
je 0x53c14a
fld dword [esi + 0xc4]
fchs
fstp dword [esi + 0x1b24]
jmp 0x53c15b
mov dword [esi + 0x1b24], 0
mov byte [esi + 0x1b28], 0
mov eax, dword [esi + 0x1b00]
xor edi, edi
test eax, eax
jle 0x53c31d
jmp 0x53c170
mov eax, dword [esi + 0x1b04]
xor ebp, ebp
test eax, eax
jle 0x53c30e
push ebp
push edi
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
fld dword [eax + 0x18]
fcomp dword [0x6b7f08]
fnstsw ax
test ah, 0x41
jne 0x53c2ff
push edi
lea ecx, [esi + 0x2044]
call fcn.00433e10
mov ebx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [eax + ebp]
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
and ecx, 0x8000001f
lea eax, [ebx + eax*4]
jns 0x53c1df
dec ecx
or ecx, 0xffffffe0
inc ecx
jns 0x53c1df
add ecx, 0x20
sub eax, 4
mov edx, eax
mov eax, 1
shl eax, cl
test dword [edx], eax
je 0x53c2ff
push ebp
lea ecx, [esi + 0x258]
push edi
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.0048ea80
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax + 4]
cmp dword [eax], 0
jne 0x53c2ff
test edi, edi
jl 0x53c2ac
cmp edi, dword [esi + 0x1b00]
jge 0x53c2ac
lea ebx, [ebp + 1]
test ebx, ebx
jl 0x53c2ac
cmp ebx, dword [esi + 0x1b04]
jge 0x53c2ac
push ebx
push edi
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xfffffffe
je 0x53c2ac
push ebx
push edi
lea ecx, [esi + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xffffffff
je 0x53c2ff
push ebx
push edi
lea ecx, [esi + 0x258]
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.0048ea80
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
test ecx, ecx
lea eax, [edx + eax + 4]
jne 0x53c2ff
push 3
push ebp
push edi
mov ecx, esi
call fcn.0049f650
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x40], esp
mov dword [eax], ecx
mov dword [esp + 0x40], ecx
mov dword [ecx + 0x14], eax
push 0x662769
push str.item_fall
mov dword [esp + 0x140], 0x24
call fcn.00403b50
mov ecx, 0x16c7860
mov dword [esp + 0x138], 0xffffffff
call fcn.0046b8b0
mov eax, dword [esi + 0x1b04]
inc ebp
cmp ebp, eax
jl 0x53c180
mov eax, dword [esi + 0x1b00]
inc edi
cmp edi, eax
jl 0x53c170
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
jge 0x53d457
fld dword [esi + 0x1f6c]
fcomp dword [0x654a20]
fnstsw ax
test ah, 0x41
jne 0x53d455
mov eax, dword [esi + 0x1bd8]
test eax, eax
jle 0x53d455
lea eax, [esp + 0x13]
push eax
push str.Show_next_shop_tip
lea ecx, [esp + 0x70]
call fcn.00403db0
lea ecx, [esp + 0x68]
push 1
push ecx
mov dword [esp + 0x120], 0x25
call fcn.00412cc0
mov eax, dword [esp + 0x84]
or ebx, 0xffffffff
lea edx, [esp + 0x80]
add esp, 8
cmp eax, edx
mov dword [esp + 0x118], ebx
je 0x53c3bf
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x53c3bf
sub eax, ecx
cmp eax, 0x80
jbe 0x53c3b5
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c3bf
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push 0x6623bc
lea ecx, [esp + 0x70]
call fcn.00403db0
lea ebp, [esi + 0x1b90]
push str.krugMoneyAddon
mov ecx, ebp
mov dword [esp + 0x11c], 0x26
call fcn.004ab9a0
fld dword [eax]
fcom dword [0x654e5c]
fnstsw ax
test ah, 1
jne 0x53c406
fadd dword [0x6532dc]
jmp 0x53c40c
fsub dword [0x6532dc]
call fcn.00611c14
lea ecx, [esp + 0x68]
push ecx
mov edi, eax
call fcn.0047b1b0
imul eax, edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x7c]
add esp, 4
cmp eax, edx
mov dword [esp + 0x118], ebx
je 0x53c463
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x53c463
sub eax, ecx
cmp eax, 0x80
jbe 0x53c459
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c463
push eax
push ecx
call fcn.005d6970
add esp, 8
push 2
lea ecx, [esp + 0x40]
call fcn.0053ded0
push 2
lea ecx, [esp + 0x6c]
mov dword [esp + 0x11c], 0x27
call fcn.005f17b0
lea eax, [esp + 0x13]
push eax
push str.silverCountInt
lea ecx, [esp + 0x28]
mov byte [esp + 0x120], 0x28
call fcn.00403db0
push str.silver
mov ecx, ebp
mov byte [esp + 0x11c], 0x29
call fcn.004ab9a0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x1c], ecx
call fcn.0047b1b0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
call fcn.0053dda0
fcom dword [0x654e5c]
add esp, 8
fnstsw ax
test ah, 1
jne 0x53c4f5
fadd dword [0x6532dc]
jmp 0x53c4fb
fsub dword [0x6532dc]
call fcn.00611c14
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c540
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x53c540
sub eax, ecx
cmp eax, 0x80
jbe 0x53c536
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c540
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.goldenCountInt
lea ecx, [esp + 0x28]
call fcn.00403db0
push str.golden
mov ecx, ebp
mov byte [esp + 0x11c], 0x2a
call fcn.004ab9a0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x1c], ecx
call fcn.0047b1b0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
call fcn.0053dda0
fcom dword [0x654e5c]
add esp, 8
fnstsw ax
test ah, 1
jne 0x53c5a9
fadd dword [0x6532dc]
jmp 0x53c5af
fsub dword [0x6532dc]
call fcn.00611c14
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c5f5
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x53c5f5
sub eax, ecx
cmp eax, 0x80
jbe 0x53c5eb
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c5f5
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x3c]
fild dword [eax + 4]
mov edi, dword [esp + 0x68]
fild dword [eax]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
faddp st(1)
fild dword [eax]
mov dword [esp + 0x34], edx
fld dword [0x6532d8]
fdiv st(2)
fstp dword [esp + 0x18]
fild dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x18]
fmul st(1)
fmul dword [esp + 0x48]
fadd st(1)
fstp dword [edi]
mov eax, dword [esp + 0x3c]
fstp st(0)
fstp st(0)
fild dword [eax + 4]
fld dword [esp + 0x18]
fmul st(1)
fmul dword [esp + 0x48]
fadd st(1)
fstp dword [edi + 4]
fstp st(0)
push 0x65eac2
push str.silverCountInt
mov byte [esp + 0x120], 0x2b
call fcn.00403b50
lea eax, [esp + 0x13]
push eax
mov bl, 0x2c
push str.silverCountMul
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], bl
call fcn.00403db0
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x11c], 0x2d
call fcn.0047b1b0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
lea edx, [esp + 0x54]
fdivr dword [edi]
fstp dword [esp]
push edx
call fcn.0047b010
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], bl
je 0x53c6ec
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53c6ec
sub eax, ecx
cmp eax, 0x80
jbe 0x53c6e2
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c6ec
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c726
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x53c726
sub eax, ecx
cmp eax, 0x80
jbe 0x53c71c
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c726
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.goldenCountInt
lea ecx, [esp + 0x58]
call fcn.00403db0
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x11c], 0x2e
call fcn.0047b1b0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x60]
setg bl
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c78d
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53c78d
sub eax, ecx
cmp eax, 0x80
jbe 0x53c783
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c78d
push eax
push ecx
call fcn.005d6970
add esp, 8
test bl, bl
lea eax, [esp + 0x13]
push eax
je 0x53c844
push str.goldenCountInt
lea ecx, [esp + 0x28]
call fcn.00403db0
lea ecx, [esp + 0x13]
push ecx
mov bl, 0x2f
push str.goldenCountMul
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], bl
call fcn.00403db0
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x11c], 0x30
call fcn.0047b1b0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
lea eax, [esp + 0x54]
fdivr dword [edi + 4]
fstp dword [esp]
push eax
call fcn.0047b010
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], bl
je 0x53c82a
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53c82a
sub eax, ecx
cmp eax, 0x80
jbe 0x53c820
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c82a
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c8a3
mov ecx, dword [esp + 0x20]
jmp 0x53c881
push str.goldenCountMul
lea ecx, [esp + 0x58]
call fcn.00403db0
lea ecx, [esp + 0x50]
push 0
push ecx
mov byte [esp + 0x120], 0x31
call fcn.0047b010
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x68]
add esp, 8
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c8a3
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53c8a3
sub eax, ecx
cmp eax, 0x80
jbe 0x53c899
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c8a3
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.LevelScoreBonusInt
lea ecx, [esp + 0x58]
call fcn.00403db0
lea ecx, [esi + 0x1b38]
mov byte [esp + 0x118], 0x32
call fcn.005b17c0
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0047af70
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x68]
add esp, 8
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53c911
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53c911
sub eax, ecx
cmp eax, 0x80
jbe 0x53c907
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c911
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.TimeCountInt
lea ecx, [esp + 0x58]
call fcn.00403db0
mov ecx, dword [esi + 0x1bcc]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1bcc]
mov byte [esp + 0x118], 0x33
call fcn.004f2a00
mov ecx, eax
call fcn.0053de00
fmul dword [0x65e6e4]
fcom dword [0x654e5c]
fnstsw ax
test ah, 1
jne 0x53c963
fadd dword [0x6532dc]
jmp 0x53c969
fsub dword [0x6532dc]
call fcn.00611c14
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0047af70
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], 0x28
je 0x53c9b6
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53c9b6
sub eax, ecx
cmp eax, 0x80
jbe 0x53c9ac
push ecx
call fcn.00611869
add esp, 4
jmp 0x53c9b6
push eax
push ecx
call fcn.005d6970
add esp, 8
lea edx, [esp + 0x13]
push edx
push str.LevelScoreBonusMul
lea ecx, [esp + 0x58]
call fcn.00403db0
push str.levelScoreBonusMul
mov ecx, ebp
mov byte [esp + 0x11c], 0x34
call fcn.004ab9a0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0047b010
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x68]
add esp, 8
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53ca27
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53ca27
sub eax, ecx
cmp eax, 0x80
jbe 0x53ca1d
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ca27
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.TimeCountMul
lea ecx, [esp + 0x58]
call fcn.00403db0
push str.timeBonus
mov ecx, ebp
mov byte [esp + 0x11c], 0x35
call fcn.004ab9a0
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0047b010
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], 0x28
je 0x53ca98
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53ca98
sub eax, ecx
cmp eax, 0x80
jbe 0x53ca8e
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ca98
push eax
push ecx
call fcn.005d6970
add esp, 8
lea edx, [esp + 0x13]
push edx
push str.CupBonusInt
lea ecx, [esp + 0x58]
call fcn.00403db0
mov ecx, esi
mov byte [esp + 0x118], 0x36
call fcn.0053f3f0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0047af70
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], 0x28
je 0x53cb02
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53cb02
sub eax, ecx
cmp eax, 0x80
jbe 0x53caf8
push ecx
call fcn.00611869
add esp, 4
jmp 0x53cb02
push eax
push ecx
call fcn.005d6970
add esp, 8
lea edx, [esp + 0x13]
push edx
push str.CupBonusMul
lea ecx, [esp + 0x58]
call fcn.00403db0
lea eax, [esp + 0x50]
push 0x3f800000
push eax
mov byte [esp + 0x120], 0x37
call fcn.0047b010
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], 0x28
je 0x53cb69
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53cb69
sub eax, ecx
cmp eax, 0x80
jbe 0x53cb5f
push ecx
call fcn.00611869
add esp, 4
jmp 0x53cb69
push eax
push ecx
call fcn.005d6970
add esp, 8
lea edx, [esp + 0x13]
push edx
push str.Level_time
lea ecx, [esp + 0x58]
call fcn.00403db0
mov eax, dword [esi + 0x1bd8]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x120], 0x38
call fcn.0047af70
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x68]
add esp, 8
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53cbd2
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53cbd2
sub eax, ecx
cmp eax, 0x80
jbe 0x53cbc8
push ecx
call fcn.00611869
add esp, 4
jmp 0x53cbd2
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.LevelScoreBonusInt
lea ecx, [esp + 0xa0]
call fcn.00403db0
lea ecx, [esp + 0x13]
push ecx
push str.LevelScoreBonusMul
lea ecx, [esp + 0xb8]
mov byte [esp + 0x120], 0x39
call fcn.00403db0
lea edx, [esp + 0x13]
push edx
push str.CupBonusInt
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0x3a
call fcn.00403db0
lea eax, [esp + 0x13]
push eax
push str.CupBonusMul
lea ecx, [esp + 0xd0]
mov byte [esp + 0x120], 0x3b
call fcn.00403db0
lea ecx, [esp + 0x13]
push ecx
push str.TimeCountInt
lea ecx, [esp + 0xe8]
mov byte [esp + 0x120], 0x3c
call fcn.00403db0
lea edx, [esp + 0x13]
push edx
push str.TimeCountMul
lea ecx, [esp + 0x100]
mov byte [esp + 0x120], 0x3d
call fcn.00403db0
lea eax, [esp + 0x13]
push eax
mov bl, 0x3e
push str.Level_money
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], bl
call fcn.00403db0
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x11c], 0x3f
call fcn.0047b1b0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
lea edx, [esp + 0xb4]
push edx
fstp dword [esp + 0x1c]
call fcn.0047b2f0
fmul dword [esp + 0x1c]
lea eax, [esp + 0x88]
push eax
fstp dword [esp + 0x24]
call fcn.0047b1b0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea ecx, [esp + 0xd4]
push ecx
fstp dword [esp + 0x24]
call fcn.0047b2f0
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push edx
call fcn.0053dda0
lea eax, [esp + 0xf4]
fstp dword [esp + 0x5c]
push eax
call fcn.0047b1b0
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
lea ecx, [esp + 0x110]
push ecx
fstp dword [esp + 0x30]
call fcn.0047b2f0
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
push edx
call fcn.0053dda0
add esp, 0x20
fstp dword [esp + 0x20]
lea ecx, [esi + 0x1b50]
call fcn.005b17c0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push eax
fstp dword [esp + 0x18]
call fcn.0053dda0
fadd dword [esp + 0x18]
add esp, 4
fadd dword [esp + 0x48]
fadd dword [esp + 0x20]
fcom dword [0x654e5c]
fnstsw ax
test ah, 1
jne 0x53cd90
fadd dword [0x6532dc]
jmp 0x53cd96
fsub dword [0x6532dc]
call fcn.00611c14
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0047af70
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x68]
add esp, 8
cmp eax, edx
mov byte [esp + 0x118], bl
je 0x53cde2
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x53cde2
sub eax, ecx
cmp eax, 0x80
jbe 0x53cdd8
push ecx
call fcn.00611869
add esp, 4
jmp 0x53cde2
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x108]
cmp eax, ecx
mov byte [esp + 0x118], 0x3d
je 0x53ce25
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x53ce25
sub eax, ecx
cmp eax, 0x80
jbe 0x53ce1b
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ce25
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xf4]
lea edx, [esp + 0xf0]
cmp eax, edx
mov byte [esp + 0x118], 0x3c
je 0x53ce68
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x53ce68
sub eax, ecx
cmp eax, 0x80
jbe 0x53ce5e
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ce68
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0xd8]
cmp eax, ecx
mov byte [esp + 0x118], 0x3b
je 0x53ceab
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x53ceab
sub eax, ecx
cmp eax, 0x80
jbe 0x53cea1
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ceab
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x90]
cmp eax, edx
mov byte [esp + 0x118], 0x3a
je 0x53ceee
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x53ceee
sub eax, ecx
cmp eax, 0x80
jbe 0x53cee4
push ecx
call fcn.00611869
add esp, 4
jmp 0x53ceee
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0xc0]
cmp eax, ecx
mov byte [esp + 0x118], 0x39
je 0x53cf31
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x53cf31
sub eax, ecx
cmp eax, 0x80
jbe 0x53cf27
push ecx
call fcn.00611869
add esp, 4
jmp 0x53cf31
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xac]
lea edx, [esp + 0xa8]
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53cf74
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x53cf74
sub eax, ecx
cmp eax, 0x80
jbe 0x53cf6a
push ecx
call fcn.00611869
add esp, 4
jmp 0x53cf74
push eax
push ecx
call fcn.005d6970
add esp, 8
lea eax, [esp + 0x13]
push eax
push str.Money
lea ecx, [esp + 0x88]
call fcn.00403db0
lea ecx, [esp + 0x13]
push ecx
push str.Level_money
lea ecx, [esp + 0xb8]
mov byte [esp + 0x120], 0x40
call fcn.00403db0
lea edx, [esp + 0x13]
push edx
mov bl, 0x41
push str.Money
lea ecx, [esp + 0xa0]
mov byte [esp + 0x120], bl
call fcn.00403db0
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x11c], 0x42
call fcn.0047b1b0
lea ecx, [esp + 0x84]
push ecx
mov edi, eax
call fcn.0047b1b0
add edi, eax
lea edx, [esp + 0xa0]
push edi
push edx
call fcn.0047af70
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xb8]
add esp, 0x10
cmp eax, ecx
mov byte [esp + 0x118], bl
je 0x53d040
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x53d040
sub eax, ecx
cmp eax, 0x80
jbe 0x53d036
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d040
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0xc0]
cmp eax, edx
mov byte [esp + 0x118], 0x40
je 0x53d083
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x53d083
sub eax, ecx
cmp eax, 0x80
jbe 0x53d079
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d083
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x90]
cmp eax, ecx
mov byte [esp + 0x118], 0x28
je 0x53d0c6
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x53d0c6
sub eax, ecx
cmp eax, 0x80
jbe 0x53d0bc
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d0c6
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, esi
call fcn.0053fd60
lea edx, [esp + 0x13]
push edx
push str.Levels_lost
lea ecx, [esp + 0xa0]
call fcn.00403db0
lea eax, [esp + 0x98]
push 0
push eax
mov byte [esp + 0x120], 0x43
call fcn.0047af70
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xb0]
add esp, 8
cmp eax, ecx
mov byte [esp + 0x118], 0x28
je 0x53d140
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x53d140
sub eax, ecx
cmp eax, 0x80
jbe 0x53d136
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d140
push eax
push ecx
call fcn.005d6970
add esp, 8
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x33]
push edx
push str.field_hide
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
push 0x48
mov dword [esi + 0x1bd8], 0
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x118], 0x44
je 0x53d1bf
mov eax, dword [esi + 0x1bf0]
mov ecx, dword [eax + 4]
push 1
push 0
push 0
push 0
push 1
lea ecx, [ecx + esi + 0x1bf0]
call fcn.0048ea80
mov ecx, eax
call fcn.0053ddc0
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.00492180
jmp 0x53d1c1
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x120], 0x28
call fcn.0048eed0
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x1bf0]
mov byte [esp + 0x11c], 0x45
call fcn.00493570
lea ecx, [esp + 0x20]
mov byte [esp + 0x118], 0x28
call fcn.0048f9a0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push 1
lea edi, [esi + 0x1bcc]
push edi
call fcn.0053e130
lea ecx, [esi + 0x1f54]
call fcn.005335a0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1bcc]
call fcn.004f2a00
fld dword [eax + 0x4c]
fmul dword [0x65aa2c]
lea edx, [esp + 0x13]
push edx
push str.LevelNumber
lea ecx, [esp + 0xb8]
fstp dword [eax + 0x3c]
mov byte [eax + 0x50], 0
call fcn.00403db0
lea eax, [esp + 0x13]
push eax
mov bl, 0x46
push str.LevelNumber
lea ecx, [esp + 0xa0]
mov byte [esp + 0x120], bl
call fcn.00403db0
lea ecx, [esp + 0xb0]
push 1
push ecx
mov byte [esp + 0x120], 0x47
call fcn.0047b440
inc eax
push eax
lea edx, [esp + 0xa4]
push edx
call fcn.0047af70
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xb8]
add esp, 0x10
cmp eax, ecx
mov byte [esp + 0x118], bl
je 0x53d2e1
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x53d2e1
sub eax, ecx
cmp eax, 0x80
jbe 0x53d2d7
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d2e1
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0xc0]
cmp eax, edx
mov byte [esp + 0x118], 0x28
je 0x53d324
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x53d324
sub eax, ecx
cmp eax, 0x80
jbe 0x53d31a
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d324
push eax
push ecx
call fcn.005d6970
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0x2b]
push eax
push str.continue
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0x43]
push edx
push str.RifFieldStatistic
mov byte [esp + 0x150], 0x48
call fcn.00403db0
mov byte [esp + 0x148], 0x28
call fcn.0045c060
push 0x48
call fcn.004063f0
add esp, 0x34
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x118], 0x49
je 0x53d39b
push 1
push 0
push 0
push 0
push 1
push 0x40000000
mov ecx, eax
call fcn.00492180
jmp 0x53d39d
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x120], 0x28
call fcn.0048eed0
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x1fd4]
mov byte [esp + 0x11c], 0x4a
call fcn.00493570
lea ecx, [esp + 0x20]
mov byte [esp + 0x118], 0x28
call fcn.0048f9a0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
mov byte [esp + 0x118], 0x27
jbe 0x53d404
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d40e
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov dword [esp + 0x118], 0xffffffff
je 0x53d59b
mov eax, dword [esp + 0x44]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x53d446
push ecx
call fcn.00611869
add esp, 4
jmp 0x53d59b
push eax
push ecx
call fcn.005d6970
add esp, 8
jmp 0x53d59b
test ecx, ecx
jne 0x53d59b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x2b]
push edx
push str.clear_children_list
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0x43]
push eax
push str.FieldHurryUpScreen
mov dword [esp + 0x150], 0x4b
call fcn.00403db0
or edi, 0xffffffff
mov dword [esp + 0x148], edi
call fcn.0045c060
add esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x2b]
push edx
push str.instantiate_RifFieldStatisticTemplate
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0x43]
push eax
push str.Statistics_modal_dialog
mov dword [esp + 0x150], 0x4c
call fcn.00403db0
mov dword [esp + 0x148], edi
call fcn.0045c060
add esp, 0x30
lea ecx, [esp + 0x13]
push ecx
push 0x6623bc
lea ecx, [esp + 0x70]
call fcn.00403db0
push str.krugMoneyAddon
lea ecx, [esi + 0x1b90]
mov dword [esp + 0x11c], 0x4d
call fcn.004ab9a0
mov edx, dword [eax]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x18], edx
call fcn.0047b1b0
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
add esp, 4
fmul dword [esp + 0x14]
fcom dword [0x654e5c]
fnstsw ax
test ah, 1
jne 0x53d553
fadd dword [0x6532dc]
jmp 0x53d559
fsub dword [0x6532dc]
call fcn.00611c14
push eax
lea ecx, [esi + 0x1b50]
call fcn.0053ddd0
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x78]
cmp eax, ecx
mov dword [esp + 0x118], edi
je 0x53d595
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x53d595
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.004016f0
mov dword [esi + 0x1ba8], edi
mov al, byte [esi + 0x1f0c]
test al, al
je 0x53d5d3
mov edx, dword [esi + 0x1f8c]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x1f8c]
cmp dword [ecx], 0
je 0x53d5d3
mov ebp, dword [esp + 0x120]
push ebp
call fcn.0048ea80
mov ecx, eax
call fcn.004ac640
jmp 0x53d6b2
mov ecx, dword [esi + 0x1ba8]
cmp ecx, dword [esi + 0xf8]
jg 0x53d6ab
mov edx, dword [esi + 0x1f8c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi + 0x1f8c]
test ecx, ecx
lea edi, [esi + 0x1f8c]
lea eax, [eax + esi + 0x1f8c]
jne 0x53d6ab
mov ecx, dword [esi + 0x2020]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x2020]
call fcn.00407760
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, 1
je 0x53d6ab
push 0x48
call fcn.004063f0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x118], 0x50
je 0x53d66c
push 1
push 0x40000000
push 0x40800000
push 0x40800000
push 0
push 0x40000000
mov ecx, eax
call fcn.00492180
jmp 0x53d66e
xor eax, eax
push 1
or ebx, 0xffffffff
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x120], ebx
call fcn.0048eed0
lea eax, [esp + 0x68]
push eax
mov ecx, edi
mov dword [esp + 0x11c], 0x51
call fcn.00493570
lea ecx, [esp + 0x68]
mov dword [esp + 0x118], ebx
call fcn.0048f9a0
mov ebp, dword [esp + 0x120]
mov eax, dword [esi + 0x1ba8]
test eax, eax
jle 0x53db97
mov al, byte [esi + 0x1f48]
test al, al
jne 0x53dd82
mov eax, dword [esi + 0x1bd8]
test eax, eax
jle 0x53dd82
mov al, byte [esi + 0x1be0]
test al, al
jne 0x53dd82
mov ecx, dword [esi + 0x1bdc]
lea edi, [esi + 0x1bdc]
mov dword [esp + 0x20], ecx
lea ecx, [esi + 0x1f54]
call fcn.0053e0c0
fdivr dword [esp + 0x120]
fsubr dword [esp + 0x20]
mov dword [esp + 0x20], 0
fstp dword [edi]
fld dword [0x654e5c]
fcomp dword [edi]
fnstsw ax
test ah, 5
mov eax, edi
jnp 0x53d72f
lea eax, [esp + 0x20]
fild dword [esi + 0x1bd8]
mov edx, dword [esi + 0x1bcc]
push ecx
fdivr dword [eax]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x1bcc]
fstp dword [esp]
call fcn.004f2a00
mov ecx, eax
call fcn.005346b0
mov ecx, dword [esi + 0x1bcc]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1bcc]
call fcn.004f2a00
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0x10]
fild dword [esi + 0x1bd8]
fdivr dword [edi]
fcomp dword [esi + 0xec]
fnstsw ax
test ah, 5
jp 0x53d878
mov eax, dword [esi + 0x1bcc]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1bcc]
call fcn.004f2a00
mov ecx, eax
call fcn.0053ddf0
mov al, byte [esi + 0x205c]
test al, al
jne 0x53d878
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x33]
push edx
push str.time_is_out
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0x2b]
push eax
push str.template_HurryUpTemplate
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0x43]
push edx
push str.FieldHurryUpScreen
mov dword [esp + 0x150], 0x52
call fcn.00403db0
or edi, 0xffffffff
mov dword [esp + 0x148], edi
call fcn.0045c060
add esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0x2b]
push eax
push str.create_top_instance
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0x43]
push edx
push str.FieldHurryUpScreen
mov dword [esp + 0x150], 0x53
call fcn.00403db0
mov dword [esp + 0x148], edi
call fcn.0045c060
add esp, 0x30
mov byte [esi + 0x205c], 1
mov eax, dword [esi + 0x1ba8]
test eax, eax
jle 0x53db0d
mov eax, dword [esi + 0x1bcc]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1bcc]
call fcn.004f2a00
mov ecx, eax
call fcn.0053de00
fld dword [0x654e5c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x53db0d
mov eax, dword [esi + 0x1bd8]
test eax, eax
jle 0x53db0d
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x33]
push edx
push str.time_out
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
lea eax, [esp + 0x13]
push eax
push str.levelMoney
lea ecx, [esp + 0x88]
call fcn.00403db0
lea ecx, [esp + 0x80]
push 0
push ecx
mov dword [esp + 0x120], 0x54
call fcn.0047af70
or edi, 0xffffffff
add esp, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0x118], edi
call fcn.00449cc0
lea edx, [esp + 0x13]
push edx
push str.levelScore
lea ecx, [esp + 0x88]
call fcn.00403db0
lea eax, [esp + 0x80]
push 0
push eax
mov dword [esp + 0x120], 0x55
call fcn.0047af70
add esp, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0x118], edi
call fcn.00449cc0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x2b]
push edx
push 0x662678
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [esp + 0x43]
push eax
push str.Game_field_modal_dialog
mov dword [esp + 0x150], 0x56
call fcn.00403db0
mov dword [esp + 0x148], edi
call fcn.0045c060
add esp, 0x30
lea ecx, [esp + 0x13]
push ecx
push str.Levels_lost
lea ecx, [esp + 0xd0]
call fcn.00403db0
lea edx, [esp + 0x13]
push edx
mov ebx, 0x57
push str.Levels_lost
lea ecx, [esp + 0x88]
mov dword [esp + 0x120], ebx
call fcn.00403db0
lea eax, [esp + 0xc8]
push 0
push eax
mov byte [esp + 0x120], 0x58
call fcn.0047b440
inc eax
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.0047af70
add esp, 0x10
lea ecx, [esp + 0x80]
mov byte [esp + 0x118], bl
call fcn.00449cc0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x118], edi
call fcn.00449cc0
push 0x48
mov dword [esi + 0x1bd8], 0
call fcn.004063f0
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov dword [esp + 0x118], 0x59
je 0x53daa5
mov edx, dword [esi + 0x1bf0]
mov eax, dword [edx + 4]
push 1
push 0
push 0
push 0
push 1
lea ecx, [eax + esi + 0x1bf0]
call fcn.0048ea80
mov ecx, eax
call fcn.0053ddc0
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.00492180
jmp 0x53daa7
xor eax, eax
push 1
or edi, 0xffffffff
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x120], edi
call fcn.0048eed0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esi + 0x1bf0]
mov dword [esp + 0x11c], 0x5a
call fcn.00493570
lea ecx, [esp + 0x68]
mov dword [esp + 0x118], edi
call fcn.0048f9a0
mov edx, dword [esi + 0x1bcc]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x1bcc]
call fcn.004f2a00
fld dword [eax + 0x4c]
fmul dword [0x65aa2c]
mov byte [eax + 0x50], 0
fstp dword [eax + 0x3c]
mov ecx, dword [esi + 0x1bac]
mov eax, dword [esi + 0x1ba8]
sub eax, ecx
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov eax, ecx
cdq
sub eax, edx
dec edi
sar eax, 1
cmp edi, eax
jg 0x53db57
mov ecx, dword [esi + 0x1bcc]
mov edx, dword [ecx + 4]
lea ecx, [edx + esi + 0x1bcc]
call fcn.004f2a00
mov ecx, eax
call fcn.0053de00
fcomp dword [0x654a20]
fnstsw ax
test ah, 5
jp 0x53db97
mov eax, dword [esi + 0x1f10]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x1f10]
call fcn.0048ea80
fld dword [0x654e5c]
mov ecx, eax
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 0x41
jp 0x53db8b
fld dword [ecx + 0x10]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x41
jnp 0x53db97
mov edx, dword [esi + 0x1ba8]
mov dword [esi + 0x1bac], edx
mov eax, dword [esi + 0x1f10]
mov ecx, dword [eax + 4]
push ebp
lea ecx, [ecx + esi + 0x1f10]
call fcn.0048ea80
mov ecx, eax
call fcn.004ac640
push ebp
lea ecx, [esi + 0x1b38]
call fcn.0053df70
test al, al
je 0x53dc0f
mov eax, dword [esi + 0x1b40]
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x38], esp
push eax
push edx
call fcn.004060d0
add esp, 8
mov eax, dword [esi + 0x2060]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x2060]
mov dword [esp + 0x130], 0x5b
call fcn.004f2a00
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x130], 0xffffffff
call dword [edx + 8]
fld dword [esp + 0x120]
push ecx
fmul dword [0x65629c]
lea ecx, [esi + 0x1b50]
fstp dword [esp]
call fcn.0053df70
test al, al
je 0x53dd3c
mov eax, dword [esi + 0x1b58]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.004060d0
push eax
lea ecx, [esi + 0x2078]
push ecx
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x12c], 0x5c
call fcn.00404e00
lea ecx, [esi + 0x2090]
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push ecx
push eax
mov bl, 0x5d
push edx
mov byte [esp + 0x13c], bl
call fcn.00404e00
add esp, 0xc
mov eax, dword [esi + 0x206c]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x206c]
mov byte [esp + 0x130], 0x5e
call fcn.004f2a00
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x130], bl
call dword [edx + 8]
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xa8]
cmp eax, ecx
mov byte [esp + 0x118], 0x5c
je 0x53dcf6
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x53dcf6
sub eax, ecx
cmp eax, 0x80
jbe 0x53dcec
push ecx
call fcn.00611869
add esp, 4
jmp 0x53dcf6
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0xc0]
cmp eax, edx
mov dword [esp + 0x118], 0xffffffff
je 0x53dd3c
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x53dd3c
sub eax, ecx
cmp eax, 0x80
jbe 0x53dd32
push ecx
call fcn.00611869
add esp, 4
jmp 0x53dd3c
push eax
push ecx
call fcn.005d6970
add esp, 8
push ebp
mov ecx, esi
call fcn.0053eae0
fld dword [esi + 0x1b34]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 0x41
jne 0x53dd6c
fld dword [esi + 0x1b34]
fsub dword [esp + 0x120]
fstp dword [esi + 0x1b34]
jmp 0x53dd82
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x1b34], eax
mov dword [esi + 0x1b30], 0
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10c
ret 4