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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
test byte [eax + 0x29], 8
jne 0x45fe54
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x34], edx
and edx, 0x800000
je 0x45fe54
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x45fe72
cmp word [ebp - 0x34], 0
js 0x45fe72
mov esi, dword [edi + 0x78]
test esi, esi
je 0x45fe72
test byte [ebp - 0x34], 4
jne 0x45fe72
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x28], eax
mov eax, esi
mov cl, byte [ebp - 0x28]
shr eax, cl
test eax, eax
jne 0x45fd62
lea eax, [esi - 1]
test eax, esi
jne 0x45fe72
test dword [ebp - 0x34], 0x1000000
je 0x45fe72
mov eax, 1
mov cl, byte [ebp - 0x28]
shl eax, cl
cmp esi, eax
ja 0x45fe69
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x45fe7f
mov ebx, eax
jmp 0x45fd8f
mov ebx, dword [ebx]
test ebx, ebx
je 0x45fe7f
mov eax, dword [ebx + 4]
test eax, eax
je 0x45fd85
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0x14]
xor eax, ecx
test eax, 0x1800000
jne 0x45fd85
cmp esi, dword [edx + 0x78]
jne 0x45fd85
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [edx + 0x40]
jne 0x45fd85
mov eax, dword [edx + 0x3c]
cmp eax, dword [edi + 0x3c]
jne 0x45fd85
mov eax, dword [ebp - 0x20]
add eax, 0x17
test dword [ebp - 0x34], 0x1000000
je 0x45fdd1
mov ecx, dword [edi + 0x78]
add eax, ecx
mov esi, dword [ebp + 8]
push edx
push edx
push eax
push esi
call fcn.0040a610
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov esi, eax
test eax, eax
mov dword [ecx], eax
je 0x45fe47
mov eax, dword [ebx + 4]
test eax, eax
je 0x45ff69
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], esi
mov dword [esi + 8], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 4], edi
mov dword [esi + 0x10], 0
mov dword [edi + 0x28], eax
test byte [edi + 0x17], 1
jne 0x45ff4d
lea eax, [esi + 0x14]
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov eax, dword [edi + 0x94]
push eax
call fcn.0040fe00
add esp, 0x10
test eax, eax
jne 0x45fe72
mov edx, dword [ebp + 0x14]
xor eax, eax
mov dword [edx], 0
jmp 0x45fe77
push ebx
push str._bfd_add_merge_section
push 0x172
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_merge.c
call fcn.00405b30
dec eax
test eax, esi
je 0x45fd74
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
push eax
mov eax, dword [ebp + 8]
push 0xc
push eax
call fcn.0040a610
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x45fe47
mov edx, dword [ebp + 0xc]
mov ebx, eax
sub esp, 0xc
mov eax, dword [edx]
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov dword [edx], ebx
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x78]
mov dword [ebp - 0x30], eax
push 0x30
mov dword [ebp - 0x24], edx
call fcn.0040eae0
add esp, 0x10
mov esi, eax
test eax, eax
je 0x45ff23
push 0x413b
push 0x20
push 0x45ff70
push eax
call fcn.0040f290
add esp, 0x10
test eax, eax
je 0x45ff32
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x30]
and eax, 0x1000000
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x24]
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], edx
mov dword [esi + 0x24], 0
mov edx, dword [edi + 0x14]
mov dword [ecx + 8], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], edx
jmp 0x45fdbd
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 0
jmp 0x45fe47
sub esp, 0xc
push esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
mov dword [ecx + 8], 0
jmp 0x45fe47
add eax, 0x10
push ecx
mov edx, dword [edi + 0x78]
lea eax, [esi + eax + 4]
push edx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
jmp 0x45fe28
mov dword [esi], esi
jmp 0x45fdff