Function at 0x180192ea0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x24], esi
mov r14, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x180192ecb
mov r14, qword [rdx]
mov r15d, dword [rdx + 0x10]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x24], 1
mov ebp, esi
test r15d, r15d
je 0x180193273
mov rcx, rsi
movzx ebx, byte [rsp + 0x80]
dec r15d
movzx eax, byte [r14]
lea r14, [r14 + 1]
mov byte [rsp + rcx + 0x98], al
inc ebp
inc rcx
movzx r8d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
cmp rcx, 3
jne 0x18019310e
movzx eax, r13b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x20], cl
movzx ebp, r13b
and bpl, 3
shl bpl, 4
movzx eax, r12b
shr al, 4
add bpl, al
movzx edx, r12b
and dl, 0xf
shl dl, 2
movzx eax, r8b
shr al, 6
add dl, al
mov byte [rsp + 0x88], dl
movzx eax, r8b
and al, 0x3f
mov byte [rsp + 0x90], al
lea rax, [0x180a57cb0]
cmp qword [0x180a57cc8], 0xf
cmova rax, qword [0x180a57cb0]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180192fd1
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180192fc6
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180192fe2
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180043320
lea rcx, [0x180a57cb0]
cmp qword [0x180a57cc8], 0xf
cmova rcx, qword [0x180a57cb0]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18019302e
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180193023
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18019303f
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180043320
lea rbp, [0x180a57cb0]
mov rcx, rbp
cmp qword [0x180a57cc8], 0xf
cmova rcx, qword [0x180a57cb0]
movzx eax, byte [rsp + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180193092
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180193087
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1801930a3
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180043320
mov rcx, rbp
cmp qword [0x180a57cc8], 0xf
cmova rcx, qword [0x180a57cb0]
movzx eax, byte [rsp + 0x90]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1801930ef
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1801930e4
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180193100
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180043320
mov ebp, esi
mov rcx, rsi
movzx r8d, byte [rsp + 0x9a]
test r15d, r15d
jne 0x180192f02
test ebp, ebp
je 0x180193273
movsxd rax, ebp
cmp rax, 3
jge 0x18019315a
jae 0x180193287
mov byte [rsp + rax + 0x98], 0
inc rax
cmp rax, 3
jl 0x180193128
movzx r8d, byte [rsp + 0x9a]
movzx r12d, byte [rsp + 0x99]
movzx r13d, byte [rsp + 0x98]
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, r8b
shr al, 6
add r12b, al
mov byte [rsp + 0x22], r12b
and r8b, 0x3f
mov byte [rsp + 0x23], r8b
lea eax, [rbp + 1]
movsxd r14, eax
test eax, eax
jle 0x180193216
movzx ebx, byte [rsp + 0x80]
nop
lea rcx, [0x180a57cb0]
cmp qword [0x180a57cc8], 0xf
cmova rcx, qword [0x180a57cb0]
movzx eax, byte [rsp + rsi + 0x20]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1801931fd
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1801931f2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18019320e
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180043320
inc rsi
cmp rsi, r14
jl 0x1801931b0
cmp ebp, 3
jge 0x180193273
mov esi, 3
sub esi, ebp
movzx ebx, byte [rsp + 0x80]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180193259
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180193251
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x18019326d
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180043320
sub rsi, 1
jne 0x180193230
mov rax, rdi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180337b10
int3