Function at 0x1400ba500
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x60
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
cmp rcx, r12
je 0x1400ba559
test byte [rcx + 0x1c], 4
je 0x1400ba559
cmp byte [rcx + 0x19], 4
jb 0x1400ba559
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xc4
call fcn.140006b98
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
mov rax, qword [0x14017a048]
cmp rax, r12
je 0x1400ba5ba
test byte [rax + 0x1c], 4
je 0x1400ba5ba
cmp byte [rax + 0x19], 4
jb 0x1400ba5ba
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x1401614e8]
mov edx, 0xc5
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
cmp byte [rbx + 0x10], 0
je 0x1400ba6d0
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x50]
mov rdx, qword [rbx + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add rax, 0x1f
mov rdx, qword [rsp + 0x58]
shr rax, 5
test eax, eax
je 0x1400ba60c
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400ba5fa
cmp dword [rbx + 0x4c], 1
je 0x1400ba61c
cmp dword [rbx + 0x4c], 4
jne 0x1400ba6c9
mov rdi, qword [rsp + 0x90]
lea rax, str.pagefile.sys
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
or qword [rsp + 0x30], 0xffffffffffffffff
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400c0614
test eax, eax
jne 0x1400ba767
mov qword [rsp + 0x38], rdi
lea rax, str.hiberfil.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
mov qword [rsp + 0x20], rbp
xor edx, edx
call fcn.1400c0614
test eax, eax
jne 0x1400ba767
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x40]
mov r9d, esi
mov qword [rsp + 0x20], rbp
mov r8b, 1
xor edx, edx
call fcn.1400c01bc
test eax, eax
jne 0x1400ba767
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400bf280
test eax, eax
jne 0x1400ba767
xor eax, eax
jmp 0x1400ba767
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400b8de8
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400ba765
test byte [rcx + 0x1c], 4
je 0x1400ba73f
cmp byte [rcx + 0x19], 4
jb 0x1400ba73f
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x1401614e8]
mov edx, 0xc6
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400ba765
test byte [rcx + 0x1c], 4
je 0x1400ba765
cmp byte [rcx + 0x19], 4
jb 0x1400ba765
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xc7
call fcn.140006b98
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret