Function at 0x438d50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
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.00403ac0
mov ecx, eax
test ecx, ecx
je 0x439445
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.004027e0
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.0045fcf0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov dl, bl
lea ecx, [ebp - 0x30]
call fcn.004642f0
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 0x438e2c
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x438e20
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x438e20
call fcn.00403090
mov dword [ebp - 0x2c], eax
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x438e18
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 0x438e2f
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004030f0
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 0x438e51
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 0x438e7a
cmp ecx, dword [edi - 0x10]
jne 0x438e7a
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x438ea4
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x43944f
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.004031f0
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.0045fcf0
mov byte [ebp - 4], 9
mov byte [ebp - 4], 3
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
push str.C:hiberfil.sys
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test eax, eax
je 0x439011
push str.Failed_to_delete_hybernate.sys__file
lea ecx, [ebp - 0x20]
call fcn.0045fc60
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 0x438f2b
cmp ecx, dword [edi - 0x10]
jne 0x438f2b
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x438f55
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x439454
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.004031f0
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.0045fcf0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
call fcn.00462c10
add esp, 4
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48d10a
call fcn.0045fcf0
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 0x438fc1
cmp ecx, dword [edi - 0x10]
jne 0x438fc1
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x438feb
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x439459
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.004031f0
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.0045fcf0
mov byte [ebp - 4], 0x10
jmp 0x43904d
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x48d10a
call fcn.0045fcf0
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.0045fcf0
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x48d168
call fcn.0045fcf0
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
call fcn.00463120
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.004027e0
mov byte [ebp - 4], 0x14
push str.wmic_pagefileset_where_name_C:pagefile.sys__delete
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
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 0x4390a6
cmp ecx, dword [edi - 0x10]
jne 0x4390a6
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x4390d0
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x43945e
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.004031f0
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.004642f0
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 0x439145
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x439139
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x439139
call fcn.00403090
mov dword [ebp - 0x30], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x439131
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 0x439145
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004030f0
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 0x439167
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 0x439190
cmp ecx, dword [edi - 0x10]
jne 0x439190
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x4391ba
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x439463
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.004031f0
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.0045fcf0
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x15
or ecx, 0xffffffff
call fcn.00462c10
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 0x43920f
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 0x439231
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 0x439253
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 1
jmp 0x439340
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 0x43935f
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.00403880
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
int3