Function at 0x1400cf598
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 [0x140183048]
lea r12, [0x140183048]
cmp rcx, r12
je 0x1400cf5f1
test byte [rcx + 0x1c], 4
je 0x1400cf5f1
cmp byte [rcx + 0x19], 4
jb 0x1400cf5f1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164628]
mov edx, 0xc4
call fcn.140004e50
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 [0x140183048]
cmp rax, r12
je 0x1400cf652
test byte [rax + 0x1c], 4
je 0x1400cf652
cmp byte [rax + 0x19], 4
jb 0x1400cf652
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
lea r8, [0x140164628]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.140004e7c
cmp byte [rbx + 0x10], 0
je 0x1400cf768
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 0x1400cf6a4
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400cf692
cmp dword [rbx + 0x4c], 1
je 0x1400cf6b4
cmp dword [rbx + 0x4c], 4
jne 0x1400cf761
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.1400bdcd0
test eax, eax
jne 0x1400cf7ff
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.1400bdcd0
test eax, eax
jne 0x1400cf7ff
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.1400be504
test eax, eax
jne 0x1400cf7ff
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400d105c
test eax, eax
jne 0x1400cf7ff
xor eax, eax
jmp 0x1400cf7ff
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400d1754
mov ebx, eax
mov rcx, qword [0x140183048]
cmp rcx, r12
je 0x1400cf7fd
test byte [rcx + 0x1c], 4
je 0x1400cf7d7
cmp byte [rcx + 0x19], 4
jb 0x1400cf7d7
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
lea r8, [0x140164628]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.140004e7c
mov rcx, qword [0x140183048]
cmp rcx, r12
je 0x1400cf7fd
test byte [rcx + 0x1c], 4
je 0x1400cf7fd
cmp byte [rcx + 0x19], 4
jb 0x1400cf7fd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164628]
mov edx, 0xc7
call fcn.140004e50
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