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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a18d8
sub esp, 0x74
mov eax, dword [esp + 0x88]
cmp eax, 0x102
jge 0x4a18a4
mov ecx, dword [esp + 0x78]
test byte [ecx], al
mov edx, dword [ecx + 0xa0044]
mov ebx, dword [ecx + 0xa003c]
mov ebp, dword [esp + 0x7c]
lea esi, [eax + ebp]
cmp esi, edx
ja 0x4a18d1
mov edi, dword [ecx + 0xc]
cmp edi, eax
jge 0x4a189d
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov edi, dword [ecx + 0x10]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x84]
cmp ecx, eax
jl 0x4a1673
sar edi, 2
lea eax, [ecx + ebp]
cmp eax, esi
jae 0x4a18ca
movzx eax, byte [ebx + eax]
cmp ebp, esi
ja 0x4a18c3
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], ebx
sub edx, ebp
mov dword [esp + 0x2c], edx
neg edx
sar edx, 0x1f
and edx, ebp
add edx, ebx
mov dword [esp + 0x70], edx
add ebp, 0xffff8000
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x64], al
mov eax, dword [esp + 0x80]
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], ecx
xor ecx, ecx
mov byte [esp + 0x23], cl
mov dword [esp + 0x54], edx
xor edx, edx
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x5c]
movzx eax, byte [esp + 0x64]
mov edx, dword [esp + 0x54]
jmp 0x4a16fe
mov ebx, dword [esp + 0x30]
dec ebx
mov dword [esp + 0x40], edx
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov edx, dword [esp + 0x70]
mov edi, ebx
mov ebx, dword [esp + 0x6c]
test edi, edi
jle 0x4a188f
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x40]
lea edi, [edx + ecx]
cmp edi, esi
jae 0x4a18bc
movzx edi, byte [ebx + edi]
xchg edi, ebx
cmp al, bl
xchg edi, ebx
je 0x4a1774
movzx edi, byte [esp + 0x23]
cmp edx, ebp
je 0x4a176e
and edx, 0x7fff
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + edx*4 + 0x80034]
mov ebx, dword [ebx + 0xa0034]
sub edx, ebx
cmp edx, ebp
jl 0x4a174f
test edx, edx
jge 0x4a16e5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
xchg edi, eax
mov byte [esp + 0x94], al
xchg edi, eax
add esp, 0x74
ret
mov eax, dword [esp + 0x48]
jmp 0x4a1753
cmp edx, esi
ja 0x4a18b5
mov dword [esp + 0x44], ecx
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x28]
sub eax, edx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebx
mov dword [esp], eax
sub esi, edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
call fcn.004a1a60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jle 0x4a1870
cmp eax, 4
jle 0x4a1841
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x40]
mov ebx, ecx
sub ecx, edx
mov ebp, dword [esp + 0x34]
cmp eax, ebp
jge 0x4a1831
lea esi, [eax + ebx]
mov edi, dword [esp + 0x24]
cmp esi, edi
jae 0x4a18ae
mov ebp, dword [esp + 0x6c]
movzx esi, byte [ebp + esi]
mov dword [esp + 0x4c], eax
mov eax, 1
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ebx, ebp
mov ebp, dword [esp + 0x3c]
movzx edi, byte [esp + 0x23]
mov dword [esp + 0x48], ecx
mov ecx, eax
mov eax, esi
mov esi, dword [esp + 0x24]
jmp 0x4a172a
mov edi, 1
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4a1753
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x40]
mov ebp, edx
sub edx, ebx
cmp edx, 0x1000
jle 0x4a17d8
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
movzx esi, byte [esp + 0x22]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x4a1815
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
movzx esi, byte [esp + 0x22]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
jmp 0x4a1815
mov eax, dword [esp + 0x48]
movzx edi, byte [esp + 0x23]
jmp 0x4a1753
mov edi, eax
jmp 0x4a1657
mov eax, 0x102
jmp 0x4a162b
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.00449fd0
jmp fcn.004a1600