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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x47be4b
mov ebx, dword [edx + 0x64]
test ebx, ebx
je 0x47be4b
sub esp, 0xc
mov ecx, dword [ebx]
push ecx
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, 8
jbe 0x47be44
mov edx, dword [ebp - 0x10]
add eax, edx
inc eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x47be28
mov ecx, dword [ebp + 8]
push 0
mov eax, dword [ecx + 0xa0]
mov edi, dword [eax + 0x14]
push edi
mov esi, dword [eax + 0x10]
push esi
push ecx
call fcn.00423710
add esp, 0x10
test eax, eax
jne 0x47c0cc
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], 0
test ebx, ebx
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x3c], eax
je 0x47c145
mov dword [ebp - 0x44], 0
jmp 0x47bedd
cmp eax, 4
je 0x47beef
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push edi
push edx
call fcn.0047bbd0
add esp, 0x20
test eax, eax
je 0x47c0cc
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], edx
je 0x47c145
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov edi, dword [edx]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
cmp eax, 2
jne 0x47be93
mov ecx, dword [edx + 0xa0]
test ecx, ecx
je 0x47be98
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x47be98
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x1b4]
mov eax, dword [eax + 0xa0]
test eax, eax
je 0x47bf94
sub esp, 0xc
push 0x479650
call fcn.004238f0
mov ebx, eax
mov eax, dword [edi + 0x18]
add esp, 0x10
mov eax, dword [eax + 0x20]
test eax, eax
je 0x47c12c
mov edx, dword [ebp + 8]
push eax
push eax
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x1b4]
mov eax, dword [edi + 0x18]
add eax, 8
push eax
mov eax, dword [ebp + 8]
push eax
call dword [edx + 0xa0]
mov dword [esp], ebx
mov esi, eax
call fcn.004238f0
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
add esp, 0x10
mov dword [ebp - 0x34], ecx
test al, al
jns 0x47c0d6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
cmp dword [eax + 0x58], 1
sbb eax, eax
and eax, 0x16
add eax, 0x69
mov byte [ecx + 0x1c], al
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [edi + 0x1c]
mov eax, dword [ecx + 0xa0]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x47bfad
test byte [eax + 1], 2
je 0x47bfc4
mov eax, dword [edi + 0x10]
cmp eax, 0x4af990
je 0x47bfc4
cmp dword [eax + 0x3c], 0x4af990
je 0x47c1dd
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x47c113
test ebx, ebx
je 0x47c0a4
mov ecx, dword [edi + 0x20]
test ecx, ecx
jne 0x47c0a4
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x94]
test edx, edx
je 0x47c0a4
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov edx, dword [ebp - 0x34]
cmp byte [edx + 0x1d], 0
je 0x47c014
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x80]
mov dword [edx + 0x34], eax
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
mov dword [ebp - 0x38], 1
test eax, eax
je 0x47c04e
add ebx, 0x10
mov ecx, dword [edi + 0x10]
mov eax, dword [esi + 4]
mov edx, dword [ecx + 0x3c]
add eax, dword [edx + 0x1c]
mov edx, dword [ecx + 0x38]
add eax, edx
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov esi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x38], esi
mov esi, ebx
add ebx, 8
test eax, eax
jne 0x47c028
mov eax, dword [edi + 0x10]
mov dword [edi + 0x20], 1
mov ecx, dword [eax + 0x3c]
cmp ecx, 0x4af990
je 0x47c0a4
cmp ecx, 0x4af8e8
je 0x47c0a4
cmp ecx, 0x4af840
je 0x47c0a4
cmp ecx, 0x4afa38
je 0x47c0a4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 0x38]
mov eax, dword [eax + 0x1b4]
mov ebx, dword [eax + 0x40]
imul edx, ebx
mov dword [ebp - 0x38], edx
xor edx, edx
mov eax, dword [ebp - 0x38]
add dword [ecx + 0x80], eax
adc dword [ecx + 0x84], edx
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
mov edx, edi
mov eax, dword [ebp + 8]
call fcn.0047b630
add esp, 0x10
test eax, eax
jne 0x47bec1
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test al, 1
je 0x47c0f1
cmp esi, 3
je 0x47c0f1
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x1c], 3
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x34], edx
jmp 0x47bf94
test al, 2
je 0x47bf94
test esi, esi
je 0x47c2e6
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x1c], 2
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x34], edx
jmp 0x47bf94
push esi
push esi
push 0x49e
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_coffgen.c
call fcn.00423990
add esp, 0x10
jmp 0x47bfd2
push eax
push eax
push 0x50c
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_coffgen.c
call fcn.00423990
add esp, 0x10
jmp 0x47bf39
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xa0]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x47c1e9
mov edx, dword [ebp + 8]
push ecx
push ecx
lea ebx, [ebp - 0x20]
mov eax, dword [edx + 4]
push ebx
push 4
call dword [eax + 0x54]
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 4
push ebx
call fcn.00423500
add esp, 0x10
cmp eax, 4
jne 0x47c0cc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47c349
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x47c1bf
mov ecx, dword [edx + 0x40]
mov ebx, 1
shl ebx, cl
or ecx, 0xffffffff
lea esi, [ebx + eax - 1]
cmp eax, esi
jbe 0x47c353
cmp ecx, dword [edx + 0x24]
je 0x47c349
push eax
push eax
push 0x5a2
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_coffgen.c
call fcn.00423990
mov eax, 1
add esp, 0x10
jmp 0x47c0ce
mov dword [edi + 4], 0x4d552e
jmp 0x47bec1
push edi
push edi
mov edx, dword [ecx + 4]
add eax, 4
lea ebx, [ebp - 0x20]
push ebx
push eax
call dword [edx + 0x54]
add esp, 0xc
mov esi, dword [ebp + 8]
push esi
push 4
push ebx
call fcn.00423500
add esp, 0x10
cmp eax, 4
jne 0x47c0cc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x47c35e
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
test eax, eax
mov edi, dword [ecx + 0x78]
je 0x47c18b
mov dword [ebp - 0x30], 0
jmp 0x47c279
cmp eax, 4
je 0x47c299
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
cmp dword [eax + 0x58], 1
sbb eax, eax
and eax, 8
cmp eax, ebx
jb 0x47c2ca
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
inc ebx
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x30], eax
je 0x47c18b
add edi, 4
mov esi, dword [edi]
sub esp, 0xc
mov eax, dword [esi + 4]
push eax
call sub.msvcrt.dll_strlen
mov edx, dword [esi]
mov ebx, eax
add esp, 0x10
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
cmp eax, 2
jne 0x47c245
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x47c24a
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x47c24a
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x47c2f8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x1b4]
cmp dword [eax + 0x58], 1
sbb eax, eax
and eax, 8
cmp eax, ebx
jae 0x47c263
inc ebx
push eax
mov eax, dword [ebp + 8]
push eax
push ebx
mov esi, dword [esi + 4]
push esi
call fcn.00423500
add esp, 0x10
cmp eax, ebx
je 0x47c263
jmp 0x47c0cc
mov ecx, dword [ebp - 0x34]
cmp byte [ecx + 0x1c], 0x7f
jne 0x47bf94
jmp 0x47c101
mov edx, dword [ebp + 8]
push eax
push eax
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x1b4]
lea eax, [ecx + 8]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [edx + 0x8c]
add esp, 0x10
test eax, eax
jne 0x47c263
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x1c], 0x67
jne 0x47c2b1
cmp byte [eax + 0x1d], 0
je 0x47c2b1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x1b4]
mov edx, dword [eax + 0x58]
test edx, edx
jne 0x47c3a9
mov eax, dword [eax + 0x44]
jmp 0x47c25f
mov eax, 1
jmp 0x47c0ce
mov ecx, ebx
neg ecx
and ecx, esi
jmp 0x47c1b6
mov esi, dword [edx + 0x64]
test esi, esi
jne 0x47c37b
jmp 0x47c22b
mov esi, dword [esi + 0xc]
test esi, esi
je 0x47c22b
sub esp, 0xc
mov edi, dword [esi]
push edi
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, 8
jbe 0x47c370
lea ebx, [eax + 1]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
call fcn.00423500
add esp, 0x10
cmp ebx, eax
je 0x47c370
jmp 0x47c0cc
push eax
push ecx
push 6
push str..file
call fcn.00423500
add esp, 0x10
cmp eax, 6
jne 0x47c0cc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
jmp 0x47c341