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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], 0xffffffff
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
mov ecx, dword [eax + 0x78]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], 0
cmp dword [esi + 0x28], 0
je 0x4a8d22
mov eax, esp
push dword [esi]
push str.index__q
push eax
call fcn.00428090
add esp, 0xc
mov eax, dword [esp + 4]
test eax, eax
je 0x4a8c8e
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0
cmp dword [esp + 0xc], 0
je 0x4a8c8e
test byte [esp + 0x15], 4
jne 0x4a8c8e
mov ecx, esp
call fcn.0043f820
mov edi, eax
jmp 0x4a8c92
mov edi, dword [esp + 4]
movzx eax, word [esi + 0x37]
and eax, 3
xor ebx, ebx
cmp ax, 2
setne bl
shl ebx, 9
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4a8cd1
cmp dword [ecx + 0x74], 0
jne 0x4a8cc2
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x4a8cc2
mov byte [ecx + 0x17], 1
mov ecx, dword [esp + 0x18]
call fcn.004346f0
mov ecx, dword [esp + 0x18]
mov esi, eax
add ebx, 0x613
mov eax, dword [esp + 0x1c]
cmp eax, 2
jne 0x4a8cf0
mov eax, dword [ecx + 0x74]
test eax, eax
cmove eax, ecx
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov edx, 0x46
push 0xfffffffffffffffa
push edi
push 0
push eax
push ebx
call fcn.00493a50
add esp, 0x14
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a8d1a
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 2
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
cmp word [esi + 0x32], 0
je 0x4a8c65
xor edi, edi
mov dword [esp + 0x20], ebx
jmp 0x4a8d5a
mov ecx, esp
mov edx, ebp
push eax
call fcn.00428370
add esp, 4
inc edi
movzx eax, word [esi + 0x32]
cmp edi, eax
jae 0x4a8c65
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
movsx ecx, word [ecx + edi*2]
lea ecx, [ecx + ecx*2]
mov ebp, dword [eax + ecx*4]
test edi, edi
je 0x4a8da1
mov eax, dword [esp + 0x10]
lea ecx, [eax + 2]
cmp ecx, dword [esp + 8]
jae 0x4a8d90
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov word [ecx + eax], 0x202c
jmp 0x4a8da1
mov ecx, esp
mov edx, 0x5326d9
push 2
call fcn.00428370
add esp, 4
mov esi, dword [ebx]
test esi, esi
mov dword [esp + 0x24], ebp
je 0x4a8df0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + eax]
cmp ebp, ebx
jae 0x4a8dfe
test eax, eax
je 0x4a8ea5
mov dword [esp + 0x10], ebp
add ecx, dword [esp + 4]
push eax
push esi
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
jmp 0x4a8e13
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp ebp, ebx
jb 0x4a8e13
mov ecx, esp
mov edx, esi
push eax
call fcn.00428370
add esp, 4
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x10]
lea eax, [ebp + 1]
cmp eax, ebx
jae 0x4a8e30
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov byte [eax + ebp], 0x2e
jmp 0x4a8e41
mov ecx, esp
mov edx, 0x52a839
push 1
call fcn.00428370
add esp, 4
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4a8e90
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
and eax, 0x3fffffff
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax]
cmp edx, dword [esp + 8]
jae 0x4a8d40
test eax, eax
je 0x4a8d4d
mov dword [esp + 0x10], edx
add ecx, dword [esp + 4]
push eax
push ebp
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
jmp 0x4a8d4d
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, dword [esp + 8]
jae 0x4a8d40
jmp 0x4a8d4d
mov ebp, ecx
jmp 0x4a8e13