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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
test byte [ecx + 0x15], 1
je 0x413d30
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
mov edx, dword [edi + 0x94]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x18], edx
test eax, eax
je 0x413d20
mov eax, dword [ebp - 0x24]
cmp dword [edi + 0x3c], eax
je 0x413ba2
push eax
push eax
push 0xa24
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00405080
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x38]
cmp eax, dword [edx + 8]
je 0x413bc1
push eax
push eax
push 0xa25
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00405080
add esp, 0x10
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x24]
cmp eax, dword [edx + 0xc]
je 0x413be0
push eax
push eax
push 0xa26
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00405080
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov al, byte [edx]
and eax, 3
cmp al, 2
je 0x413dc2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x413d50
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x14]
and eax, 0x2100000
cmp eax, 0x2000000
je 0x413cc4
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 0x28]
cmp ebx, eax
jae 0x413c1d
mov ebx, eax
sub esp, 0xc
push ebx
call fcn.0040eae0
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413e60
push eax
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
push eax
mov edx, dword [ebp - 0x20]
mov al, byte [edx]
and eax, 3
cmp al, 2
sete al
and eax, 0xff
push eax
mov eax, dword [ebp - 0x14]
push eax
mov esi, dword [ebp + 8]
push esi
push edx
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004051b0
add esp, 0x20
mov esi, eax
test eax, eax
je 0x413ca0
sub esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [edi + 0x38]
push ecx
call fcn.0040d7d0
imul eax, ebx
pop ecx
pop edx
mov edx, dword [edi + 0x24]
push edx
xor edx, edx
push edx
push eax
push esi
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004048c0
add esp, 0x20
test eax, eax
jne 0x413e10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x413e68
sub esp, 0xc
mov edi, dword [ebp - 0x14]
push edi
call sub.msvcrt.dll_free
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x413c11
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x2b], 0x40
je 0x413e72
mov edx, dword [ebp - 0x24]
mov esi, dword [edx + 0x6c]
test esi, esi
je 0x413eb8
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x413c6b
push eax
push eax
push 0xa79
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00405080
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x413c6b
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
push edx
push edx
push 0xa1d
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00405080
add esp, 0x10
jmp 0x413b6c
sub esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call fcn.00413450
add esp, 0x10
test eax, eax
je 0x413e68
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
cmp esi, eax
jb 0x413da3
jmp 0x413bfb
mov eax, dword [ebx + 0x10]
cmp eax, 0x4842e8
je 0x413dae
test byte [eax + 0x15], 0x10
jne 0x413dae
cmp eax, 0x484438
je 0x413dae
add esi, 4
cmp dword [ebp - 0x10], esi
jbe 0x413bfb
mov ebx, dword [esi]
test dword [ebx + 0xc], 0x3882
je 0x413d80
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x413e34
test edx, edx
je 0x413d97
mov eax, ebx
call fcn.00412ed0
jmp 0x413d97
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x413bf0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x413bf0
push edi
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov esi, dword [eax]
push esi
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov ebx, dword [eax]
push ebx
push str.Attempt_to_do_relocatable_link_with__s_input_and__s_output
call dword [0x484500]
mov dword [esp], 3
call fcn.00405d50
xor eax, eax
add esp, 0x10
jmp 0x413cbc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x413d20
sub esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_free
mov eax, 1
add esp, 0x10
jmp 0x413cbc
cmp dword [ebx + 0x10], 0x4842e8
je 0x413e95
sub esp, 0xc
push 1
push 0
push 0
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
push eax
call fcn.00413390
add esp, 0x20
mov edx, eax
jmp 0x413db5
test ebx, ebx
je 0x413c34
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
push ecx
push ecx
push 1
push 0
push 0
push 0x4986b7
push edx
push eax
call fcn.004048c0
add esp, 0x20
test eax, eax
jne 0x413cdc
xor eax, eax
jmp 0x413e6a
push eax
push eax
push 1
push 0
push 0
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00413990
add esp, 0x20
mov edx, eax
jmp 0x413db5
push eax
push eax
push 0xa78
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_linker.c
call fcn.00405080
add esp, 0x10
jmp 0x413cea