Function at 0x140031510
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 0x14003157f
call fcn.140001cbc
mov qword [rbx + 0x10], r13
test rbp, rbp
je 0x1400317eb
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 0x1400315c8
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400315bd
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400315da
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 0x140031717
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 0x14003162c
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031621
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003163e
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.14000193c
mov edi, r15d
cmp rdi, rbp
jae 0x1400316da
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 0x14003168b
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031680
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003169d
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 0x1400317c8
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400316cc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x1400317da
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 0x14003178c
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031709
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x14003179e
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 0x140031750
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031745
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031762
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 0x140031789
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031781
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14003179e
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 0x1400317c5
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x1400317bd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400317da
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 0x140031591
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