Function at 0x140015400
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x8c], 0xffffffff
cmp qword [rsp + 0x200], 0
jne 0x140015474
mov r8, qword [rsp + 0x200]
lea rdx, str.spawn_child_internal
lea rcx, str._s_invalid_argument_cmd:_s
call fcn.140003950
mov eax, 0xffffffff
jmp 0x140015bd5
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400199a0
test eax, eax
jne 0x140015497
mov dword [rsp + 0x78], 1
cmp dword [rsp + 0x78], 0
je 0x140015535
call fcn.140017680
mov qword [rsp + 0x110], rax
mov qword [rsp + 0xa0], 0xffffffffffffffff
inc qword [rsp + 0xa0]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xa0]
cmp byte [rax + rcx], 0
jne 0x1400154bb
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x200]
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0xa8], 0xffffffffffffffff
inc qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xa8]
cmp byte [rcx + rdx], 0
jne 0x1400154fd
mov rcx, qword [rsp + 0xa8]
mov edx, dword [rsp + 0x68]
lea eax, [rax + rdx + 1]
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x68], eax
jmp 0x140015583
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0xb0], 0xffffffffffffffff
inc qword [rsp + 0xb0]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xb0]
cmp byte [rax + rcx], 0
jne 0x140015551
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x68]
lea eax, [rcx + rax + 3]
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x208], 0
je 0x140015618
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140015618
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0xb8], 0xffffffffffffffff
inc qword [rsp + 0xb8]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xb8]
cmp byte [rax + rcx], 0
jne 0x1400155e4
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x68]
lea eax, [rcx + rax + 3]
mov dword [rsp + 0x68], eax
jmp 0x14001559f
mov eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.140031834
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140015646
call fcn.1400318f4
mov dword [rax], listen
jmp 0x140015b9e
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x208], 0
je 0x14001568b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x208]
cmp qword [rcx + rax], 0
je 0x14001568b
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x78], 0
je 0x14001575b
call fcn.140017680
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xc0], 0xffffffffffffffff
inc qword [rsp + 0xc0]
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xc0]
cmp byte [rax + rcx], 0
jne 0x1400156af
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x140], rax
call fcn.140017680
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov rax, qword [rsp + 0x140]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
call fcn.140017680
mov qword [rsp + 0x148], rax
mov qword [rsp + 0xc8], 0xffffffffffffffff
inc qword [rsp + 0xc8]
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0xc8]
cmp byte [rax + rcx], 0
jne 0x140015710
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x5c
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0xd0], 0xffffffffffffffff
inc qword [rsp + 0xd0]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0xd0]
cmp byte [rax + rcx], 0
jne 0x140015777
mov rax, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x200]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0xd8], 0xffffffffffffffff
inc qword [rsp + 0xd8]
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0xd8]
cmp byte [rax + rcx], 0
jne 0x1400157cb
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x208], 0
je 0x140015839
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x208]
cmp qword [rcx + rax], 0
je 0x140015839
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x208], 0
je 0x14001595c
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x14001595c
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x20
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0xe0], 0xffffffffffffffff
inc qword [rsp + 0xe0]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0xe0]
cmp byte [rax + rcx], 0
jne 0x1400158aa
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rcx]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
inc qword [rsp + 0x98]
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x98]
cmp byte [rax + rcx], 0
jne 0x1400158fe
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0x22
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x70], rax
jmp 0x140015855
mov rax, qword [rsp + 0x60]
mov byte [rax], 0
mov rcx, qword [rsp + 0x90]
call fcn.140019b70
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140015994
call fcn.1400318f4
mov dword [rax], listen
jmp 0x140015b9e
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x170], WSAGetLastError
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x1d0], rax
mov dword [rsp + 0x1ac], 0x100
mov rdx, qword [rsp + 0x80]
lea rcx, str.spawning__ls
call fcn.140003a10
cmp qword [rsp + 0x230], 0
je 0x140015a79
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x228]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
mov dword [rsp + 0x88], eax
jmp 0x140015ad5
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x228]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x140015b2b
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
call fcn.14001f410
cmp eax, 0xffffffff
jne 0x140015b1b
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140015b9e
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140015b90
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0xe8], eax
call fcn.1400318f4
mov ecx, dword [rsp + 0xe8]
mov dword [rax], ecx
cmp qword [rsp + 0x230], 0
je 0x140015b62
lea rax, str.CreateProcessAsUserW
mov qword [rsp + 0xf0], rax
jmp 0x140015b71
lea rax, str.CreateProcessW
mov qword [rsp + 0xf0], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rsp + 0xf0]
lea rcx, str._s_failed_error:_d
call fcn.140003950
jmp 0x140015b9e
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x8c], eax
cmp qword [rsp + 0x90], 0
je 0x140015bb6
mov rcx, qword [rsp + 0x90]
call fcn.140031820
cmp qword [rsp + 0x80], 0
je 0x140015bce
mov rcx, qword [rsp + 0x80]
call fcn.140031820
mov eax, dword [rsp + 0x8c]
add rsp, 0x1e8
pop rdi
pop rsi
ret