Function at 0x14000a168
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d8]
sub rsp, 0x3d8
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140120c80]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r15, r9
mov rbx, r8
mov esi, edx
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp + 0x30]
call sub.msvcrt.dll_memset
mov edi, 3
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Entry
call fcn.140004570
mov rdx, rbx
call fcn.14000a8b0
lea r13d, [rdi - 1]
xor r12d, r12d
test al, al
je 0x14000a331
lea rdx, [rbx + 0x20]
call fcn.14000a8b0
test al, al
je 0x14000a331
mov r9, rbx
mov r8d, esi
lea rdx, [rbp - 0x60]
call fcn.14000a070
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14000a314
mov edx, esi
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Injecting_the_AppAgent_into_process__lu
call fcn.140012144
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
nop dword [rax + rax]
test eax, eax
je 0x14000a2cf
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000a2cf
mov edx, dword [r14 + 0x120]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x14000a292
mov edi, r12d
jmp 0x14000a2a3
mov edx, eax
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Error_waiting_for_MavInject_to_exit__0x_X
call fcn.1400045a0
mov edi, r13d
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000a2b8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000a320
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14000a320
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.1400045a0
mov r9, rbx
lea r8, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_CreateProcess_command_line___s
mov edx, 0x100
lea rcx, [rbp + 0xc0]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
jmp 0x14000a31b
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Failed_to_allocate_buffer
call fcn.14000469c
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
jmp 0x14000a336
mov edi, 1
test edi, edi
jne 0x14000a42f
mov edx, esi
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_AppAgent_succeessfully_injected_into_process__lu
call fcn.140012144
lea ebx, [rdi + 7]
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xb0], r12
mov word [rbp + 0xa0], r12w
lea r8d, [rdi + 0x15]
lea rdx, str.Injected_successfully
lea rcx, [rbp + 0xa0]
call fcn.1400064bc
nop
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
xor r8d, r8d
lea rdx, [0x1400d7060]
lea rcx, [rsp + 0x60]
call fcn.1400064bc
nop
mov dword [rsp + 0x20], 4
lea r9d, [rdi + 0x35]
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140008e90
nop
cmp qword [rsp + 0x78], 8
jb 0x14000a3dd
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], r12
mov word [rsp + 0x60], r12w
cmp qword [rbp + 0xb8], 8
jb 0x14000a40a
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xb0], r12
mov word [rbp + 0xa0], r12w
lea rcx, [rbp - 0x50]
call fcn.140008bd0
nop
jmp 0x14000a579
cmp edi, r13d
jne 0x14000a44d
test byte [0x140121dc0], 4
je 0x14000a5c8
lea rdx, [0x1400d66b8]
jmp 0x14000a594
cmp edi, 1
jne 0x14000a584
test byte [0x140121dc0], 0x10
je 0x14000a49a
mov dword [rbp - 0x60], esi
lea rax, [rbp - 0x60]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], 4
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea rdx, [0x1400d66d8]
lea rcx, [0x14011a1c0]
call fcn.140002ebc
mov ebx, 7
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
lea r8d, [rbx + 0xa]
lea rdx, str.Invalid_mavinject
lea rcx, [rsp + 0x60]
call fcn.1400064bc
nop
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xb0], r12
mov word [rbp + 0xa0], r12w
xor r8d, r8d
lea rdx, [0x1400d7060]
lea rcx, [rbp + 0xa0]
call fcn.1400064bc
nop
mov dword [rsp + 0x20], r13d
mov r9d, 0x2ee
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x50]
call fcn.140008e90
nop
cmp qword [rbp + 0xb8], 8
jb 0x14000a530
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xb0], r12
mov word [rbp + 0xa0], r12w
cmp qword [rsp + 0x78], 8
jb 0x14000a55f
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], r12
mov word [rsp + 0x60], r12w
lea rcx, [rbp - 0x50]
call fcn.140008bd0
nop
lea rcx, [rbp - 0x50]
call fcn.140008ff0
jmp 0x14000a5c8
test byte [0x140121dc0], 4
je 0x14000a5c8
lea rdx, [0x1400d6540]
lea rax, [rbp - 0x60]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x60], esi
mov qword [rbp + 0xb8], 4
mov r9d, r13d
lea rcx, [0x14011a1c0]
call fcn.140002ebc
lea rcx, str.AgentService.CreateProcNotificationListener::LaunchAndWaitForInjectionProcess:_Exit
call fcn.140004570
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400be470
add rsp, 0x3d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret