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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
push esi
mov ecx, dword [ebx + 8]
push ecx
call dword [eax + 0x54]
pop eax
lea eax, [esi + 4]
pop edx
mov edx, dword [edi + 4]
push eax
mov ecx, dword [ebx]
push ecx
call dword [edx + 0x54]
pop eax
lea eax, [esi + 8]
pop edx
mov edx, dword [edi + 4]
push eax
mov eax, dword [ebx + 4]
push eax
call dword [edx + 0x54]
mov al, byte [ebx + 0xc]
add esp, 0x10
mov byte [esi + 0xc], al
mov al, byte [ebx + 0xd]
mov byte [esi + 0xd], al
mov ecx, dword [ebx + 0x10]
lea eax, [ecx - 0xff00]
cmp eax, 0xfffeffff
ja 0x458edd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x458ef5
push ebx
push ebx
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x10]
push edx
push ecx
call dword [eax + 0x54]
mov ecx, 0xffff
add esp, 0x10
mov eax, dword [edi + 4]
lea edx, [esi + 0xe]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ecx, dword [eax + 0x60]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp ecx
push esi
push str.bfd_elf32_swap_symbol_out
push 0xe0
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_elfcode.h
call fcn.00405b30
lea esi, [esi]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
test ebx, ebx
jne 0x4590c3
mov edx, dword [ebp + 0xc]
test byte [edx + 0x14], 4
je 0x4590c3
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x4590c3
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x4590c3
mov edx, dword [edx + 0x8c]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x4590f9
mov edx, dword [ebx + 0x28]
imul eax, edx
mov dword [ebx + 0x18], eax
push edi
push edi
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.0040a610
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebx + 0x30], eax
test eax, eax
je 0x4590e8
mov eax, dword [ebx + 4]
cmp eax, 4
je 0x4590cb
cmp eax, 9
jne 0x459101
mov dword [ebp - 0x34], 0x457770
mov dword [ebp - 0x30], 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x38], 0
shr eax, 5
test al, 0x42
je 0x458fc0
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4590c3
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x459083
push eax
push eax
lea eax, [ebp - 0x10]
push eax
mov edi, dword [ebp + 8]
push edi
call fcn.00434370
add esp, 0x10
mov edi, eax
test eax, eax
js 0x4590ba
mov eax, dword [esi]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov eax, dword [eax]
mov eax, dword [eax]
test eax, eax
je 0x459033
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
je 0x459033
push ebx
push ebx
push esi
push ecx
call fcn.004355b0
add esp, 0x10
test eax, eax
je 0x4590e8
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x38]
shl edi, 8
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x1c]
movzx eax, byte [eax]
lea eax, [edi + eax]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
push eax
mov eax, dword [ebp - 0x2c]
push eax
push edx
mov edi, dword [ebp + 8]
push edi
call dword [ebp - 0x34]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
inc esi
add esp, 0x10
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x28]
cmp dword [eax + 0x4c], ecx
jbe 0x4590c3
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add ebx, edx
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x48]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
mov ebx, dword [eax]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x24], ebx
je 0x4590e0
cmp dword [ebx + 0x10], 0x484390
jne 0x458fe8
mov edx, dword [ebx + 8]
xor edi, edi
test edx, edx
je 0x45900c
jmp 0x458fe8
mov edx, dword [ebp + 0x10]
mov dword [edx], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x34], 0x4577b0
mov dword [ebp - 0x30], 0xc
jmp 0x458fa3
mov edi, dword [ebp - 0x20]
jmp 0x45900c
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [edx + 0x3c]
jmp 0x458f5a
push ebx
push str.bfd_elf32_write_relocs
push 0x390
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_elfcode.h
call fcn.00405b30
lea esi, [esi]
lea edi, [edi]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x110
lea ebx, [ebp - 0x8c]
mov eax, dword [ebp + 8]
push eax
push 0x34
push ebx
call fcn.00410060
add esp, 0x10
cmp eax, 0x34
jne 0x4591f0
cmp byte [ebp - 0x8c], 0x7f
je 0x459178
sub esp, 0xc
push 3
call fcn.00405d50
mov dword [ebp - 0x10c], 0
add esp, 0x10
mov eax, dword [ebp - 0x10c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp - 0x8b], 0x45
jne case.0x4594d6.0
cmp byte [ebp - 0x8a], 0x4c
jne case.0x4594d6.0
cmp byte [ebp - 0x89], 0x46
jne case.0x4594d6.0
cmp byte [ebp - 0x86], 1
jne case.0x4594d6.0
cmp byte [ebp - 0x88], 1
jne case.0x4594d6.0
mov al, byte [ebp - 0x87]
cmp al, 1
je 0x4591fe
cmp al, 2
jne case.0x4594d6.0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c], eax
mov eax, dword [eax + 0xc]
test eax, eax
jne case.0x4594d6.0
sub esp, 0xc
mov ecx, dword [ebp - 0x10c]
mov edi, dword [ebp + 8]
push edi
call dword [ecx + 0x78]
add esp, 0x10
test eax, eax
jne 0x459216
mov dword [ebp - 0x10c], 0
jmp 0x45916a
call fcn.00404fd0
dec eax
jne case.0x4594d6.0
jmp 0x4591dd
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [ebp - 0x10c], edx
cmp dword [edx + 0xc], 1
jne case.0x4594d6.0
jmp 0x4591c6
mov esi, dword [ebp + 8]
mov edx, ebx
mov eax, dword [ebp + 8]
mov esi, dword [esi + 0xa0]
mov ecx, esi
mov dword [ebp - 0xfc], esi
call fcn.00457a60
mov ecx, dword [esi + 0x24]
cmp cx, 4
je case.0x4594d6.0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x45924f
cmp cx, 1
je case.0x4594d6.0
mov edi, dword [ebp - 0xfc]
cmp dword [edi + 0x34], 0x28
je 0x459266
mov esi, dword [edi + 0x38]
test esi, esi
jne case.0x4594d6.0
test eax, eax
jne 0x45927b
mov eax, dword [ebp - 0xfc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jne case.0x4594d6.0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
mov dword [ebp - 0xf4], eax
mov ebx, eax
mov eax, dword [eax + 0x17c]
cmp byte [eax + 0xa], 0x20
jne case.0x4594d6.0
mov edi, dword [ebp - 0xfc]
mov esi, ebx
mov ebx, dword [ebx + 8]
mov ax, word [edi + 0x26]
and eax, 0xffff
cmp ebx, eax
je 0x4592ed
mov edx, dword [esi + 0x174]
mov dword [ebp - 0x110], edx
test edx, edx
je 0x4592cb
cmp eax, edx
je 0x4592ed
mov esi, dword [ebp - 0xf4]
mov esi, dword [esi + 0x178]
mov dword [ebp - 0x110], esi
test esi, esi
je 0x4592e5
cmp eax, esi
je 0x4592ed
test ebx, ebx
jne case.0x4594d6.0
cmp cx, 2
je 0x4594ed
cmp cx, 3
jne 0x459309
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
or dh, 8
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0xfc]
mov edi, dword [edx + 0x30]
test edi, edi
je 0x459325
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x28]
or esi, 0x2000
mov dword [ecx + 0x28], esi
push ebx
mov ebx, dword [ebp - 0xf4]
push 0
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
push ecx
push edx
call fcn.0040d8b0
add esp, 0x10
test eax, eax
je 0x4594dd
mov esi, dword [ebp - 0xf4]
mov eax, dword [esi + 8]
test eax, eax
je 0x45936c
mov edi, dword [ebp - 0xfc]
xor eax, eax
mov edx, dword [esi + 0xc]
mov al, byte [edi + 7]
cmp eax, edx
je 0x45936c
test edx, edx
jne case.0x4594d6.0
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x459608
mov edi, dword [ebp - 0xfc]
mov edx, dword [edi + 0x38]
test edx, edx
je 0x4594fe
cmp edx, 0x4924924
ja case.0x4594d6.0
lea eax, [edx*8]
shl edx, 6
sub edx, eax
push eax
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.0040a610
add esp, 0x10
mov dword [ebp - 0xf8], eax
test eax, eax
je 0x4591dd
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + 0xa0]
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0x214], ecx
mov ebx, dword [edx + 0xa0]
push eax
push eax
mov eax, ecx
shl eax, 2
push eax
push edx
call fcn.0040a610
add esp, 0x10
mov dword [ebx + 0x40], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4591dd
lea eax, [ebp - 0xc8]
mov ecx, 0xe
cld
mov esi, eax
mov edi, dword [ebp - 0xf8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x459456
mov edx, dword [ebp - 0xf8]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x40]
mov dword [eax + ecx*4], edx
inc ecx
add edx, 0x38
cmp ecx, dword [ebp - 0xe4]
jne 0x45943b
mov esi, dword [ebp - 0xfc]
mov eax, dword [esi + 0x38]
cmp eax, 1
jbe 0x459813
mov edi, dword [ebp - 0xf8]
mov dword [ebp - 0xd4], 1
add edi, 0x38
mov dword [ebp - 0xd8], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push edi
push esi
push 0x28
push eax
call fcn.00410060
add esp, 0x10
cmp eax, 0x28
jne 0x4591dd
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 8]
call fcn.00457370
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x1c]
cmp dword [ebp - 0xe4], edx
ja 0x45976f
mov ebx, dword [ebp - 0xf4]
cmp dword [ebx + 8], 0x3e
ja case.0x4594d6.0
mov eax, dword [ebx + 8]
jmp dword [eax*4 + 0x4a4a2c]
mov eax, dword [ebx + 8]
test eax, eax
je 0x45936c
jmp 0x4591dd
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x28]
or ecx, 0x40
mov dword [edi + 0x28], ecx
jmp 0x459309
mov esi, dword [ebp - 0xfc]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne case.0x4594d6.0
mov edi, dword [ebp - 0xfc]
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4598ae
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
mov dword [eax + 0x44], 0
mov ebx, dword [ebp - 0xfc]
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x45959a
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x45959a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x214]
mov dword [ebp - 0xdc], eax
cmp eax, 1
jbe 0x459583
mov ebx, 1
push eax
push eax
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.004411f0
add esp, 0x10
test eax, eax
je 0x4591dd
inc ebx
cmp ebx, dword [ebp - 0xdc]
jne 0x459563
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00440300
add esp, 0x10
test eax, eax
je case.0x4594d6.0
mov edi, dword [ebp - 0xf4]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4595bb
sub esp, 0xc
mov edi, dword [ebp + 8]
push edi
call eax
add esp, 0x10
test eax, eax
je case.0x4594d6.0
mov eax, dword [ebp - 0xfc]
push esi
push esi
mov ecx, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
push ebx
push ecx
call fcn.004050b0
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 0x64]
add esp, 0x10
test ebx, ebx
je 0x45916a
mov edx, dword [ebx + 0x8c]
mov eax, dword [edx + 4]
cmp eax, 9
je 0x459978
cmp eax, 4
je 0x459978
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x4595e1
jmp 0x45916a
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xec]
push 0
push eax
mov eax, dword [ebp - 0xf0]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004106a0
add esp, 0x10
test eax, eax
jne 0x4591dd
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push eax
push edi
push 0x28
push ecx
call fcn.00410060
add esp, 0x10
cmp eax, 0x28
jne 0x4591dd
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 8]
call fcn.00457370
mov ebx, dword [ebp - 0xfc]
mov esi, dword [ebx + 0x38]
test esi, esi
jne 0x459692
mov eax, dword [ebp - 0xb0]
mov dword [ebx + 0x38], eax
cmp eax, 0xfffffeff
ja case.0x4594d6.0
test eax, eax
je case.0x4594d6.0
mov esi, dword [ebp - 0xfc]
cmp dword [esi + 0x3c], 0xffff
je 0x459894
mov edi, dword [ebp - 0xfc]
cmp dword [edi + 0x30], 0xffff
je 0x459872
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 0x38]
mov edx, 0x38
cmp eax, 1
je 0x4593a6
cmp eax, 0x4924924
ja case.0x4594d6.0
lea eax, [eax + eax*4]
xor edx, edx
mov ecx, dword [ebp - 0xfc]
lea eax, [eax*8 - 0x28]
add eax, dword [ebp - 0xf0]
adc edx, dword [ebp - 0xec]
cmp dword [ecx + 0x18], eax
jae case.0x4594d6.0
mov ebx, dword [ebp + 8]
push 0
push edx
push eax
push ebx
call fcn.004106a0
add esp, 0x10
test eax, eax
jne 0x4591dd
mov edx, dword [ebp + 8]
lea ebx, [ebp - 0x58]
push ecx
push edx
push 0x28
push ebx
call fcn.00410060
add esp, 0x10
cmp eax, 0x28
jne 0x4591dd
mov esi, dword [ebp - 0xfc]
push 0
xor edx, edx
mov eax, dword [esi + 0x18]
push edx
add eax, 0x28
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004106a0
add esp, 0x10
test eax, eax
je 0x45937d
jmp 0x4591dd
lea eax, [edx - 0xff00]
cmp eax, 1
ja case.0x4594d6.0
mov esi, dword [ebp - 0xd8]
mov edx, dword [esi + 8]
test dl, 0x40
jne 0x459858
mov eax, dword [esi + 4]
cmp eax, 4
je 0x459858
cmp eax, 9
je 0x459858
mov ecx, dword [ebp - 0xd8]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x4597e2
and edx, 2
je 0x4597e2
cmp dword [ecx + 4], 8
je 0x4597e2
mov eax, dword [ecx + 0xc]
xor edx, edx
sub eax, dword [ecx + 0x10]
mov esi, dword [ebp - 0xf4]
sbb edx, dword [ecx + 0x14]
mov ecx, dword [esi + 0x14]
xor ebx, ebx
push ebx
push ecx
push edx
push eax
call fcn.0047df30
add esp, 0x10
mov edi, edx
or edi, eax
je 0x4597e2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
and dh, 0xdf
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xfc]
inc eax
mov edi, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
add edi, 0x38
mov eax, dword [edx + 0x38]
mov dword [ebp - 0xd8], edi
cmp eax, dword [ebp - 0xd4]
ja 0x459481
test eax, eax
je 0x4594fe
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0xfc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [ebx + 0x3c]
cmp eax, dword [edx + 0x214]
jb 0x45950f
mov dword [ebx + 0x3c], 0
push esi
push esi
mov ebx, dword [ecx]
push ebx
push str.warning:__s_has_a_corrupt_string_table_index___ignoring
call dword [0x484500]
add esp, 0x10
jmp 0x45950f
mov eax, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xe4]
cmp edi, dword [eax + 0x20]
ja 0x459796
jmp case.0x4594d6.0
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4596b8
mov dword [edi + 0x30], eax
cmp eax, dword [ebp - 0xa8]
jne case.0x4594d6.0
jmp 0x4596b8
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x3c], eax
cmp eax, dword [ebp - 0xac]
jne case.0x4594d6.0
jmp 0x4596a5
cmp eax, 0x7ffffff
ja case.0x4594d6.0
shl eax, 5
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0xa0]
push edx
push edx
push eax
push ecx
call fcn.0040a610
mov dword [ebx + 0x44], eax
mov ebx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4591dd
mov esi, dword [ebp - 0xfc]
push 0
xor edx, edx
mov eax, dword [esi + 0x14]
push edx
push eax
push ebx
call fcn.004106a0
add esp, 0x10
test eax, eax
jne 0x4591dd
mov eax, dword [ebx + 0xa0]
mov ebx, dword [eax + 0x44]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x459530
mov dword [ebp - 0xe0], 0
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x30]
push esi
push 0x20
push edi
call fcn.00410060
add esp, 0x10
cmp eax, 0x20
jne 0x4591dd
mov edx, dword [ebp + 8]
push ecx
push ebx
push edi
push edx
call fcn.00457530
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xfc]
inc eax
add esp, 0x10
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
cmp dword [edx + 0x30], ecx
jbe 0x459530
add ebx, 0x20
jmp 0x459926
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4595fc
mov edi, dword [ebp + 8]
push edx
push edx
push eax
push edi
call fcn.00433480
add esp, 0x10
test eax, eax
je 0x4595fc
test byte [eax + 0x15], 0x20
je 0x4595fc
mov esi, dword [ebx + 0x14]
or esi, 0x2000
mov dword [ebx + 0x14], esi
jmp 0x4595fc