Function at 0x140048d30
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 0x140048d82
mov rcx, qword [r8]
mov rdx, rcx
jmp 0x140048d85
mov rdx, r8
mov r14, rcx
mov rax, qword [r8 + 0x10]
add rax, rdx
mov qword [rsp + 0x28], rax
cmp rcx, rax
je 0x140048fdd
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 0x140048eca
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 0x140048e3e
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048e46
mov rcx, rbx
call fcn.1400751e0
movzx r8d, sil
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048e64
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048e6c
mov rcx, rbx
call fcn.1400751e0
movzx r8d, r15b
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048e8a
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048e92
mov rcx, rbx
call fcn.1400751e0
movzx r8d, byte [rsp + 0x80]
add r8, qword [rbp]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048eb5
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048ebd
mov rcx, rbx
call fcn.1400751e0
mov esi, edi
mov rcx, rdi
movzx edx, byte [rsp + 0x8a]
inc r14
cmp r14, qword [rsp + 0x28]
jne 0x140048da0
test esi, esi
je 0x140048fdd
movsxd rax, esi
cmp rax, 3
jge 0x140048f1a
jae 0x140048ff5
mov byte [rsp + rax + 0x88], 0
inc rax
cmp rax, 3
jl 0x140048ee9
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 0x140048fa0
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 0x140048f90
movzx eax, byte [r8]
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x140048f98
mov rcx, rbx
call fcn.1400751e0
inc rdi
cmp rdi, r14
jl 0x140048f70
cmp esi, 3
jge 0x140048fdd
mov byte [rsp + 0x80], 0x3d
mov edi, 3
sub edi, esi
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140048fc7
mov byte [rdx], 0x3d
inc qword [rbx + 8]
jmp 0x140048fd7
lea r8, [rsp + 0x80]
mov rcx, rbx
call fcn.1400751e0
sub rdi, 1
jne 0x140048fb4
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.14012976c
int3