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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x464fe5
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x20]
shr eax, 2
test eax, eax
jl 0x464fdf
mov edx, 4
mov ebx, eax
mul edx
jo 0x464fda
mov edx, dword [ecx + 0x1c]
mov ebp, edx
neg edx
cmp eax, edx
ja 0x464fda
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.00465310
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
call fcn.00464ff0
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.00460d70
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 0x464e36
mov dword [esp], edx
mov byte [esp + 4], 2
call fcn.004611c0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov byte [esp + 4], 3
call fcn.004611c0
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.004611f0
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.004611f0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
jmp 0x464f18
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
lea edi, [esp + 0x30]
mov esi, eax
call fcn.004778aa
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.004611f0
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.004611f0
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.004611f0
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.004611f0
mov eax, dword [esp + 0x5c]
add eax, 0x1c
mov ecx, dword [esp + 0x4c]
dec ecx
test ecx, ecx
jg 0x464e89
xor eax, eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
jmp 0x464f37
mov ebp, dword [esp + 0x28]
lea eax, [ebp + 1]
cmp eax, 4
jge 0x464fc1
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x68]
lea edx, [ecx + eax*4]
mov dword [esp], edx
call fcn.0047c470
mov eax, dword [esp + 4]
test eax, eax
jne 0x464f75
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
jmp 0x464f30
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.00464d30
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x464f30
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
call fcn.00467d50
call fcn.00467d50
nop
call fcn.00475ee0
jmp fcn.00464d30