Function at 0x1400035e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r9, qword [rcx + 0x10]
mov rdi, rdx
movabs r10, 0xaaaaaaaaaaaaaaab
xor r15d, r15d
mov rbx, rcx
mov rax, r10
mov r14d, r15d
mov ebp, r15d
lea r8, [r9 + 2]
mul r8
mov rax, r10
shr rdx, 1
lea rcx, [rdx + rdx*2]
sub r8, rcx
sub r9, r8
add r9, 2
mul r9
shr rdx, 1
shl edx, 2
movsxd rcx, edx
mov rdx, qword [rdi + 0x10]
cmp rcx, rdx
ja 0x14000366c
mov qword [rdi + 0x10], rcx
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140003666
mov rax, qword [rdi]
mov byte [rax + rcx], bpl
jmp 0x1400036bb
mov r8, qword [rdi + 0x18]
mov r12, rcx
mov rax, r8
sub r12, rdx
sub rax, rdx
cmp r12, rax
ja 0x1400036a8
mov qword [rdi + 0x10], rcx
mov rax, rdi
cmp r8, 0xf
jbe 0x140003691
mov rax, qword [rdi]
lea rsi, [rax + rdx]
mov r8, r12
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsi + r12], bpl
jmp 0x1400036bb
mov r9, r12
mov byte [rsp + 0x20], bpl
mov rdx, r12
mov rcx, rdi
call fcn.140002220
cmp qword [rbx + 0x18], 0xf
mov r8d, dword [rbx + 0x10]
jbe 0x1400036c9
mov rbx, qword [rbx]
test r8d, r8d
je 0x14000389d
mov rdx, r15
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rsp + rdx + 0x34], cl
dec r8d
movzx esi, byte [rsp + 0x36]
inc rdx
movzx r10d, byte [rsp + 0x35]
inc r14d
movzx r11d, byte [rsp + 0x34]
cmp rdx, 3
jne 0x1400037be
movzx eax, r11b
movzx edx, r11b
shr al, 2
and dl, 3
movzx ecx, al
movzx r9d, r10b
and r9b, 0xf
shl dl, 4
movzx eax, r10b
shl r9b, 2
shr al, 4
movzx r14d, sil
add dl, al
mov byte [rsp + 0x30], cl
movzx ecx, byte [rcx + r12]
movzx eax, sil
shr al, 6
and r14b, 0x3f
add r9b, al
mov byte [rsp + 0x31], dl
cmp qword [rdi + 0x18], 0xf
mov rax, rdi
jbe 0x140003764
mov rax, qword [rdi]
mov byte [rax + rbp], cl
cmp qword [rdi + 0x18], 0xf
movzx eax, dl
movzx ecx, byte [rax + r12]
mov rax, rdi
jbe 0x14000377c
mov rax, qword [rdi]
mov byte [rax + rbp + 1], cl
cmp qword [rdi + 0x18], 0xf
movzx eax, r9b
movzx ecx, byte [rax + r12]
mov rax, rdi
jbe 0x140003796
mov rax, qword [rdi]
mov byte [rax + rbp + 2], cl
cmp qword [rdi + 0x18], 0xf
movzx eax, r14b
movzx ecx, byte [rax + r12]
mov rax, rdi
jbe 0x1400037b0
mov rax, qword [rdi]
mov byte [rax + rbp + 3], cl
mov r14d, r15d
add rbp, 4
mov rdx, r15
test r8d, r8d
jne 0x1400036e0
test r14d, r14d
je 0x14000389d
movsxd rax, r14d
cmp rax, 3
jge 0x1400037fe
jae 0x140003960
mov byte [rsp + rax + 0x34], r15b
inc rax
cmp rax, 3
jl 0x1400037d9
movzx esi, byte [rsp + 0x36]
movzx r10d, byte [rsp + 0x35]
movzx r11d, byte [rsp + 0x34]
movzx eax, r11b
and r11b, 3
shr al, 2
mov byte [rsp + 0x30], al
movzx eax, r10b
shr al, 4
and r10b, 0xf
shl r11b, 4
add r11b, al
shl r10b, 2
movzx eax, sil
mov byte [rsp + 0x31], r11b
shr al, 6
and sil, 0x3f
add r10b, al
mov byte [rsp + 0x33], sil
lea eax, [r14 + 1]
mov byte [rsp + 0x32], r10b
movsxd r8, eax
test eax, eax
jle 0x140003875
mov rcx, r15
nop
cmp qword [rdi + 0x18], 0xf
movzx eax, byte [rsp + rcx + 0x30]
movzx edx, byte [rax + r12]
mov rax, rdi
jbe 0x140003867
mov rax, qword [rdi]
mov byte [rax + rbp], dl
inc rcx
inc rbp
cmp rcx, r8
jl 0x140003850
cmp r14d, 3
jge 0x14000389d
mov ecx, 3
sub ecx, r14d
cmp qword [rdi + 0x18], 0xf
mov rax, rdi
jbe 0x140003890
mov rax, qword [rdi]
mov byte [rax + rbp], 0x3d
inc rbp
sub rcx, 1
jne 0x140003883
cmp qword [rdi + 0x18], 0xf
mov r8, rdi
jbe 0x1400038af
mov r8, qword [rdi]
mov rdx, r8
jmp 0x1400038b2
mov rdx, rdi
add rdx, qword [rdi + 0x10]
mov rcx, r8
mov rax, rdx
sub rax, r8
cmp r8, rdx
cmova rax, r15
test rax, rax
je 0x140003923
cmp rax, 0x40
jb 0x140003923
movdqa xmm1, xmmword [0x14006b0e0]
and rax, 0xffffffffffffffc0
nop dword [rax]
movdqu xmm0, xmmword [rcx]
add r15, 0x40
paddb xmm0, xmm1
movdqu xmmword [rcx], xmm0
movdqu xmm0, xmmword [rcx + 0x10]
paddb xmm0, xmm1
movdqu xmmword [rcx + 0x10], xmm0
movdqu xmm0, xmmword [rcx + 0x20]
paddb xmm0, xmm1
movdqu xmmword [rcx + 0x20], xmm0
movdqu xmm0, xmmword [rcx + 0x30]
paddb xmm0, xmm1
movdqu xmmword [rcx + 0x30], xmm0
add rcx, 0x40
cmp r15, rax
jne 0x1400038e0
cmp rcx, rdx
je 0x14000393a
nop dword [rax + rax]
inc byte [rcx]
inc rcx
cmp rcx, rdx
jne 0x140003930
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005ec90
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14005f068
int3