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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
mov edi, dword [edx + 0x78]
mov dword [ebp - 0x1c], eax
lea eax, [eax*4 + 4]
push eax
push edx
call fcn.00425f30
add esp, 0x10
xor edx, edx
test eax, eax
je 0x47a9b4
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47aaf8
xor ebx, ebx
mov eax, dword [edi + ebx*4]
mov edx, dword [eax + 0xc]
test dh, 4
jne 0x47a8d1
mov ecx, dword [eax + 0x10]
cmp ecx, 0x4af8e8
je 0x47a8d6
test byte [ecx + 0x15], 0x10
jne 0x47a8d6
test dl, 8
jne 0x47a8d1
and edx, 0x82
jne 0x47a8d6
mov dword [esi], eax
add esi, 4
inc ebx
cmp ebx, dword [ebp - 0x1c]
jne 0x47a8a8
xor ebx, ebx
nop
mov edx, dword [edi + ebx*4]
mov eax, dword [edx + 0xc]
test ah, 4
jne 0x47a910
mov ecx, dword [edx + 0x10]
cmp ecx, 0x4af8e8
je 0x47a910
test byte [ecx + 0x15], 0x10
jne 0x47a904
test al, 8
jne 0x47a910
test al, 0x82
je 0x47a910
mov dword [esi], edx
add esi, 4
lea esi, [esi]
inc ebx
cmp ebx, dword [ebp - 0x1c]
jne 0x47a8e0
mov edx, dword [ebp + 8]
mov eax, esi
mov ecx, dword [edx + 0x78]
xor edx, edx
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sar eax, 2
mov dword [ecx], eax
lea esi, [esi]
mov eax, dword [edi + edx*4]
test byte [eax + 0xd], 4
jne 0x47a946
cmp dword [eax + 0x10], 0x4af8e8
je 0x47aa8f
inc edx
cmp dword [ebp - 0x1c], edx
ja 0x47a930
mov eax, dword [ebp + 8]
mov dword [esi], 0
mov dword [ebp - 0x18], 0
xor esi, esi
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
nop
lea esi, [esi]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx + edx*4]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x47a9c0
cmp eax, 4
je 0x47a9c0
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
inc esi
mov ebx, dword [ebp - 0x14]
inc ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
ja 0x47a970
mov edx, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xa0]
mov dword [eax + 8], edx
mov edx, 1
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x47a98b
mov eax, dword [ebp - 0x14]
mov ebx, dword [edi + 0x18]
mov dword [edi + 0x14], eax
test ebx, ebx
je 0x47a991
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x47aa99
cmp byte [ebx + 0x1c], 0x67
je 0x47aab7
mov edx, dword [edi + 0x10]
test edx, edx
je 0x47aa27
test byte [edx + 0x15], 0x10
je 0x47aa27
mov dword [ebx + 0x14], 0
mov eax, dword [edi + 8]
mov dword [ebx + 0x10], eax
xor ecx, ecx
xor edx, edx
lea esi, [esi]
xor eax, eax
inc ecx
mov al, byte [ebx + 0x1d]
mov dword [edx + ebx], esi
inc eax
inc esi
add edx, 0x24
cmp eax, ecx
jg 0x47aa10
jmp 0x47a992
mov eax, dword [edi + 0xc]
and eax, 0x20004
cmp eax, 4
je 0x47aacf
cmp edx, 0x4af8e8
je 0x47aae5
test edx, edx
je 0x47ab0e
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + 0x88]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 8]
mov ecx, dword [eax + 0x38]
add edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x10], edx
mov eax, dword [ecx + 0xa0]
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x47aa06
cmp byte [ebx + 0x1c], 0x14
je 0x47aada
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x1c]
add eax, edx
mov dword [ebx + 0x10], eax
jmp 0x47aa06
mov dword [esi], eax
add esi, 4
jmp 0x47a946
push eax
push eax
push 0x2ff
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_coffgen.c
call fcn.00423990
add esp, 0x10
cmp byte [ebx + 0x1c], 0x67
jne 0x47a9ec
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x47aac4
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], esi
lea ecx, [ebx + 8]
mov dword [ebp - 0x18], ecx
jmp 0x47aa06
mov eax, dword [edi + 8]
mov dword [ebx + 0x10], eax
jmp 0x47aa06
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x20]
jmp 0x47aa85
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
jmp 0x47aa06
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esi], 0
mov dword [eax], 0
jmp 0x47a9a3
push eax
push eax
push 0x2ac
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_coffgen.c
call fcn.00423990
mov dword [ebx + 0x14], 0xffffffff
mov eax, dword [edi + 8]
add esp, 0x10
mov dword [ebx + 0x10], eax
jmp 0x47aa06