Function at 0x1401c7410
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0xa0]
xor ebx, ebx
mov qword [rsp + 0x20], rdx
mov rbp, r9
mov rdi, r8
mov r12d, ebx
movabs rcx, 0xaaaaaaaaaaaaaaab
mov qword [r15], rbx
cmp r9, 3
jb 0x1401c76a1
mov rax, rcx
lea r14, [rdx + 2]
mul rbp
mov rsi, rdx
shr rsi, 1
lea r12, [rsi*4]
nop dword [rax]
mov rcx, qword [r15]
movzx r9d, byte [rcx + rdi]
movzx r10d, byte [rcx + rdi + 1]
movzx r8d, r9b
movzx r11d, byte [rcx + rdi + 2]
and r9b, 3
shr r8b, 2
movzx eax, r10b
shr al, 4
and r10b, 0xf
shl r9b, 4
mov ecx, 0x33
sub cl, r8b
shl r10b, 2
or r9b, al
lea edx, [r8 + 0x41]
movzx eax, r11b
and r11b, 0x3f
shr al, 6
or r10b, al
lea eax, [r8 - 0x1a]
or cl, al
lea eax, [r8 + 0x47]
shr cl, 7
xor al, dl
dec cl
and cl, al
lea eax, [r8 - 0x34]
xor dl, cl
mov ecx, 0x3d
sub cl, r8b
or cl, al
lea eax, [r8 - 4]
shr cl, 7
xor al, dl
dec cl
and cl, al
xor dl, cl
movzx ecx, r8b
xor cl, 0x3e
movzx eax, dl
dec cl
xor al, 0x2b
shr cl, 7
xor r8b, 0x3f
neg cl
dec r8b
and cl, al
shr r8b, 7
xor dl, cl
neg r8b
movzx eax, dl
mov ecx, 0x33
sub cl, r9b
xor al, 0x2f
and r8b, al
lea eax, [r9 - 0x1a]
or cl, al
xor r8b, dl
shr cl, 7
lea edx, [r9 + 0x41]
dec cl
mov byte [r14 - 2], r8b
lea eax, [r9 + 0x47]
xor al, dl
and cl, al
lea eax, [r9 - 0x34]
xor dl, cl
mov ecx, 0x3d
sub cl, r9b
or cl, al
lea eax, [r9 - 4]
shr cl, 7
xor al, dl
dec cl
and cl, al
xor dl, cl
movzx ecx, r9b
xor cl, 0x3e
dec cl
shr cl, 7
neg cl
movzx eax, dl
xor al, 0x2b
xor r9b, 0x3f
and cl, al
dec r9b
xor dl, cl
shr r9b, 7
movzx eax, dl
neg r9b
xor al, 0x2f
mov ecx, 0x33
sub cl, r10b
and r9b, al
xor r9b, dl
lea eax, [r10 - 0x1a]
or cl, al
mov byte [r14 - 1], r9b
shr cl, 7
lea edx, [r10 + 0x41]
dec cl
lea eax, [r10 + 0x47]
xor al, dl
and cl, al
lea eax, [r10 - 0x34]
xor dl, cl
mov ecx, 0x3d
sub cl, r10b
or cl, al
lea eax, [r10 - 4]
shr cl, 7
xor al, dl
dec cl
and cl, al
xor dl, cl
movzx ecx, r10b
xor cl, 0x3e
movzx eax, dl
dec cl
xor al, 0x2b
shr cl, 7
xor r10b, 0x3f
neg cl
dec r10b
and cl, al
shr r10b, 7
xor dl, cl
neg r10b
movzx eax, dl
mov ecx, 0x33
sub cl, r11b
xor al, 0x2f
and r10b, al
lea eax, [r11 - 0x1a]
or cl, al
xor r10b, dl
shr cl, 7
lea edx, [r11 + 0x41]
dec cl
mov byte [r14], r10b
lea eax, [r11 + 0x47]
xor al, dl
and cl, al
lea eax, [r11 - 0x34]
xor dl, cl
mov ecx, 0x3d
sub cl, r11b
or cl, al
lea eax, [r11 - 4]
shr cl, 7
xor al, dl
dec cl
and cl, al
xor dl, cl
movzx ecx, r11b
xor cl, 0x3e
movzx eax, dl
dec cl
shr cl, 7
neg cl
xor al, 0x2b
xor r11b, 0x3f
lea r14, [r14 + 4]
dec r11b
and cl, al
shr r11b, 7
xor dl, cl
neg r11b
movzx eax, dl
xor al, 0x2f
sub rbp, 3
and r11b, al
xor r11b, dl
mov byte [r14 - 3], r11b
add qword [r15], 3
sub rsi, 1
jne 0x1401c7480
cmp byte [rsp + 0xa8], bl
je 0x1401c77fa
test rbp, rbp
je 0x1401c77fa
mov qword [rsp + 0x80], r13
lfence
mov r13d, 3
mov ecx, r13d
call fcn.1403590cc
mov rcx, rax
mov qword [rsp + 0x28], rax
add rax, r13
xor edx, edx
mov qword [rsp + 0x38], rax
mov word [rcx], dx
mov byte [rcx + 2], dl
mov qword [rsp + 0x30], rax
nop dword [rax]
mov rcx, qword [r15]
mov rax, qword [rsp + 0x28]
add rcx, rbx
movzx edx, byte [rcx + rdi]
mov byte [rax + rbx], dl
inc rbx
cmp rbx, rbp
jne 0x1401c76f0
mov r14, qword [rsp + 0x28]
movzx ebx, byte [r14]
movzx edi, byte [r14 + 1]
movzx ecx, bl
movzx esi, byte [r14 + 2]
shr cl, 2
call fcn.140179510
mov rcx, qword [rsp + 0x20]
and bl, r13b
shl bl, 4
mov byte [rcx + r12], al
movzx ecx, dil
shr cl, 4
or cl, bl
call fcn.140179510
mov rbx, qword [rsp + 0x20]
movzx ecx, sil
shr cl, 6
and dil, 0xf
shl dil, 2
or cl, dil
mov byte [rbx + r12 + 1], al
call fcn.140179510
and sil, 0x3f
mov byte [rbx + r12 + 2], al
movzx ecx, sil
call fcn.140179510
sub r13, rbp
mov byte [rbx + r12 + 3], al
shl r13, 3
add r12, 4
cmp r13, 8
jb 0x1401c77be
lea rcx, [r13 - 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
lea r8, [rbx - 1]
add r8, r12
shr rdx, 2
nop word [rax + rax]
mov byte [r8], 0x3d
lea r8, [r8 - 1]
sub rdx, 1
jne 0x1401c77b0
mov rdx, qword [rsp + 0x38]
mov rax, r14
add qword [r15], rbp
sub rdx, r14
mov r13, qword [rsp + 0x80]
cmp rdx, 0x1000
jb 0x1401c77f2
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c7823
mov rcx, r14
call fcn.140359090
mov rax, r12
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x50]
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.140368068
int3