Function at 0x140023400
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
mov r11, rsp
push rbx
push rsi
push rdi
push r14
sub rsp, 0x208
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov r14d, ecx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
lea rax, [r11 - 0xe0]
mov qword [r11 + 0x10], rax
lea rax, [r11 - 0x100]
mov qword [r11 + 0x18], rax
mov qword [r11 - 0xd0], rbx
mov qword [r11 - 0xc8], 7
mov word [rsp + 0x148], bx
lea r8d, [rbx + 9]
lea rdx, str.stemp.bat
lea rcx, [r11 - 0xe0]
call fcn.14000e6a0
nop
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], bx
lea r8d, [rbx + 6]
lea rdx, [0x14009a3a8]
lea rcx, [rsp + 0x128]
call fcn.14000e6a0
nop
lea r9, [rsp + 0x148]
lea r8d, [rbx + 0x77]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x50]
call fcn.14000ddd0
nop
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x140023911
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x1d8], rax
lea r8, str.stemp.bat
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.14000b960
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14005e3e0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x238], eax
test eax, eax
js 0x140023562
lea rdx, str.error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1e8], rax
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x140023562
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x240], eax
test eax, eax
jns 0x1400235e7
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x248], eax
test eax, eax
js 0x1400235a0
lea rdx, str.Error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x1400235a0
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x118], eax
test eax, eax
jns 0x1400235e7
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x11c], eax
test eax, eax
js 0x140023707
lea rdx, str.denied
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x170], rax
test rax, rax
je 0x140023707
sub rax, qword [rsp + 0x30]
sar rax, 1
mov dword [rsp + 0x120], eax
test eax, eax
js 0x140023707
lea rdx, str.Error_occurred_during_code_execution
lea rcx, [rsp + 0x40]
call fcn.14000c480
lea rax, [rsp + 0x78]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x188], rcx
call fcn.14000d070
mov qword [rsp + 0x190], rax
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, str.fixHybernetissue_KB_11495
lea rcx, [rsp + 0xa0]
call fcn.14000c6f0
nop
mov esi, 0xffffffff
mov r8d, esi
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14005c670
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1a0], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xa8]
call fcn.14000c6f0
mov rbx, rax
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1a8], rcx
call fcn.14000d070
mov qword [rsp + 0x1b0], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x80], rcx
lea rdx, str.Failure
lea rcx, [rsp + 0xb0]
call fcn.14000c6f0
nop
mov r9, rbx
lea r8, [rsp + 0x80]
mov rdx, rax
mov ecx, r14d
call fcn.14005d170
jmp 0x140023790
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x1f0], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xb8]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.System_restart_is_needed_to_fix_the_issue_completely.
lea rcx, [rsp + 0xc0]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0xc8]
call fcn.14000c6f0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov ecx, r14d
call fcn.14005d170
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400237bf
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x1400237c6
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14002391c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [0x14009a1c8]
lea rcx, [rsp + 0x48]
call fcn.14000cc80
test al, al
jne 0x14002380d
lea rdx, [0x14009a1c8]
lea rcx, [rsp + 0x48]
call fcn.14000c480
nop
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140023829
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14002383a
call fcn.14000d980
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140023927
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov edi, 1
mov dword [rsp + 0x38], edi
mov r9, qword [rsp + 0x48]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.14000ce60
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400238aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400238c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400238e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140023904
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x208
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000dd90
nop
mov ecx, 0x80004005
call fcn.14000dd90
nop
mov ecx, 0x80004005
call fcn.14000dd90
int3