Function at 0x438310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ae00
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
call fcn.00403a70
mov ecx, eax
test ecx, ecx
je 0x438a05
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402820
mov byte [ebp - 4], 3
mov bl, 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.powercfg.exe__h_off
call fcn.0045d100
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov dl, bl
lea ecx, [ebp - 0x30]
call fcn.00460ee0
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
cmp ecx, edi
je 0x4383ec
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4383e0
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4383e0
call fcn.00403060
mov dword [ebp - 0x2c], eax
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4383d8
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x4383ef
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004030c0
or esi, 0xffffffff
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438411
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x30], esp
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x43843a
cmp ecx, dword [edi - 0x10]
jne 0x43843a
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x438464
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x438a0f
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.delete_system_file_disable_hybernation_command_result
call fcn.0045d100
mov byte [ebp - 4], 9
mov byte [ebp - 4], 3
or ecx, 0xffffffff
call fcn.0045f800
add esp, 8
push str.C:hiberfil.sys
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
je 0x4385d1
push str.Failed_to_delete_hybernate.sys__file
lea ecx, [ebp - 0x20]
call fcn.0045d070
movzx eax, bl
mov dword [ebp - 0x2c], eax
push ecx
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esp
mov edi, dword [ebp - 0x20]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x4384eb
cmp ecx, dword [edi - 0x10]
jne 0x4384eb
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x438515
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x438a14
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Delete_system_file
call fcn.0045d100
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
call fcn.0045f800
add esp, 4
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48780e
call fcn.0045d100
mov byte [ebp - 4], 0xd
push ecx
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x30], esp
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x438581
cmp ecx, dword [edi - 0x10]
jne 0x438581
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x4385ab
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x438a19
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Failure
call fcn.0045d100
mov byte [ebp - 4], 0x10
jmp 0x43860d
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48780e
call fcn.0045d100
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.System_restart_is_needed_to_fix_the_issue_completely.
call fcn.0045d100
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Success
call fcn.0045d100
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
call fcn.0045fd10
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402820
mov byte [ebp - 4], 0x14
push str.wmic_pagefileset_where_name_C:pagefile.sys__delete
lea ecx, [ebp - 0x28]
call fcn.0045d100
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x11], 1
push ecx
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esp
mov edi, dword [ebp - 0x28]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x438666
cmp ecx, dword [edi - 0x10]
jne 0x438666
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x438690
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x438a1e
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x15
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0x2c]
call fcn.00460ee0
add esp, 4
mov byte [ebp - 4], 0x18
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
cmp ecx, edi
je 0x438705
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4386f9
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4386f9
call fcn.00403060
mov dword [ebp - 0x30], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4386f1
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x438705
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004030c0
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438727
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esp
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x438750
cmp ecx, dword [edi - 0x10]
jne 0x438750
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x43877a
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x438a23
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Delete_system_file_deleting_pagefile.sys_file_result
call fcn.0045d100
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x15
or ecx, 0xffffffff
call fcn.0045f800
add esp, 8
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4387cf
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4387f1
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438813
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 1
jmp 0x438900
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43891f
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403850
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
int3