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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a5fb2
sub esp, 0x74
call fcn.00434ab0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [esp]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
xor ebp, ebp
xor esi, esi
mov edi, ebp
mov dword [esp + 0x28], edi
jmp 0x4a5f41
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ebx, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jge 0x4a5e0c
mov dword [esp + 0x38], ebx
sub ebx, ecx
mov dword [esp + 0x4c], ebx
sar ebx, 0x1f
shr ebx, 0x1f
mov ebp, dword [esp + 0x4c]
add ebx, ebp
sar ebx, 1
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0x34]
cmp ebp, esi
jae 0x4a5fa4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebp
mov ecx, dword [eax + ebp*4]
add ecx, edx
mov dword [esp], ecx
call fcn.004a17f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
call fcn.0044d750
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4a5df7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x4a5d58
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x4a5d58
mov ebx, dword [esp + 0x28]
jmp 0x4a5e2b
mov eax, dword [esp + 0x3c]
inc eax
mov ebp, dword [esp + 0x30]
mov esi, ebx
mov edi, ecx
mov ebx, edx
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x34]
cmp ecx, ebx
jge 0x4a5f1f
jae 0x4a5f9d
mov dword [esp + 0x3c], ecx
mov ebx, dword [eax + ecx*4]
add edx, ebx
mov dword [esp + 0x68], edx
mov dword [esp], edx
call fcn.004a17f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x7c]
cmp eax, edx
jne 0x4a5f1f
mov dword [esp], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0044d600
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a5f1f
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jg 0x4a5ee8
mov ebx, dword [esp + 0x6c]
mov ebp, dword [0xa08230]
lea esi, [ebx + eax*4]
test ebp, ebp
jne 0x4a5ebb
mov ebp, dword [esp + 0x68]
mov dword [ebx + eax*4], ebp
jmp 0x4a5e12
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [esp], esi
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0040f250
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x5c]
jmp 0x4a5e12
lea ebx, [0x7a1120]
mov dword [esp], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00439c80
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
jmp 0x4a5ea2
mov eax, dword [esp + 0x70]
add eax, 0xc
mov ecx, dword [esp + 0x30]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
cmp ebp, ebx
jge 0x4a5f80
mov dword [esp + 0x70], eax
mov ebx, dword [eax + 4]
mov eax, dword [eax]
cmp ebp, ecx
jae 0x4a5fab
mov dword [esp + 0x30], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], eax
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
jmp 0x4a5d76
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
add esp, 0x74
ret
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.0044be50
jmp fcn.004a5d10