Function at 0x1400c794c
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 [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x1400c79a5
test byte [rcx + 0x1c], 4
je 0x1400c79a5
cmp byte [rcx + 0x19], 4
jb 0x1400c79a5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0xc4
call fcn.140004c10
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 [0x14017b048]
cmp rax, r12
je 0x1400c7a06
test byte [rax + 0x1c], 4
je 0x1400c7a06
cmp byte [rax + 0x19], 4
jb 0x1400c7a06
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea r8, [0x14015d3e8]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
cmp byte [rbx + 0x10], 0
je 0x1400c7b1c
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 0x1400c7a58
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400c7a46
cmp dword [rbx + 0x4c], 1
je 0x1400c7a68
cmp dword [rbx + 0x4c], 4
jne 0x1400c7b15
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.1400b6310
test eax, eax
jne 0x1400c7bb3
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.1400b6310
test eax, eax
jne 0x1400c7bb3
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.1400b6b44
test eax, eax
jne 0x1400c7bb3
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c969c
test eax, eax
jne 0x1400c7bb3
xor eax, eax
jmp 0x1400c7bb3
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c97ec
mov ebx, eax
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x1400c7bb1
test byte [rcx + 0x1c], 4
je 0x1400c7b8b
cmp byte [rcx + 0x19], 4
jb 0x1400c7b8b
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea r8, [0x14015d3e8]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x1400c7bb1
test byte [rcx + 0x1c], 4
je 0x1400c7bb1
cmp byte [rcx + 0x19], 4
jb 0x1400c7bb1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0xc7
call fcn.140004c10
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