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 0x4a6122
sub esp, 0x74
call fcn.00434bc0
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 0x4a60b1
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 0x4a5f7c
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 0x4a6114
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.004a1960
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.0044db00
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4a5f67
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x4a5ec8
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x4a5ec8
mov ebx, dword [esp + 0x28]
jmp 0x4a5f9b
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 0x4a608f
jae 0x4a610d
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.004a1960
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x7c]
cmp eax, edx
jne 0x4a608f
mov dword [esp], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0044d9b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a608f
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jg 0x4a6058
mov ebx, dword [esp + 0x6c]
mov ebp, dword [0xcc2260]
lea esi, [ebx + eax*4]
test ebp, ebp
jne 0x4a602b
mov ebp, dword [esp + 0x68]
mov dword [ebx + eax*4], ebp
jmp 0x4a5f82
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.0040f360
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x5c]
jmp 0x4a5f82
lea ebx, [0x83d500]
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.0043a030
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 0x4a6012
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 0x4a60f0
mov dword [esp + 0x70], eax
mov ebx, dword [eax + 4]
mov eax, dword [eax]
cmp ebp, ecx
jae 0x4a611b
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 0x4a5ee6
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.00426a70
ud2
call fcn.00426a70
ud2
call fcn.00426a70
ud2
call fcn.0044c200
jmp fcn.004a5e80