Function at 0x48e43a
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0xf0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x1c0]
mov rcx, qword [rbp + 0x10]
call rax
mov qword [rbp - 0x38], rax
cmp qword [rbp - 0x38], 0
jne 0x48e482
mov eax, 0
jmp 0x48e7e4
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 8]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp - 0x7c]
mov r8, qword [rbp + 0x10]
mov edx, 4
mov rcx, rax
call fcn.00491c57
cmp rax, 4
je 0x48e4d3
call fcn.00412d51
cmp eax, 1
je 0x48e4c9
mov ecx, 0xa
call fcn.00412d5d
mov eax, 0
jmp 0x48e7e4
mov rax, qword [fcn.00419301]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x7c]
mov rcx, rax
call fcn.00419301
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x40]
sub rax, rdx
sub rax, 4
mov qword [rbp - 0x10], rax
movabs rax, 0xfffffffffffffff
cmp qword [rbp - 0x50], rax
jbe 0x48e523
mov eax, 0
jmp 0x48e7e4
mov rax, qword [rbp - 0x50]
shl rax, 4
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x50]
shl rax, 2
mov qword [rbp - 0x60], rax
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x10]
add rax, rdx
add rax, 1
cmp qword [rbp - 0x58], rax
jb 0x48e55a
mov eax, 0
jmp 0x48e7e4
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x10]
add rax, rdx
add rax, 1
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0041b199
mov rdx, rax
mov rax, qword [rbp - 0x30]
mov qword [rax + 0x18], rdx
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x48e597
mov eax, 0
jmp 0x48e7e4
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0x18]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp - 0x58]
add rax, rdx
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x60]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0041b03f
mov qword [rbp - 0x68], rax
cmp qword [rbp - 0x68], 0
je 0x48e7ca
mov rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
mov r8, qword [rbp + 0x10]
mov rcx, rax
call fcn.00491c57
cmp qword [rbp - 0x60], rax
jne 0x48e609
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov r8, qword [rbp + 0x10]
mov rcx, rax
call fcn.00491c57
cmp qword [rbp - 0x10], rax
je 0x48e626
call fcn.00412d51
cmp eax, 1
je 0x48e7b7
mov ecx, 0xa
call fcn.00412d5d
jmp 0x48e7b7
mov dword [rbp - 0x1c], 0
jmp 0x48e6a4
mov eax, dword [rbp - 0x1c]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x68]
add rax, rdx
mov qword [rbp - 0x70], rax
mov rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x48]
mov rcx, rdx
call rax
mov rdx, rax
mov rax, qword [rbp - 0x18]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 8]
mov qword [rax], rdx
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov rcx, rax
call fcn.004d92e0
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x10]
jae 0x48e68b
add qword [rbp - 0x28], 1
mov rax, qword [rbp - 0x28]
add qword [rbp - 8], rax
mov rax, qword [rbp - 0x28]
sub qword [rbp - 0x10], rax
add qword [rbp - 0x18], 0x10
add dword [rbp - 0x1c], 1
mov eax, dword [rbp - 0x1c]
cmp qword [rbp - 0x50], rax
jbe 0x48e6b8
cmp qword [rbp - 0x10], 0
jne 0x48e62f
mov rax, qword [rbp - 8]
mov byte [rax], 0
mov rax, qword [rbp - 0x50]
mov edx, eax
mov rax, qword [rbp - 0x30]
mov dword [rax + 0x20], edx
mov rcx, qword [rbp + 0x10]
call fcn.00491e8c
mov rdx, rax
mov rax, qword [rbp - 0x30]
mov qword [rax], rdx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
cqo
shr rdx, 0x3f
add rax, rdx
and eax, 1
sub rax, rdx
lea rdx, [rcx + rax]
mov rax, qword [rbp - 0x30]
mov qword [rax], rdx
mov rax, qword [rbp + 0x10]
movzx edx, byte [rax + 0x43]
or edx, 0xffffff80
mov byte [rax + 0x43], dl
mov rax, qword [rbp - 0x68]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0041b28d
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
mov r8d, 0
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0049202d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x1c0]
mov rcx, qword [rbp + 0x10]
call rax
mov qword [rbp - 0x78], rax
cmp qword [rbp - 0x78], 0
je 0x48e7b0
mov rax, qword [rbp - 0x78]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp al, 0x2f
jne 0x48e7a4
mov rax, qword [rbp - 0x78]
mov rax, qword [rax]
add rax, 1
movzx eax, byte [rax]
cmp al, 0x20
jne 0x48e7a4
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
mov rdx, rax
mov rax, qword [rbp - 0x78]
mov rax, qword [rax + 8]
add rax, 0x3d
and eax, 0xfffffffe
add rax, rdx
mov rdx, rax
mov rax, qword [rbp - 0x30]
mov qword [rax], rdx
mov rax, qword [rbp - 0x78]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 1
jmp 0x48e7e4
nop
mov rax, qword [rbp - 0x68]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0041b28d
jmp 0x48e7cb
nop
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.0041b28d
mov eax, 0
add rsp, 0xa0
pop rbp
ret