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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a6127
sub esp, 0x50
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.00482440
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x4a611d
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4a6113
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.00480740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4a6109
mov dword [esp + 0x38], eax
mov dword [esp], 0xc
lea eax, [0x52b5b4]
mov dword [esp + 4], eax
call fcn.004245e0
test eax, eax
jne 0x4a60ff
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.0047e140
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x30], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a1bd0
xor eax, eax
jmp 0x4a5f9a
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x4a60f5
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x30]
lea edx, [ecx + eax*8]
mov ebx, dword [edx + 4]
mov dword [esp + 0x24], ebx
mov edx, dword [edx]
mov dword [esp + 0x34], edx
mov ebp, dword [esp + 0x5c]
mov dword [esp], ebp
mov esi, dword [esp + 0x60]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a51d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
movzx edx, byte [esp + 0x10]
test ecx, ecx
jne 0x4a60e0
test dl, dl
je 0x4a5f93
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004a6da0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp ebx, edx
jg 0x4a609c
lea edx, [ecx + 1]
mov dword [esp + 0x74], edx
lea edx, [eax + ecx*8 + 4]
mov dword [edx], esi
mov edx, dword [0x5d3b70]
lea eax, [eax + ecx*8]
test edx, edx
jne 0x4a608b
mov dword [eax], ebp
jmp 0x4a5f93
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040d8c0
jmp 0x4a5f93
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], esi
lea ebp, [0x500ac0]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00436d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x70], eax
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
jmp 0x4a606a
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
nop
call fcn.00424e00
add esp, 0x50
ret
nop
call fcn.00424e00
add esp, 0x50
ret
nop
call fcn.00424e00
add esp, 0x50
ret
nop
call fcn.00424e00
add esp, 0x50
ret
nop
call fcn.00424e00
add esp, 0x50
ret
nop
call fcn.00424e00
add esp, 0x50
ret
call fcn.004486e0
jmp fcn.004a5e80