Function at 0x47eec0
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5532
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
mov eax, dword [0x51eea4]
xor eax, dword [ebp + 4]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x388], eax
push edi
mov dword [esp + 0x5c], ebx
xor esi, esi
mov dword [esp + 0x39c], esi
mov dword [ebx + 4], esi
mov dword [ebx], 0x4f6978
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
lea ecx, [ebx + 0x1c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], esi
mov byte [ecx + 4], 0
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x88], esi
lea eax, [ebx + 0x8c]
xor edx, edx
mov edi, eax
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
add eax, 0x24
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ebx + 0xcc], esi
mov dword [ebx + 0xd0], esi
mov dword [ebx + 0xd4], esi
push 0xffffffffffffffff
push esi
lea eax, [ebp + 8]
push eax
mov byte [esp + 0x3a8], 0xa
call fcn.00402aa0
mov al, byte [ebp + 0x24]
test al, al
mov byte [ebx + 0xd8], al
jne 0x47f05f
lea ecx, [esp + 0x50]
push ecx
call fcn.00437070
mov ecx, eax
call fcn.00437010
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.00437210
mov eax, dword [esp + 0x50]
cmp eax, esi
mov byte [esp + 0x39c], 0xb
je 0x47eff4
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x48], eax
jne 0x47eff4
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, 0x4f130c
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f000
sub eax, edx
push eax
mov eax, dword [ebp + 0x1c]
push 0x4f130c
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00401470
test eax, eax
mov edi, dword [esp + 0x3c]
jne 0x47f03e
mov eax, dword [edi + 0x28]
push eax
mov ecx, edi
call fcn.0043a8b0
push 0xffffffffffffffff
add eax, 0x14
push esi
push eax
lea ecx, [ebx + 0x1c]
call fcn.00402aa0
cmp edi, esi
mov byte [esp + 0x39c], 0xa
je 0x47f05f
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
cmp eax, esi
mov dword [edi + 4], ecx
jne 0x47f05f
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push esi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], esi
call fcn.004afdc4
push eax
call fcn.004af0ea
add esp, 8
lea edi, [ebx + 0xc8]
push 0xa
mov ecx, edi
call fcn.0047bf70
mov eax, dword [edi + 4]
cmp eax, esi
je 0x47f099
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
lea edi, [ebx + 0x98]
push 0xa
mov ecx, edi
call fcn.0047bd90
mov eax, dword [edi + 4]
cmp eax, esi
je 0x47f0c1
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [ebx + 0xe0], 0xea60
mov dword [ebx + 0xe4], esi
mov dword [ebx + 0xe8], esi
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], esi
mov dword [esp + 0x180], esi
push 0xa
lea ecx, [esp + 0x178]
mov byte [esp + 0x3a0], 0xc
call fcn.0047dd70
lea ecx, [esp + 0x174]
call fcn.00462b30
mov dword [esp + 0x164], esi
mov dword [esp + 0x168], esi
mov dword [esp + 0x16c], esi
push 0xa
lea ecx, [esp + 0x164]
mov byte [esp + 0x3a0], 0xd
call fcn.0047dea0
lea ecx, [esp + 0x160]
call fcn.00462b80
lea edi, [ebx + 0xc]
mov byte [ebx + 8], 0
mov eax, dword [edi + 4]
cmp eax, esi
je 0x47f178
mov edx, dword [esp + 0x48]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.0043b7c0
mov eax, dword [edi + 4]
push eax
call fcn.004ade5d
add esp, 0x14
mov ecx, ebx
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
call fcn.0047e8d0
push 0x10
call fcn.004ad909
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, esi
mov byte [esp + 0x39c], 0xe
je 0x47f1b8
push ecx
mov ecx, esp
mov dword [ecx], esi
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x58], esp
push ecx
mov ecx, eax
call fcn.0040cb30
jmp 0x47f1ba
xor eax, eax
cmp eax, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x1d4], eax
je 0x47f1cc
inc dword [eax + 4]
mov edx, dword [eax]
push esi
push esi
push 1
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x3ac], 0xf
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov byte [esp + 0x39c], 0x10
je 0x47f20b
mov edx, dword [eax + 0xc]
cmp edx, esi
je 0x47f20b
mov ecx, dword [eax + 0x10]
sub ecx, edx
sar ecx, 5
cmp ecx, esi
jne 0x47f28c
lea edx, [esp + 0x3c]
push edx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov ecx, dword [eax]
push 0x51ff63
push str._is_empty
lea eax, [ebx + 0x1c]
push eax
push str.File
push 0x51ff84
mov byte [esp + 0x3b0], 0x11
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov byte [esp + 0x39c], 0x10
je 0x47f288
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x48], eax
jne 0x47f288
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x4c]
mov edi, dword [eax + 0xc]
mov eax, str.level
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f297
sub eax, edx
push eax
mov eax, dword [edi + 0x14]
push str.level
push eax
push esi
mov ecx, edi
call fcn.00401470
test eax, eax
je 0x47f331
lea ecx, [esp + 0x3c]
push ecx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov ecx, dword [eax]
push 0x51ff63
push str._is_corrupt:_root_tag_must_be__level_
lea eax, [ebx + 0x1c]
push eax
push str.Level_file
push 0x51ff84
mov byte [esp + 0x3b0], 0x12
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov byte [esp + 0x39c], 0x10
je 0x47f331
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x48], edx
jne 0x47f331
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x1c]
cmp eax, esi
mov dword [esp + 0x48], eax
je 0x47f346
inc dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp ecx, eax
mov byte [esp + 0x39c], 0x13
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], eax
je 0x481d22
mov eax, str.ace_time
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f370
sub eax, edx
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x14]
mov edx, esi
cmp esi, edx
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
jae 0x47f390
test edx, edx
je 0x47f3ca
cmp edx, edi
mov ecx, edx
jb 0x47f39c
mov ecx, edi
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x18], 0x10
jb 0x47f3ab
mov esi, dword [eax + 4]
jmp 0x47f3ae
lea esi, [eax + 4]
mov edi, str.ace_time
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x47f3be
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [esp + 0x18]
jne 0x47f428
mov edi, dword [esp + 0x1c]
cmp edx, edi
jb 0x47f428
xor eax, eax
cmp edx, edi
setne al
test eax, eax
jne 0x47f428
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410420
add esp, 0x1c
imul eax, eax, 0x3e8
cdq
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], edx
jmp 0x481d0b
mov eax, str.level_gold
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f430
mov edi, dword [esp + 0x34]
sub eax, edx
push eax
push str.level_gold
push esi
push 0
mov ecx, edi
call fcn.00401470
test eax, eax
jne 0x47f48f
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410420
add esp, 0x1c
mov dword [ebx + 0xe8], eax
jmp 0x481d0b
mov eax, str.upgrade
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f497
mov ecx, dword [edi + 0x14]
sub eax, edx
push eax
push str.upgrade
push ecx
push 0
mov ecx, edi
call fcn.00401470
test eax, eax
jne 0x47f621
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
lea eax, [esp + 0x1ac]
push eax
call fcn.004510c0
add esp, 0x20
mov byte [esp + 0x39c], 0x14
mov esi, 0x51a108
jmp 0x47f510
cmp dword [esp + 0x1a8], 0x10
mov eax, dword [esp + 0x194]
jae 0x47f528
lea eax, [esp + 0x194]
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esi + 0x14]
push ecx
push eax
push edx
push 0
mov ecx, esi
call fcn.00401470
test eax, eax
je 0x47f60f
add esi, 0x1c
cmp esi, 0x51a354
jl 0x47f510
lea ecx, [esp + 0x138]
push ecx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
lea edx, [esp + 0x194]
push edx
push str.Invalid_upgrade_name:
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3ac], 0x15
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x138]
test eax, eax
mov byte [esp + 0x39c], 0x14
je 0x47f5ce
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x47f5ce
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0x1a8], 0x10
mov byte [esp + 0x39c], 0x13
jb 0x47f5f0
mov eax, dword [esp + 0x194]
push eax
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], 0
mov byte [esp + 0x194], 0
jmp 0x481d0b
lea eax, [esp + 0x190]
push eax
lea ecx, [ebx + 0xc]
call fcn.0043dd20
jmp 0x47f5ce
mov eax, str.emitter
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f630
mov ecx, dword [edi + 0x14]
sub eax, edx
push eax
push str.emitter
push ecx
push 0
mov ecx, edi
call fcn.00401470
test eax, eax
jne 0x47fae6
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x47f66e
mov eax, dword [ecx + 0x10]
sub eax, edx
sar eax, 5
test eax, eax
jne 0x47f721
mov dword [esp + 0x148], 0
mov eax, dword [esp + 0x148]
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [esp + 0x144], 0
mov edx, dword [esp + 0x144]
mov ecx, eax
mov dword [ebx + 0x8c], edx
mov edx, eax
mov dword [ebx + 0x94], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [ebx + 0xa8], ecx
mov dword [ebx + 0xb0], ecx
lea esi, [ebx + 0x98]
push eax
mov ecx, esi
mov dword [ebx + 0xac], edx
mov dword [ebx + 0xb4], edx
call fcn.0043d080
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.0043d080
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x20], 2
call fcn.0043d080
jmp 0x481d0b
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
cmp esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ecx
je 0x481d0b
lea edi, [esi + 0x1c]
mov dword [esp + 0x18], edi
jmp 0x47f744
mov esi, dword [esp + 0x2c]
mov eax, 0x4f26f0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f750
sub eax, edx
push eax
mov eax, dword [edi - 8]
push 0x4f26f0
push eax
push 0
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x47f7ad
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410370
fstp dword [ebx + 0x8c]
add esp, 0x1c
jmp 0x47fac3
mov eax, 0x4f26ec
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f7b5
mov ecx, dword [edi - 8]
sub eax, edx
push eax
push 0x4f26ec
push ecx
push 0
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x47f812
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410370
fstp dword [ebx + 0x90]
add esp, 0x1c
jmp 0x47fac3
mov eax, str.type
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f820
sub eax, edx
mov edx, dword [edi - 8]
push eax
push str.type
push edx
push 0
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x47f864
mov eax, dword [edi]
add eax, 0x24
push str.move
push eax
call fcn.00401dc0
add esp, 8
neg al
sbb eax, eax
neg eax
mov dword [ebx + 0x94], eax
jmp 0x47fac3
push str.balls
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fa7b
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp esi, eax
mov dword [esp + 0x1c], eax
je 0x47fac3
mov edi, edi
mov eax, str.ball
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f898
sub eax, edx
push eax
mov eax, dword [esi + 0x14]
push str.ball
push eax
xor edi, edi
push edi
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x47fa66
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push edi
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push eax
mov dword [esp + 0x48], edi
mov byte [ecx + 4], 0
call fcn.00402aa0
lea ecx, [esp + 0x138]
push ecx
call fcn.004510c0
lea edx, [esp + 0x13c]
push str.blue
push edx
mov byte [esp + 0x3c4], 0x16
call fcn.00401dc0
add esp, 0x28
test al, al
je 0x47f91e
mov dword [esp + 0x20], edi
jmp 0x47fa1a
lea eax, [esp + 0x11c]
push str.yellow
push eax
call fcn.00401dc0
add esp, 8
test al, al
je 0x47f944
mov dword [esp + 0x20], 1
jmp 0x47fa1a
lea ecx, [esp + 0x11c]
push str.green
push ecx
call fcn.00401dc0
add esp, 8
test al, al
je 0x47f96a
mov dword [esp + 0x20], 2
jmp 0x47fa1a
lea edx, [esp + 0x11c]
push 0x4f6094
push edx
call fcn.00401dc0
add esp, 8
test al, al
je 0x47f990
mov dword [esp + 0x20], 3
jmp 0x47fa1a
lea eax, [esp + 0x11c]
push str.white
push eax
call fcn.00401dc0
add esp, 8
test al, al
je 0x47f9b3
mov dword [esp + 0x20], 4
jmp 0x47fa1a
lea ecx, [esp + 0x11c]
push str.lblue
push ecx
call fcn.00401dc0
add esp, 8
test al, al
je 0x47f9d6
mov dword [esp + 0x20], 5
jmp 0x47fa1a
lea edx, [esp + 0x11c]
push str.black
push edx
call fcn.00401dc0
add esp, 8
test al, al
je 0x47f9f9
mov dword [esp + 0x20], 6
jmp 0x47fa1a
lea eax, [esp + 0x11c]
push 0x4f6c78
push eax
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fa1a
mov dword [esp + 0x20], 7
lea ecx, [esp + 0x20]
push ecx
lea ecx, [ebx + 0x98]
call fcn.0043d080
cmp dword [esp + 0x134], 0x10
mov byte [esp + 0x39c], 0x13
jb 0x47fa4c
mov edx, dword [esp + 0x120]
push edx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x134], 0xf
mov dword [esp + 0x130], edi
mov byte [esp + 0x120], 0
mov eax, dword [esp + 0x1c]
add esi, 0x20
cmp esi, eax
jne 0x47f890
mov edi, dword [esp + 0x18]
jmp 0x47fac3
push str.pointStart
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fa96
lea eax, [ebx + 0xa8]
push eax
jmp 0x47faaf
push str.pointEnd
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fac3
lea ecx, [ebx + 0xb0]
push ecx
push ecx
mov dword [esp + 0x18], esp
mov ecx, esp
push edi
call fcn.004012c0
mov ecx, ebx
call fcn.0047b8c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add eax, 0x20
add edi, 0x20
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
jne 0x47f740
jmp 0x481d0b
mov eax, str.balls
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47faf0
sub eax, edx
mov edx, dword [edi + 0x14]
push eax
push str.balls
push edx
push 0
mov ecx, edi
call fcn.00401470
test eax, eax
jne 0x47fe98
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x47fb2a
mov eax, dword [ecx + 0x10]
sub eax, edx
sar eax, 5
test eax, eax
jne 0x47fb4d
mov dword [ebx + 0xb8], 0x64
mov dword [ebx + 0xbc], 1
mov dword [ebx + 0xc0], 4
jmp 0x481d0b
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
cmp esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ecx
je 0x481d0b
mov eax, 0x4f6c54
lea edx, [eax + 1]
jmp 0x47fb70
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fb70
sub eax, edx
push eax
mov eax, dword [esi + 0x14]
push 0x4f6c54
push eax
push 0
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x47fc3c
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410420
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
add esp, 0x1c
mov dword [ebx + 0xb8], eax
fmul dword [str.333_balls_count]
call fcn.004adeb4
push 0
push 0x3e8
push edx
push eax
call fcn.004adf30
mov dword [ebx + 0xe0], eax
mov eax, str.bonus
mov dword [ebx + 0xe4], edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fc02
sub eax, edi
push eax
push 0
push str.bonus
lea ecx, [ebp + 8]
call fcn.00401760
test eax, eax
jle 0x47fe80
mov dword [ebx + 0xe0], 0x21728
mov dword [ebx + 0xe4], 0
jmp 0x47fe80
mov eax, str.minRepetition
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fc44
mov ecx, dword [esi + 0x14]
sub eax, edx
push eax
push str.minRepetition
push ecx
push 0
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x47fc8c
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c40
call fcn.00410420
add esp, 0x1c
mov dword [ebx + 0xbc], eax
jmp 0x47fe80
push str.maxRepetition
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fcc6
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c40
call fcn.00410420
add esp, 0x1c
mov dword [ebx + 0xc0], eax
jmp 0x47fe80
push str.stage
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fe80
xor eax, eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
push 0xa
lea ecx, [esp + 0x100]
mov byte [esp + 0x3a0], 0x17
call fcn.0047be80
lea ecx, [esp + 0xfc]
call fcn.0048f4a0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
cmp edi, esi
mov dword [esp + 0x14], esi
je 0x47fe39
mov edi, edi
push str.start_ball
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fd6b
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c40
call fcn.00410420
add esp, 0x1c
mov dword [esp + 0xf8], eax
jmp 0x47fe2e
push str.ball_group
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fe2e
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp esi, eax
mov dword [esp + 0x1c], eax
je 0x47fe16
jmp 0x47fda0
push str.group_size
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fdd5
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c40
call fcn.00410420
mov dword [esp + 0x1c8], eax
jmp 0x47fe08
push str.probability
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47fe0b
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x1cc]
add esp, 0x1c
mov eax, dword [esp + 0x1c]
add esi, 0x20
cmp esi, eax
jne 0x47fda0
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x100]
call fcn.0047d7e0
mov esi, dword [esp + 0x14]
add edi, 0x20
cmp edi, esi
jne 0x47fd30
mov ecx, dword [esp + 0x100]
test ecx, ecx
je 0x47fe68
mov eax, dword [esp + 0x104]
sub eax, ecx
sar eax, 3
test eax, eax
jbe 0x47fe68
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x178]
call fcn.0047e7b0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x39c], 0x13
call fcn.00461ab0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esi, 0x20
cmp esi, eax
mov dword [esp + 0x2c], esi
jne 0x47fb63
jmp 0x481d0b
push str.bonuses
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48039d
mov esi, dword [edi + 0x1c]
lea ecx, [esi + 8]
mov byte [esp + 0x27], 0
call fcn.00401710
test al, al
jne 0x4802c5
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
cmp edi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], esi
je 0x4802c5
lea esp, [esp]
push str.bonus
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x47ff2c
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402c40
lea edx, [esp + 0x2c4]
push edx
mov ecx, ebx
call fcn.0047b440
push eax
lea ecx, [ebx + 0xc8]
call fcn.0047cbd0
mov byte [esp + 0x27], 1
jmp 0x4802b6
push str.stage
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4802b6
mov al, byte [esp + 0x27]
test al, al
jne 0x47ffa0
lea eax, [esp + 0x118]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Bonus_description_is_incorrect:_Make_bonuses_names_first
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3a8], 0x18
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x118]
mov byte [esp + 0x39c], 0x13
call fcn.004224e0
xor esi, esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
lea ecx, [esp + 0xe8]
mov byte [esp + 0x39c], 0x19
call fcn.0048f4a0
jmp 0x47ffd0
mov ecx, dword [ebx + 0xcc]
test ecx, ecx
je 0x480012
mov eax, dword [ebx + 0xd0]
sub eax, ecx
sar eax, 4
cmp esi, eax
jae 0x480012
lea ecx, [esp + 0x200]
push ecx
lea ecx, [esp + 0xec]
call fcn.0047d7e0
mov eax, dword [esp + 0xec]
mov dword [eax + esi*8], esi
mov dword [eax + esi*8 + 4], 0xbf800000
inc esi
jmp 0x47ffd0
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp esi, eax
mov dword [esp + 0x14], eax
je 0x480267
jmp 0x480030
mov eax, str.start_ball
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480038
sub eax, edx
mov edx, dword [esi + 0x14]
push eax
push str.start_ball
push edx
xor edi, edi
push edi
mov ecx, esi
call fcn.00401470
test eax, eax
jne 0x480093
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push edi
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410420
add esp, 0x1c
mov dword [esp + 0xe0], eax
jmp 0x480258
mov eax, str.bonus_percent
lea edx, [eax + 1]
jmp 0x4800a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4800a0
sub eax, edx
push eax
mov eax, dword [esi + 0x14]
push str.bonus_percent
push eax
push edi
mov ecx, esi
call fcn.00401470
sub esp, 0x1c
test eax, eax
mov dword [esp + 0x2c], esp
jne 0x4800f9
mov eax, dword [esi + 0x1c]
mov ecx, esp
push 0xffffffffffffffff
push edi
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410370
fstp dword [esp + 0x100]
add esp, 0x1c
jmp 0x480258
mov eax, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push esi
mov dword [esp + 0x22c], 0x3e8
mov byte [ecx + 4], 0
mov dword [esp + 0x60], eax
call fcn.00402aa0
mov eax, dword [esp + 0x54]
push eax
call fcn.004510c0
add esp, 0x20
lea ecx, [esp + 0x20c]
push ecx
mov ecx, ebx
call fcn.0047b440
xor edi, edi
xor ecx, ecx
lea ebx, [ebx]
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x48018a
mov eax, dword [ebx + 0xd0]
sub eax, edx
sar eax, 4
cmp edi, eax
jae 0x48018a
mov eax, edx
mov edx, dword [esp + 0x1f0]
cmp dword [eax + ecx], edx
jne 0x480184
mov edx, dword [esp + 0x1f4]
cmp dword [eax + ecx + 4], edx
je 0x480191
inc edi
add ecx, 0x10
jmp 0x480150
mov edi, dword [esp + 0x1e8]
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
add eax, 0x24
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00402aa0
call fcn.00410370
add esp, 0x1c
cmp edi, 0x3e8
jae 0x4801df
mov eax, dword [esp + 0xec]
mov dword [eax + edi*8], edi
fstp dword [eax + edi*8 + 4]
jmp 0x480258
lea eax, [esp + 0x170]
fstp st(0)
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Bonus_description_are_missed
lea ecx, [ebx + 0x1c]
push ecx
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3ac], 0x1a
call fcn.00401560
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x170]
test eax, eax
mov byte [esp + 0x39c], 0x19
je 0x480258
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x480258
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x14]
add esi, 0x20
cmp esi, eax
jne 0x480030
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x164]
call fcn.0047e840
mov eax, dword [esp + 0xec]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x39c], 0x13
je 0x480299
push eax
call fcn.004ade5d
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
mov esi, dword [esp + 0x28]
add edi, 0x20
cmp edi, esi
mov dword [esp + 0x18], edi
jne 0x47fee0
mov al, byte [ebx + 0xd8]
test al, al
jne 0x481d0b
push 0x160
call fcn.004ad909
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x39c], 0x1b
je 0x48038b
sub esp, 0x10
lea eax, [ebx + 0x98]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00461cb0
sub esp, 8
mov dword [esp + 0x34], esp
mov edx, esp
xor eax, eax
lea ecx, [ebx + 0xb0]
lea esp, [esp]
mov edi, dword [ecx]
mov dword [edx + eax*4], edi
inc eax
add ecx, 4
cmp eax, 2
jl 0x480320
sub esp, 8
mov dword [esp + 0x3c], esp
mov edx, esp
xor eax, eax
lea ecx, [ebx + 0xa8]
nop
mov edi, dword [ecx]
mov dword [edx + eax*4], edi
inc eax
add ecx, 4
cmp eax, 2
jl 0x480340
mov edx, dword [ebx + 0x94]
push edx
sub esp, 8
mov dword [esp + 0x48], esp
mov edx, esp
xor eax, eax
lea ecx, [ebx + 0x8c]
mov edi, dword [ecx]
mov dword [edx + eax*4], edi
inc eax
add ecx, 4
cmp eax, 2
jl 0x480366
mov ecx, esi
call fcn.004862d0
mov byte [esp + 0x39c], 0x13
mov dword [ebx + 0x38], eax
jmp 0x481d0b
xor eax, eax
mov byte [esp + 0x39c], 0x13
mov dword [ebx + 0x38], eax
jmp 0x481d0b
push str.path
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481075
push fcn.0041bd20
push 2
push 8
lea eax, [esp + 0x1e4]
push eax
mov dword [esp + 0x74], 0x3c23d70a
mov dword [esp + 0x70], 0x3f000000
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x54], 1
call fcn.00422110
mov dword [esp + 0x110], 0
mov edx, dword [esp + 0x110]
mov dword [esp + 0x114], 0
mov esi, dword [esp + 0x114]
lea eax, [esp + 0x1d8]
mov ecx, 2
lea esp, [esp]
mov dword [eax], edx
mov dword [eax + 4], esi
add eax, 8
dec ecx
jne 0x480420
mov eax, dword [edi + 0x1c]
lea ecx, [eax + 8]
mov dword [esp + 0x2c], 0
call fcn.00401710
test al, al
jne 0x481d0b
xor esi, esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
push 0xa
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3a0], 0x1c
call fcn.0047c060
lea ecx, [esp + 0x88]
call fcn.0048f4a0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
push 0xa
lea ecx, [esp + 0x7c]
mov byte [esp + 0x3a0], 0x1d
call fcn.0047c060
lea ecx, [esp + 0x78]
call fcn.0048f4a0
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
push 0xa
lea ecx, [esp + 0xcc]
mov byte [esp + 0x3a0], 0x1e
call fcn.0047c060
lea ecx, [esp + 0x78]
call fcn.0048f4a0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x1c]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp edi, eax
mov dword [esp + 0x3c], 0x3f800000
mov dword [esp + 0x6c], 0x3f000000
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
je 0x480ff3
lea edx, [esp + 0x1d8]
mov dword [esp + 0x18], edx
lea esp, [esp]
push str.speed_ratio
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480558
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x58]
add esp, 0x1c
jmp 0x480fe0
push str.start_distance
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480596
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x88]
add esp, 0x1c
jmp 0x480fe0
push str.shadow_zone
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480662
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp esi, eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x14], eax
je 0x480649
push str.start_index
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480608
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0xcc]
jmp 0x48063b
push str.end_index
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48063e
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0xd0]
add esp, 0x1c
mov eax, dword [esp + 0x14]
add esi, 0x20
cmp esi, eax
jne 0x4805d3
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x8c]
call fcn.0041e1d0
jmp 0x480fde
push str.under_bridge_zone
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48072c
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp esi, eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x14], eax
je 0x480716
nop
push str.start_index
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4806d5
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0xb4]
jmp 0x480708
push str.end_index
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48070b
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0xb8]
add esp, 0x1c
mov eax, dword [esp + 0x14]
add esi, 0x20
cmp esi, eax
jne 0x4806a0
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0041e1d0
jmp 0x480fde
push str.invisible_zone
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4807ff
mov eax, dword [edi + 0x1c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp esi, eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x14], eax
je 0x4807e6
lea ecx, [ecx]
push str.start_index
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4807a5
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0xc4]
jmp 0x4807d8
push str.end_index
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4807db
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0xc8]
add esp, 0x1c
mov eax, dword [esp + 0x14]
add esi, 0x20
cmp esi, eax
jne 0x480770
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0xcc]
call fcn.0041e1d0
jmp 0x480fde
push str.final_slow_distance
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48083d
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x80]
add esp, 0x1c
jmp 0x480fe0
push str.final_slow_speed
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480875
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x7c]
add esp, 0x1c
jmp 0x480fe0
push str.path_alpha
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4808ad
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402c40
call fcn.00410420
add esp, 0x1c
mov dword [esp + 0x1c], eax
jmp 0x480fe0
push str.city
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480afc
push 0x3c
call fcn.004ad909
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x39c], 0x1f
je 0x4808e8
mov ecx, eax
call fcn.00483cf0
mov esi, eax
jmp 0x4808ea
xor esi, esi
mov edi, dword [edi + 0x1c]
lea ecx, [edi + 8]
mov byte [esp + 0x39c], 0x1e
mov dword [esp + 0x14], esi
call fcn.00401710
test al, al
jne 0x480acd
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
call fcn.00401740
test al, al
je 0x480acd
mov eax, dword [esp + 0x2c]
lea ecx, [esp + eax*8 + 0x1d8]
mov dword [esp + 0x58], ecx
push str.data_file
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4809f9
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.00402c40
lea edx, [esp + 0x1d0]
push edx
call fcn.004510c0
add esp, 0x20
push 0
push str.city0
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x3a4], 0x20
call fcn.0040e870
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x44], eax
call fcn.004012e0
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx + 5]
lea eax, [esp + 0x33]
push eax
mov byte [esp + 0x37], dl
call fcn.004aebb0
sub esp, 0x18
lea edx, [esp + 0x1d0]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov dword [esp + 0x64], eax
call fcn.00402c40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x39c], 0x1e
call fcn.00401b90
jmp 0x480ab0
push str.position
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480a71
xor ecx, ecx
mov dword [esp + 0x70], ecx
lea edx, [esp + 0x70]
push edx
push ecx
mov dword [esp + 0x7c], ecx
lea eax, [edi + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004012c0
mov ecx, ebx
call fcn.0047b8c0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x40], esp
call dword [eax + 0x18]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
inc edx
mov dword [eax], ecx
add eax, 8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x58], eax
jmp 0x480ab0
push str.z_order
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480ab0
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
add esp, 0x1c
push eax
mov ecx, esi
call fcn.00483210
lea ecx, [esp + 0x28]
push ecx
add edi, 0x20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
call fcn.00401740
test al, al
jne 0x480943
mov edx, dword [esp + 0x44]
push edx
mov ecx, esi
call fcn.00483710
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x50]
call fcn.0047d8c0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebx + 0x60]
call fcn.0047d8c0
mov edi, dword [esp + 0x20]
jmp 0x480fde
push str.trajectory
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x480fe0
mov eax, dword [edi + 0x1c]
push 0x4f130c
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402c40
lea edx, [esp + 0x2ac]
push edx
call fcn.004510c0
add esp, 0x20
push eax
mov byte [esp + 0x3a4], 0x21
call fcn.00401dc0
add esp, 8
lea ecx, [esp + 0x28c]
mov byte [esp + 0x27], al
mov byte [esp + 0x39c], 0x1e
call fcn.00401b90
mov al, byte [esp + 0x27]
test al, al
je 0x480bda
lea eax, [esp + 0x13c]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.not_exist
lea ecx, [ebx + 0x1c]
push ecx
push str.Path_file:
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3b0], 0x22
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x13c]
mov byte [esp + 0x39c], 0x1e
call fcn.004224e0
mov eax, dword [ebx + 0xb8]
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x480c62
fild dword [esp + 0x14]
lea ecx, [esp + 0x15c]
push ecx
fstp dword [esp + 0x18]
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push 0x51ff63
push str.is_not_valid_value
push edx
push str.Ball_count:
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3b0], 0x23
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00405af0
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x15c]
mov byte [esp + 0x39c], 0x1e
call fcn.004224e0
lea ecx, [ebx + 0x98]
call fcn.0043a960
test eax, eax
jne 0x480cc7
lea eax, [esp + 0x140]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.No_available_balls_type_on_level
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3a8], 0x24
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x140]
mov byte [esp + 0x39c], 0x1e
call fcn.004224e0
mov eax, dword [ebx + 0xbc]
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x480d4f
fild dword [esp + 0x14]
lea ecx, [esp + 0x14c]
push ecx
fstp dword [esp + 0x18]
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push 0x51ff63
push str.is_not_valid_value
push edx
push str.Min_ball_repetition:
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3b0], 0x25
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00405af0
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x14c]
mov byte [esp + 0x39c], 0x1e
call fcn.004224e0
mov eax, dword [ebx + 0xc0]
cmp eax, esi
mov dword [esp + 0x14], eax
jg 0x480dd7
fild dword [esp + 0x14]
lea eax, [esp + 0x158]
push eax
fstp dword [esp + 0x18]
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push 0x51ff63
push str.is_not_valid_value
push ecx
push str.Max_ball_repetition:
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3b0], 0x26
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00405af0
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x158]
mov byte [esp + 0x39c], 0x1e
call fcn.004224e0
mov edx, dword [ebx + 0xbc]
cmp edx, dword [ebx + 0xc0]
jle 0x480e3b
lea eax, [esp + 0x18c]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.Min_ball_repetition_large_than_max_ball_repetition
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x3a8], 0x27
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
lea ecx, [esp + 0x18c]
mov byte [esp + 0x39c], 0x1e
call fcn.004224e0
push 0x390
call fcn.004ad909
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x39c], 0x28
je 0x480fbe
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [ebx + 0xd8]
push 1
push ecx
push edx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040dd50
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
sub esp, 8
lea eax, [ebx + 0x8c]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.0040dd50
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xc0]
push edx
lea eax, [ebx + 0x70]
push eax
sub esp, 0x10
lea eax, [esp + 0x1b0]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00462c90
sub esp, 0x10
lea eax, [ebx + 0xc8]
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
mov byte [esp + 0x400], 0x29
call fcn.00461d50
sub esp, 0x10
lea edx, [esp + 0x1e4]
mov ecx, esp
mov dword [esp + 0xa8], esp
push edx
mov byte [esp + 0x410], 0x2a
call fcn.00462bf0
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0xbc]
push eax
push ecx
sub esp, 0x10
lea eax, [ebx + 0x98]
mov ecx, esp
mov dword [esp + 0x258], esp
push eax
mov byte [esp + 0x428], 0x2b
call fcn.00461cb0
mov edx, dword [ebx + 0xb8]
mov eax, dword [edi + 0x1c]
push edx
sub esp, 0x1c
add eax, 0x24
mov edi, esp
mov dword [esp + 0xe8], esp
sub esp, 0x1c
mov byte [esp + 0x460], 0x2c
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.00402c40
push edi
call fcn.004510c0
add esp, 4
lea eax, [ebx + 0x1c]
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
mov byte [esp + 0x464], 0x2d
call fcn.00402c40
mov ecx, esi
mov byte [esp + 0x460], 0x28
call fcn.0049cb60
mov edi, dword [esp + 0x20]
jmp 0x480fc0
xor eax, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x3c]
mov byte [esp + 0x3a0], 0x1e
call fcn.0047d850
add dword [esp + 0x18], 8
xor esi, esi
mov eax, dword [esp + 0x10]
add edi, 0x20
cmp edi, eax
mov dword [esp + 0x20], edi
jne 0x480520
mov eax, dword [esp + 0xcc]
cmp eax, esi
je 0x481007
push eax
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x7c]
cmp eax, esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
je 0x48102d
push eax
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x8c]
cmp eax, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov byte [esp + 0x39c], 0x13
je 0x48105b
push eax
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
jmp 0x481d0b
push str.background
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4811bf
mov al, byte [ebx + 0xd8]
test al, al
jne 0x481d0b
push 0x1e8
call fcn.004ad909
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x39c], 0x2e
je 0x4810bf
mov ecx, eax
call fcn.0042dd20
jmp 0x4810c1
xor eax, eax
lea esi, [ebx + 0x88]
push eax
mov ecx, esi
mov byte [esp + 0x3a0], 0x13
call fcn.0040e0e0
lea ecx, [esp + 0x208]
call fcn.00422e50
mov ecx, dword [esi]
lea edx, [esp + 0x208]
push edx
mov dword [esp + 0x20c], 0x44480000
mov dword [esp + 0x210], 0x44160000
mov dword [esp + 0x238], 0x44480000
mov dword [esp + 0x23c], 0x44160000
mov dword [esp + 0x21c], 0x43c80000
mov dword [esp + 0x220], 0x43960000
call fcn.0042adf0
mov eax, dword [edi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
lea eax, [esp + 0x28c]
push eax
call fcn.004510c0
add esp, 0x20
mov ecx, dword [esi]
push eax
mov byte [esp + 0x3a0], 0x2f
call fcn.0042c070
lea ecx, [esp + 0x270]
mov byte [esp + 0x39c], 0x13
call fcn.00401b90
mov ecx, dword [esi]
push 0x447a0000
push 0
push 0
call fcn.00424870
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.004012c0
mov byte [esp + 0x3a8], 0x30
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x3a8], 0x13
call dword [edx + 0x10]
jmp 0x481d0b
push str.background_flip_h
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481211
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x481d0b
call fcn.0040d980
push eax
lea ecx, [esp + 0x2bc]
call fcn.0040de60
mov ecx, dword [ebx + 0x88]
lea eax, [esp + 0x2b8]
push eax
mov byte [esp + 0x2e4], 1
call fcn.0042adf0
jmp 0x481d0b
push str.background_flip_v
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481263
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x481d0b
call fcn.0040d980
push eax
lea ecx, [esp + 0x324]
call fcn.0040de60
mov ecx, dword [ebx + 0x88]
lea edx, [esp + 0x320]
push edx
mov byte [esp + 0x34d], 1
call fcn.0042adf0
jmp 0x481d0b
push str.object
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481453
push 0x3c
call fcn.004ad909
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x39c], 0x31
je 0x48129e
mov ecx, eax
call fcn.00483cf0
mov edi, eax
jmp 0x4812a0
xor edi, edi
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + 8]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x39c], 0x13
mov dword [esp + 0x28], edi
call fcn.00401710
test al, al
jne 0x481441
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x1c]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
call fcn.00401740
test al, al
je 0x481441
push str.data_file
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48133b
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov edi, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
push edi
call fcn.004510c0
mov edi, dword [esp + 0x58]
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [edx + 4]
jmp 0x481424
push str.position
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4813a4
lea ecx, [esp + 0xd8]
push ecx
push ecx
xor eax, eax
lea edx, [esi + 0x1c]
mov dword [esp + 0xe0], eax
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0xe8], eax
call fcn.004012c0
mov ecx, ebx
call fcn.0047b8c0
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], esp
call dword [eax + 0x18]
jmp 0x481424
push str.z_order
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4813e5
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
push ecx
mov ecx, edi
call fcn.00483210
jmp 0x481424
push 0x4f3de8
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481424
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
add esp, 0x1c
push edx
mov ecx, edi
call fcn.00483270
lea eax, [esp + 0x14]
add esi, 0x20
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00401740
test al, al
jne 0x4812f2
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x50]
call fcn.0047d8c0
jmp 0x481d0b
push str.bonus
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4817ff
push 0xe0
call fcn.004ad909
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x39c], 0x32
je 0x481491
mov ecx, eax
call fcn.004a4320
mov edi, eax
jmp 0x481493
xor edi, edi
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x1c]
lea ecx, [eax + 8]
mov dword [esp + 0x20], edi
mov byte [esp + 0x39c], 0x13
call fcn.00401710
test al, al
jne 0x4817e9
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00401740
test al, al
je 0x4817e9
push str.data_file
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4815aa
mov dword [esp + 0x18], 0
mov ecx, dword [ebx + 0x38]
test ecx, ecx
mov byte [esp + 0x39c], 0x33
je 0x481541
lea eax, [esp + 0x10c]
push eax
call fcn.00484590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a0], 0x34
call fcn.0048d770
lea ecx, [esp + 0x10c]
mov byte [esp + 0x39c], 0x33
call fcn.004224e0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.004012c0
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x60], esp
mov edi, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
mov byte [esp + 0x3dc], 0x35
call fcn.00402c40
push edi
call fcn.004510c0
mov edi, dword [esp + 0x60]
add esp, 0x20
mov ecx, edi
mov byte [esp + 0x3bc], 0x33
call fcn.004a4f20
lea ecx, [esp + 0x18]
mov byte [esp + 0x39c], 0x13
call fcn.004224e0
jmp 0x4817cc
push str.position
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481613
lea ecx, [esp + 0xb8]
push ecx
push ecx
xor eax, eax
lea edx, [esi + 0x1c]
mov dword [esp + 0xc0], eax
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0xc8], eax
call fcn.004012c0
mov ecx, ebx
call fcn.0047b8c0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], esp
call dword [eax + 0x18]
jmp 0x4817cc
push str.z_order
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481657
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
push ecx
mov ecx, edi
call fcn.00483210
jmp 0x4817cc
push str.end_game
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48168e
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.004117e0
add esp, 0x1c
mov byte [edi + 4], al
jmp 0x4817cc
push str.score
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4816ca
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410420
mov edx, dword [edi]
add esp, 0x1c
push eax
mov ecx, edi
call dword [edx + 0x28]
jmp 0x4817cc
push str.gold
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481706
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410420
mov edx, dword [edi]
add esp, 0x1c
push eax
mov ecx, edi
call dword [edx + 0x2c]
jmp 0x4817cc
push str.artifact
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48174f
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov edi, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
push edi
call fcn.004510c0
mov edi, dword [esp + 0x5c]
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x30]
jmp 0x4817cc
push str.unlock
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481795
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov edi, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
push edi
call fcn.004510c0
mov edi, dword [esp + 0x5c]
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [edx + 0x34]
jmp 0x4817cc
push str.doll
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4817cc
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410420
add esp, 0x1c
push eax
mov ecx, edi
call fcn.004a3c00
lea eax, [esp + 0x1c]
add esi, 0x20
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00401740
test al, al
jne 0x4814e1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebx + 0x50]
mov dword [esp + 0x14], edi
call fcn.0047d8c0
jmp 0x481d0b
push str.hit_object
push edi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481cfd
push 0x80
call fcn.004ad909
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x39c], 0x36
je 0x48183d
mov ecx, eax
call fcn.004a2640
mov edi, eax
jmp 0x48183f
xor edi, edi
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x1c]
lea ecx, [eax + 8]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x39c], 0x13
call fcn.00401710
test al, al
jne 0x4817e9
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00401740
test al, al
je 0x4817e9
lea esp, [esp]
push str.data_file
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x4818d4
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov edi, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
push edi
call fcn.004510c0
mov edi, dword [esp + 0x68]
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 4]
push str.position
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x48193d
xor ecx, ecx
mov dword [esp + 0xc0], ecx
lea edx, [esp + 0xc0]
push edx
push ecx
mov dword [esp + 0xcc], ecx
lea eax, [esi + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004012c0
mov ecx, ebx
call fcn.0047b8c0
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], esp
call dword [eax + 0x18]
jmp 0x481cdb
push str.z_order
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481981
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410370
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
push ecx
mov ecx, edi
call fcn.004a1790
jmp 0x481cdb
push str.bonus
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481cdb
push 0xe0
call fcn.004ad909
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x39c], 0x37
je 0x4819bf
mov ecx, eax
call fcn.004a4320
mov edi, eax
jmp 0x4819c1
xor edi, edi
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a0], 0x13
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call fcn.00401740
test al, al
je 0x481caf
push str.data_file
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481ab9
mov dword [esp + 0x18], 0
mov ebx, dword [ebx + 0x38]
test ebx, ebx
mov byte [esp + 0x39c], 0x38
je 0x481a50
lea edx, [esp + 0x68]
push edx
mov ecx, ebx
call fcn.00484590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a0], 0x39
call fcn.0048d770
lea ecx, [esp + 0x68]
mov byte [esp + 0x39c], 0x38
call fcn.004224e0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.004012c0
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x60], esp
mov ebx, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
mov byte [esp + 0x3dc], 0x3a
call fcn.00402c40
push ebx
call fcn.004510c0
add esp, 0x20
mov ecx, edi
mov byte [esp + 0x3bc], 0x38
call fcn.004a4f20
lea ecx, [esp + 0x18]
mov byte [esp + 0x39c], 0x13
call fcn.004224e0
mov ebx, dword [esp + 0x5c]
jmp 0x481b1d
push str.position
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481b1d
xor ecx, ecx
mov dword [esp + 0xa0], ecx
lea edx, [esp + 0xa0]
push edx
push ecx
mov dword [esp + 0xac], ecx
lea eax, [esi + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004012c0
mov ecx, ebx
call fcn.0047b8c0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], esp
call dword [eax + 0x18]
push str.end_game
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481b54
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.004117e0
add esp, 0x1c
mov byte [edi + 4], al
jmp 0x481c92
push str.score
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481b90
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410420
mov edx, dword [edi]
add esp, 0x1c
push eax
mov ecx, edi
call dword [edx + 0x28]
jmp 0x481c92
push str.gold
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481bcc
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410420
mov edx, dword [edi]
add esp, 0x1c
push eax
mov ecx, edi
call dword [edx + 0x2c]
jmp 0x481c92
push str.artifact
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481c15
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov ebx, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
push ebx
call fcn.004510c0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x5c]
jmp 0x481c92
push str.unlock
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481c5b
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov ebx, esp
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00402c40
push ebx
call fcn.004510c0
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [edx + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x481c92
push str.doll
push esi
call fcn.00401dc0
add esp, 8
test al, al
je 0x481c92
mov eax, dword [esi + 0x1c]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00402c40
call fcn.00410420
add esp, 0x1c
push eax
mov ecx, edi
call fcn.004a3c00
lea eax, [esp + 0x1c]
add esi, 0x20
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00401740
test al, al
jne 0x4819f4
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x40]
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x50]
mov dword [esp + 0x14], edi
call fcn.0047d8c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push edi
call dword [edx + 0x3c]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x14]
add esi, 0x20
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00401740
test al, al
jne 0x481890
jmp 0x4817e9
push str.condition
push edi
call fcn.00401dc0
add esp, 8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
add eax, 0x20
cmp eax, ecx
mov dword [esp + 0x34], eax
jne 0x47f364
mov al, byte [ebx + 0xd8]
test al, al
jne 0x481da5
push 0x40
call fcn.004ad909
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov byte [esp + 0x39c], 0x3b
je 0x481d98
mov ecx, dword [ebx + 0x40]
test ecx, ecx
jne 0x481d57
xor eax, eax
jmp 0x481d5f
mov eax, dword [ebx + 0x44]
sub eax, ecx
sar eax, 2
push eax
sub esp, 8
mov dword [esp + 0x4c], esp
mov edx, esp
xor eax, eax
lea ecx, [ebx + 0x8c]
mov edi, dword [ecx]
mov dword [edx + eax*4], edi
inc eax
add ecx, 4
cmp eax, 2
jl 0x481d71
mov ecx, dword [ebx + 0x38]
call fcn.00484510
push ecx
lea eax, [ebx + 0x70]
fstp dword [esp]
push eax
mov ecx, esi
call fcn.0048cd80
jmp 0x481d9a
xor eax, eax
mov byte [esp + 0x39c], 0x13
mov dword [ebx + 0x4c], eax
call fcn.00437070
mov ecx, dword [eax + 8]
test ecx, ecx
jl 0x481f2b
mov eax, 0x4f130c
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x481dc0
sub eax, edx
mov edx, dword [ebp + 0x1c]
push eax
push 0x4f130c
push edx
push 0
lea ecx, [ebp + 8]
call fcn.00401470
test eax, eax
jne 0x481f2b
mov al, byte [ebx + 0xd8]
test al, al
jne 0x481f2b
lea eax, [esp + 0x54]
push eax
call fcn.00437070
mov ecx, eax
call fcn.00437010
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.00437210
mov eax, dword [esp + 0x54]
test eax, eax
mov byte [esp + 0x39c], 0x3c
je 0x481e39
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0xc], edx
jne 0x481e39
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x38
call fcn.004ad909
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x39c], 0x3d
je 0x481e5e
mov ecx, eax
call fcn.00402110
mov esi, eax
jmp 0x481e60
xor esi, esi
test esi, esi
mov dword [esp + 0xc], esi
je 0x481e6b
inc dword [esi + 4]
mov byte [esp + 0x39c], 0x3e
call fcn.00437070
mov ecx, dword [eax + 8]
mov edi, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x1b8]
push edx
mov ecx, edi
call fcn.0043bef0
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x3a4], 0x3f
call dword [edx + 0x1c]
mov byte [esp + 0x33], al
cmp dword [esp + 0x1cc], 0x10
mov byte [esp + 0x39c], 0x3e
jb 0x481ec7
mov eax, dword [esp + 0x1b8]
push eax
call fcn.004ade5d
add esp, 4
mov al, byte [esp + 0x33]
test al, al
je 0x481eed
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi + 4]
inc eax
mov ecx, ebx
mov dword [esp + 0x44], esp
mov dword [esi + 4], eax
call fcn.0047d590
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov byte [esp + 0x39c], 0x3c
mov dword [esi + 4], ecx
jne 0x481f0a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test edi, edi
mov byte [esp + 0x39c], 0x13
je 0x481f2b
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [edi + 4], ecx
jne 0x481f2b
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
test eax, eax
mov byte [esp + 0x39c], 0x10
mov dword [ecx + 4], edx
jne 0x481f4a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x4c]
test eax, eax
mov byte [esp + 0x39c], 0xf
je 0x481f71
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0xc], edx
jne 0x481f71
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
dec eax
mov byte [esp + 0x39c], 0xd
mov dword [ecx + 4], eax
jne 0x481f8c
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [esp + 0x160]
call fcn.00462b80
lea ecx, [esp + 0x174]
call fcn.00462b30
cmp dword [ebp + 0x20], 0x10
jb 0x481fb6
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x394]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38c]
xor ecx, dword [ebp + 4]
mov eax, ebx
call fcn.004ae650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20