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

Disassembly:
sub rsp, 8
mov r9, rcx
test rcx, rcx
jg 0x140011f15
or rax, 0xffffffffffffffff
add rsp, 8
ret
mov qword [rsp + 0x10], rbx
mov ecx, 0x20
xor ebx, ebx
mov qword [rsp + 0x18], rbp
mov eax, 0xffffffff
mov qword [rsp + 0x20], rsi
cmp r9, rax
lea rsi, [0x140000000]
mov r8d, ebx
mov rdx, r9
cmovg r8d, ecx
mov ecx, r8d
or r8d, 1
sar rdx, cl
mov eax, edx
shr eax, 1
or edx, eax
lea ebp, [r8 - 1]
mov eax, edx
shr eax, 2
or edx, eax
mov eax, edx
shr eax, 4
or edx, eax
mov eax, edx
shr eax, 8
or edx, eax
mov eax, edx
shr eax, 0x10
or eax, edx
shr eax, 1
inc eax
imul ecx, eax, 0x77cb531
shr rcx, 0x1b
movzx eax, byte [rcx + rsi + 0x13a4e0]
add ebp, eax
cmp ebp, 0x3d
jle 0x140011f99
lea ecx, [rbp - 0x3d]
sar r9, cl
jmp 0x140011fa3
mov ecx, VarI4FromDisp
sub ecx, ebp
shl r9, cl
lea rax, [r9 - 1]
test r9, rax
je 0x140012243
movabs r10, 0xe000000000000000
mov qword [rsp], rdi
add r10, r9
lea rdi, [0x14013a518]
mov rax, r10
movabs r11, 0x2000000000000000
shr rax, 0x3f
add r11, r9
neg eax
mov rcx, r11
movsxd rdx, eax
movabs rbx, 0x32b803473f7ad0f4
sar rcx, 1
add rbx, rdx
xor rbx, rdx
mov rax, r10
sar rax, 1
add rax, rdx
xor rax, rdx
sub r11, rax
lea rax, [rcx + rdx]
xor rax, rdx
mov rcx, r11
sub r10, rax
sar rcx, 2
mov rax, r10
shr rax, 0x3f
neg eax
movsxd rdx, eax
movabs rax, 0x179538dea712f48b
add rax, rdx
xor rax, rdx
add rbx, rax
mov rax, r10
sar rax, 2
add rax, rdx
xor rax, rdx
sub r11, rax
lea rax, [rcx + rdx]
xor rax, rdx
mov rcx, r11
sub r10, rax
sar rcx, 3
mov rax, r10
shr rax, 0x3f
neg eax
movsxd rdx, eax
movabs rax, 0xb9a2c912ee4ee81
add rax, rdx
xor rax, rdx
add rbx, rax
mov rax, r10
sar rax, 3
add rax, rdx
xor rax, rdx
sub r11, rax
lea rax, [rcx + rdx]
xor rax, rdx
mov rcx, r11
sub r10, rax
sar rcx, 4
mov rax, r10
shr rax, 0x3f
neg eax
movsxd rdx, eax
movabs rax, 0x5c73f723319cc5c
add rax, rdx
xor rax, rdx
add rbx, rax
mov rax, r10
sar rax, 4
add rax, rdx
xor rax, rdx
sub r11, rax
lea rax, [rcx + rdx]
xor rax, rdx
sub r10, rax
mov eax, 3
nop word [rax + rax]
mov rdx, qword [rdi]
lea rdi, [rdi + 8]
mov rcx, r10
mov r8, r11
shr rcx, 0x3f
neg ecx
movsxd r9, ecx
mov ecx, eax
sar rdx, cl
add rdx, r9
xor rdx, r9
add rbx, rdx
mov rdx, r10
inc eax
mov ecx, eax
sar rdx, cl
sar r8, cl
add rdx, r9
xor rdx, r9
sub r11, rdx
lea rcx, [r8 + r9]
xor rcx, r9
sub r10, rcx
cmp eax, 0xd
jl 0x1400120e0
dec eax
cmp eax, 0x20
jge 0x14001218c
movsxd rcx, eax
lea edi, [rax + 1]
lea rsi, [rsi + rcx*8]
lea rsi, [rsi + 0x13a500]
mov rdx, qword [rsi]
lea rsi, [rsi + 8]
mov rcx, r10
mov r8, r11
shr rcx, 0x3f
neg ecx
movsxd r9, ecx
mov ecx, eax
sar rdx, cl
inc eax
add rdx, r9
mov ecx, edi
xor rdx, r9
sar r8, cl
add rbx, rdx
inc edi
mov rdx, r10
sar rdx, cl
add rdx, r9
lea rcx, [r8 + r9]
xor rdx, r9
xor rcx, r9
sub r11, rdx
sub r10, rcx
cmp edi, 0x21
jl 0x140012141
movabs rsi, 0x2e2a8eca5705fc2f
cmp eax, 0x28
jge 0x1400121e5
nop dword [rax + rax]
mov rcx, r10
mov r8, r11
shr rcx, 0x3f
mov rdx, rsi
neg ecx
movsxd r9, ecx
mov ecx, eax
sar rdx, cl
add rdx, r9
xor rdx, r9
add rbx, rdx
mov rdx, r10
inc eax
mov ecx, eax
sar rdx, cl
sar r8, cl
add rdx, r9
xor rdx, r9
sub r11, rdx
lea rcx, [r8 + r9]
xor rcx, r9
sub r10, rcx
cmp eax, 0x28
jl 0x1400121a0
dec eax
cmp eax, 0x3e
jge 0x140012237
lea edi, [rax + 1]
nop
mov rcx, r10
mov r8, r11
shr rcx, 0x3f
mov rdx, rsi
neg ecx
movsxd r9, ecx
mov ecx, eax
sar rdx, cl
inc eax
add rdx, r9
mov ecx, edi
xor rdx, r9
sar r8, cl
add rbx, rdx
inc edi
mov rdx, r10
sar rdx, cl
add rdx, r9
lea rcx, [r8 + r9]
xor rdx, r9
xor rcx, r9
sub r11, rdx
sub r10, rcx
cmp edi, 0x3f
jl 0x1400121f0
mov rdi, qword [rsp]
add rbx, 8
sar rbx, 4
mov rsi, qword [rsp + 0x20]
movsxd rax, ebp
mov rbp, qword [rsp + 0x18]
shl rax, 0x39
add rax, rbx
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret