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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
cmp eax, 1
je 0x4262b0
cmp eax, 2
je 0x4262d0
push eax
push str._bfd_default_link_order
push 0x9d3
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.25_bfd_linker.c
call fcn.00404e20
lea esi, [esi]
mov dword [ebp + 0xc], 0
mov dword [ebp + 8], edi
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00425ea0
mov eax, dword [ebp - 0x44]
test byte [eax + 0x15], 1
je 0x42643a
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov ebx, 1
or ecx, edx
je 0x426430
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x14], ecx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x426453
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x34], 0
ja 0x426329
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x38], edx
jbe 0x4263c6
push esi
push esi
mov ebx, dword [ebp - 0x34]
push ebx
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0040c040
add esp, 0x10
test eax, eax
je 0x426496
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x3c], 1
je 0x4264b0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
neg eax
adc edx, 0
mov ecx, dword [ebp - 0x34]
neg edx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
sbb ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [edi + 0x1c]
push eax
push esi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
add esi, eax
add ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x1c]
adc ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
add eax, ecx
mov edx, dword [ebp - 0x2c]
adc edx, ebx
add esp, 0x10
cmp dword [ebp - 0x2c], edx
jbe 0x42649a
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x20]
jne 0x4264d1
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
sub esp, 0xc
mov eax, dword [ebp - 0x40]
mov ebx, dword [edi + 8]
mov esi, dword [edi + 0xc]
push eax
call fcn.0040aba0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
imul edx, esi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], 0
mul ebx
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 0x54]
add esi, eax
push esi
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.004034a0
mov edx, dword [ebp - 0x14]
add esp, 0x20
mov ebx, eax
cmp dword [edi + 0x1c], edx
je 0x426430
sub esp, 0xc
push edx
call fcn.004a3a08
add esp, 0x10
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
push eax
push 0x9ea
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.25_bfd_linker.c
call fcn.00404610
add esp, 0x10
jmp 0x4262dd
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x84]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x14]
shr eax, 4
and eax, 1
push eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
test eax, eax
sete al
and eax, 0xff
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [edx + 0x2c]
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4263c6
xor ebx, ebx
jmp 0x426430
jb 0x4264a5
cmp dword [ebp - 0x30], eax
ja 0x4263ae
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ebx
jmp 0x426378
mov eax, dword [edi + 0x1c]
mov al, byte [eax]
push edx
mov esi, dword [ebp - 0x38]
and eax, 0xff
push esi
push eax
mov ebx, dword [ebp - 0x14]
push ebx
call sub.msvcrt.dll_memset
add esp, 0x10
jmp 0x4263c6
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [edi + 0x1c]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
jmp 0x4263ba