Function at 0x14001da90
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x200
mov qword [rsp + 0x1d8], 0xfffffffffffffffe
mov r15d, ecx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
call fcn.14000db70
mov rcx, rax
test rax, rax
je 0x14001df8f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], bx
mov r8d, 9
lea r14, str.stemp.bat
mov rdx, r14
lea rcx, [rsp + 0x150]
call fcn.14000e890
nop
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], 7
mov word [rsp + 0x130], bx
mov r8d, 6
lea rdx, [0x14009a3b8]
lea rcx, [rsp + 0x130]
call fcn.14000e890
nop
lea r9, [rsp + 0x150]
mov r8d, 0x75
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14000dfc0
nop
lea rax, [rsp + 0x98]
mov qword [rsp + 0x1e0], rax
lea rdx, [0x14009a1d8]
lea rcx, [rsp + 0x70]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14000bc20
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14005e5d0
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xa0], rcx
mov rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14001dc09
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x238], eax
test eax, eax
js 0x14001dc50
lea rdx, str.error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x14001dc50
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x240], eax
test eax, eax
jns 0x14001dcd5
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x248], eax
test eax, eax
js 0x14001dc8e
lea rdx, str.Error
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x30]
test rax, rax
je 0x14001dc8e
sub rax, rcx
sar rax, 1
mov dword [rsp + 0x120], eax
test eax, eax
jns 0x14001dcd5
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x124], eax
test eax, eax
js 0x14001dddc
lea rdx, str.denied
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rsp + 0x178], rax
test rax, rax
je 0x14001dddc
sub rax, qword [rsp + 0x30]
sar rax, 1
mov dword [rsp + 0x128], eax
test eax, eax
js 0x14001dddc
lea rdx, str.Error_occurred_during_code_execution
lea rcx, [rsp + 0x40]
call fcn.14000c670
lea rax, [rsp + 0x78]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x188], rax
mov rbx, qword [rsp + 0x40]
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x190], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x198], rax
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, str.failedToConnectServices_KB_10671
lea rcx, [rsp + 0xa8]
call fcn.14000c8e0
nop
mov r8d, esi
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14005c860
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x1a8], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xb0]
call fcn.14000c8e0
mov rdi, rax
mov qword [rsp + 0x1b0], rbx
mov rcx, rbx
call fcn.14000d260
mov qword [rsp + 0x1b8], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x80], rcx
lea rdx, str.Failure
lea rcx, [rsp + 0xb8]
call fcn.14000c8e0
nop
lea r8, [rsp + 0x80]
jmp 0x14001de52
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x1c8], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x1f8], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xc0]
call fcn.14000c8e0
mov rdi, rax
lea rdx, str.Necessary_changes_have_been_done.
lea rcx, [rsp + 0xc8]
call fcn.14000c8e0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0xd0]
call fcn.14000c8e0
nop
mov r8, rbx
mov r9, rdi
mov rdx, rax
mov ecx, r15d
call fcn.14005d360
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xd8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14001de90
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14001dea0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14001debc
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001decd
call fcn.14000db70
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001df9a
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov edi, 1
mov dword [rsp + 0x38], edi
mov rax, rsi
inc rax
cmp word [r14 + rax*2], 0
jne 0x14001def1
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9, r14
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.14000d050
mov rbx, qword [rsp + 0x68]
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 0x14001df45
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 0x14001df64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14001df80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000df80
nop
mov ecx, 0x80004005
call fcn.14000df80
int3