Function at 0x1800116f4
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov r12d, r8d
mov rbx, rcx
xor r8d, r8d
mov dword [rbp - 0x18], r8d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r8
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r8b
mov dword [rbp - 0x18], 1
mov esi, r8d
test r12d, r12d
je 0x18001194f
mov ecx, r8d
lea edi, [r8 + 3]
dec r12d
mov al, byte [rdx]
inc rdx
mov qword [rbp + 0x50], rdx
mov byte [rbp + rcx + 0x58], al
inc esi
inc rcx
mov r13b, byte [rbp + 0x5a]
mov r14b, byte [rbp + 0x59]
mov r15b, byte [rbp + 0x58]
cmp rcx, rdi
jne 0x18001181f
mov al, r15b
shr al, 2
mov byte [rbp + 0x60], al
mov cl, r15b
and cl, dil
shl cl, 4
mov al, r14b
shr al, 4
add cl, al
mov byte [rbp + 0x61], cl
mov cl, r14b
and cl, 0xf
shl cl, 2
mov al, r13b
shr al, 6
add cl, al
mov byte [rbp + 0x62], cl
mov al, r13b
and al, 0x3f
mov byte [rbp + 0x63], al
mov rsi, r8
lea rcx, [0x180095ed0]
cmp qword [0x180095ee8], 0x10
cmovae rcx, qword [0x180095ed0]
movzx eax, byte [rbp + rsi + 0x60]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800117f8
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800117ed
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r8b
jmp 0x18001180c
mov r8b, byte [rbp + 0x58]
mov edx, 1
mov rcx, rbx
call fcn.1800022a4
xor r8d, r8d
inc rsi
cmp rsi, 4
jl 0x1800117ae
mov esi, r8d
mov rcx, r8
mov rdx, qword [rbp + 0x50]
test r12d, r12d
jne 0x180011748
test esi, esi
je 0x18001194f
movsxd rax, esi
cmp rax, rdi
jge 0x180011857
jae 0x180011963
mov byte [rbp + rax + 0x58], r8b
inc rax
cmp rax, rdi
jl 0x180011838
mov r13b, byte [rbp + 0x5a]
mov r14b, byte [rbp + 0x59]
mov r15b, byte [rbp + 0x58]
mov al, r15b
shr al, 2
mov byte [rbp + 0x60], al
and r15b, dil
shl r15b, 4
mov al, r14b
shr al, 4
add r15b, al
mov byte [rbp + 0x61], r15b
and r14b, 0xf
shl r14b, 2
mov al, r13b
shr al, 6
add r14b, al
mov byte [rbp + 0x62], r14b
and r13b, 0x3f
mov byte [rbp + 0x63], r13b
lea eax, [rsi + 1]
movsxd r15, eax
test eax, eax
jle 0x180011905
mov r14, r8
lea rcx, [0x180095ed0]
cmp qword [0x180095ee8], 0x10
cmovae rcx, qword [0x180095ed0]
movzx eax, byte [rbp + r14 + 0x60]
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1800118e9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800118de
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r8b
jmp 0x1800118fd
mov r8b, byte [rbp + 0x58]
mov edx, 1
mov rcx, rbx
call fcn.1800022a4
xor r8d, r8d
inc r14
cmp r14, r15
jl 0x18001189e
cmp esi, edi
jge 0x18001194f
sub edi, esi
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x180011932
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001192a
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x180011949
mov r9b, 0x3d
mov r8b, byte [rbp + 0x58]
mov edx, 1
mov rcx, rbx
call fcn.1800022a4
xor r8d, r8d
sub rdi, 1
jne 0x18001190b
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18003b488
int3