Function at 0x140039fd0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov esi, r8d
mov r11, r9
mov r9d, r8d
mov ebx, r8d
mov r8, qword [rcx]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov r10, r8
mov r14d, edx
and r10, rax
mov r15, rcx
cmp esi, 0x3f
je 0x14003a43e
inc esi
test sil, 1
je 0x14003a04b
mov eax, esi
mov edx, r14d
btr r8, rax
imul edx, esi
mov qword [rcx], r8
lea eax, [rsi - 2]
mov r8d, 1
mov dword [r11], eax
add rdx, rcx
mov rcx, rdx
sub rcx, r14
call qword [rsp + 0x60]
jmp 0x14003a574
bt r8, rbx
jae 0x14003a073
btr r8, rbx
shl r14d, 6
mov qword [rcx], r8
mov ecx, r14d
add rcx, r15
mov rax, qword [rcx + rbx*8 - 8]
mov qword [rcx + rbx*8], rax
mov dword [r11], r9d
jmp 0x14003a574
lea ecx, [rsi + 1]
mov eax, ecx
bt r8, rax
jae 0x14003a0da
mov rbx, qword [rsp + 0x60]
lea eax, [rsi - 3]
mov dword [r11], eax
lea edx, [r14 + r14]
mov eax, ecx
mov edi, r14d
btr r8, rax
imul edi, esi
mov qword [r15], r8
mov r8d, 1
add rdi, r15
mov rcx, rdi
sub rcx, rdx
mov rdx, rdi
call rbx
lea rdx, [rdi + r14]
mov r8d, 1
mov rcx, rdi
call rbx
shl r14d, 6
mov eax, r14d
add rax, r15
lea rdx, [rax + rsi*8]
mov rax, qword [rax + rsi*8]
mov qword [rdx - 8], rax
jmp 0x14003a574
mov ecx, esi
mov rax, 0xffffffffffffffff
shl rax, cl
and rax, r10
je 0x14003a325
lea rcx, [rax - 1]
movabs rdx, 0x5555555555555555
not rax
and rcx, rax
mov rax, rcx
shr rax, 1
and rax, rdx
movabs rdx, 0x3333333333333333
sub rcx, rax
mov rax, rcx
and rcx, rdx
shr rax, 2
and rax, rdx
mov edx, 1
add rax, rcx
mov r9, rax
shr r9, 4
add r9, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and r9, rax
movabs rax, 0x101010101010101
imul r9, rax
mov eax, 1
shr r9, 0x38
mov ecx, r9d
mov ebp, r9d
shl rdx, cl
sub ebp, esi
mov ecx, esi
shl rax, cl
mov ecx, ebp
sub rdx, rax
shr rdx, cl
and r10, rdx
je 0x14003a28c
mov rbp, qword [rsp + 0x60]
mov rcx, r10
shr rcx, 0x20
mov r9d, 0x20
neg rcx
shr rcx, 0x20
and ecx, 0x20
sub r9, rcx
shr r10, cl
lea rcx, [r10 - 0x10000]
shr rcx, 0x20
and ecx, 0x10
add r9, rcx
shl r10, cl
lea rcx, [r10 - 0x1000000]
shr rcx, 0x20
and ecx, 8
add r9, rcx
shl r10, cl
lea rcx, [r10 - 0x10000000]
shr rcx, 0x20
and ecx, 4
add r9, rcx
shl r10, cl
add r9d, 2
lea rcx, [r10 - 0x40000000]
shr rcx, 0x20
and ecx, 2
shl r10, cl
shr r10, 0x1e
mov rax, r10
shr rax, 1
not eax
and eax, r10d
sub ecx, eax
add ecx, r9d
lea r9d, [rbx - 1]
xor ecx, 0x3f
imul r9d, r14d
mov eax, ecx
sub esi, ecx
btr r8, rax
add esi, 0xfffffffd
mov eax, r14d
mov qword [r15], r8
shl eax, 6
add rax, r15
mov dword [r11], ebx
add r9, r15
shr esi, 1
lea rdi, [rax + rbx*8]
je 0x14003a267
lea r15d, [r14 + r14]
nop dword [rax + rax]
mov rax, qword [rdi - 0x10]
mov rbx, r9
mov qword [rdi], rax
sub rbx, r15
mov rdx, rbx
mov r8d, 1
mov rcx, r9
add rdi, 0xfffffffffffffff0
call rbp
mov r9, rbx
add esi, 0xffffffff
jne 0x14003a240
mov rax, qword [rdi - 0x10]
mov rdx, r9
sub rdx, r14
mov qword [rdi], rax
mov r8d, 1
mov rcx, r9
call rbp
mov rax, qword [rdi - 0x18]
mov qword [rdi - 0x10], rax
jmp 0x14003a574
mov eax, r9d
add esi, 0xfffffffe
btr r8, rax
mov edi, esi
mov r9d, r14d
mov qword [r15], r8
imul r9d, esi
mov ecx, r14d
shl ecx, 6
lea eax, [rsi - 1]
add rcx, r15
mov dword [r11], eax
inc rdi
lea esi, [r14 + r14]
add r9, r15
mov r15, qword [rsp + 0x60]
shr ebp, 1
lea rdi, [rcx + rdi*8]
je 0x14003a2f6
nop dword [rax + rax]
lea rbx, [rsi + r9]
mov r8d, 1
mov rdx, rbx
mov rcx, r9
call r15
mov rax, qword [rdi + 0x10]
mov r9, rbx
mov qword [rdi], rax
add rdi, 0x10
add ebp, 0xffffffff
jne 0x14003a2d0
lea rbx, [rsi + r9]
mov r8d, 1
mov rdx, rbx
mov rcx, r9
call r15
mov rax, qword [rdi + 8]
lea rdx, [rbx + r14]
mov r8d, 1
mov qword [rdi], rax
mov rcx, rbx
call r15
jmp 0x14003a574
mov edx, 1
mov r9d, 0x20
shl rdx, cl
dec rdx
and rdx, r10
mov rcx, rdx
shr rcx, 0x20
neg rcx
shr rcx, 0x20
and ecx, 0x20
sub r9, rcx
shr rdx, cl
lea rcx, [rdx - 0x10000]
shr rcx, 0x20
and ecx, 0x10
add r9, rcx
shl rdx, cl
lea rcx, [rdx - 0x1000000]
shr rcx, 0x20
and ecx, 8
add r9, rcx
shl rdx, cl
lea rcx, [rdx - 0x10000000]
shr rcx, 0x20
and ecx, 4
add r9, rcx
shl rdx, cl
add r9d, 2
lea rcx, [rdx - 0x40000000]
shr rcx, 0x20
and ecx, 2
shl rdx, cl
shr rdx, 0x1e
mov rax, rdx
shr rax, 1
not eax
and eax, edx
sub ecx, eax
add ecx, r9d
lea r9d, [rbx - 1]
xor ecx, 0x3f
imul r9d, r14d
mov eax, ecx
sub esi, ecx
btr r8, rax
add esi, 0xfffffffd
mov eax, r14d
mov qword [r15], r8
shl eax, 6
add rax, r15
mov dword [r11], ebx
add r9, r15
mov r15, qword [rsp + 0x60]
shr esi, 1
lea rdi, [rax + rbx*8]
je 0x14003a418
lea ebp, [r14 + r14]
nop dword [rax]
mov rax, qword [rdi - 0x10]
mov rbx, r9
mov qword [rdi], rax
sub rbx, rbp
mov rdx, rbx
mov r8d, 1
mov rcx, r9
add rdi, 0xfffffffffffffff0
call r15
mov r9, rbx
add esi, 0xffffffff
jne 0x14003a3f0
mov rax, qword [rdi - 0x10]
mov rdx, r9
sub rdx, r14
mov qword [rdi], rax
mov r8d, 1
mov rcx, r9
call r15
mov rax, qword [rdi - 0x18]
mov qword [rdi - 0x10], rax
jmp 0x14003a574
mov rcx, r10
mov r9d, 0x20
shr rcx, 0x20
neg rcx
shr rcx, 0x20
and ecx, 0x20
shr r10, cl
sub r9, rcx
lea rcx, [r10 - 0x10000]
shr rcx, 0x20
and ecx, 0x10
shl r10, cl
add r9, rcx
lea rcx, [r10 - 0x1000000]
shr rcx, 0x20
and ecx, 8
shl r10, cl
add r9, rcx
lea rcx, [r10 - 0x10000000]
shr rcx, 0x20
and ecx, 4
shl r10, cl
add r9, rcx
add r9d, 2
lea rcx, [r10 - 0x40000000]
shr rcx, 0x20
and ecx, 2
shl r10, cl
shr r10, 0x1e
mov rax, r10
shr rax, 1
not eax
and eax, r10d
sub ecx, eax
mov eax, r14d
add ecx, r9d
shl eax, 6
mov edx, ecx
mov r10d, eax
xor edx, 0x3f
mov r9d, edx
btr r8, r9
mov qword [r15], r8
test ecx, ecx
je 0x14003a561
mov rax, qword [rax + r15 + 0x1e8]
mov r9d, r14d
mov rbp, qword [rsp + 0x60]
mov qword [r10 + r15 + 0x1f8], rax
mov dword [r11], esi
dec esi
mov edi, esi
imul r9d, esi
dec rdi
mov esi, 0x3d
sub esi, edx
lea rdi, [r10 + rdi*8]
add rdi, r15
add r9, r15
shr esi, 1
je 0x14003a547
lea r15d, [r14 + r14]
nop
mov rbx, r9
mov r8d, 1
sub rbx, r15
mov rcx, r9
mov rdx, rbx
call rbp
mov rax, qword [rdi - 0x10]
mov r9, rbx
mov qword [rdi], rax
add rdi, 0xfffffffffffffff0
add esi, 0xffffffff
jne 0x14003a520
mov rdx, r9
mov r8d, 1
sub rdx, r14
mov rcx, r9
call rbp
mov rax, qword [rdi - 8]
mov qword [rdi], rax
jmp 0x14003a574
mov dword [r11], esi
mov rax, qword [rax + r15 + 0x1f0]
mov qword [r10 + r15 + 0x1f8], rax
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret