Function at 0x140031d6c
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 0x140031ddb
call fcn.140001cb8
mov qword [rbx + 0x10], r13
test rbp, rbp
je 0x140032047
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 0x140031e24
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031e19
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031e36
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001938
lea eax, [r15 - 1]
mov esi, eax
cmp rsi, rbp
jae 0x140031f73
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 0x140031e88
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031e7d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031e9a
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001938
mov edi, r15d
cmp rdi, rbp
jae 0x140031f36
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 0x140031ee7
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031edc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031ef9
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001938
movzx eax, byte [rdi + r14]
mov rcx, qword [rbx + 0x10]
and eax, 0x3f
mov r9b, byte [rax + r12]
cmp rcx, qword [rbx + 0x18]
jae 0x140032024
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031f28
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140032036
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 0x140031fe8
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031f65
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031ffa
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 0x140031fac
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031fa1
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x140031fbe
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001938
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140031fe5
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140031fdd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140031ffa
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001938
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140032021
cmp qword [rbx + 0x18], 0x10
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jb 0x140032019
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140032036
mov r9b, 0x3d
mov r8b, byte [rsp + 0x68]
mov edx, 1
mov rcx, rbx
call fcn.140001938
add r15d, 3
lea edi, [r15 - 2]
cmp rdi, rbp
jb 0x140031ded
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