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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a19fc
sub esp, 0x74
call fcn.0045bf70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp]
mov dword [esp + 0x58], edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4a1821
mov eax, dword [esp + 0x70]
add eax, 0xc
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
cmp ebx, ecx
jge 0x4a186f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x70], eax
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov edx, dword [edx + ebx*4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
jmp 0x4a18a4
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x6c]
jmp 0x4a180b
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
add esp, 0x74
ret
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jle 0x4a1929
mov dword [esp + 0x38], eax
sub eax, ebx
sar eax, 1
mov dword [esp + 0x4c], eax
lea esi, [eax + ebx]
mov dword [esp + 0x48], esi
mov edi, dword [ecx + esi*4]
nop
add edi, edx
mov dword [esp], edi
call fcn.0049f650
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
call fcn.00402780
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4a1903
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
jmp 0x4a1888
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
lea ecx, [edx + ecx + 1]
mov eax, dword [esp + 0x38]
jmp 0x4a1888
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov edx, dword [esp + 0x5c]
mov ebp, ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x4a180b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov eax, dword [ecx + ebx*4]
nop
add eax, edx
mov dword [esp + 0x68], eax
mov dword [esp], eax
call fcn.0049f650
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 8], ecx
jne 0x4a1861
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a185d
mov ecx, dword [esp + 0x44]
inc ecx
mov edx, dword [esp + 0x40]
cmp edx, ecx
jb 0x4a199b
mov edi, dword [esp + 0x6c]
mov esi, edx
jmp 0x4a19cd
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6b2f00]
mov dword [esp + 0x10], eax
call fcn.00447800
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [0xa43e50]
lea ebx, [edi + ecx*4 - 4]
test edx, edx
jne 0x4a19e8
mov eax, dword [esp + 0x68]
mov dword [edi + ecx*4 - 4], eax
jmp 0x4a1918
mov eax, dword [esp + 0x68]
mov edx, edi
mov edi, ebx
call fcn.0045f670
mov edi, edx
jmp 0x4a1918
call fcn.0045e260
jmp fcn.004a17d0