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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
test edi, edi
je 0x487d6b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
mov esi, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x64]
test esi, esi
je 0x487924
mov ebx, dword [edi + 0x60]
xor ecx, ecx
jmp 0x4877e8
mov eax, dword [eax + 0x1c]
add eax, dword [edx + 0x38]
cmp dword [ebx + ecx*4], eax
jne 0x4877f7
inc ecx
mov edx, dword [edx + 0xc]
cmp ecx, esi
je 0x487924
mov eax, dword [edx + 0x3c]
test eax, eax
jne 0x4877d1
mov eax, dword [edx + 0x1c]
cmp dword [ebx + ecx*4], eax
je 0x4877dc
push eax
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004846c0
add esp, 0xc
push 0x84
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0x10
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x38], edx
test eax, eax
jne 0x487af1
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x487d5e
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 8], edi
sete bl
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.004876c0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x487c9e
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x14], edi
test eax, eax
je 0x48798a
mov eax, dword [ecx + 0x64]
mov dword [ebp - 0x2c], eax
cmp eax, 0
jne 0x487a7e
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x64]
test ebx, ebx
jne 0x4878b7
jmp 0x487910
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x487910
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4878c8
cmp ebx, eax
je 0x4878c8
test byte [ebx + 0x15], 0x20
je 0x4878b0
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x4878b0
mov edx, dword [ebx]
mov dword [ebp - 0x44], edx
push eax
push eax
mov edi, dword [ebp - 0x30]
push edi
push edx
call sub.msvcrt.dll_strcmp
add esp, 0x10
mov edx, 1
test eax, eax
jne 0x487a9c
test byte [ebx + 0x14], 1
je 0x4878fe
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x24], eax
je 0x487902
test edx, edx
je 0x4878b0
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebx + 0xc]
inc esi
test ebx, ebx
mov dword [ebp - 0x2c], esi
jne 0x4878b7
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0x24], edx
je 0x487b48
mov dword [ebp - 0x24], edx
jmp 0x48789f
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x64], 0xffffffff
mov eax, dword [ecx + 0x14]
cmp dword [ebp + 8], eax
je 0x48798a
mov ecx, dword [ebp + 8]
mov ebx, dword [eax + 0x64]
mov esi, dword [ecx + 0x64]
test esi, esi
je 0x48798a
test ebx, ebx
je 0x48798a
test byte [ebx + 0x15], 0x20
jne 0x48798a
push eax
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
push eax
call sub.msvcrt.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x487980
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov esi, dword [esi + 0xc]
mov ebx, dword [ebx + 0xc]
test esi, esi
jne 0x487950
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.004876c0
test eax, eax
je 0x487a41
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x10], 0
test edi, edi
je 0x4879d2
nop
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x10]
mov ecx, edx
mov eax, dword [edx + 0x24]
mov edx, dword [ebp + 0x10]
add esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
call fcn.004876c0
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4879b0
sub esp, 0xc
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0042d1f0
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
test eax, eax
mov dword [ecx + 0x34], eax
je 0x487a74
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.004876c0
mov ebx, eax
test eax, eax
je 0x487aba
mov esi, dword [eax + 0x24]
test esi, esi
je 0x487a3d
mov ecx, dword [ebp + 0x14]
push ecx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x34]
add eax, edx
push eax
push ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048bf70
add esp, 0x10
test eax, eax
je 0x487a74
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x10], eax
mov ecx, ebx
jmp 0x4879f8
mov edi, dword [ebp - 0x40]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x10]
push eax
add edx, 0x18
mov eax, dword [ebp - 0x3c]
add eax, 0x34
push eax
push 0
push 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
call fcn.00484a30
add esp, 0x10
test eax, eax
jne 0x487aba
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ecx + 0x68]
jle 0x48798a
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
add ecx, 8
dec dword [ebp - 0x2c]
mov dword [edx + 0x1c], eax
jne 0x487a87
jmp 0x48798a
mov eax, str..gnu.linkonce.wi.
mov ecx, 0x11
cld
mov edi, eax
mov esi, dword [ebp - 0x44]
repe cmpsb byte [esi], byte es:[edi]
sete al
xor edx, edx
mov dl, al
jmp 0x4878f0
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x10]
xor ecx, ecx
mov eax, dword [edx + 0x34]
mov dword [edx + 0xc], eax
add eax, edi
mov dword [edx + 0x10], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.004876c0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x1c], eax
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
shl eax, 2
sub esp, 0xc
push eax
call fcn.0042d1f0
add esp, 0x10
mov ebx, eax
mov dword [edi + 0x60], eax
test eax, eax
je 0x487a74
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x6c]
mov edx, dword [edi + 0x64]
test esi, esi
je 0x487836
xor ecx, ecx
jmp 0x487b39
mov eax, dword [eax + 0x1c]
mov edi, dword [edx + 0x38]
add eax, edi
mov dword [ebx + ecx*4], eax
inc ecx
mov edx, dword [edx + 0xc]
cmp ecx, esi
je 0x487836
mov eax, dword [edx + 0x3c]
test eax, eax
jne 0x487b22
mov eax, dword [edx + 0x1c]
mov dword [ebx + ecx*4], eax
jmp 0x487b2d
cmp dword [ebp - 0x2c], 1
jle 0x487931
sub esp, 0xc
mov eax, dword [ebp - 0x2c]
shl eax, 3
push eax
call fcn.0042d1f0
add esp, 0x10
test eax, eax
je 0x487a74
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x64], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx + 0x64]
test ebx, ebx
jne 0x487bab
jmp 0x487c32
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x487c32
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x487bbc
cmp ebx, eax
je 0x487bbc
test byte [ebx + 0x15], 0x20
je 0x487ba0
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
jne 0x487ba0
mov edi, dword [ebx]
mov dword [ebp - 0x44], edi
push edx
push edx
mov eax, dword [ebp - 0x30]
push eax
push edi
call sub.msvcrt.dll_strcmp
add esp, 0x10
mov edx, 1
test eax, eax
jne 0x487c68
test byte [ebx + 0x14], 1
je 0x487bf2
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x20], eax
je 0x487bf6
test edx, edx
je 0x487ba0
mov esi, dword [ebx + 0x28]
test esi, esi
jne 0x487c00
mov esi, dword [ebx + 0x24]
test edx, edx
je 0x487c49
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x487c85
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x1c], edx
add edx, esi
mov dword [ebp - 0x38], edx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx + 0x1c]
mov dword [edi], ebx
mov dword [edi + 4], eax
mov ebx, dword [ebx + 0xc]
add edi, 8
mov dword [ebp - 0x28], edi
test ebx, ebx
jne 0x487bab
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 0x20]
je 0x48793e
mov dword [ebp - 0x20], eax
jmp 0x487b8f
mov ecx, dword [ebx + 0x40]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x34]
lea edx, [eax + ecx - 1]
neg eax
and edx, eax
add esi, edx
mov dword [ebx + 0x1c], edx
mov dword [ebp - 0x34], esi
jmp 0x487c16
mov eax, str..gnu.linkonce.wi.
mov esi, edi
cld
mov edi, eax
mov ecx, 0x11
repe cmpsb byte [esi], byte es:[edi]
sete al
xor edx, edx
mov dl, al
jmp 0x487be4
push eax
push eax
push 0xd1c
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_dwarf2.c
call fcn.00423990
add esp, 0x10
jmp 0x487c0b
test bl, bl
je 0x48786a
push eax
push eax
push str._tmp_1eae88c9a08db201fbda56a2564c836f_lib_debug
mov edi, dword [ebp + 8]
push edi
call fcn.00425cb0
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x487a74
push esi
push esi
push 0
push eax
call fcn.00426740
add esp, 0x10
mov dword [ebp + 0xc], eax
test eax, eax
je 0x487d48
mov ecx, dword [eax + 0x28]
or ecx, 0x100000
mov dword [eax + 0x28], ecx
push edx
push edx
push 1
push eax
call fcn.00427120
add esp, 0x10
test eax, eax
je 0x487d39
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
call fcn.004876c0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x487d39
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042f2e0
add esp, 0x10
test eax, eax
je 0x487d39
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x78]
mov dword [edx + 0x80], 1
mov dword [ebp + 0x14], eax
mov dword [edx + 0x38], eax
jmp 0x48786a
sub esp, 0xc
mov esi, dword [ebp + 0xc]
push esi
call fcn.004267e0
add esp, 0x10
sub esp, 0xc
push ebx
call fcn.004ae988
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov bl, 1
mov dword [ebp + 0xc], ecx
jmp 0x487852
push eax
push eax
push 0x84
mov eax, dword [ebp + 8]
push eax
call fcn.00426020
add esp, 0x10
test eax, eax
je 0x487a74
mov dword [ebp - 0x3c], eax
jmp 0x487819