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

Disassembly:
push 0xffffffffffffffff
push 0x5d84c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x68]
push str._peeled
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00441f20
add esp, 0xc
xor ebx, ebx
push eax
mov ecx, 0x63e65c
mov dword [esp + 0x5c], ebx
call fcn.00520690
fld1
mov eax, dword [eax]
mov edx, dword [esp + 0x64]
push ebx
push ebx
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
mov ecx, esi
call fcn.00557ba0
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0x58], 2
jb 0x559f8c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005b28f2
add esp, 4
mov edi, dword [esp + 0x78]
push edi
lea ecx, [esi + 0x280]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
mov dword [esi], vtable.PeeledFood.0
call fcn.00559dc0
lea ebp, [esi + 0x290]
push edi
mov ecx, ebp
mov byte [esp + 0x5c], 3
call fcn.00559dc0
mov edx, dword [esp + 0x7c]
lea edi, [esi + 0x2a0]
push edx
mov ecx, edi
mov byte [esp + 0x5c], 4
call fcn.005599c0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x2bc], ecx
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x2b8], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x2c4], edx
mov dl, byte [esp + 0x88]
mov dword [esi + 0x2cc], ecx
lea ecx, [esi + 0x2d4]
mov byte [esp + 0x58], 5
mov dword [esi + 0x2b0], 0xffffffff
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c8], eax
mov byte [esi + 0x2d0], dl
call fcn.0040b740
lea ecx, [esi + 0x3c0]
mov byte [esp + 0x58], 6
call fcn.00468d20
mov eax, dword [esi + 0x98]
mov dword [eax + 0x30], 3
mov ecx, dword [esi + 0x98]
call fcn.00427d30
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x38], eax
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x88], ecx
fild dword [esp + 0x88]
fst qword [esi + 0xa0]
call fcn.005b3030
fldz
sub esp, 8
fstp qword [esp]
mov dword [esi + 0x30], eax
mov edx, dword [0x63e5a0]
mov eax, dword [edx + 0xc0]
push ebx
push ebx
push eax
push ebx
push ebx
mov ecx, esi
call fcn.00557670
fld qword [0x613ed8]
mov ecx, dword [0x63e5a0]
mov edx, dword [ecx + 0xc0]
sub esp, 8
fstp qword [esp]
push ebx
push ebx
neg edx
push edx
push ebx
push ebx
mov ecx, esi
call fcn.00557670
mov dword [esp + 0x88], 0
lea ebx, [ebx]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x55a13c
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jae 0x55a13c
test ecx, ecx
je 0x55a113
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp ebx, eax
jb 0x55a118
call fcn.005b2af7
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x88]
cmp byte [eax + ecx + 0xc], 0
jne 0x55a136
add ebx, 1
add dword [esp + 0x88], 0x10
jmp 0x55a0f0
mov dword [esi + 0x2b0], ebx
cmp byte [esi + 0x2d0], 0
je 0x55a22b
mov eax, dword [ebp + 4]
test eax, eax
jne 0x55a154
xor edi, edi
jmp 0x55a16a
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, dword [ebp + 4]
shr edi, 1
test eax, eax
je 0x55a18d
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x55a192
call fcn.005b2af7
imul edi, edi, 0x34
add edi, dword [ebp + 4]
push 0x10
mov eax, dword [edi + 8]
add eax, dword [edi + 4]
push str.directionalarrow
cdq
sub eax, edx
mov ebp, eax
lea ecx, [esp + 0x20]
sar ebp, 1
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.0043df40
lea edx, [esp + 0x18]
push edx
lea eax, [esi + 0x3c0]
push eax
lea eax, [esi + 0x2d4]
push eax
mov eax, dword [edi + 0xc]
push 0
sub esp, 8
mov ecx, esp
add eax, 0x50
mov dword [ecx + 4], eax
mov dword [esp + 0xa0], esp
mov dword [ecx], ebp
mov edi, dword [edi + 0xc]
sub esp, 8
mov eax, esp
mov byte [esp + 0x78], 7
mov dword [esp + 0xa8], esp
mov dword [eax], ebp
mov dword [eax + 4], edi
call fcn.005ac9c0
add esp, 0x20
cmp dword [esp + 0x30], 0x10
jb 0x55a22b
mov eax, dword [esp + 0x1c]
push eax
call fcn.005b28f2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x2c