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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r14d, r9d
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor sil, sil
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x50]
call fcn.14030b3a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
mov dword [rbp + 0x44], eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x20], 0x68
cmp qword [rbx + 0x18], 7
jbe 0x14008615a
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1402cabb0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400864b4
mov edx, r14d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140086239
mov sil, 1
mov dword [rbp - 0x28], r15d
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x28]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400861e8
mov eax, dword [rbp - 0x28]
mov dword [rdi], eax
jmp 0x14008649e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.GetExitCodeProcess_failed:
lea rcx, [0x1404b5d00]
call fcn.140034a00
mov edx, ebx
mov rcx, rax
call fcn.140033380
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
jmp 0x14008649e
mov dword [rbp - 0x58], eax
movabs r14, 0x2000000000000000
mov qword [rbp - 0x60], r14
mov qword [rsp + 0x60], 1
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
lea rax, str.Wait_for_process_failed:_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1b
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140009a30
mov dword [rsp + 0x50], 1
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [0x1404b5d00]
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
mov edi, 1
and edi, 0xfffffffe
mov dword [rsp + 0x50], edi
lea rcx, [rbp - 0x80]
call fcn.140016400
cmp byte [rbp + 0x4b0], 0
je 0x14008649e
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400863ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbp - 0x30]
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x4c], eax
movabs rax, 0x2000000000000004
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x70], 2
lea rax, [rbp - 0x60]
mov qword [rsp + 0x78], rax
lea rax, str.Terminate_process_failed:__Error:_
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x26
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140009a30
or edi, 2
mov dword [rsp + 0x50], edi
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [0x1404b5d00]
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
and edi, 0xfffffffd
mov dword [rsp + 0x50], edi
jmp 0x140086495
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x60], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea rax, str.Terminated_process:_
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], reloc.WS2_32.dll_shutdown
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140009a30
or edi, 4
mov dword [rsp + 0x50], edi
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [0x1404b5d00]
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
and edi, 0xfffffffb
mov dword [rsp + 0x50], edi
lea rcx, [rbp - 0x80]
call fcn.140016400
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140086500
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CreateProcess_failed:
lea rcx, [0x1404b5d00]
call fcn.140034a00
mov edx, ebx
mov rcx, rax
call fcn.140033380
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
movzx eax, sil
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1402ba9b0
mov rbx, qword [rsp + 0x5a0]
add rsp, 0x560
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret