Function at 0x483494
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x8c]
mov edx, dword [eax + 0xb0]
test edx, edx
je 0x4839e4
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x28]
mov dword [ebp - 0x24], ecx
lea ebx, [edx + 8]
mov dword [ebp - 0x28], ebx
mov ecx, dword [edx]
mov eax, ecx
shl eax, 5
lea eax, [edx + eax + 8]
cmp ebx, eax
jae 0x4838b3
nop
cmp dword [ebx + 0xc], 4
je 0x48394c
test byte [ebx + 0x1b], 1
jne 0x48389f
mov eax, dword [ebx + 8]
lea eax, [eax + eax*2]
shl eax, 2
mov edi, dword [ebp + 0x18]
add eax, dword [edi]
mov dword [edi + 4], eax
cmp eax, dword [edi + 8]
jae 0x48350c
mov ecx, dword [ebx + 0x10]
add ecx, 8
cmp dword [eax], ecx
je 0x48352c
mov dword [esp + 4], 0x47f
mov dword [esp], str..._.._bfd_elf_eh_frame.c
mov dword [ebp - 0x38], edx
call fcn.004323ec
mov ecx, dword [ebx + 0x10]
add ecx, 8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [ebp - 0x38], edx
call dword [ebp + 0x14]
test eax, eax
mov edx, dword [ebp - 0x38]
jne 0x48389d
mov ecx, dword [ebp + 0xc]
test byte [ecx], 8
je 0x48359d
movzx eax, byte [ebx + 0x18]
and eax, 0x70
jne 0x483598
mov al, byte [ebx + 0x1b]
test al, 8
jne 0x4835a0
mov esi, dword [ebp - 0x24]
mov dword [esi + 0xac], 0
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], str._P:_fde_encoding_in__B__A__prevents_.eh_frame_hdr_table_being_created._n
mov dword [ebp - 0x38], edx
call dword [eax + 0x2c]
mov al, byte [ebx + 0x1b]
mov edx, dword [ebp - 0x38]
jmp 0x4835a0
cmp eax, 0x50
je 0x48355f
mov al, byte [ebx + 0x1b]
and eax, 0xfffffffd
mov byte [ebx + 0x1b], al
mov edi, dword [ebp - 0x24]
inc dword [edi + 0x98]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov ecx, eax
mov al, byte [eax + 0x1b]
test al, 2
je 0x483898
test byte [ecx + 5], 0x20
jne 0x4839c8
mov edi, dword [ebp - 0x20]
mov esi, dword [edi]
and eax, 0xfffffffd
mov byte [edi + 0x1b], al
mov eax, dword [ebp + 0x10]
mov dword [edi], eax
test esi, esi
je 0x483898
cmp byte [esi + 0x3c], 0xff
je 0x4839d8
mov eax, dword [esi + 0x30]
lea eax, [eax + eax*2]
shl eax, 2
mov edi, dword [ebp + 0x18]
add eax, dword [edi]
lea ecx, [esi + 0x30]
mov dword [ebp - 0x30], ecx
mov dword [esi + 0x30], 0
mov ecx, dword [eax + 4]
shr ecx, 8
cmp ecx, dword [edi + 0x14]
jae 0x483974
lea eax, [ecx + ecx*4]
lea edi, [eax*4]
mov eax, dword [ebp + 0x18]
add edi, dword [eax + 0xc]
mov al, byte [edi + 0xc]
shr al, 4
jne 0x483974
mov eax, dword [edi + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call fcn.00464544
test eax, eax
mov edx, dword [ebp - 0x38]
je 0x483898
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x48365c
mov ecx, eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x483898
mov byte [esi + 9], 1
mov eax, dword [ecx + 0x34]
add eax, dword [edi]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [esi + 0x30], eax
mov edi, dword [ebp + 0xc]
test byte [edi], 8
je 0x4836c4
movzx eax, byte [esi + 0x3c]
test al, 0x70
jne 0x4836c4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x1a8]
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov edi, dword [ebp + 8]
mov dword [esp], edi
mov dword [ebp - 0x38], edx
call dword [eax + 0x110]
test eax, eax
mov edx, dword [ebp - 0x38]
je 0x4836c4
mov eax, dword [ebp - 0x20]
or byte [eax + 5], 0xc
nop
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x34], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], esi
mov dword [ebp - 0x38], edx
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.004905f8
mov dword [ebp - 0x34], eax
lea edi, [esi + 0xa]
mov dword [ebp - 0x2c], edi
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [ebp - 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 4
lea eax, [esi + 0x20]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 4
lea eax, [esi + 0x24]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 4
lea eax, [esi + 0x28]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 4
lea eax, [esi + 0x2c]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 4
mov ecx, dword [ebp - 0x30]
mov dword [esp], ecx
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 4
lea eax, [esi + 0x34]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [esi + 0x3c]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [esi + 0x3d]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [esi + 0x3e]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [esi + 0x3f]
mov dword [esp], eax
call fcn.004905f8
mov dword [esp + 8], eax
movzx eax, byte [esi + 0x3f]
mov dword [esp + 4], eax
lea eax, [esi + 0x41]
mov dword [esp], eax
call fcn.004905f8
mov dword [esi + 4], eax
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x90]
test ecx, ecx
mov edx, dword [ebp - 0x38]
je 0x4839f5
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
mov dword [ebp - 0x38], edx
call fcn.0049022c
mov dword [ebp - 0x30], eax
test eax, eax
mov edx, dword [ebp - 0x38]
je 0x483898
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x483a34
mov esi, dword [ebp - 0x20]
or byte [esi + 0x1b], 2
mov al, byte [esi + 5]
or eax, 0x20
mov byte [esi + 5], al
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0x38]
mov dword [esi], ecx
test al, 2
je 0x48388f
or byte [ecx + 5], 2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebx], ecx
mov ecx, dword [edx]
add ebx, 0x20
mov eax, ecx
shl eax, 5
lea eax, [edx + eax + 8]
cmp ebx, eax
jb 0x4834d8
mov eax, dword [edx + 4]
test eax, eax
je 0x4838cf
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call sub.msvcrt.dll_free
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x94]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x1a8]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call dword [ecx + 0x10c]
mov edi, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
shl eax, 5
lea esi, [edx + eax + 8]
cmp dword [ebp - 0x28], esi
jae 0x4839ee
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov edi, esi
mov esi, dword [ebp - 0x28]
nop
test byte [esi + 0x1b], 2
jne 0x483929
mov dword [esi + 0x14], ebx
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004821a4
add ebx, eax
add esi, 0x20
cmp edi, esi
ja 0x483914
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
cmp ebx, eax
setne al
movzx eax, al
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 0xa0]
test ecx, ecx
setne cl
shl ecx, 1
mov al, byte [ebx + 0x1b]
and eax, 0xfffffffd
or eax, ecx
mov byte [ebx + 0x1b], al
mov ecx, dword [edx]
add ebx, 0x20
jmp 0x4838a2
mov edi, dword [ebp + 0x18]
sub ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0xc]
sub ecx, 6
cmp ecx, 1
ja 0x48399a
nop
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0xc]
sub ecx, 6
cmp ecx, 1
jbe 0x48398c
mov dword [esi + 0x30], eax
mov dword [esp + 8], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call fcn.00475f10
test eax, eax
mov edx, dword [ebp - 0x38]
je 0x4836c4
jmp 0x48367c
mov esi, dword [ecx]
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x20]
mov dword [ebx], ecx
jmp 0x48389d
lea ecx, [esi + 0x30]
mov dword [ebp - 0x30], ecx
jmp 0x4836c4
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
xor ebx, ebx
jmp 0x483930
mov dword [esp + 0xc], sub.msvcrt.dll_free
mov dword [esp + 8], 0x4824d4
mov dword [esp + 4], 0x482198
mov dword [esp], 1
call fcn.0048ff44
mov ecx, eax
mov dword [edi + 0x90], eax
test eax, eax
mov edx, dword [ebp - 0x38]
je 0x483898
mov eax, dword [esi + 4]
jmp 0x48383d
mov dword [esp], 0x74
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x2c], eax
test eax, eax
mov edx, dword [ebp - 0x38]
je 0x483898
mov ecx, 0x1d
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x48388f