Function at 0x140048b50
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov rbp, rcx
xor edi, edi
mov dword [rsp + 0x24], edi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rdi
mov dword [rsp + 0x24], 1
mov esi, edi
mov rcx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140048ba2
mov rcx, qword [r8]
mov rdx, rcx
jmp 0x140048ba5
mov rdx, r8
mov r14, rcx
mov rax, qword [r8 + 0x10]
add rax, rdx
mov qword [rsp + 0x28], rax
cmp rcx, rax
je 0x140048dfd
mov rcx, rdi
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x88], al
inc esi
inc rcx
movzx edx, byte [rsp + 0x8a]
movzx r12d, byte [rsp + 0x89]
movzx r13d, byte [rsp + 0x88]
cmp rcx, 3
jne 0x140048cea
movzx eax, r13b
shr al, 2
movzx r8d, al
mov byte [rsp + 0x20], r8b
movzx esi, r13b
and sil, cl
shl sil, 4
movzx eax, r12b
shr al, 4
add sil, al
mov byte [rsp + 0x21], sil
movzx r15d, r12b
and r15b, 0xf
shl r15b, 2
movzx eax, dl
shr al, 6
add r15b, al
mov byte [rsp + 0x22], r15b
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x80], al
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048c5e
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048c66
mov rcx, rbx
call fcn.1400749b0
movzx r8d, sil
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048c84
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048c8c
mov rcx, rbx
call fcn.1400749b0
movzx r8d, r15b
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048caa
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048cb2
mov rcx, rbx
call fcn.1400749b0
movzx r8d, byte [rsp + 0x80]
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048cd5
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048cdd
mov rcx, rbx
call fcn.1400749b0
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x8a]
inc r14
cmp r14, qword [rsp + 0x28]
jne 0x140048bc0
test esi, esi
je 0x140048dfd
movsxd rax, esi
cmp rax, 3
jge 0x140048d3a
jae 0x140048e15
mov byte [rsp + rax + 0x88], 0
inc rax
cmp rax, 3
jl 0x140048d09
movzx edx, byte [rsp + 0x8a]
movzx r12d, byte [rsp + 0x89]
movzx r13d, byte [rsp + 0x88]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x20], al
and r13b, 3
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rsp + 0x21], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, dl
shr al, 6
add r12b, al
mov byte [rsp + 0x22], r12b
and dl, 0x3f
mov byte [rsp + 0x23], dl
lea eax, [rsi + 1]
movsxd r14, eax
test eax, eax
jle 0x140048dc0
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsp + rdi + 0x20]
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048db0
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048db8
mov rcx, rbx
call fcn.1400749b0
inc rdi
cmp rdi, r14
jl 0x140048d90
cmp esi, 3
jge 0x140048dfd
mov byte [rsp + 0x80], 0x3d
mov edi, 3
sub edi, esi
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048de7
mov byte [rdx], 0x3d
inc qword [rbx + 8]
jmp 0x140048df7
lea r8, [rsp + 0x80]
mov rcx, rbx
call fcn.1400749b0
sub rdi, 1
jne 0x140048dd4
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140127dec
int3