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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9308
sub esp, 0x74
mov eax, dword [esp + 0x88]
cmp eax, 0x102
jge 0x4a92d4
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 0x4a9301
mov edi, dword [ecx + 0xc]
cmp edi, eax
jge 0x4a92cd
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 0x4a90a3
sar edi, 2
lea eax, [ecx + ebp]
cmp eax, esi
jae 0x4a92fa
movzx eax, byte [ebx + eax]
cmp ebp, esi
ja 0x4a92f3
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 0x4a912e
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 0x4a92bf
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x40]
lea edi, [edx + ecx]
cmp edi, esi
jae 0x4a92ec
movzx edi, byte [ebx + edi]
xchg edi, ebx
cmp al, bl
xchg edi, ebx
je 0x4a91a4
movzx edi, byte [esp + 0x23]
cmp edx, ebp
je 0x4a919e
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 0x4a917f
test edx, edx
jge 0x4a9115
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 0x4a9183
cmp edx, esi
ja 0x4a92e5
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.004a9490
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jle 0x4a92a0
cmp eax, 4
jle 0x4a9271
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 0x4a9261
lea esi, [eax + ebx]
mov edi, dword [esp + 0x24]
cmp esi, edi
jae 0x4a92de
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 0x4a915a
mov edi, 1
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4a9183
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x40]
mov ebp, edx
sub edx, ebx
cmp edx, 0x1000
jle 0x4a9208
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 0x4a9245
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 0x4a9245
mov eax, dword [esp + 0x48]
movzx edi, byte [esp + 0x23]
jmp 0x4a9183
mov edi, eax
jmp 0x4a9087
mov eax, 0x102
jmp 0x4a905b
call fcn.00425810
ud2
call fcn.00425870
ud2
call fcn.00425810
ud2
call fcn.00425870
ud2
call fcn.00425810
ud2
call fcn.00425870
ud2
call fcn.0044a470
jmp fcn.004a9030