Function at 0x45b370
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
and eax, 0x380
cmp ax, 0x180
je 0x45b394
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edx + 0x8c]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x45b38a
mov ecx, edx
mov edx, dword [edx + 0x94]
push esi
push esi
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
push ecx
push edx
call dword [eax + 0x120]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
mov edi, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
add edi, 8
mov dword [ebp - 0x20], eax
mov eax, edx
shl eax, 5
add esp, 0x10
lea eax, [ecx + eax + 8]
cmp edi, eax
jae 0x45b777
mov esi, edi
nop
cmp dword [esi + 0xc], 4
je 0x45b7e0
test byte [esi + 0x1b], 1
jne 0x45b760
mov ecx, dword [esi]
test ecx, ecx
je 0x45b760
mov eax, dword [ebp + 0x10]
test byte [eax + 0x16], 0x10
je 0x45b424
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x45b90a
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x18]
lea eax, [eax + eax*2]
lea edx, [eax*4]
mov eax, dword [ecx]
add edx, eax
mov dword [ecx + 4], edx
cmp edx, dword [ecx + 8]
jae 0x45b44a
mov eax, dword [esi + 0x10]
add eax, 8
cmp dword [edx], eax
je 0x45b45e
push eax
push eax
push 0x552
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_bfd_elf_eh_frame.c
call fcn.00405080
add esp, 0x10
push eax
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [esi + 0x10]
add eax, 8
push eax
call dword [ebp + 0x14]
add esp, 0x10
test eax, eax
sete al
and eax, 0xff
test eax, eax
je 0x45b805
mov edx, dword [ebp + 0xc]
mov al, byte [edx]
and eax, 3
cmp al, 3
je 0x45b82d
dec al
je 0x45b82d
and byte [esi + 0x1b], 0xfd
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xb4]
inc edx
mov dword [eax + 0xb4], edx
mov edx, dword [esi]
mov dword [ebp - 0x18], edx
test byte [edx + 0x1b], 2
je 0x45b754
test byte [edx + 5], 0x20
jne 0x45b89b
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
and byte [edx + 0x1b], 0xfd
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [edx], ecx
je 0x45b754
cmp byte [eax + 0x3c], 0xff
je 0x45b978
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x30]
add edx, 0x30
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x10]
mov ebx, dword [ecx]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [edx + 0x30], 0
mov ecx, dword [ebp - 0x28]
add eax, ebx
mov dword [ecx + 4], 0
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 0x18]
shr ebx, 8
cmp ebx, dword [eax + 0x14]
jae 0x45b8af
lea eax, [ebx + ebx*4]
mov ecx, dword [ebp + 0x18]
lea edx, [eax*4]
mov eax, dword [ecx + 0xc]
add edx, eax
mov al, byte [edx + 0xc]
shr al, 4
jne 0x45b8af
push eax
push eax
mov eax, dword [edx + 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00433480
add esp, 0x10
test eax, eax
je 0x45b754
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x45b56e
mov eax, edx
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x45b754
mov edx, dword [ebp - 0x10]
mov byte [edx + 9], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x34], ebx
mov dword [edx + 0x30], eax
mov edx, dword [ebp + 0xc]
mov al, byte [edx]
and eax, 3
cmp al, 3
je 0x45b59c
dec al
jne 0x45b5d2
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [ecx + 0x3c]
test al, 0x70
jne 0x45b5d2
push eax
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x1b4]
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
push edx
call dword [eax + 0x124]
add esp, 0x10
test eax, eax
je 0x45b5d2
mov ecx, dword [ebp - 0x18]
or byte [ecx + 5], 0xc
push eax
push 0
push 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00470560
add esp, 0xc
push eax
push 1
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call fcn.00470560
mov ebx, dword [ebp - 0x10]
add esp, 0xc
add ebx, 0xa
push eax
push ecx
push ebx
call sub.msvcrt.dll_strlen
pop ecx
inc eax
pop edx
push eax
push ebx
call fcn.00470560
add esp, 0xc
push eax
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x20
push eax
call fcn.00470560
add esp, 0xc
push eax
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x24
push eax
call fcn.00470560
add esp, 0xc
push eax
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x28
push eax
call fcn.00470560
add esp, 0xc
push eax
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
call fcn.00470560
add esp, 0xc
push eax
push 8
mov edx, dword [ebp - 0x28]
push edx
call fcn.00470560
add esp, 0xc
push eax
push 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
mov eax, dword [eax]
add eax, 0x3c
push eax
call fcn.00470560
add esp, 0xc
push eax
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x3c
push eax
call fcn.00470560
add esp, 0xc
push eax
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x3d
push eax
call fcn.00470560
add esp, 0xc
push eax
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x3e
push eax
call fcn.00470560
add esp, 0xc
push eax
push 1
mov eax, dword [ebp - 0x10]
add eax, 0x3f
push eax
call fcn.00470560
add esp, 0xc
push eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 0x3f]
cmp eax, 0x32
ja 0x45b900
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x41
push eax
call fcn.00470560
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
add esp, 0x10
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45b986
push 1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
push eax
push ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xb0]
push eax
call fcn.00470c50
add esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45b754
mov eax, dword [eax]
test eax, eax
je 0x45b9b5
mov ebx, eax
mov eax, dword [ebp - 0x18]
or byte [eax + 0x1b], 2
or byte [eax + 5], 0x20
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x38]
mov dword [edx], eax
test byte [edx + 5], 2
je 0x45b74e
mov eax, dword [ebx + 0x38]
or byte [eax + 5], 2
mov ebx, dword [ebx + 0x38]
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x18]
mov dword [esi], ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
nop
mov eax, edx
mov ecx, dword [ebp - 0x24]
shl eax, 5
add esi, 0x20
lea eax, [ecx + eax + 8]
cmp eax, esi
ja 0x45b3f0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
test eax, eax
je 0x45b799
sub esp, 0xc
push eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x24]
add esp, 0x10
mov dword [eax + 4], 0
mov edx, dword [eax]
mov eax, edx
mov ecx, dword [ebp - 0x24]
shl eax, 5
xor ebx, ebx
lea eax, [ecx + eax + 8]
cmp edi, eax
jb 0x45b7c3
jmp 0x45b80f
mov eax, edx
mov ecx, dword [ebp - 0x24]
shl eax, 5
add edi, 0x20
lea eax, [ecx + eax + 8]
cmp eax, edi
jbe 0x45b80f
test byte [edi + 0x1b], 2
jne 0x45b7b0
mov dword [edi + 0x14], ebx
mov edx, dword [ebp - 0x1c]
mov eax, edi
call fcn.0045a500
add ebx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
jmp 0x45b7b0
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0xa0]
mov al, byte [esi + 0x1b]
test ebx, ebx
setne dl
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [esi + 0x1b], al
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
jmp 0x45b760
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
jmp 0x45b760
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x24]
mov dword [edx + 0x24], ebx
mov dword [edx + 0x28], eax
cmp eax, ebx
setne al
and eax, 0xff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov al, byte [esi + 0x18]
and eax, 0x70
jne 0x45b890
test byte [esi + 0x1b], 8
jne 0x45b49b
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x4b16d8]
cmp eax, 9
mov dword [ecx + 0xb8], 0
jle 0x45b94c
cmp eax, 0xa
jne 0x45b49b
mov ecx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, dword [ecx + 0x18]
push str._P:_Further_warnings_about_FDE_encoding_preventing_.eh_frame_hdr_generation_dropped._n
call dword [eax + 0x2c]
mov ecx, dword [0x4b16d8]
inc ecx
add esp, 0x10
mov dword [0x4b16d8], ecx
jmp 0x45b49b
cmp eax, 0x50
jne 0x45b49b
jmp 0x45b841
mov ecx, dword [edx]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi], ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
jmp 0x45b760
mov edx, dword [ebp + 0x18]
mov eax, ebx
mov ebx, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
sub eax, ebx
mov edx, dword [edx + eax*4]
mov al, byte [edx + 0xc]
sub eax, 6
cmp al, 1
ja 0x45b8dd
lea esi, [esi]
mov edx, dword [edx + 0x14]
mov al, byte [edx + 0xc]
sub eax, 6
cmp al, 1
jbe 0x45b8d0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], edx
push ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
push edx
call fcn.00442170
add esp, 0x10
test eax, eax
jne 0x45b58c
jmp 0x45b5d2
mov eax, 0x32
jmp 0x45b6d8
xor ebx, ebx
mov edx, dword [ebp - 0x1c]
mov bl, byte [esi + 0x18]
mov eax, ebx
shr ebx, 3
call fcn.0045a4a0
mov edx, dword [ebp + 0x10]
mov ecx, eax
mov eax, dword [esi + 0x10]
sub esp, 0xc
add eax, dword [edx + 0x6c]
and ebx, 1
push ebx
lea edx, [ecx + eax + 8]
mov eax, dword [ebp + 8]
call fcn.0045a990
add esp, 0x10
test eax, eax
setne al
and eax, 0xff
jmp 0x45b47b
push ebx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._P:_FDE_encoding_in__B__A__prevents_.eh_frame_hdr_table_being_created._n
call dword [eax + 0x2c]
mov ebx, dword [0x4b16d8]
inc ebx
add esp, 0x10
mov dword [0x4b16d8], ebx
jmp 0x45b49b
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x28], eax
jmp 0x45b5d2
push sub.msvcrt.dll_free
push 0x45b9f0
push 0x45a4f0
push 1
call fcn.00470fd0
mov edx, dword [ebp - 0x20]
add esp, 0x10
test eax, eax
mov dword [edx + 0xb0], eax
jne 0x45b6ff
jmp 0x45b754
sub esp, 0xc
push 0x74
call sub.msvcrt.dll_malloc
add esp, 0x10
test eax, eax
je 0x45b754
mov ebx, eax
push eax
push 0x74
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ecx], ebx
jmp 0x45b74e