Function at 0x140011ab0
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x1f8
mov qword [rsp + 0x1c0], 0xfffffffffffffffe
mov r14d, ecx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x140011fb0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x228], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], 7
mov word [rsp + 0x150], bx
mov r8d, 9
lea rdx, str.stemp.bat
lea rcx, [rsp + 0x150]
call fcn.14000e6a0
nop
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], 7
mov word [rsp + 0x130], bx
mov r8d, 6
lea rdx, [0x14009a3a8]
lea rcx, [rsp + 0x130]
call fcn.14000e6a0
nop
lea r9, [rsp + 0x150]
mov r8d, 0x90
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14000ddd0
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x1c8], rax
lea rdx, [0x14009a1c8]
lea rcx, [rsp + 0x60]
call fcn.14000c6f0
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x120]
call fcn.14000ba30
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14005e3e0
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x128], rcx
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140011c25
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0x228], ecx
test ecx, ecx
js 0x140011d43
lea rdx, str.ChangeServiceConfig_SUCCESS
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rax
mov qword [rsp + 0x1d8], rax
test rax, rax
je 0x140011d3e
mov rax, qword [rsp + 0x38]
sub rcx, rax
sar rcx, 1
mov dword [rsp + 0x230], ecx
test ecx, ecx
jle 0x140011d43
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0x238], ecx
test ecx, ecx
js 0x140011d43
lea rdx, str.SUCCESS
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rax
mov qword [rsp + 0x170], rax
test rax, rax
je 0x140011d3e
mov rax, qword [rsp + 0x38]
sub rcx, rax
sar rcx, 1
mov dword [rsp + 0x118], ecx
test ecx, ecx
jle 0x140011d43
lea rax, [rsp + 0x80]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x188], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x80]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.BES_Client_Service_changes_has_been_done.
lea rcx, [rsp + 0x88]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Success
lea rcx, [rsp + 0x90]
call fcn.14000c6f0
nop
jmp 0x140011e1a
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x1b8], rcx
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x190], rcx
lea rcx, [rax - 0x18]
mov qword [rsp + 0x198], rcx
call fcn.14000d070
mov qword [rsp + 0x1a0], rax
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, str._Restart_BES_service_Error
lea rcx, [rsp + 0x98]
call fcn.14000c6f0
nop
mov r8d, esi
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14005c670
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x1b0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1e0], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0xa0]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.The_BES_Client_Service_is_not_present_on_your_system.
lea rcx, [rsp + 0xa8]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Failure
lea rcx, [rsp + 0xb0]
call fcn.14000c6f0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov ecx, r14d
call fcn.14005d170
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xb8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140011e5b
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140011e62
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x140011fbb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x14009a1c8]
lea rcx, [rsp + 0x40]
call fcn.14000cc80
test al, al
jne 0x140011ea9
lea rdx, [0x14009a1c8]
lea rcx, [rsp + 0x40]
call fcn.14000c480
nop
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140011ec5
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140011ed6
call fcn.14000d980
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140011fc6
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov edi, 1
mov dword [rsp + 0x30], edi
mov r9, qword [rsp + 0x40]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.14000ce60
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011f46
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 0x140011f65
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 0x140011f84
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x110]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140011fa3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x1f8
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