Function at 0x465310
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 0x4655af
sub esp, 0x74
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x465405
mov edx, dword [esp + 0x84]
cmp dword [edx], 0xffffffff
je 0x4653b8
mov dword [esp + 0x34], 0
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.004773da
lea ecx, [0x4655c0]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x8c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
mov ebx, dword [esp + 0x88]
dec ebx
mov dword [esp + 0x48], ebx
add ecx, edx
mov dword [esp + 0x58], ecx
xor eax, eax
xor edx, edx
jmp 0x465425
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x8c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add ecx, edx
mov edx, dword [esp + 0x7c]
cmp edx, eax
jg 0x4653d7
mov eax, edx
mov edx, dword [esp + 0x78]
cmp edx, ecx
je 0x4653fa
mov dword [esp + 0x48], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00477ad0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
mov dword [esp + 0x90], 0
add esp, 0x74
ret
mov ebp, dword [esp + 0x44]
inc ebp
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov edx, eax
mov eax, ebp
cmp eax, ebx
jge 0x4654d7
mov dword [esp + 0x44], eax
mov byte [esp + 0x22], dl
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x30], edx
lea ebx, [edx - 1]
mov dword [esp + 0x38], ebx
mov dword [esp], ebx
call fcn.00473770
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004580d0
movzx eax, byte [esp + 8]
test al, al
je 0x4654b3
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.00473c00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
movzx eax, byte [esp + 0x22]
jmp 0x46550f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4654d7
movzx eax, byte [esp + 0x22]
jmp 0x465414
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00458e50
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
movzx eax, byte [esp + 0x23]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x22], al
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00458e20
movzx eax, byte [esp + 8]
test al, al
je 0x4655a5
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.00473cd0
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x23], al
cmp al, 0x16
je 0x46555e
xor ecx, ecx
jmp 0x465577
movzx eax, byte [esp + 0x22]
mov byte [esp], al
call fcn.0045fff0
movzx eax, byte [esp + 4]
mov ecx, eax
movzx eax, byte [esp + 0x23]
test cl, cl
jne 0x4654e6
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
lea ebx, [ecx + 1]
mov dword [esp], ebx
lea edx, [esp + 0x5c]
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x4654e6
jmp 0x4654d7
movzx eax, byte [esp + 0x22]
jmp 0x465414
call fcn.00475ee0
jmp fcn.00465310