Function at 0x140009a60
Capabilities:
Create service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov rax, qword [0x1400344c8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor ebx, ebx
lea r12, fcn.14000a0b0
and qword [rsp + 0x78], rbx
lea rdx, [rbp - 0x70]
and qword [rbp - 0x78], rbx
mov r8d, 0x104
xor ecx, ecx
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
mov r15d, 0x80070000
test eax, eax
jne 0x140009afd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
lea rcx, str.GetModuleFileName_failed__0x_08X__n
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov edx, ebx
call fcn.14001bf40
test ebx, ebx
js 0x140009c74
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov rsi, rax
cmp rax, rcx
je 0x140009b50
test rcx, rcx
je 0x140009b48
mov rax, qword [rsp + 0x70]
movabs r10, 0xefcdb65178560a70
mov rax, qword [rax]
lea rcx, [rsp + 0x70]
call qword [0x140029ce8]
test al, al
je 0x140009d08
mov rcx, rsi
mov qword [rsp + 0x78], rcx
test rcx, rcx
jne 0x140009b7f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
lea rcx, str.OpenSCManager_failed__0x_08X__n
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov edx, ebx
call fcn.14001bf40
mov rcx, qword [rsp + 0x78]
test ebx, ebx
js 0x140009c79
lea rax, [0x14002b0f0]
mov r9d, 0x14
mov qword [rsp + 0x60], rax
lea r8, [0x14002b960]
lea rax, str..LocalSystem
mov qword [rsp + 0x58], rax
lea rdx, str.PerceptionSimulation
lea rax, str.rpcss
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x78]
mov rsi, rax
cmp rax, rcx
je 0x140009c33
test rcx, rcx
je 0x140009c2c
mov rax, qword [rbp - 0x80]
movabs r10, 0xefcdb65178560a70
mov rax, qword [rax]
lea rcx, [rbp - 0x80]
call qword [0x140029ce8]
test al, al
je 0x140009d2a
mov rcx, rsi
mov qword [rbp - 0x78], rcx
test rcx, rcx
jne 0x140009c61
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
lea rcx, str.CreateService_failed__0x_08X__n
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov edx, ebx
call fcn.14001bf40
test ebx, ebx
js 0x140009c74
lea rdx, str.PerceptionSimulation
lea rcx, str._ls_is_installed.
call fcn.14001bf40
mov rcx, qword [rsp + 0x78]
cmp qword [rbp - 0x78], 0
mov qword [rbp - 0x80], r12
je 0x140009c9f
lea rcx, [rbp - 0x80]
call fcn.14000a0b0
test al, al
je 0x140009d4c
and qword [rbp - 0x78], 0
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x70], r12
test rcx, rcx
je 0x140009cb7
lea rcx, [rsp + 0x70]
call fcn.14000a0b0
test al, al
je 0x140009ce6
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001ae50
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, r15d
test eax, eax
cmovle ecx, eax
call fcn.1400062e0
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, r15d
test eax, eax
cmovle ecx, eax
call fcn.1400062e0
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, r15d
test eax, eax
cmovle ecx, eax
call fcn.1400062e0
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, r15d
test eax, eax
cmovle ecx, eax
call fcn.1400062e0
int3