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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov esi, ecx
mov eax, dword [0x140224260]
xor eax, dword [0x140224264]
add eax, 0xed0f3d78
mov ecx, 0x88bbac3b
imul rcx, rax
shr rcx, 0x3b
add ecx, 0xa4d73191
cmp ecx, 0x6af84fe3
jb 0x1400f8d1c
mov eax, dword [0x140224268]
mov ecx, dword [0x14022426c]
mov edx, eax
xor edx, ecx
not edx
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov eax, ecx
xor eax, 0x3bcaa76e
xor ecx, 0x4241880
and ecx, 0x2eaebdc0
mov edx, eax
and edx, 0xd151423f
imul edx, ecx
mov ecx, eax
and ecx, 0x2eaebdc0
or eax, 0x2eaebdc0
imul eax, ecx
add eax, edx
mov ebx, 0x83556e57
imul rbx, rax
shr rbx, 0x3f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp ebx, 0x864241b5
jne 0x1400f8d25
mov ecx, esi
call fcn.140150410
jmp 0x1400f8cb5
mov rdi, rax
xor eax, eax
nop word [rax + rax]
test al, al
jne 0x1400f8d30
test rdi, rdi
je 0x1400f8d55
cmp rdi, 0xffffffffffffffff
jne 0x1400f907a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x1400f8d60
movabs rsi, 0x600000002
nop
mov ecx, 0x96c5660d
nop
mov eax, dword [0x140224270]
xor edx, edx
div dword [0x140224274]
imul rax, rcx
shr rax, 0x3c
add eax, 0x5a8860d2
mov edx, eax
not edx
or eax, 0x1af6226b
or edx, 0x40084094
and edx, eax
cmp edx, 0x8b88779
jb 0x1400f9080
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400f91b4
mov eax, dword [0x140224278]
xor edx, edx
sal bh, cl
xor eax, 0x12b177
mov eax, dword [0x140224288]
add eax, dword [0x14022428c]
mov ecx, eax
and ecx, 0xc8b7c26d
or eax, 0xc8b7c26d
add eax, ecx
mov ecx, eax
xor ecx, 0x85f7dc40
or eax, 0x7a0823b0
and eax, ecx
shr eax, 4
imul rax, rax, 0x453014d
shr rax, 0x33
cmp eax, 0xc7714dad
je 0x1400f9249
mov eax, dword [0x140224290]
mov ecx, dword [0x140224294]
not eax
not ecx
or ecx, eax
not ecx
imul eax, ecx, 0xe466c564
mov ecx, eax
not ecx
and ecx, 0xcb96ae88
mov edx, eax
and edx, 0x34695174
imul edx, ecx
mov ecx, eax
and ecx, 0xcb96ae88
or eax, 0xcb96ae88
imul eax, ecx
lea esi, [rax + rdx]
add esi, 0xf1e7d03d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x9b6cc5b6
jae 0x1400f9250
call fcn.14014f250
jmp 0x1400f91f3
mov edx, eax
shl rdx, 0x20
mov ecx, dword [0x140224298]
mov eax, dword [0x14022429c]
mov r8d, ecx
not r8d
or ecx, eax
not eax
and eax, r8d
not eax
and eax, ecx
add eax, 0x727e1ef4
mov ecx, eax
not ecx
mov r8d, eax
and r8d, 0xe1f20fa1
and ecx, 0x1e0df05e
imul ecx, r8d
mov r8d, eax
and r8d, 0x1e0df05e
or eax, 0x1e0df05e
imul eax, r8d
add eax, ecx
imul eax, eax, 0xbd349157
cmp eax, 0xfcb9f336
xor eax, eax
test al, al
jne 0x1400f92b0
or rdx, 2
nop word [rax + rax]
mov ecx, dword [0x1402242a0]
xor ecx, dword [0x1402242a4]
mov eax, ecx
and eax, 0x926c60dc
mov r8d, eax
not r8d
and r8d, 0xc320df99
mov r9d, ecx
and r9d, 0x104c2044
imul r9d, r8d
and ecx, 0x82204098
or eax, 0xc320df99
imul eax, ecx
add eax, r9d
mov ecx, eax
not ecx
and ecx, 0x4fee2f0b
mov r8d, eax
and r8d, 0xb011d0f4
imul r8d, ecx
mov ecx, eax
and ecx, 0x4fee2f08
or eax, 0x4fee2f0b
imul eax, ecx
add eax, r8d
cmp eax, 0x835d892a
jae 0x1400f92c0
mov edi, 1