Function at 0x14000a158
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x140110980]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r12, r9
mov rbx, r8
mov r14d, edx
mov r15, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp + 0x20]
call sub.msvcrt.dll_memset
mov esi, 3
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Entry
call fcn.140004514
mov rdx, rbx
call fcn.14000a890
xor r13d, r13d
test al, al
je 0x14000a47c
lea rdx, [rbx + 0x20]
call fcn.14000a890
test al, al
je 0x14000a47c
mov r9, rbx
mov r8d, r14d
lea rdx, [rbp - 0x68]
call fcn.14000a080
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x14000a2fb
mov edx, r14d
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Injecting_the_AppAgent_into_process__lu
call fcn.140012334
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rbx
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
nop dword [rax + rax]
test eax, eax
je 0x14000a2b6
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000a2b6
mov edx, dword [r15 + 0x120]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x14000a277
mov esi, r13d
jmp 0x14000a28a
mov edx, eax
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Error_waiting_for_MavInject_to_exit__0x_X
call fcn.140004610
mov esi, 2
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000a29f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000a307
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14000a307
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_CreateProcess_failed__error__0x_X
call fcn.140004610
mov r9, rbx
lea r8, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_CreateProcess_command_line___s
mov edx, 0x100
lea rcx, [rbp + 0xb0]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rcx, [rbp + 0xb0]
jmp 0x14000a302
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Failed_to_allocate_buffer
call fcn.1400046a0
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
test esi, esi
jne 0x14000a410
mov edx, r14d
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_AppAgent_succeessfully_injected_into_process__lu
call fcn.140012334
lea ebx, [rsi + 7]
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], r13
mov word [rbp + 0x90], r13w
lea r8d, [rsi + 0x15]
lea rdx, str.Injected_successfully
lea rcx, [rbp + 0x90]
call fcn.1400063d0
nop
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
xor r8d, r8d
lea rdx, [0x1400db6f0]
lea rcx, [rsp + 0x60]
call fcn.1400063d0
nop
mov dword [rsp + 0x20], 4
lea r9d, [rsi + 0x35]
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140009078
nop
cmp qword [rsp + 0x78], 8
jb 0x14000a3be
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
cmp qword [rbp + 0xa8], 8
jb 0x14000a3eb
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], r13
mov word [rbp + 0x90], r13w
lea rcx, [rbp - 0x60]
call fcn.140008da8
nop
jmp 0x14000a5a6
cmp esi, 2
jne 0x14000a466
test byte [0x140111b00], 4
je 0x14000a5af
lea rdx, [0x1400dad48]
lea rax, [rbp - 0x68]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0x90]
mov r9d, 2
mov qword [rsp + 0x20], rax
mov qword [rbp + 0xa8], 4
mov dword [rbp - 0x68], r14d
lea rcx, [0x14010a1c0]
call fcn.140002dbc
jmp 0x14000a5af
test byte [0x140111b00], 4
je 0x14000a5af
lea rdx, [0x1400dabd0]
jmp 0x14000a429
test byte [0x140111b00], 0x10
je 0x14000a4c4
mov dword [rbp - 0x68], r14d
lea rax, [rbp - 0x68]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], 4
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea rdx, [0x1400dad68]
lea rcx, [0x14010a1c0]
call fcn.140002dbc
mov ebx, 7
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
lea r8d, [rbx + 0xa]
lea rdx, str.Invalid_mavinject
lea rcx, [rsp + 0x60]
call fcn.1400063d0
nop
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], r13
mov word [rbp + 0x90], r13w
xor r8d, r8d
lea rdx, [0x1400db6f0]
lea rcx, [rbp + 0x90]
call fcn.1400063d0
nop
mov dword [rsp + 0x20], 2
mov r9d, 0x2ee
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x60]
call fcn.140009078
nop
cmp qword [rbp + 0xa8], 8
jb 0x14000a55d
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], r13
mov word [rbp + 0x90], r13w
cmp qword [rsp + 0x78], 8
jb 0x14000a58c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r13
mov word [rsp + 0x60], r13w
lea rcx, [rbp - 0x60]
call fcn.140008da8
nop
lea rcx, [rbp - 0x60]
call fcn.1400091d0
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Exit
call fcn.140004514
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400c2d60
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret