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

Disassembly:
mov ecx, dword [0x52fb9c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4610df
sub esp, 0x74
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x460f35
mov edx, dword [esp + 0x84]
cmp dword [edx], 0xffffffff
je 0x460ee8
mov dword [esp + 0x34], 0
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.004703ba
lea ecx, [0x4610f0]
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 0x460f55
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 0x460f07
mov eax, edx
mov edx, dword [esp + 0x78]
cmp edx, ecx
je 0x460f2a
mov dword [esp + 0x48], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00470ab0
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 0x461007
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.0046cb60
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.00453c00
movzx eax, byte [esp + 8]
test al, al
je 0x460fe3
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.0046cff0
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 0x46103f
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 0x461007
movzx eax, byte [esp + 0x22]
jmp 0x460f44
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.00454980
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.00454950
movzx eax, byte [esp + 8]
test al, al
je 0x4610d5
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.0046d0c0
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x23], al
cmp al, 0x16
je 0x46108e
xor ecx, ecx
jmp 0x4610a7
movzx eax, byte [esp + 0x22]
mov byte [esp], al
call fcn.0045bb20
movzx eax, byte [esp + 4]
mov ecx, eax
movzx eax, byte [esp + 0x23]
test cl, cl
jne 0x461016
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 0x461016
jmp 0x461007
movzx eax, byte [esp + 0x22]
jmp 0x460f44
call fcn.0046eed0
jmp fcn.00460e40