Function at 0x1400370a0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401c7b80]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x1400371cb
movabs rax, 0x613cc423cf3f199b
movabs rcx, 0xc794e01b8fce676a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x778adc589aeaf1e7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xf7408a30c24c95df
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xc794e01b8fbc152f
mov qword [rbp], rax
mov rax, qword [rbp]
lea rdx, [rbp + 0x20]
mov qword [rbp + 0x38], rax
xor r9d, r9d
movabs rax, 0x90f23a946580eb2f
xor r8d, r8d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x9a4a00e15c3c2958
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x15ff578e3f866219
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
mov qword [rbp], rcx
xor ecx, ecx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x1400373c9
cmp qword [rbx + 0x18], 8
jb 0x1400371d5
mov rbx, qword [rbx]
mov r8d, 0xf01ff
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14003727c
movabs rax, 0xe6805fc70be59b60
lea rdx, [rbp + 0x60]
mov qword [rbp], rax
xor r9d, r9d
mov rax, qword [rbp]
xor r8d, r8d
mov qword [rbp + 0x60], rax
xor ecx, ecx
movabs rax, 0x9a4a729319594a31
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x90f23a946580eb2f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x9a4a00e15c3c2958
mov qword [rbp], rax
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x60]
mov qword [rbp + 0x28], rax
pxor xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x60], xmm0
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400373c9
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [rbp + 0x44]
dec eax
test eax, 0xfffffffd
je 0x140037392
lea r8, [rbp + 0x40]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140037316
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movabs rax, 0xc39e55e611ee846c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xe80f6582354a5b3d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x15ff578e3f86626b
mov qword [rbp], rax
movabs rcx, 0xc794e01b8fce676a
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rcx
jmp 0x14003714a
xor edi, edi
cmp dword [rbp + 0x44], 1
je 0x140037392
nop
lea rdx, [rbp + 0x40]
mov rcx, rbx
inc edi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, gethostbyname
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbp + 0x44], 1
jne 0x140037320
cmp edi, 0x50
jle 0x140037392
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movabs rax, 0xe69b48d009ec8264
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xef25658c35685b3d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x15ff578e3f86626d
jmp 0x1400372f7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
test eax, eax
jne 0x1400373b5
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1400373c9
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1401339b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret