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

Disassembly:
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x461dbf
sub esp, 0x74
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x461c15
mov edx, dword [esp + 0x84]
cmp dword [edx], 0xffffffff
je 0x461bc8
mov dword [esp + 0x34], 0
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.004719ba
lea ecx, [0x461dd0]
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 0x461c35
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 0x461be7
mov eax, edx
mov edx, dword [esp + 0x78]
cmp edx, ecx
je 0x461c0a
mov dword [esp + 0x48], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
shl eax, 2
mov dword [esp + 8], eax
call fcn.004720b0
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 0x461ce7
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.0046e150
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.004548e0
movzx eax, byte [esp + 8]
test al, al
je 0x461cc3
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.0046e5e0
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 0x461d1f
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 0x461ce7
movzx eax, byte [esp + 0x22]
jmp 0x461c24
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.00455660
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.00455630
movzx eax, byte [esp + 8]
test al, al
je 0x461db5
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.0046e6b0
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x23], al
cmp al, 0x16
je 0x461d6e
xor ecx, ecx
jmp 0x461d87
movzx eax, byte [esp + 0x22]
mov byte [esp], al
call fcn.0045c800
movzx eax, byte [esp + 4]
mov ecx, eax
movzx eax, byte [esp + 0x23]
test cl, cl
jne 0x461cf6
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 0x461cf6
jmp 0x461ce7
movzx eax, byte [esp + 0x22]
jmp 0x461c24
call fcn.004704c0
jmp fcn.00461b20