Function at 0x1400b8de8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
and dword [rbp + 0x5f], 0
xor r14d, r14d
mov qword [rbp - 0x31], r14
xor r15b, r15b
mov rdi, r9
mov r12d, r8d
mov rbx, rcx
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x1400b8e58
test byte [rcx + 0x1c], 4
je 0x1400b8e58
cmp byte [rcx + 0x19], 4
jb 0x1400b8e58
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xbe
call fcn.140006b98
mov r8d, 0x10
lea rdx, [0x140161518]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
nop dword [rax + rax]
cmp rax, 0x10
jne 0x1400b8e81
mov r15b, byte [rbx + 0x150]
mov edx, dword [rbx + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov r13, rax
test rax, rax
jne 0x1400b8ea3
lea eax, [r13 + 3]
jmp 0x1400b936f
mov r8d, dword [rbx + 0x48]
lea rcx, [rbp - 0x19]
mov rdx, r13
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
mov r8d, dword [rbx + 0x48]
lea rcx, [rbp - 0x29]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
mov rax, qword [0x14017a048]
cmp rax, rsi
je 0x1400b8f19
test byte [rax + 0x1c], 4
je 0x1400b8f19
cmp byte [rax + 0x19], 4
jb 0x1400b8f19
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x1401614e8]
mov edx, 0xbf
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
mov eax, dword [rbx + 0x4c]
mov r9, r13
mov rsi, qword [rbp + 0x7f]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
mov edx, r12d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1400c29d0
mov edi, eax
test eax, eax
jne 0x1400b92cf
mov eax, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x21]
add rax, 0x1f
mov rdx, qword [rbp - 0x11]
shr rax, 5
test eax, eax
je 0x1400b8f78
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400b8f66
cmp dword [rbx + 0x4c], 1
je 0x1400b8f88
cmp dword [rbx + 0x4c], 4
jne 0x1400b92cf
mov qword [rsp + 0x38], rsi
lea rax, str.pagefile.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rax, qword [rbp + 0x67]
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400c0614
mov edi, eax
test eax, eax
jne 0x1400b92cf
mov qword [rsp + 0x38], rsi
lea rax, str.hiberfil.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rax, qword [rbp + 0x67]
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400c0614
mov edi, eax
test eax, eax
jne 0x1400b92cf
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rsi
mov r9d, r12d
mov r8b, 1
mov qword [rsp + 0x20], rax
xor edx, edx
call fcn.1400c01bc
mov edi, eax
test eax, eax
jne 0x1400b92cf
test r15b, r15b
jne 0x1400b9041
mov rdx, rsi
mov rcx, rbx
call fcn.1400ba864
mov edi, eax
test eax, eax
jne 0x1400b92cf
cmp byte [rbx + 0xb8], r14b
je 0x1400b92a4
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntdll.dll_RtlClearAllBits]
nop dword [rax + rax]
test r15b, r15b
jne 0x1400b90f3
and qword [rsp + 0x38], r14
lea rax, [rbp + 0x5f]
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov eax, dword [rbx + 0x50]
mov edx, 0x5301b2
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400b918f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov rcx, qword [0x14017a048]
lea rbx, [0x14017a048]
cmp rcx, rbx
je 0x1400b90e9
test byte [rcx + 0x1c], 4
je 0x1400b90e9
cmp byte [rcx + 0x19], 2
jb 0x1400b90e9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xc0
mov r9d, eax
call fcn.140011750
mov edi, 2
jmp 0x1400b92d6
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rsi
mov r9d, r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call fcn.1400c01bc
mov edi, eax
test eax, eax
jne 0x1400b92cf
mov eax, dword [rbx + 0x48]
mov r9, r13
mov r8, qword [rbp + 0x77]
mov edx, r12d
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call fcn.1400c2e50
mov edi, eax
test eax, eax
je 0x1400b918f
mov rcx, qword [0x14017a048]
lea rbx, [0x14017a048]
cmp rcx, rbx
je 0x1400b92d6
test byte [rcx + 0x1c], 4
je 0x1400b92d6
cmp byte [rcx + 0x19], 2
jb 0x1400b92d6
mov eax, dword [rsi]
lea r8, [0x1401614e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xc1
mov r9d, edi
mov dword [rsp + 0x20], eax
call fcn.14003d9c4
jmp 0x1400b92d6
mov eax, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x21]
add rax, 0x1f
mov rdx, qword [rbp - 0x11]
shr rax, 5
test eax, eax
je 0x1400b91bb
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
or dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400b91a9
test r15b, r15b
jne 0x1400b92cf
mov r8d, dword [rbx + 0x48]
lea rcx, [rbp - 9]
mov rdx, qword [rbx + 0x68]
shl r8d, 2
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
xor edi, edi
cmp dword [rbx + 0x48], edi
jbe 0x1400b9227
lea edx, [rdi*4]
mov r8d, 4
lea rcx, [rbp - 9]
call qword [sym.imp.ntdll.dll_RtlAreBitsClear]
nop dword [rax + rax]
test al, al
jne 0x1400b9220
mov r8d, 1
lea rcx, [rbp - 0x29]
mov edx, edi
call qword [sym.imp.ntdll.dll_RtlSetBits]
nop dword [rax + rax]
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400b91e7
movups xmm0, xmmword [rbx + 0x30]
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0xf]
movdqu xmmword [rbp + 0xf], xmm0
call fcn.1400bfcf0
mov r14, qword [rbp - 0x31]
mov edi, eax
test eax, eax
jne 0x1400b92cf
mov rax, qword [rbp + 0x67]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x38], rsi
mov r9d, r12d
or qword [rsp + 0x30], 0xffffffffffffffff
mov r8b, 1
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400c0614
mov edi, eax
test eax, eax
jne 0x1400b92cf
lea rax, [rbx + 0xbc]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
lea r9, [rbx + 0x70]
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call fcn.1400be2b0
jmp 0x1400b92cd
test r15b, r15b
jne 0x1400b92cf
xor edx, edx
lea rcx, [rbp - 0x29]
lea r8d, [rdx + 1]
call qword [sym.imp.ntdll.dll_RtlSetBits]
nop dword [rax + rax]
mov r8, rsi
mov edx, r12d
mov rcx, rbx
call fcn.1400bf280
mov edi, eax
lea rbx, [0x14017a048]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test r14, r14
je 0x1400b92f9
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, rbx
je 0x1400b936d
test byte [rcx + 0x1c], 4
je 0x1400b9347
cmp byte [rcx + 0x19], 4
jb 0x1400b9347
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x1401614e8]
mov edx, 0xc2
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
mov rcx, qword [0x14017a048]
cmp rcx, rbx
je 0x1400b936d
test byte [rcx + 0x1c], 4
je 0x1400b936d
cmp byte [rcx + 0x19], 4
jb 0x1400b936d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xc3
call fcn.140006b98
mov eax, edi
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret