Function at 0x1800023d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov ebp, r8d
mov r12, rdx
mov rdi, rcx
mov dword [rsp + 0x20], 0
xor esi, esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x20], 1
test r8d, r8d
je 0x180002694
xor ecx, ecx
nop word [rax + rax]
dec ebp
movzx eax, byte [r12]
mov byte [rsp + rcx + 0x80], al
inc esi
inc rcx
lea r12, [r12 + 1]
movzx r13d, byte [rsp + 0x82]
movzx r14d, byte [rsp + 0x81]
movzx r15d, byte [rsp + 0x80]
cmp rcx, 3
jne 0x18000252e
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x88], al
movzx ecx, r15b
and cl, 3
shl cl, 4
movzx eax, r14b
shr al, 4
add cl, al
mov byte [rsp + 0x89], cl
movzx ecx, r14b
and cl, 0xf
shl cl, 2
movzx eax, r13b
shr al, 6
add cl, al
mov byte [rsp + 0x8a], cl
movzx eax, r13b
and al, 0x3f
mov byte [rsp + 0x8b], al
xor ebx, ebx
nop
lea rcx, [0x180090018]
cmp qword [0x180090030], 0x10
cmovae rcx, qword [0x180090018]
movzx eax, byte [rsp + rbx + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180002510
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180002505
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180002521
xor eax, eax
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rdi
call fcn.180002080
inc rbx
cmp rbx, 4
jl 0x1800024c0
xor esi, esi
xor ecx, ecx
test ebp, ebp
jne 0x180002430
test esi, esi
je 0x180002694
movsxd rax, esi
cmp rax, 3
jge 0x180002579
jae 0x1800026ac
mov byte [rsp + rax + 0x80], 0
inc rax
cmp rax, 3
jl 0x180002547
movzx r13d, byte [rsp + 0x82]
movzx r14d, byte [rsp + 0x81]
movzx r15d, byte [rsp + 0x80]
movzx eax, r15b
shr al, 2
mov byte [rsp + 0x88], al
and r15b, 3
shl r15b, 4
movzx eax, r14b
shr al, 4
add r15b, al
mov byte [rsp + 0x89], r15b
and r14b, 0xf
shl r14b, 2
movzx eax, r13b
shr al, 6
add r14b, al
mov byte [rsp + 0x8a], r14b
and r13b, 0x3f
mov byte [rsp + 0x8b], r13b
lea eax, [rsi + 1]
test eax, eax
jle 0x180002645
lea rbx, [rsp + 0x88]
mov ebp, eax
nop dword [rax + rax]
lea rcx, [0x180090018]
cmp qword [0x180090030], 0x10
cmovae rcx, qword [0x180090018]
movzx eax, byte [rbx]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18000262b
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180002620
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000263c
xor eax, eax
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rdi
call fcn.180002080
inc rbx
sub rbp, 1
jne 0x1800025e0
cmp esi, 3
jge 0x180002694
mov ebx, 3
sub ebx, esi
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18000267a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180002672
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x18000268e
xor eax, eax
mov r9b, 0x3d
movzx r8d, al
lea edx, [rax + 1]
mov rcx, rdi
call fcn.180002080
sub rbx, 1
jne 0x180002651
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18001fa48
int3