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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9feb
sub esp, 0x74
mov eax, dword [esp + 0x88]
cmp eax, 0x102
jge 0x4a9fb7
mov ecx, dword [esp + 0x78]
test byte [ecx], al
mov edx, dword [ecx + 0xa003c]
mov ebx, dword [ecx + 0xa0044]
mov ebp, dword [esp + 0x7c]
lea esi, [eax + ebp]
cmp esi, ebx
ja 0x4a9fe4
mov edi, dword [ecx + 0xc]
cmp edi, eax
jge 0x4a9fb0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov edi, dword [ecx + 0x10]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x84]
cmp ecx, eax
jl 0x4a9d83
sar edi, 2
lea eax, [ecx + ebp]
cmp eax, esi
jae 0x4a9fdd
movzx eax, byte [eax + edx]
cmp ebp, esi
ja 0x4a9fd6
mov dword [esp + 0x24], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x28], ebx
sub ebx, ebp
mov dword [esp + 0x30], ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
add ebx, edx
mov dword [esp + 0x70], ebx
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 0x4a9e0e
mov edx, dword [esp + 0x34]
dec edx
mov dword [esp + 0x40], ebx
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov ebx, dword [esp + 0x70]
mov edi, edx
mov edx, dword [esp + 0x6c]
test edi, edi
jle 0x4a9fa2
mov dword [esp + 0x34], edi
mov ebx, dword [esp + 0x40]
lea edi, [ebx + ecx]
cmp edi, esi
jae 0x4a9fcf
movzx edi, byte [edi + edx]
xchg edi, ebx
cmp al, bl
xchg edi, ebx
je 0x4a9e84
movzx edi, byte [esp + 0x23]
cmp ebx, ebp
je 0x4a9e7e
and ebx, 0x7fff
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + ebx*4 + 0x80034]
mov edx, dword [edx + 0xa0034]
sub ebx, edx
cmp ebx, ebp
jl 0x4a9e5f
test ebx, ebx
jge 0x4a9df5
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 0x4a9e63
cmp ebx, esi
ja 0x4a9fc8
mov dword [esp + 0x44], ecx
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x28]
sub eax, ebx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, edx
mov dword [esp], eax
sub esi, ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
call fcn.004aa170
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jle 0x4a9f83
cmp eax, 4
jle 0x4a9f54
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x40]
mov ebx, ecx
sub ecx, edx
mov ebp, dword [esp + 0x38]
cmp eax, ebp
jge 0x4a9f44
lea esi, [eax + ebx]
mov edi, dword [esp + 0x24]
cmp esi, edi
jae 0x4a9fc1
mov ebp, dword [esp + 0x6c]
movzx esi, byte [esi + ebp]
mov dword [esp + 0x4c], eax
mov eax, 1
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ebx, edx
mov ebp, dword [esp + 0x3c]
movzx edi, byte [esp + 0x23]
mov dword [esp + 0x48], ecx
mov ecx, eax
mov edx, dword [esp + 0x6c]
mov eax, esi
mov esi, dword [esp + 0x24]
jmp 0x4a9e3a
mov edi, 1
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4a9e63
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x40]
mov ebp, edx
sub edx, ebx
cmp edx, 0x1000
jle 0x4a9ee8
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 0x4a9f24
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 0x4a9f24
mov eax, dword [esp + 0x48]
movzx edi, byte [esp + 0x23]
jmp 0x4a9e63
mov edi, eax
jmp 0x4a9d67
mov eax, 0x102
jmp 0x4a9d3b
call fcn.00425900
ud2
call fcn.00425960
ud2
call fcn.00425900
ud2
call fcn.00425960
ud2
call fcn.00425900
ud2
call fcn.00425960
ud2
call fcn.0044a1d0
jmp fcn.004a9d10