Function at 0x140002c20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x20], 1
mov ebx, esi
test r8d, r8d
je 0x140002eca
mov ecx, esi
nop
dec ebp
movzx eax, byte [r14]
mov byte [rsp + rcx + 0x80], al
inc ebx
inc rcx
lea r14, [r14 + 1]
movzx r13d, byte [rsp + 0x82]
movzx r15d, byte [rsp + 0x81]
movzx r12d, byte [rsp + 0x80]
cmp rcx, 3
jne 0x140002d66
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x88], al
movzx ecx, r12b
and cl, 3
shl cl, 4
movzx eax, r15b
shr al, 4
add cl, al
mov byte [rsp + 0x89], cl
movzx ecx, r15b
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
mov rbx, rsi
nop dword [rax]
lea rcx, [0x14000d038]
cmp qword [0x14000d050], 0x10
cmovae rcx, qword [0x14000d038]
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 0x140002d50
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140002d45
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002d58
mov rcx, rdi
call fcn.140003340
inc rbx
cmp rbx, 4
jl 0x140002d00
mov ebx, esi
mov rcx, rsi
test ebp, ebp
jne 0x140002c70
test ebx, ebx
je 0x140002eca
mov r14d, 3
cmp ebx, r14d
jge 0x140002db9
mov eax, r14d
sub eax, ebx
movsxd r8, eax
movsxd rax, ebx
lea rcx, [rsp + 0x80]
add rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movzx r13d, byte [rsp + 0x82]
movzx r15d, byte [rsp + 0x81]
movzx r12d, byte [rsp + 0x80]
movzx eax, r12b
shr al, 2
mov byte [rsp + 0x88], al
and r12b, r14b
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rsp + 0x89], r12b
and r15b, 0xf
shl r15b, 2
movzx eax, r13b
shr al, 6
add r15b, al
mov byte [rsp + 0x8a], r15b
and r13b, 0x3f
mov byte [rsp + 0x8b], r13b
lea eax, [rbx + 1]
movsxd rbp, eax
test eax, eax
jle 0x140002e7c
lea r15, [0x14000d038]
nop word [rax + rax]
mov rcx, r15
cmp qword [0x14000d050], 0x10
cmovae rcx, qword [0x14000d038]
movzx eax, byte [rsp + rsi + 0x88]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140002e6c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140002e61
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002e74
mov rcx, rdi
call fcn.140003340
inc rsi
cmp rsi, rbp
jl 0x140002e20
cmp ebx, r14d
jge 0x140002eca
sub r14d, ebx
movsxd rbx, r14d
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140002eb9
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140002eb1
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x140002ec4
mov r9b, 0x3d
mov rcx, rdi
call fcn.140003340
sub rbx, 1
jne 0x140002e90
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