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

Disassembly:
push 0x20
mov eax, 0x48ea0f
call fcn.0046791f
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov eax, edi
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x7c], eax
jbe 0x47ab35
mov dl, byte [esi + 0x60]
mov ecx, eax
mov eax, dword [esi + 0x78]
shl ecx, 2
mov ebx, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x28], ebx
test dl, dl
je 0x47aa31
mov dword [ebp - 0x24], 1
jmp 0x47aa36
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
test dl, dl
je 0x47aa41
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x47aa48
mov dword [ebp - 0x18], 1
lea ecx, [ebx + 0x70]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x1c], ecx
jmp 0x47aa83
mov eax, dword [ecx]
dec ebx
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x47aa83
mov dword [ebp - 4], edi
mov ecx, dword [eax]
test ecx, ecx
je 0x47aa72
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 4
push eax
call fcn.0042cc4b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
jne 0x47aa53
mov ebx, dword [ebp - 0x24]
mov dword [ecx + 4], edi
test ebx, ebx
je 0x47aa9e
call fcn.004037a0
mov ecx, dword [ebp - 0x1c]
sub ebx, 1
jne 0x47aa91
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x80]
jmp 0x47aae1
mov eax, dword [ebx + 0x7c]
dec ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x47aae1
mov dword [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x47aad0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 4
push eax
call fcn.0042cc4b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x47aaa9
mov dword [ebx + 0x80], edi
cmp dword [ebp - 0x18], ecx
jbe 0x47ab25
mov esi, dword [ebp - 0x18]
lea ecx, [ebx + 0x7c]
call fcn.004029e4
push 4
call fcn.0042ccd6
mov dword [ebp - 0x2c], eax
pop ecx
mov dword [eax], edi
mov edx, dword [ebx + 0x80]
lea ecx, [edx + 1]
mov dword [ebx + 0x80], ecx
mov ecx, dword [ebx + 0x7c]
mov dword [ecx + edx*4], eax
sub esi, 1
jne 0x47aaf3
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 0x7c]
jb 0x47aa0e
mov ebx, edi
cmp dword [esi + 0x18], ebx
jbe 0x47ac85
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx + ebx*8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], edx
sub ecx, dword [eax + edx*4]
mov al, byte [esi + 0x60]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov byte [ebp - 0xd], al
test al, al
je 0x47ab74
mov esi, dword [ecx + ebx*8 + 4]
mov dword [ebp - 0x24], esi
jmp 0x47ab77
mov dword [ebp - 0x24], edx
test al, al
jne 0x47ab82
mov edx, dword [ecx + ebx*8 + 4]
mov dword [ebp - 0x28], edx
and dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x1c]
test cl, cl
mov esi, eax
cmovne esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
xor esi, esi
test cl, cl
cmovne esi, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + ebx*4]
call fcn.0047dce1
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x47abf3
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x4a1864
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x47ac14
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x4a1864
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x47ac55
test ecx, ecx
je 0x47ac55
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x47ac66
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x47ac77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x47ab40
cmp byte [esi + 0x60], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x47aca5
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.0040382e
jmp 0x47acb4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040382e
cmp dword [esi + 0x24], edi
jbe 0x47ad0c
sub dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edi*4]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
sub ecx, dword [eax + edx*4]
cmp byte [esi + 0x60], 0
mov eax, dword [esi + 0x78]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + edx*4]
je 0x47acf3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
call fcn.0040382e
jmp 0x47ad03
mov ecx, dword [ecx + 0x70]
mov eax, dword [ebp + 8]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040382e
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x47acbc
xor eax, eax
call fcn.004678f9
ret 8