Function at 0x140031748
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov byte [rax + 0x20], r9b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
lea r9, [r8 + 2]
mov r14, rdx
xor r13d, r13d
movabs rax, 0xaaaaaaaaaaaaaaab
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov rbp, r8
mul r9
mov qword [rcx + 0x18], 0xf
mov rbx, rcx
shr rdx, 1
shl rdx, 2
mov byte [rcx], r13b
cmp rdx, 0xf
jbe 0x1400317b7
call fcn.140001cbc
mov qword [rbx + 0x10], r13
test rbp, rbp
je 0x140031a23
mov rdi, r13
mov r15d, 2
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
shr rax, 2
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x140031800
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400317f5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031812
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
lea eax, [r15 - 1]
mov esi, eax
cmp rsi, rbp
jae 0x14003194f
movzx ecx, byte [rdi + r14]
movzx eax, byte [rax + r14]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov r9b, byte [rcx + r12]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140031864
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031859
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031876
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov edi, r15d
cmp rdi, rbp
jae 0x140031912
movzx ecx, byte [rsi + r14]
movzx eax, byte [rdi + r14]
and ecx, 0xf
shr eax, 6
lea eax, [rax + rcx*4]
mov rcx, qword [rbx + 0x10]
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x1400318c3
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400318b8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400318d5
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0x3f
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x140031a00
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031904
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031a12
movzx eax, byte [rsi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0xf
mov r9b, byte [r12 + rax*4]
cmp rcx, qword [rbx + 0x18]
jae 0x1400319c4
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031941
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400319d6
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 3
add rax, rax
mov r9b, byte [r12 + rax*8]
cmp rcx, qword [rbx + 0x18]
jae 0x140031988
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x14003197d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003199a
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400319c1
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400319b9
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400319d6
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400319fd
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400319f5
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140031a12
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
add r15d, 3
lea edi, [r15 - 2]
cmp rdi, rbp
jb 0x1400317c9
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret