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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4645d7
sub esp, 0x64
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x20]
test eax, eax
jbe 0x4645cd
shr eax, 2
test eax, eax
jl 0x4645c8
mov ecx, 4
mov ebx, eax
mul ecx
jo 0x4645c3
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x1c]
mov ebp, edx
neg edx
cmp eax, edx
ja 0x4645c3
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00464910
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
cmp edx, ecx
jb 0x4645be
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004645f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
shl eax, 2
lea eax, [eax + eax*4]
shl eax, 1
add eax, 0x16
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00460130
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x50], ebx
test al, al
je 0x46441a
mov dword [esp], edx
mov byte [esp + 4], 2
call fcn.00460580
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov byte [esp + 4], 3
call fcn.00460580
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004605d0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
call fcn.004605d0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
jmp 0x4644fc
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
lea edi, [esp + 0x30]
mov esi, eax
call fcn.004751aa
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.004605d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004605d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004605d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004605d0
mov eax, dword [esp + 0x5c]
add eax, 0x1c
mov ecx, dword [esp + 0x4c]
dec ecx
test ecx, ecx
jg 0x46446d
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
jmp 0x46451b
mov ebp, dword [esp + 0x28]
lea eax, [ebp + 1]
cmp eax, 4
jge 0x4645a5
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x68]
lea edx, [ecx + eax*4]
mov dword [esp], edx
call fcn.004798f0
mov eax, dword [esp + 4]
test eax, eax
jne 0x464559
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
jmp 0x464514
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], edx
call fcn.00464300
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x464514
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
call fcn.00474b60
call fcn.00467430
call fcn.00467430
xor eax, eax
mov ecx, eax
call fcn.00474b20
nop
call fcn.004736a0
jmp fcn.00464300