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

Disassembly:
push rdi
mov rdi, rcx
mov rax, rcx
sar rdi, 0x39
test edi, edi
jns 0x140011c14
xor eax, eax
pop rdi
ret
cmp edi, 0x3f
jl 0x140011c25
movabs rax, 0x7fffffffffffffff
pop rdi
ret
movsxd rcx, edi
shl rcx, 0x39
mov qword [rsp + 0x18], rbp
mov ebp, VarI4FromDisp
sub rax, rcx
je 0x140011edb
shl rax, 5
lea r11, [0x14013a500]
mov rcx, rax
mov qword [rsp + 0x10], rbx
shr rcx, 0x3f
lea r10, [0x14013a518]
neg ecx
mov qword [rsp + 0x20], rsi
movsxd rdx, ecx
movabs r9, 0x1351e87200eec236
add r9, rdx
movabs rcx, 0x26a3d0e401dd846d
xor r9, rdx
mov ebx, 1
add r9, rcx
movabs rcx, 0x32b803473f7ad0f4
add rcx, rdx
xor rcx, rdx
sub rax, rcx
nop dword [rax]
add rax, rax
inc ebx
mov rcx, rax
add r11, 8
shr rcx, 0x3f
mov rdx, r9
neg ecx
movsxd r8, ecx
mov ecx, ebx
sar rdx, cl
mov rcx, qword [r11]
add rdx, r8
add rcx, r8
xor rdx, r8
xor rcx, r8
add r9, rdx
sub rax, rcx
cmp r11, r10
jl 0x140011ca0
mov rcx, rax
lea r11, [0x14013a560]
shr rcx, 0x3f
mov ebx, 4
neg ecx
movsxd rdx, ecx
mov rcx, r9
sar rcx, 4
add rcx, rdx
xor rcx, rdx
add r9, rcx
movabs rcx, 0x2e39fb9198ce62e4
add rcx, rdx
xor rcx, rdx
sub rax, rcx
nop dword [rax]
nop word [rax + rax]
add rax, rax
inc ebx
mov rcx, rax
add r10, 8
shr rcx, 0x3f
mov rdx, r9
neg ecx
movsxd r8, ecx
mov ecx, ebx
sar rdx, cl
mov rcx, qword [r10]
add rdx, r8
add rcx, r8
xor rdx, r8
xor rcx, r8
add r9, rdx
sub rax, rcx
cmp r10, r11
jl 0x140011d20
mov ebx, ntohs
lea rsi, [0x14013a600]
lea r10d, [rbx + 0x13]
nop word [rax + rax]
mov rcx, rax
mov rdx, r9
shr rcx, 0x3f
neg ecx
movsxd r8, ecx
mov ecx, ebx
sar rdx, cl
inc ebx
mov rcx, qword [r11]
add rdx, r8
add rcx, r8
xor rdx, r8
xor rcx, r8
add r9, rdx
sub rax, rcx
add r11, 8
add rax, rax
cmp r11, rsi
jl 0x140011d70
xor ebx, ebx
mov r11d, ebx
cmp edi, 0x1e
jle 0x140011ec8
mov rcx, rax
mov qword [rsp + 0x28], r14
shr rcx, 0x3f
movabs r14, 0x2e2a8eca5705fc2f
neg ecx
mov r11, r9
movsxd rdx, ecx
sar r11, 0x20
add r11d, edx
xor r11d, edx
lea rcx, [rdx + r14]
xor rcx, rdx
sub rax, rcx
nop word [rax + rax]
add rax, rax
inc r10d
mov rcx, rax
mov rdx, r9
shr rcx, 0x3f
neg ecx
movsxd r8, ecx
mov ecx, r10d
sar rdx, cl
add edx, r8d
xor edx, r8d
lea rcx, [r8 + r14]
add r11d, edx
xor rcx, r8
sub rax, rcx
cmp r10d, 0x27
jl 0x140011df0
mov esi, ebx
cmp r10d, ebp
jge 0x140011ec3
mov ecx, ebp
sub ecx, r10d
cmp ecx, 2
jl 0x140011e9f
nop dword [rax]
mov rcx, rax
mov rdx, r9
shr rcx, 0x3f
neg ecx
movsxd r8, ecx
mov ecx, r10d
sar rdx, cl
add edx, r8d
xor edx, r8d
add ebx, edx
lea rcx, [r8 + r14]
xor rcx, r8
mov rdx, r9
sub rax, rcx
add rax, rax
mov rcx, rax
shr rcx, 0x3f
neg ecx
movsxd r8, ecx
lea ecx, [r10 + 1]
sar rdx, cl
add r10d, 2
add edx, r8d
xor edx, r8d
lea rcx, [r8 + r14]
add esi, edx
xor rcx, r8
sub rax, rcx
add rax, rax
cmp r10d, 0x3c
jl 0x140011e40
cmp r10d, ebp
jge 0x140011ebd
shr rax, 0x3f
mov ecx, r10d
neg eax
movsxd rdx, eax
mov rax, r9
sar rax, cl
add eax, edx
xor eax, edx
add r11d, eax
lea eax, [rsi + rbx]
add r11d, eax
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x10]
movsxd rax, r11d
lea rax, [rax + r9*2]
jmp 0x140011ee5
movabs rax, 0x4000000000000000
cmp edi, 0x3e
jge 0x140011ef9
sub ebp, edi
movzx ecx, bpl
sar rax, cl
inc rax
sar rax, 1
mov rbp, qword [rsp + 0x18]
pop rdi
ret