Function at 0x1400010e0
Capabilities:
Create service
Start service

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rcx, qword [rsp + 0xe0]
call fcn.1400017c0
movzx eax, al
test eax, eax
jne 0x140001119
mov rcx, qword [rsp + 0xe8]
call fcn.1400017c0
movzx eax, al
test eax, eax
je 0x140001142
mov byte [rsp + 0x70], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x70]
jmp 0x14000153d
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400011a3
mov byte [rsp + 0x71], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x71]
jmp 0x14000153d
mov rcx, qword [rsp + 0xe0]
call fcn.140001770
mov r8d, 0xf01ff
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400012dd
mov rcx, qword [rsp + 0xe8]
call fcn.140001770
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140001770
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140001770
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0xf01ff
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400012dd
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [0x1400127e0]
call fcn.140001850
mov byte [rsp + 0x72], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x72]
jmp 0x14000153d
lea r8, [rsp + 0xb0]
mov edx, 4
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140001354
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x140001354
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str.ERROR_SERVICE_NOT_ACTIVE_r_n
call fcn.140001850
mov byte [rsp + 0x73], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x73]
jmp 0x14000153d
cmp dword [rsp + 0xb4], 4
jne 0x1400013b1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [0x140012810]
call fcn.140001850
mov byte [rsp + 0x74], 1
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x74]
jmp 0x14000153d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140001413
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str.go_r_n
call fcn.140001850
mov byte [rsp + 0x75], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x75]
jmp 0x14000153d
mov qword [rsp + 0x90], 0
jmp 0x140001434
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0xa
jae 0x1400014cb
lea r8, [rsp + 0xb0]
mov edx, 4
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400014af
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [0x140012828]
call fcn.140001850
mov byte [rsp + 0x76], 0
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x76]
jmp 0x14000153d
cmp dword [rsp + 0xb4], 4
jne 0x1400014bb
jmp 0x1400014cb
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001421
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [0x140012838]
call fcn.140001850
cmp dword [rsp + 0xb4], 4
jne 0x140001507
mov dword [rsp + 0x88], 1
jmp 0x140001512
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x77], al
mov rcx, qword [rsp + 0xe0]
call fcn.1400010b0
mov rcx, qword [rsp + 0xe8]
call fcn.1400010b0
movzx eax, byte [rsp + 0x77]
add rsp, 0xd8
ret