Function at 0x180005200
Capabilities:
Delete service

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x400
xor ecx, ecx
mov eax, 0x56
mov byte [r11 + 0x10], al
lea r11d, [rax - 9]
lea edx, [rcx + 0x61]
lea r8d, [rax + 0x19]
lea r15d, [rax + 0x1d]
lea ebp, [rdx - 5]
lea eax, [rcx + 0x44]
lea r12d, [r11 + 0x27]
lea r13d, [r11 + 0x18]
mov word [rsp + 0x20], ax
lea eax, [rcx + 0x6c]
lea r10d, [r11 + 0x19]
mov word [rsp + 0x2a], ax
mov word [rsp + 0x46], ax
xor eax, eax
lea esi, [rdx + 0x11]
lea ebx, [rdx + 8]
mov byte [rsp + 0x43f], cl
mov word [rsp + 0x52], ax
mov word [rsp + 0x2e], cx
lea ecx, [rdx - 0xe]
lea eax, [rdx + 2]
lea r9d, [r11 + 0x2a]
lea edi, [rdx + 0xd]
mov byte [rsp + 0x43b], r8b
mov byte [rsp + 0x43c], r8b
mov word [rsp + 0x30], cx
mov word [rsp + 0x78], ax
mov word [rsp + 0x32], r8w
mov word [rsp + 0x60], cx
lea ecx, [rdx + 0xe]
lea eax, [rdx - 0xa]
lea r14d, [r11 + 0x28]
lea r8d, [r11 - 0xa]
mov byte [rsp + 0x439], r11b
mov byte [rsp + 0x43a], 0x54
mov word [rsp + 0x8a], ax
mov byte [rsp + 0x43d], 0x49
mov byte [rsp + 0x43e], r15b
mov word [rsp + 0x22], r13w
mov word [rsp + 0x24], r10w
mov word [rsp + 0x26], dx
mov word [rsp + 0x28], r14w
mov word [rsp + 0x2c], r12w
mov word [rsp + 0x34], r10w
mov word [rsp + 0x36], r12w
mov word [rsp + 0x38], r9w
mov word [rsp + 0x3a], dx
mov word [rsp + 0x3c], si
mov word [rsp + 0x3e], r13w
mov word [rsp + 0x40], bp
mov word [rsp + 0x42], bp
mov word [rsp + 0x44], r8w
mov word [rsp + 0x48], bx
mov word [rsp + 0x4a], r13w
mov word [rsp + 0x4c], di
mov word [rsp + 0x4e], r12w
mov word [rsp + 0x50], r15w
mov word [rsp + 0x62], cx
mov word [rsp + 0x64], r10w
mov word [rsp + 0x66], r12w
mov word [rsp + 0x68], r9w
mov word [rsp + 0x6a], dx
mov word [rsp + 0x6c], si
mov word [rsp + 0x6e], r13w
mov word [rsp + 0x70], bp
mov word [rsp + 0x72], bp
mov word [rsp + 0x74], r11w
mov word [rsp + 0x76], bx
mov word [rsp + 0x7a], si
mov word [rsp + 0x7c], cx
mov word [rsp + 0x7e], r15w
mov word [rsp + 0x80], cx
mov word [rsp + 0x82], r10w
mov word [rsp + 0x84], r12w
mov word [rsp + 0x86], bp
mov word [rsp + 0x88], bp
mov word [rsp + 0x8c], bx
mov word [rsp + 0x8e], di
lea eax, [rdx + 3]
mov word [rsp + 0xa0], si
mov word [rsp + 0xa2], si
mov word [rsp + 0x90], ax
lea eax, [rdx - 0xb]
mov word [rsp + 0xae], si
mov word [rsp + 0xaa], ax
lea eax, [rdx - 0xf]
mov word [rsp + 0x92], cx
mov word [rsp + 0x9c], r8w
mov word [rsp + 0xb4], cx
xor esi, esi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov word [rsp + 0xbc], ax
mov word [rsp + 0x94], r9w
mov word [rsp + 0x96], r15w
mov word [rsp + 0x98], bp
mov word [rsp + 0x9a], bp
mov word [rsp + 0x9e], r14w
mov word [rsp + 0xa4], r13w
mov word [rsp + 0xa6], di
mov word [rsp + 0xa8], r12w
mov word [rsp + 0xac], r13w
mov word [rsp + 0xb0], r15w
mov word [rsp + 0xb2], bx
mov word [rsp + 0xb6], di
mov word [rsp + 0xb8], bp
mov word [rsp + 0xba], bp
mov word [rsp + 0xbe], r14w
mov word [rsp + 0xc0], di
mov word [rsp + 0xc2], si
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
cmp rax, rsi
je 0x180005518
lea rdx, [rsp + 0x438]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
cmp rax, rsi
je 0x1800054fc
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.180002564
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
jmp 0x180005546
call fcn.180002564
mov rbx, 0xffffffff80000001
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rax
call fcn.18000272c
call fcn.180002564
lea r8, [rsp + 0x60]
mov rdx, rbx
lea r9, [rsp + 0x20]
mov rcx, rax
call fcn.18000272c
mov ebx, 0x103
lea rcx, [rsp + 0x1e1]
mov r8, rbx
xor edx, edx
mov byte [rsp + 0x1e0], sil
call fcn.180015710
lea rcx, [rsp + 0xd1]
mov r8, rbx
xor edx, edx
mov byte [rsp + 0xd0], sil
call fcn.180015710
lea rcx, [rsp + 0x2f1]
mov r8, rbx
xor edx, edx
mov byte [rsp + 0x2f0], sil
call fcn.180015710
call fcn.180002564
lea rbx, [0x180023124]
lea rdx, str._s_spools.exe
lea rcx, [rsp + 0x1e0]
mov r8, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
call fcn.180002564
lea rdx, str._slibvlc.dll
lea rcx, [rsp + 0xd0]
mov r8, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
call fcn.180002564
lea rdx, str._slibvlc.rtf
lea rcx, [rsp + 0x2f0]
mov r8, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x1e0]
call fcn.1800050f4
lea rcx, [rsp + 0xd0]
call fcn.1800050f4
lea rcx, [rsp + 0x2f0]
call fcn.1800050f4
lea r11, [rsp + 0x400]
xor eax, eax
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret