Function at 0x541600
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64513b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov eax, dword [0x6bd8a0]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
lea ecx, [esp + 0x19c]
mov dword [esp + 0x280], eax
mov dword [esp + 0x18], edi
mov byte [esp + 0x2b], 0
call fcn.0048a2b0
mov eax, dword [ebx + 0x1b04]
mov dword [ebx + 0x1b08], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x1b00], edi
mov dword [esp + 0x28c], edi
mov dword [esp + 0x48], edi
jle 0x5429d3
lea ecx, [ecx]
mov edx, dword [ebx + 0x1b04]
xor esi, esi
test edx, edx
mov dword [esp + 0x40], esi
jle 0x5429c0
cmp ecx, dword [esp + 0x2c]
je 0x54169e
mov dword [esp + 0x2c], ecx
test edi, edi
jl 0x5429a5
cmp edi, dword [ebx + 0x1b00]
jge 0x5429a5
test esi, esi
jl 0x5429a5
cmp esi, dword [ebx + 0x1b04]
jge 0x5429a5
push esi
lea ecx, [ebx + 0x284]
push edi
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0xfffffffe
je 0x5429a5
push esi
push edi
lea ecx, [esp + 0x1a0]
call fcn.0048f6a0
mov ecx, eax
call fcn.0048f730
cmp byte [eax], 0
jne 0x5429a5
push esi
push edi
lea ecx, [ebx + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [eax + 4]
test ecx, ecx
jl 0x5429a5
push esi
push edi
lea ecx, [ebx + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 4], 0x10
jge 0x5429a5
push esi
push edi
lea ecx, [ebx + 0x284]
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x19c]
push edx
push eax
push esi
push edi
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00542b60
test al, al
jne 0x541798
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x19c]
push ecx
push edx
push esi
push edi
mov ecx, ebx
call fcn.00542cf0
test al, al
je 0x5429a5
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 3
cmp eax, 3
mov byte [esp + 0x27], 1
jae 0x5417ff
push 0x279
push str.c:work_fishdom_aqua_gameRifGameFieldControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2e]
push edx
push str.points.size_____3
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x54], esp
lea eax, [esp + 0x46]
push eax
push str.Assertion_failed
mov byte [esp + 0x2cc], 1
call fcn.00403db0
mov byte [esp + 0x2c4], 0
call fcn.00405c50
add esp, 0x38
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
xor al, al
cmp esi, ecx
je 0x541866
lea ecx, [ecx]
test al, al
jne 0x541858
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea ecx, [ebx + 0x258]
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
mov ecx, dword [esp + 0x2c]
setne al
add esi, 8
cmp esi, ecx
jne 0x541810
test al, al
je 0x541866
mov eax, dword [esp + 0x28]
cmp eax, ecx
je 0x541866
mov ecx, eax
mov dword [esp + 0x2c], ecx
sub ecx, dword [esp + 0x28]
sar ecx, 3
cmp ecx, 3
jb 0x54299d
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x30], esp
mov dword [eax], ecx
mov dword [esp + 0x30], ecx
mov dword [ecx + 0x14], eax
push 0x662925
push 0x662920
mov byte [esp + 0x2b4], 3
call fcn.00403b50
mov ecx, 0x16c7860
mov byte [esp + 0x2ac], 0
call fcn.0046b8b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
xor edx, edx
xor esi, esi
cmp eax, ecx
je 0x5418d8
mov edi, dword [eax]
add edx, edi
mov edi, dword [eax + 4]
add eax, 8
add esi, edi
cmp eax, ecx
jne 0x5418c8
mov eax, dword [esp + 0x28]
mov edi, esi
mov esi, ecx
sub esi, eax
mov eax, edx
cdq
sar esi, 3
idiv esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], eax
mov eax, edi
cdq
idiv esi
mov esi, dword [ebx + 0x1b08]
lea edx, [ebx + 0x1b08]
mov dword [esp + 0x20], eax
cmp eax, esi
lea eax, [esp + 0x20]
jl 0x541915
mov eax, edx
mov eax, dword [eax]
mov dword [edx], eax
mov edx, dword [ebx + 0x1b6c]
mov edi, dword [ebx + 0x1b68]
sub edx, edi
and edx, 0xfffffff8
cmp edx, 0x10
mov byte [esp + 0x1b], 0
jne 0x54199e
lea edx, [esp + 0x53]
push edx
mov eax, edi
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call fcn.00542a40
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [ebx + 0x1b68]
lea ecx, [esp + 0x4f]
push ecx
add eax, 8
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00542a40
mov ecx, dword [esp + 0x4c]
add esp, 0x20
cmp esi, ecx
jne 0x541976
cmp eax, ecx
je 0x54199e
cmp esi, ecx
mov byte [ebx + 0x1b74], 1
mov byte [esp + 0x1b], 1
je 0x54198d
mov edx, dword [esi]
mov eax, dword [esi + 4]
jmp 0x541996
cmp eax, ecx
je 0x54199e
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], eax
lea edx, [esp + 0x264]
lea eax, [esp + 0x274]
mov dword [esp + 0x274], edx
mov dword [esp + 0x278], eax
mov byte [esp + 0x264], 0
sub ecx, dword [esp + 0x28]
sar ecx, 3
add ecx, 0xfffffffd
cmp ecx, 3
mov byte [esp + 0x28c], 4
ja case.default.0x5419d9
jmp dword [ecx*4 + 0x542a2c]
push 0x661e23
push str.clearMatch3
jmp 0x541a1a
push 0x661e17
push str.clearMatch4
jmp 0x541a1a
push 0x661e0b
push str.clearMatch5
jmp 0x541a1a
push 0x661dff
push str.clearMatch6
jmp 0x541a1a
push 0x661df3
push str.clearMatch7
lea ecx, [esp + 0x26c]
call fcn.00403ff0
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 3
cmp ecx, 5
jb 0x5428c5
lea edx, [esp + 0xd0]
push edx
call fcn.00404900
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
lea edx, [eax + 0x10]
add esp, 4
cmp edi, edx
mov esi, eax
je 0x541a5b
mov esi, dword [eax]
sub ecx, esi
cmp ecx, 0xa
jne 0x541a80
cmp edi, edx
je 0x541a68
mov eax, dword [eax]
mov esi, eax
mov ecx, 5
mov edi, str.Leonardo98
xor eax, eax
repe cmpsw word [esi], word es:[edi]
mov byte [esp + 0xe], 1
je 0x541a85
mov byte [esp + 0xe], 0
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x541ac0
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x541ac0
sub eax, ecx
cmp eax, 0x80
jbe 0x541ab6
push ecx
call fcn.00611869
add esp, 4
jmp 0x541ac0
push eax
push ecx
call fcn.005d6970
add esp, 8
mov al, byte [esp + 0xe]
test al, al
je 0x541b46
push 0x48
call fcn.004063f0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x28c], 5
je 0x541afe
push 1
push 0
push 0
push 0
push 1
push 0x40200000
mov ecx, eax
call fcn.00492180
jmp 0x541b00
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x294], 4
call fcn.0048eed0
lea edx, [esp + 0x94]
push edx
lea ecx, [ebx + 0x1f98]
mov byte [esp + 0x290], 6
call fcn.00493570
lea ecx, [esp + 0x94]
mov byte [esp + 0x28c], 4
call fcn.0048f9a0
mov eax, dword [ebx + 0x1fa8]
mov ecx, dword [ebx + 0x1fa4]
cmp ecx, eax
lea esi, [ebx + 0x1fa4]
je 0x541b71
push 0
lea edx, [esp + 0x43]
push edx
push ecx
push eax
push eax
call fcn.004340a0
add esp, 0x14
mov dword [esi + 4], eax
push 0x3f800000
push 0
mov ecx, esi
call fcn.00438110
push 0x3dcccccd
push 0x3e800000
mov ecx, esi
call fcn.00438110
push 0x3f800000
push 0x3f800000
mov ecx, esi
call fcn.00438110
push 0
mov ecx, esi
call fcn.00438180
mov al, byte [esp + 0x1b]
test al, al
jne 0x541cd0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x3e]
push ecx
lea edx, [esp + 0x58]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
inc edi
inc esi
push eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
call fcn.00542a40
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ecx
je 0x541bf6
mov dword [esp + 0x34], esi
jmp 0x541c42
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x28]
sar esi, 3
call fcn.006122e1
test esi, esi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov dword [esp + 0x10], esi
fmul dword [0x656298]
fild dword [esp + 0x10]
jge 0x541c26
fadd dword [0x6532d4]
fsub dword [0x653bc4]
fmulp st(1)
call fcn.00611c14
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + eax*8]
mov edi, dword [ecx + eax*8 + 4]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x34]
push edi
push eax
lea ecx, [ebx + 0x284]
mov dword [esp + 0x4c], edi
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 8], 1
jle 0x541cd4
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x28]
sar esi, 3
call fcn.006122e1
test esi, esi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov dword [esp + 0x10], esi
fmul dword [0x656298]
fild dword [esp + 0x10]
jge 0x541c94
fadd dword [0x6532d4]
fsub dword [0x653bc4]
fmulp st(1)
call fcn.00611c14
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + eax*8 + 4]
mov edx, dword [ecx + eax*8]
push edi
push edx
lea ecx, [ebx + 0x284]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
cmp dword [eax + 8], 1
jg 0x541c64
jmp 0x541cd4
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
and ecx, 0xfffffff8
cmp ecx, 0x28
je 0x541d03
mov edx, dword [ebx + 0x2004]
mov eax, dword [edx + 4]
lea ecx, [eax + ebx + 0x2004]
call fcn.00407760
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
test eax, eax
jg 0x541d5a
mov al, byte [esp + 0x1b]
test al, al
jne 0x541d5a
mov eax, dword [ebx + 0x2004]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 0x2004]
mov dword [esp + 0x38], 1
call fcn.00407760
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, 0xffffffff
jne 0x541e79
mov eax, dword [ebx + 0x2004]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 0x2004]
call fcn.00407760
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 8]
jmp 0x541e79
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 3
cmp eax, 6
jb 0x541d72
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x541d9f
cmp eax, 5
je 0x541d97
mov eax, dword [ebx + 0x2010]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 0x2010]
call fcn.00407760
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, 0xffffffff
jne 0x541dee
mov al, byte [esp + 0x1b]
test al, al
je 0x541dee
mov eax, dword [ebx + 0x2010]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 0x2010]
mov dword [esp + 0x38], 2
call fcn.00407760
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, 0xffffffff
jne 0x541e79
mov eax, dword [ebx + 0x2010]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 0x2010]
call fcn.00407760
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 8]
jmp 0x541e79
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 3
cmp eax, 6
jne 0x541e10
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x541e10
mov dword [esp + 0x38], 3
jmp 0x541e79
cmp eax, 7
jb 0x541e27
mov al, byte [esp + 0x1b]
test al, al
je 0x541e27
mov dword [esp + 0x38], 4
jmp 0x541e79
push 0x2dd
push str.c:work_fishdom_aqua_gameRifGameFieldControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x5e]
push eax
push str.false
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x54], esp
lea edx, [esp + 0x76]
push edx
push str.Assertion_failed
mov byte [esp + 0x2cc], 7
call fcn.00403db0
mov byte [esp + 0x2c4], 4
call fcn.00405c50
add esp, 0x38
mov eax, dword [ebx + 0x1ba8]
test eax, eax
jle 0x5428c5
push 0
sub esp, 0x18
lea eax, [esp + 0x280]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00403e10
mov esi, dword [esp + 0x50]
push edi
push esi
mov ecx, ebx
call fcn.00537db0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xf]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
call fcn.00542a40
add esp, 0x10
lea edx, [esp + 0xe]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x16], 0
call fcn.00542b20
cmp dword [esp + 0x38], 1
jne 0x541f43
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xf]
push eax
or esi, 1
push str.fire_cracker_hint
lea ecx, [esp + 0x84]
mov dword [esp + 0x1c], esi
call fcn.00403db0
mov eax, esi
lea ecx, [esp + 0x7c]
or eax, 2
push ecx
mov byte [esp + 0x290], 8
mov dword [esp + 0x18], eax
call fcn.0047ae30
mov esi, dword [esp + 0x80]
add esp, 4
test al, al
mov eax, dword [esp + 0x90]
jne 0x541f4e
mov byte [esp + 0xe], 1
jmp 0x541f53
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x7c]
mov byte [esp + 0xe], 0
test byte [esp + 0x14], 2
mov dword [esp + 0x28c], 4
je 0x541f97
and dword [esp + 0x14], 0xfffffffd
lea edx, [esp + 0x8c]
cmp eax, edx
je 0x541f97
test esi, esi
je 0x541f97
sub eax, esi
cmp eax, 0x80
jbe 0x541f8d
push esi
call fcn.00611869
add esp, 4
jmp 0x541f97
push eax
push esi
call fcn.005d6970
add esp, 8
test byte [esp + 0x14], 1
je 0x541fa3
and dword [esp + 0x14], 0xfffffffe
mov al, byte [esp + 0xe]
test al, al
je 0x542106
lea eax, [esp + 0xf]
push eax
push str.fire_cracker_hint
lea ecx, [esp + 0xc0]
call fcn.00403db0
lea ecx, [esp + 0xb8]
push 0
push ecx
mov byte [esp + 0x294], 9
call fcn.00412cc0
mov eax, dword [esp + 0xd4]
lea edx, [esp + 0xd0]
add esp, 8
cmp eax, edx
mov byte [esp + 0x28c], 4
je 0x542022
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x542022
sub eax, ecx
cmp eax, 0x80
jbe 0x542018
push ecx
call fcn.00611869
add esp, 4
jmp 0x542022
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add eax, 0xffffffd6
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x1b04]
fild dword [esp + 0x1c]
sub eax, edi
dec eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [esp + 0x108]
push eax
fmul st(2)
mov ecx, ebx
fadd st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0x38]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x24]
fstp st(0)
fstp st(0)
call dword [edx + 0x14]
fld dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [ebx + 0xf4]
mov esi, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
add esi, eax
call fcn.00611c14
mov edx, dword [ebx]
add esi, eax
lea eax, [esp + 0xe8]
push eax
mov ecx, ebx
mov dword [esp + 0x14], esi
call dword [edx + 0x14]
fld dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00611c14
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push 0x3f266666
add esi, eax
sub esp, 0x18
add esi, edx
mov edx, dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
push eax
push str.bomb_hint_fire_cracker
mov dword [ebx + 0x1f64], esi
mov dword [ebx + 0x1f68], edx
call fcn.00403db0
mov byte [esp + 0x2a8], 0xa
jmp 0x542632
cmp dword [esp + 0x38], 2
jne 0x54215c
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xf]
push eax
or esi, 4
push str.black_bomb_hint
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], esi
call fcn.00403db0
mov eax, esi
lea ecx, [esp + 0x64]
or eax, 8
push ecx
mov byte [esp + 0x290], 0xb
mov dword [esp + 0x18], eax
call fcn.0047ae30
mov esi, dword [esp + 0x68]
add esp, 4
test al, al
mov eax, dword [esp + 0x78]
jne 0x542164
mov byte [esp + 0xe], 1
jmp 0x542169
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x64]
mov byte [esp + 0xe], 0
test byte [esp + 0x14], 8
mov dword [esp + 0x28c], 4
je 0x5421aa
and dword [esp + 0x14], 0xfffffff7
lea edx, [esp + 0x74]
cmp eax, edx
je 0x5421aa
test esi, esi
je 0x5421aa
sub eax, esi
cmp eax, 0x80
jbe 0x5421a0
push esi
call fcn.00611869
add esp, 4
jmp 0x5421aa
push eax
push esi
call fcn.005d6970
add esp, 8
test byte [esp + 0x14], 4
je 0x5421b6
and dword [esp + 0x14], 0xfffffffb
mov al, byte [esp + 0xe]
test al, al
je 0x542319
lea eax, [esp + 0xf]
push eax
push str.black_bomb_hint
lea ecx, [esp + 0xa8]
call fcn.00403db0
lea ecx, [esp + 0xa0]
push 0
push ecx
mov byte [esp + 0x294], 0xc
call fcn.00412cc0
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0xb8]
add esp, 8
cmp eax, edx
mov byte [esp + 0x28c], 4
je 0x542235
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x542235
sub eax, ecx
cmp eax, 0x80
jbe 0x54222b
push ecx
call fcn.00611869
add esp, 4
jmp 0x542235
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add eax, 0xffffffd6
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1b04]
fild dword [esp + 0x10]
sub eax, edi
dec eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov edx, dword [ebx]
lea eax, [esp + 0x158]
push eax
fmul st(2)
mov ecx, ebx
fadd st(1)
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp st(0)
call dword [edx + 0x14]
fld dword [esp + 0x10]
mov ecx, eax
mov eax, dword [ebx + 0xf4]
mov esi, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
add esi, eax
call fcn.00611c14
mov edx, dword [ebx]
add esi, eax
lea eax, [esp + 0x118]
push eax
mov ecx, ebx
mov dword [esp + 0x24], esi
call dword [edx + 0x14]
fld dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00611c14
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0x3f266666
sub esp, 0x18
add esi, eax
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
add esi, edx
mov edx, dword [esp + 0x3c]
push eax
push str.bomb_hint_black_bomb
mov dword [ebx + 0x1f64], esi
mov dword [ebx + 0x1f68], edx
call fcn.00403db0
mov byte [esp + 0x2a8], 0xd
jmp 0x542632
cmp dword [esp + 0x38], 3
jne 0x54236b
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xf]
push eax
or esi, 0x10
push str.dynamit_hint
lea ecx, [esp + 0x148]
mov dword [esp + 0x1c], esi
call fcn.00403db0
mov eax, esi
lea ecx, [esp + 0x140]
or eax, 0x20
push ecx
mov byte [esp + 0x290], 0xe
mov dword [esp + 0x18], eax
call fcn.0047ae30
add esp, 4
test al, al
mov byte [esp + 0xe], 1
je 0x542370
mov byte [esp + 0xe], 0
test byte [esp + 0x14], 0x20
mov esi, 4
mov dword [esp + 0x28c], esi
je 0x54239a
mov eax, dword [esp + 0x14]
and eax, 0xffffffdf
lea ecx, [esp + 0x140]
mov dword [esp + 0x14], eax
call fcn.00449cc0
test byte [esp + 0x14], 0x10
je 0x5423a6
and dword [esp + 0x14], 0xffffffef
mov al, byte [esp + 0xe]
test al, al
je 0x5424bd
lea edx, [esp + 0xf]
push edx
push str.dynamit_hint
lea ecx, [esp + 0x168]
call fcn.00403db0
lea eax, [esp + 0x160]
push 0
push eax
mov byte [esp + 0x294], 0xf
call fcn.00412cc0
add esp, 8
lea ecx, [esp + 0x160]
mov byte [esp + 0x28c], 4
call fcn.00449cc0
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add eax, 0xffffffd6
cdq
fimul dword [esp + 0x34]
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x120]
push eax
mov ecx, ebx
fiadd dword [esp + 0x14]
fstp dword [esp + 0x14]
call dword [edx + 0x14]
push edi
mov ecx, ebx
mov esi, eax
call fcn.004892f0
call fcn.00611c14
mov ecx, dword [esi + 4]
add ecx, eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
add ecx, eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x20], ecx
push eax
mov ecx, ebx
call dword [edx + 0x14]
fld dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00611c14
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push 0x3f266666
sub esp, 0x18
add esi, eax
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
add esi, edx
mov edx, dword [esp + 0x3c]
push eax
push str.bomb_hint_dynamit
mov dword [ebx + 0x1f64], esi
mov dword [ebx + 0x1f68], edx
call fcn.00403db0
mov byte [esp + 0x2a8], 0x10
jmp 0x542632
cmp dword [esp + 0x38], esi
jne 0x54250d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xf]
push eax
or edx, 0x40
push str.nuke_hint
lea ecx, [esp + 0x188]
mov dword [esp + 0x1c], edx
call fcn.00403db0
or dword [esp + 0x14], 0x80
lea ecx, [esp + 0x180]
push ecx
mov byte [esp + 0x290], 0x11
call fcn.0047ae30
add esp, 4
test al, al
mov byte [esp + 0xe], 1
je 0x542512
mov byte [esp + 0xe], 0
mov al, byte [esp + 0x14]
test al, al
mov dword [esp + 0x28c], esi
jns 0x54253a
mov eax, dword [esp + 0x14]
and eax, 0xffffff7f
lea ecx, [esp + 0x180]
mov dword [esp + 0x14], eax
call fcn.00449cc0
test byte [esp + 0x14], 0x40
je 0x542546
and dword [esp + 0x14], 0xffffffbf
mov al, byte [esp + 0xe]
test al, al
je 0x54265d
lea edx, [esp + 0xf]
push edx
push str.nuke_hint
lea ecx, [esp + 0x130]
call fcn.00403db0
lea eax, [esp + 0x128]
push 0
push eax
mov byte [esp + 0x294], 0x12
call fcn.00412cc0
add esp, 8
lea ecx, [esp + 0x128]
mov byte [esp + 0x28c], 4
call fcn.00449cc0
mov edx, dword [ebx]
lea eax, [esp + 0x100]
push eax
mov ecx, ebx
call dword [edx + 0x14]
push edi
mov ecx, ebx
mov esi, eax
call fcn.004892f0
call fcn.00611c14
mov esi, dword [esi + 4]
add esi, eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
add esi, eax
lea eax, [esp + 0x110]
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004892c0
call fcn.00611c14
mov ecx, eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add ecx, eax
mov eax, dword [edx]
push 0x3f266666
add ecx, eax
sub esp, 0x18
mov dword [ebx + 0x1f64], ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x2b]
push eax
push str.bomb_hint_nuke
mov dword [ebx + 0x1f68], esi
call fcn.00403db0
mov byte [esp + 0x2a8], 0x13
sub esp, 0x18
lea edx, [esp + 0x43]
mov dword [esp + 0x50], esp
mov ecx, esp
push edx
push str.GameField
call fcn.00403db0
lea ecx, [ebx + 0x1f4c]
mov byte [esp + 0x2c0], 4
call fcn.0049f1f0
mov eax, dword [esp + 0x34]
push edi
lea esi, [ebx + 0x284]
push eax
mov ecx, esi
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x1c], ecx
lea eax, [ecx + 0xf]
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0048f220
mov ecx, eax
call fcn.0048f2c0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
push edi
mov dword [eax + 4], ecx
lea esi, [ebx + 0x258]
push edx
mov ecx, esi
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x24c]
sub esp, 0xc
lea edx, [edx + edx*2]
mov ecx, esp
lea eax, [eax + edx*4 - 0xc]
mov dword [esp + 0x28], esp
push eax
mov dword [ecx], 0x6580c8
call fcn.00490cf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov byte [esp + 0x298], 4
call fcn.0048ea80
mov ecx, eax
call fcn.004a89d0
mov edx, dword [esp + 0x34]
push edi
push edx
mov ecx, esi
call fcn.0048f820
mov ecx, eax
call fcn.0048f600
mov esi, eax
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add eax, 0xffffffd6
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1b04]
fild dword [esp + 0x10]
sub eax, edi
dec eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x10]
fild dword [esp + 0x34]
fst dword [esp + 0x38]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push 4
push 0x3f333333
push 0x3f800000
push 0
push eax
push ecx
push eax
push ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.0048ea80
mov ecx, eax
call fcn.00497c70
push 0x24
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
mov byte [esp + 0x28c], 0x15
je 0x542877
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add eax, 0xffffffd6
cdq
sub eax, edx
mov edx, dword [ebx + 0x1b04]
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sub edx, edi
dec edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov eax, dword [ebx]
lea ecx, [esp + 0xf8]
push ecx
fmul st(2)
mov ecx, ebx
fadd st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x20]
fstp st(0)
fstp st(0)
call dword [eax + 0x14]
fld dword [esp + 0x10]
mov ecx, eax
mov eax, dword [ebx + 0xf4]
mov edi, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
add edi, eax
call fcn.00611c14
mov edx, dword [ebx]
add edi, eax
lea eax, [esp + 0x178]
push eax
mov ecx, ebx
mov dword [esp + 0x24], edi
call dword [edx + 0x14]
fld dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xf4]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.00611c14
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 1
add edi, eax
add edi, edx
mov edx, dword [esp + 0x24]
push 0x3f333333
push edx
push edi
mov ecx, esi
call fcn.0052be40
jmp 0x542879
xor eax, eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x58], esp
push 1
push eax
mov byte [esp + 0x2a0], 4
call fcn.0048f070
push 1
lea ecx, [ebx + 0x128]
call fcn.004b00e0
push 0
push 0xffffffffffffff9b
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x6c], esp
lea eax, [esp + 0x2f]
push eax
push str.create_bonus
call fcn.00403db0
mov ecx, 0x16c7860
call fcn.0046b8b0
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
sar ecx, 3
xor esi, esi
test ecx, ecx
jbe 0x542959
lea ebx, [ebx]
push 0
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [esp + 0x68], esp
mov dword [eax], ecx
mov dword [esp + 0x68], ecx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x294]
lea edx, [esp + 0x290]
cmp eax, edx
mov byte [esp + 0x2a8], 0x16
lea eax, [esp + 0x280]
je 0x54291f
mov eax, dword [esp + 0x280]
mov edx, dword [esp + 0x290]
push edx
push eax
call fcn.00403b50
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x2b0], 4
call fcn.00537db0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
inc esi
sar eax, 3
cmp esi, eax
jb 0x5428e0
mov ecx, dword [esp + 0x278]
lea edx, [esp + 0x274]
cmp ecx, edx
mov byte [esp + 0x28c], 0
je 0x54299d
mov eax, dword [esp + 0x264]
test eax, eax
je 0x54299d
sub ecx, eax
cmp ecx, 0x80
jbe 0x542993
push eax
call fcn.00611869
add esp, 4
jmp 0x54299d
push ecx
push eax
call fcn.005d6970
add esp, 8
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov eax, dword [ebx + 0x1b04]
mov ecx, dword [esp + 0x28]
inc esi
cmp esi, eax
mov dword [esp + 0x40], esi
jl 0x541694
mov eax, dword [esp + 0x30]
mov edx, dword [ebx + 0x1b00]
inc edi
cmp edi, edx
mov dword [esp + 0x48], edi
jl 0x541680
test ecx, ecx
mov dword [esp + 0x28c], 0xffffffff
je 0x542a06
sub eax, ecx
sar eax, 3
shl eax, 3
cmp eax, 0x80
jbe 0x5429fc
push ecx
call fcn.00611869
add esp, 4
jmp 0x542a06
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x284]
mov al, byte [esp + 0x27]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x27c]
call fcn.006122a5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret