Function at 0x5903c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5deb08
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0xd4]
push 1
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.00588120
fld qword [0x613e98]
fstp qword [ebp + 0x2e0]
mov eax, 3
fld qword [str.333333]
push 5
mov edi, 0xf
fstp qword [ebp + 0x2e8]
push str.sound
lea ecx, [esp + 0x20]
mov dword [esp + 0xd4], esi
mov dword [ebp], 0x5f6ffc
mov dword [ebp + 0x88], 0x5f6fdc
mov dword [ebp + fcn.0045f300], 0x5f6fd4
mov dword [ebp + 0x2d4], 2
mov dword [ebp + 0x2d8], eax
mov dword [ebp + 0x2dc], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
call fcn.0043df40
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0xd0], 1
call fcn.00560fa0
cmp dword [esp + 0x30], 0x10
mov dword [ebp + 0x2f0], eax
jb 0x5904ad
mov edx, dword [esp + 0x1c]
push edx
call fcn.005b28f2
add esp, 4
lea ebx, [ebp + 0x2f8]
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebp + 0x30c], esi
mov dword [ebp + 0x310], esi
mov dword [ebp + 0x314], esi
push 4
push str.food
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 3
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
call fcn.0043df40
cmp dword [ebp + 0x218], esi
mov byte [esp + 0xcc], 4
jne 0x590508
call fcn.005b2af7
mov eax, dword [ebp + 0x218]
mov ecx, dword [ebp + 0x21c]
cmp ecx, dword [eax + 4]
jne 0x59051e
call fcn.005b2af7
mov ecx, dword [ebp + 0x21c]
lea edx, [esp + 0x18]
add ecx, 8
push edx
call fcn.004790c0
push eax
mov ecx, 0x63e65c
call fcn.00520690
cmp dword [esp + 0x30], 0x10
mov edi, dword [eax]
mov byte [esp + 0xcc], 3
jb 0x59055a
mov eax, dword [esp + 0x1c]
push eax
call fcn.005b28f2
add esp, 4
push 0x280
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.005b2b20
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, esi
mov byte [esp + 0xcc], 5
je 0x5905d2
mov eax, dword [ebp + 0x1b4]
cmp eax, esi
je 0x590595
mov esi, dword [eax + 0x28]
mov eax, dword [ebp + 0x3c]
fld1
sub eax, esi
add eax, dword [0x63e64c]
push 0
cdq
push 0
sub esp, 8
sub eax, edx
fstp qword [esp]
mov esi, eax
push edi
mov ecx, edi
sar esi, 1
call fcn.00427d10
mov ecx, dword [ebp + 0x38]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
push esi
push ecx
mov ecx, dword [esp + 0x58]
call fcn.00557ba0
jmp 0x5905d4
xor eax, eax
push eax
mov ecx, ebp
mov byte [esp + 0xd0], 3
mov dword [ebp + 0x2d0], eax
call fcn.00585fc0
fld qword [0x5ec5f8]
mov ecx, dword [ebp + 0x2d0]
sub esp, 0x10
fst qword [esp + 8]
fstp qword [esp]
call fcn.005570d0
mov eax, dword [ebp + 0x38]
cdq
sub eax, edx
mov esi, eax
mov ecx, edi
sar esi, 1
call fcn.00427d00
fld qword [0x613ed8]
mov ecx, dword [ebp + 0x2d0]
sub esp, 8
fstp qword [esp]
push 0
cdq
push 0
sub eax, edx
push 0
sar eax, 1
sub esi, eax
push 0
push esi
call fcn.00557670
push 0x280
call fcn.005b2b20
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
test edi, edi
mov byte [esp + 0xcc], 6
je 0x590722
push 4
push str.food
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0043df40
cmp dword [ebp + 0x218], 0
mov byte [esp + 0xcc], 7
mov dword [esp + 0x14], 1
jne 0x5906a3
call fcn.005b2af7
mov edx, dword [ebp + 0x218]
mov eax, dword [ebp + 0x21c]
cmp eax, dword [edx + 4]
jne 0x5906b9
call fcn.005b2af7
mov ecx, dword [ebp + 0x21c]
lea edx, [esp + 0x18]
add ecx, 8
push edx
call fcn.004790c0
push 0x5f6fa8
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00441f20
add esp, 0xc
push eax
mov ecx, 0x63e65c
mov dword [esp + 0xd0], 8
mov dword [esp + 0x18], 3
call fcn.00520690
fld1
mov ecx, dword [ebp + 0x2d0]
mov eax, dword [eax]
mov edx, dword [ecx + 0x34]
push 0
push 0
sub esp, 8
fstp qword [esp]
push eax
push edx
push esi
mov ecx, edi
call fcn.00557ba0
mov esi, eax
jmp 0x590724
xor esi, esi
test byte [esp + 0x14], 2
je 0x590759
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x7c], 0x10
jb 0x590744
mov eax, dword [esp + 0x68]
push eax
call fcn.005b28f2
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
test byte [esp + 0x14], 1
mov dword [esp + 0xcc], 3
je 0x590794
cmp dword [esp + 0x30], 0x10
jb 0x59077f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005b28f2
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
push 0x14
push 0
push 0x4b
mov ecx, esi
call fcn.00557100
push esi
mov ecx, ebp
call fcn.00585fc0
sub esp, 0xec
mov ecx, esp
mov dword [esp + 0x130], esp
call fcn.0040b740
push 6
mov ecx, ebx
call fcn.005902a0
lea ecx, [esp + 0x80]
call fcn.00468d20
sub esp, 0x44
mov edi, esp
mov esi, eax
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
push 6
lea ecx, [ebp + 0x308]
call fcn.0058f5b0
mov eax, dword [ebp + 0x1b4]
xor edi, edi
cmp eax, edi
je 0x5907fe
mov ecx, dword [eax + 0x28]
jmp 0x590800
xor ecx, ecx
mov eax, dword [ebp + 0x3c]
sub eax, ecx
add eax, dword [0x63e64c]
push 0xb
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x38]
cdq
sub eax, edx
sar eax, 1
push str.arrow_cross
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.0043df40
lea edx, [esp + 0x18]
push edx
mov ecx, 0x63e65c
mov byte [esp + 0xd0], 0xb
call fcn.00520690
cmp dword [esp + 0x30], 0x10
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x44], eax
mov byte [esp + 0xcc], 3
jb 0x59087d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005b28f2
add esp, 4
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
jmp 0x590890
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x590b86
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x22b63cbf
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x590b86
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x5908c4
xor eax, eax
jmp 0x5908da
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x22b63cbf
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
fild dword [esp + 0x44]
mov edx, dword [ebp + 0x2d0]
mov dword [esp + 0x34], eax
fst qword [esp + 0x54]
fild dword [esp + 0x14]
fst qword [esp + 0x5c]
fild dword [edx + 0x38]
fmul qword [0x5f1808]
fsub st(2)
fmulp st(1)
fild dword [esp + 0x34]
jge 0x59090f
fadd qword [0x613de0]
fdivp st(1)
faddp st(1)
fmul qword [0x613e20]
call fcn.005b3030
push 0x10
push str.directionalarrow
lea ecx, [esp + 0x20]
mov edi, eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0043df40
mov eax, dword [ebp + 0x30c]
test eax, eax
mov byte [esp + 0xcc], 0xc
je 0x590974
mov ecx, dword [ebp + 0x310]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x590979
call fcn.005b2af7
mov esi, dword [ebp + 0x30c]
mov eax, dword [ebx + 4]
add esi, dword [esp + 0x40]
test eax, eax
je 0x5909a6
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x22b63cbf
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x5909ab
call fcn.005b2af7
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push ecx
push esi
mov esi, dword [esp + 0x50]
push eax
push 1
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
lea ecx, [esi + edi]
mov dword [eax], ecx
mov dword [esp + 0x4c], esp
sub esp, 8
mov eax, esi
mov ecx, esp
sub eax, edi
mov dword [esp + 0x54], esp
mov dword [ecx], eax
mov dword [ecx + 4], edx
call fcn.005ac9c0
add esp, 0x20
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0xcc], 3
jb 0x590a0a
mov edx, dword [esp + 0x1c]
push edx
call fcn.005b28f2
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x590a27
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x22b63cbf
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
mov ecx, dword [ebp + 0x2d0]
fild dword [ecx + 0x3c]
mov dword [esp + 0x34], eax
fmul qword [0x5f1808]
fld qword [esp + 0x54]
fsub st(1), st(0)
fxch st(1)
fmul qword [esp + 0x5c]
fild dword [esp + 0x34]
jge 0x590a54
fadd qword [0x613de0]
fdivp st(1)
faddp st(1)
fmul qword [0x613e20]
call fcn.005b3030
push 0x10
push str.directionalarrow
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0043df40
mov eax, dword [ebp + 0x30c]
test eax, eax
mov byte [esp + 0xcc], 0xd
je 0x590ac0
mov ecx, dword [ebp + 0x310]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
add edx, 1
cmp edx, eax
jb 0x590ac5
call fcn.005b2af7
mov eax, dword [ebp + 0x30c]
mov ecx, dword [esp + 0x40]
lea edi, [ecx + eax + 0x44]
mov eax, dword [ebx + 4]
test eax, eax
je 0x590afb
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x22b63cbf
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
add edx, 1
cmp edx, eax
jb 0x590b00
call fcn.005b2af7
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax + 0xec]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x50]
push eax
push 1
sub esp, 8
mov eax, esp
lea ecx, [edx + esi]
mov dword [eax + 4], ecx
mov dword [eax], edi
mov dword [esp + 0x4c], esp
sub esp, 8
mov eax, edx
mov ecx, esp
sub eax, esi
mov dword [esp + 0x54], esp
mov dword [ecx], edi
mov dword [ecx + 4], eax
call fcn.005ac9c0
add esp, 0x20
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0xcc], 3
jb 0x590b66
mov eax, dword [esp + 0x1c]
push eax
call fcn.005b28f2
add esp, 4
add dword [esp + 0x14], 2
add dword [esp + 0x40], 0x88
add dword [esp + 0x38], 0x1d8
mov esi, dword [esp + 0x14]
xor edi, edi
jmp 0x590890
sub esp, 8
mov eax, esp
push 2
lea ecx, [ebp + 0x1ec]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.0056fb60
mov eax, ebp
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret 4