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

Disassembly:
push 0xffffffffffffffff
push 0x5df44a
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
push 1
mov esi, ecx
xor ebx, ebx
push eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x20], ebx
call fcn.00588120
lea edi, [esi + 0x2d0]
mov ecx, edi
mov dword [esp + 0xc0], ebx
mov dword [esi], vtable.Saute.2.0
mov dword [esi + 0x88], vtable.Saute.1.0
mov dword [esi + fcn.0045f300], vtable.Saute.0
call fcn.00594970
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e4], ebx
mov dword [esi + 0x2e8], ebx
lea edi, [esi + 0x300]
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
mov ecx, edi
mov byte [esp + 0xc0], 2
mov dword [esi + 0x2fc], ebx
call fcn.00523460
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x30c]
mov ecx, edi
mov byte [esp + 0xc0], 3
call fcn.005b0070
mov dword [edi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push 4
mov edi, 0xf
push str.Done
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.0043df40
lea eax, [esp + 0x68]
push eax
push 0x15e
push 0x46
mov ecx, esi
mov byte [esp + 0xcc], 5
call fcn.00538120
mov ebp, 0x10
cmp dword [esp + 0x80], ebp
mov dword [esi + 0x2f8], eax
mov byte [esp + 0xc0], 4
jb 0x595ca1
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.005b28f2
add esp, 4
push 0xc
push str.pan_center_y
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.0043df40
push 0xc
push str.pan_center_x
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 6
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
lea edx, [esp + 0x68]
push edx
mov ecx, esi
mov byte [esp + 0xc4], 7
call fcn.00560e70
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00560e70
cmp dword [esp + 0x34], ebp
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x2ec], eax
mov dword [esi + 0x2f0], ecx
jb 0x595d2e
mov edx, dword [esp + 0x20]
push edx
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0xc0], 4
jb 0x595d58
mov eax, dword [esp + 0x6c]
push eax
call fcn.005b28f2
add esp, 4
push 0xa
push str.pan_radius
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.0043df40
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov byte [esp + 0xc4], 8
call fcn.00560e70
cmp dword [esp + 0x80], ebp
mov dword [esi + 0x2f4], eax
mov byte [esp + 0xc0], 4
jb 0x595db2
mov edx, dword [esp + 0x6c]
push edx
call fcn.005b28f2
add esp, 4
mov eax, dword [0x63e64c]
add eax, 0x14
mov dword [esp + 0x38], eax
mov edi, edi
mov edi, dword [esi + 0x218]
cmp edi, ebx
mov ebp, dword [esi + 0x21c]
jne 0x595dd5
call fcn.005b2af7
cmp ebp, dword [edi + 4]
jne 0x595ddf
call fcn.005b2af7
mov eax, dword [esi + 0x214]
mov ecx, dword [eax + 0x3c]
mov ebp, dword [ebp]
add eax, 0x38
cmp edi, eax
mov dword [esp + 0x60], ecx
je 0x595dfb
call fcn.005b2af7
cmp ebp, dword [esp + 0x60]
mov ecx, esi
je 0x5961eb
call fcn.005869b0
push 4
mov ebp, 0xf
push str.food
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
cmp dword [esi + 0x218], ebx
mov byte [esp + 0xc0], 9
jne 0x595e42
call fcn.005b2af7
mov edx, dword [esi + 0x218]
mov eax, dword [esi + 0x21c]
cmp eax, dword [edx + 4]
jne 0x595e58
call fcn.005b2af7
mov ecx, dword [esi + 0x21c]
lea edx, [esp + 0x1c]
add ecx, 8
push edx
call fcn.004790c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.0043b440
mov edi, 0x10
cmp dword [esp + 0x34], edi
jb 0x595ea2
mov eax, dword [esp + 0x20]
push eax
call fcn.005b28f2
add esp, 4
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
push 4
push str.food
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0xc
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
cmp dword [esi + 0x218], ebx
mov byte [esp + 0xc0], 0xd
jne 0x595ef0
call fcn.005b2af7
mov ecx, dword [esi + 0x218]
mov edx, dword [esi + 0x21c]
cmp edx, dword [ecx + 4]
jne 0x595f06
call fcn.005b2af7
mov ecx, dword [esi + 0x21c]
lea eax, [esp + 0x1c]
add ecx, 8
push eax
call fcn.004790c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x90]
call fcn.0043b440
cmp dword [esp + 0x34], edi
mov byte [esp + 0xc0], 0xc
jb 0x595f44
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005b28f2
add esp, 4
push 0x208
call fcn.005b2b20
mov edi, eax
add esp, 4
mov dword [esp + 0x58], edi
cmp edi, ebx
mov byte [esp + 0xc0], 0xe
je 0x595fdd
push ebx
push 0x5ff2b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
or dword [esp + 0x18], 1
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x40]
push str.icon_
push eax
mov byte [esp + 0xcc], 0xf
call fcn.00441e70
add esp, 0xc
or dword [esp + 0x18], 2
push eax
mov ecx, 0x63e65c
mov dword [esp + 0xc4], 0x10
call fcn.00520690
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x44]
push eax
push 0x2da
mov ecx, edi
call fcn.005a8d20
jmp 0x595fdf
xor eax, eax
test byte [esp + 0x18], 2
mov dword [esp + 0xa0], eax
mov edi, 0x10
je 0x596016
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x54], edi
jb 0x59600a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005b28f2
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
test byte [esp + 0x18], 1
mov dword [esp + 0xc0], 0xc
je 0x596040
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x34], edi
jb 0x596040
mov edx, dword [esp + 0x20]
push edx
call fcn.005b28f2
add esp, 4
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [edx + ecx + 0xa]
push 5
push str.count
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xc4], 0x13
call fcn.00560da0
cmp dword [esp + 0x34], edi
mov dword [esp + 0xa8], eax
mov byte [esp + 0xc0], 0xc
jb 0x5960a8
mov edx, dword [esp + 0x20]
push edx
call fcn.005b28f2
add esp, 4
push 9
push str.cook_time
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0xc4], 0x14
call fcn.00560da0
cmp dword [esp + 0x34], edi
mov dword [esp + 0xac], eax
mov byte [esp + 0xc0], 0xc
jb 0x5960fa
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005b28f2
add esp, 4
push 0xd
push str.overcook_time
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0xc4], 0x15
call fcn.00560da0
cmp dword [esp + 0x34], edi
mov dword [esp + 0xb0], eax
mov byte [esp + 0xc0], 0xc
jb 0x59614c
mov eax, dword [esp + 0x20]
push eax
call fcn.005b28f2
add esp, 4
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, esi
call fcn.00585f70
mov edi, dword [esi + 0x2d4]
mov eax, dword [edi + 4]
lea ecx, [esi + 0x2d0]
lea edx, [esp + 0x84]
push edx
push eax
push edi
call fcn.00595700
push 1
lea ecx, [esi + 0x2d0]
mov ebp, eax
call fcn.00594a90
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
cmp dword [esp + 0x9c], 0x10
jb 0x5961aa
mov ecx, dword [esp + 0x88]
push ecx
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x80], 0x10
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov byte [esp + 0xc0], 4
jb 0x595dc0
mov edx, dword [esp + 0x6c]
push edx
call fcn.005b28f2
add esp, 4
jmp 0x595dc0
mov eax, dword [esi + 0x2d8]
push ebx
push ebx
push eax
call fcn.005876b0
mov ecx, esi
call fcn.00560920
test al, al
jne 0x596622
add dword [esi + 0x2c0], 1
push 3
push 0x5f0798
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.0043df40
mov edi, dword [esi + 0x2bc]
mov eax, dword [edi + 0x20]
mov ebp, dword [esi + 0x2c0]
add edi, 0x1c
cmp eax, ebx
mov byte [esp + 0xc0], 0x16
je 0x59626c
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x596271
call fcn.005b2af7
mov ecx, dword [edi + 4]
lea eax, [ebp + ebp*2]
lea edx, [esp + 0x68]
lea ecx, [ecx + eax*4]
push edx
call fcn.004790c0
mov edi, dword [eax + 0x14]
mov ecx, edi
cmp ecx, edi
jae 0x59628e
cmp edi, 5
mov ecx, edi
jb 0x59629a
mov ecx, 5
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x5962a9
mov eax, dword [eax + 4]
jmp 0x5962ac
add eax, 4
push ecx
push str.sound
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x5962d3
cmp edi, 5
jae 0x5962c9
or eax, 0xffffffff
jmp 0x5962d1
xor eax, eax
cmp edi, 5
setne al
cmp eax, ebx
sete byte [esp + 0x17]
cmp dword [esp + 0x80], ebp
mov byte [esp + 0xc0], 4
jb 0x5962f6
mov eax, dword [esp + 0x6c]
push eax
call fcn.005b28f2
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea ecx, [esp + 0x68]
je 0x59640b
push 5
mov edi, 0xf
push str.sound
mov dword [esp + 0x88], edi
call fcn.0043df40
push 5
push str.count
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0x17
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xc4], 0x18
call fcn.00560e70
mov edi, dword [esi + 0x2bc]
mov ebp, dword [esi + 0x2c0]
add edi, 0x1c
mov dword [esp + 0x38], eax
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x59638f
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x596394
call fcn.005b2af7
mov eax, dword [edi + 4]
lea edx, [ebp + ebp*2]
lea ecx, [eax + edx*4]
lea edx, [esp + 0x68]
push edx
call fcn.004790c0
push eax
mov ecx, 0x63e674
call fcn.004795e0
mov edi, dword [eax]
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x300]
call fcn.00524c20
mov dword [eax], edi
cmp dword [esp + 0x34], 0x10
jb 0x5963db
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x80], 0x10
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0xc0], 4
jb 0x596613
mov edx, dword [esp + 0x6c]
push edx
jmp 0x59660b
push 3
push 0x5f0798
mov dword [esp + 0x88], 0xf
call fcn.0043df40
mov edi, dword [esi + 0x2bc]
mov eax, dword [edi + 0x20]
mov ebp, dword [esi + 0x2c0]
add edi, 0x1c
cmp eax, ebx
mov byte [esp + 0xc0], 0x19
je 0x596459
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x59645e
call fcn.005b2af7
mov ecx, dword [edi + 4]
lea eax, [ebp + ebp*2]
lea edx, [esp + 0x68]
lea ecx, [ecx + eax*4]
push edx
call fcn.004790c0
mov edi, dword [eax + 0x14]
mov ecx, edi
cmp ecx, edi
jae 0x59647b
cmp edi, 5
mov ecx, edi
jb 0x596487
mov ecx, 5
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x596496
mov eax, dword [eax + 4]
jmp 0x596499
add eax, 4
push ecx
push str.score
push eax
call fcn.00401040
add esp, 0xc
cmp eax, ebx
jne 0x5964c0
cmp edi, 5
jae 0x5964b6
or eax, 0xffffffff
jmp 0x5964be
xor eax, eax
cmp edi, 5
setne al
cmp eax, ebx
sete byte [esp + 0x17]
cmp dword [esp + 0x80], ebp
mov byte [esp + 0xc0], 4
jb 0x5964e3
mov eax, dword [esp + 0x6c]
push eax
call fcn.005b28f2
add esp, 4
cmp byte [esp + 0x17], bl
je 0x596613
push 3
mov ebp, 0xf
push 0x5f76a8
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0043df40
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov byte [esp + 0xc4], 0x1a
call fcn.00560e70
push 3
push 0x5f76a4
lea ecx, [esp + 0x70]
mov edi, eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.0043df40
lea edx, [esp + 0x68]
push edx
mov ecx, esi
mov byte [esp + 0xc4], 0x1b
call fcn.00560e70
push 5
push str.count
lea ecx, [esp + 0x24]
mov ebp, eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0043df40
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0xc4], 0x1c
call fcn.00560e70
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x30c]
mov dword [esp + 0x3c], eax
call fcn.00595810
mov dword [eax], ebp
mov dword [eax + 4], edi
cmp dword [esp + 0x34], 0x10
jb 0x5965bd
mov edx, dword [esp + 0x20]
push edx
call fcn.005b28f2
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x80], edi
mov ebp, 0xf
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x5965e9
mov eax, dword [esp + 0x6c]
push eax
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0xc0], 4
jb 0x596613
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005b28f2
add esp, 4
mov ecx, esi
call fcn.00560920
test al, al
je 0x596208
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005b2f9b
add esp, 0xb0
ret 4