Function at 0x140020070
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x238
mov qword [rsp + 0x1b0], 0xfffffffffffffffe
mov r14d, ecx
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x140020578
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x200], rax
xor ebx, ebx
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], bx
lea r8d, [rbx + 9]
lea rdx, str.stemp.bat
lea rcx, [rsp + 0x158]
call fcn.14000e890
nop
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x138], rbx
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], bx
lea r8d, [rbx + 6]
lea rdx, [0x14009a3b8]
lea rcx, [rsp + 0x128]
call fcn.14000e890
nop
lea r9, [rsp + 0x158]
lea r8d, [rbx + 0x78]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x30]
call fcn.14000dfc0
nop
lea rax, [rsp + 0x80]
mov qword [rsp + 0x210], rax
lea rdx, [0x14009a1d8]
lea rcx, [rsp + 0x58]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14000bc20
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005e5d0
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x88], rcx
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400201f8
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x268], eax
test eax, eax
js 0x14002023f
lea rdx, str.Error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0x20]
test rax, rax
je 0x14002023f
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x270], eax
test eax, eax
jns 0x1400202c4
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x278], eax
test eax, eax
js 0x14002027d
lea rdx, str.error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x20]
test rax, rax
je 0x14002027d
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x150], eax
test eax, eax
jns 0x1400202c4
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x148], eax
test eax, eax
js 0x1400203c2
lea rdx, str.denied
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x180], rax
test rax, rax
je 0x1400203c2
sub rax, qword [rsp + 0x20]
sar rax, 1
mov dword [rsp + 0x14c], eax
test eax, eax
js 0x1400203c2
lea rdx, str.Error_occurred_during_code_execution
lea rcx, [rsp + 0x28]
call fcn.14000c670
lea rax, [rsp + 0x40]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x190], rax
mov rbx, qword [rsp + 0x28]
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x198], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x1a0], rax
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.registereInterface_KB_11428
lea rcx, [rsp + 0x90]
call fcn.14000c8e0
nop
mov r8d, esi
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14005c860
lea rax, [rsp + 0x98]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x1b8], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x98]
call fcn.14000c8e0
mov rdi, rax
mov qword [rsp + 0x1c0], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x1c8], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x68], rcx
lea rdx, str.Failure
lea rcx, [rsp + 0xa0]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x68]
jmp 0x140020438
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x1e0], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xa8]
call fcn.14000c8e0
mov rdi, rax
lea rdx, str.Necessary_changes_have_been_done.
lea rcx, [rsp + 0xb0]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0xb8]
call fcn.14000c8e0
nop
mov r8, rbx
mov r9, rdi
mov rdx, rax
mov ecx, r14d
call fcn.14005d360
lea rdx, [0x14009a1d8]
lea rcx, [rsp + 0x48]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc0]
call fcn.14000bc20
mov qword [rsp + 0x220], rax
mov rcx, qword [rax]
mov qword [rsp + 0x1f0], rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rsp + 0xc0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xc8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400204bb
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400204ea
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140020519
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xe0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140020548
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14002054f
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14002056b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x238
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000df80
int3