Function at 0x140020ba0
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x268
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov r14d, ecx
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x140021171
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x248], rax
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x168]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x190], rax
xor ebx, ebx
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], bx
lea r8d, [rbx + 9]
lea rdx, str.stemp.bat
lea rcx, [rsp + 0x168]
call fcn.14000e890
nop
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x160], 7
mov word [rsp + 0x148], bx
lea r8d, [rbx + 6]
lea rdx, [0x14009a3b8]
lea rcx, [rsp + 0x148]
call fcn.14000e890
nop
lea r9, [rsp + 0x168]
mov r8d, 0x85
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x28]
call fcn.14000dfc0
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x198], rax
lea rdx, [0x14009a1d8]
lea rcx, [rsp + 0x30]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000bc20
nop
mov rcx, rax
call fcn.14005f300
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x68], rcx
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140020d1e
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [0x14009a1d8]
lea rcx, [rsp + 0x38]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.14000bc20
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rax]
mov qword [rsp + 0x1a8], rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x78], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140020d87
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x80], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140020db5
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x1b0], rax
lea rdx, str.chkdsk__f_r
lea rcx, [rsp + 0x88]
call fcn.14000c8e0
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14005e5d0
mov qword [rsp + 0x1b8], rax
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov qword [rsp + 0x1c0], rcx
mov rbx, qword [rsp + 0x20]
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x90], rbx
cmp rcx, rbx
je 0x140020e84
cmp dword [rbx + 0x10], 0
jl 0x140020e65
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140020e65
call fcn.14000d260
mov qword [rsp + 0x98], rax
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140020e52
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x98]
add rax, 0x18
mov qword [rsp + 0x20], rax
jmp 0x140020e84
mov r8d, dword [rdx - 0x10]
mov dword [rsp + 0x298], r8d
mov qword [rsp + 0x1c8], rdx
lea rcx, [rsp + 0x20]
call fcn.14000d350
nop
mov rcx, qword [rsp + 0xa0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xa8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140020eb5
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x20]
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x2a0], eax
test eax, eax
js 0x140020efa
lea rdx, str.invalid
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x210], rax
test rax, rax
je 0x140020efa
sub rax, rbx
sar rax, 1
mov dword [rsp + 0x2a8], eax
test eax, eax
jns 0x140020fa8
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x5c], eax
test eax, eax
js 0x140020f30
lea rdx, str.Error
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1d8], rax
test rax, rax
je 0x140020f30
sub rax, rbx
sar rax, 1
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140020fa8
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x4c], eax
test eax, eax
js 0x140020f66
lea rdx, str.error
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1e0], rax
test rax, rax
je 0x140020f66
sub rax, rbx
sar rax, 1
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140020fa8
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x54], eax
test eax, eax
js 0x140021081
lea rdx, str.denied
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1e8], rax
test rax, rax
je 0x140021081
sub rax, rbx
sar rax, 1
mov dword [rsp + 0x58], eax
test eax, eax
js 0x140021081
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1f8], rax
lea rcx, [rbx - 0x18]
mov qword [rsp + 0x200], rcx
call fcn.14000d260
mov qword [rsp + 0x208], rax
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.winInstallerRunningRepeatitively_KB_11033
lea rcx, [rsp + 0xb0]
call fcn.14000c8e0
nop
mov r8d, esi
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14005c860
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x218], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x220], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xb8]
call fcn.14000c8e0
mov rdi, rax
lea rdx, str.Error_occurred_during_code_execution
lea rcx, [rsp + 0xc0]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.Failure
lea rcx, [rsp + 0xc8]
call fcn.14000c8e0
nop
jmp 0x1400210f4
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x228], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x238], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xd0]
call fcn.14000c8e0
mov rdi, rax
lea rdx, str.System_restart_is_needed_to_fix_the_issue_completely.
lea rcx, [rsp + 0xd8]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0xe0]
call fcn.14000c8e0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov ecx, r14d
call fcn.14005d360
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xe8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140021135
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x20]
add rax, 0xffffffffffffffe8
mov qword [rsp + 0xf0], rax
lock xadd dword [rax + 0x10], esi
sub esi, 1
jg 0x140021162
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
add rsp, 0x268
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000df80
int3