Function at 0x14003f950
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov qword [rsp + 0x1e8], 0xfffffffffffffffe
mov r15d, ecx
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14003ff30
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14003ff3b
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x260], rax
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x158]
mov qword [rsp + 0x268], rax
lea rdx, str.powercfg.exe__h_off
lea rcx, [rsp + 0x158]
call fcn.14000c8e0
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14005e5d0
mov qword [rsp + 0x170], rax
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov qword [rsp + 0x178], rcx
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x160], rbx
cmp rcx, rbx
je 0x14003fa87
cmp dword [rbx + 0x10], 0
jl 0x14003fa69
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14003fa69
call fcn.14000d260
mov qword [rsp + 0x168], rax
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14003fa56
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x168]
add rax, 0x18
mov qword [rsp + 0x28], rax
jmp 0x14003fa8c
mov r8d, dword [rdx - 0x10]
mov dword [rsp + 0x2c0], r8d
mov qword [rsp + 0x180], rdx
lea rcx, [rsp + 0x28]
call fcn.14000d350
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x90]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x98], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14003fabd
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x190], rax
mov r14, qword [rsp + 0x28]
add r14, 0xffffffffffffffe8
mov qword [rsp + 0x198], r14
mov rcx, r14
call fcn.14000d260
mov qword [rsp + 0x1a0], rax
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.delete_system_file_disable_hybernation_command_result
lea rcx, [rsp + 0xa0]
call fcn.14000c8e0
nop
mov r8d, esi
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14005c860
lea rcx, str.C:hiberfil.sys
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
mov byte [rsp + 0x2b8], dil
test eax, eax
je 0x14003fc4b
lea rdx, str.Failed_to_delete_hybernate.sys__file
lea rcx, [rsp + 0x20]
call fcn.14000c670
lea rax, [rsp + 0x48]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rsp + 0x20]
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x1b8], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x1c0], rax
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.Delete_system_file
lea rcx, [rsp + 0xa8]
call fcn.14000c8e0
nop
movzx r8d, dil
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14005c860
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x1d8], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xb0]
call fcn.14000c8e0
mov rdi, rax
mov qword [rsp + 0x1e0], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x230], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x50], rcx
lea rdx, str.Failure
lea rcx, [rsp + 0xb8]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x50]
jmp 0x14003fcc1
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x200], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xc0]
call fcn.14000c8e0
mov rdi, rax
lea rdx, str.System_restart_is_needed_to_fix_the_issue_completely.
lea rcx, [rsp + 0xc8]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0xd0]
call fcn.14000c8e0
nop
mov r8, rbx
mov r9, rdi
mov rdx, rax
mov ecx, r15d
call fcn.14005d360
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14003ff46
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x208], rax
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rdx, str.wmic_pagefileset_where_name_C:pagefile.sys__delete
lea rcx, [rsp + 0x68]
call fcn.14000c8e0
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x218], rcx
call fcn.14000d260
mov qword [rsp + 0x220], rax
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r8b, 1
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xe8]
call fcn.14005e5d0
mov qword [rsp + 0x228], rax
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov qword [rsp + 0x278], rcx
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0xd8], rbx
cmp rcx, rbx
je 0x14003fde4
cmp dword [rbx + 0x10], 0
jl 0x14003fdc5
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14003fdc5
call fcn.14000d260
mov qword [rsp + 0xe0], rax
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14003fdb2
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x14003fde4
mov r8d, dword [rdx - 0x10]
mov dword [rsp + 0x2c8], r8d
mov qword [rsp + 0x238], rdx
lea rcx, [rsp + 0x30]
call fcn.14000d350
nop
mov rcx, qword [rsp + 0xe8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xf0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14003fe15
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x248], rax
mov rbx, qword [rsp + 0x30]
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x250], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x258], rax
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.Delete_system_file_deleting_pagefile.sys_file_result
lea rcx, [rsp + 0xf8]
call fcn.14000c8e0
nop
mov r8d, esi
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14005c860
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x100], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14003feb1
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rsp + 0x108], rbx
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14003fed7
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rsp + 0x110], r14
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x14003fefe
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14003ff05
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14003ff21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
int3