Function at 0x140084110
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 [0x1404953c0]
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.140306610
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 0x14008419a
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x50]
call fcn.1402c5e00
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 0x1400844f4
mov edx, r14d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140084279
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 0x140084228
mov eax, dword [rbp - 0x28]
mov dword [rdi], eax
jmp 0x1400844de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.GetExitCodeProcess_failed:
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov edx, ebx
mov rcx, rax
call fcn.140032140
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
jmp 0x1400844de
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, [0x1404abb40]
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
mov edi, 1
and edi, 0xfffffffe
mov dword [rsp + 0x50], edi
lea rcx, [rbp - 0x80]
call fcn.140016400
cmp byte [rbp + 0x4b0], 0
je 0x1400844de
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14008442a
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, [0x1404abb40]
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
and edi, 0xfffffffd
mov dword [rsp + 0x50], edi
jmp 0x1400844d5
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, [0x1404abb40]
call fcn.1400347d0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
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 0x140084540
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CreateProcess_failed:
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov edx, ebx
mov rcx, rax
call fcn.140032140
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
movzx eax, sil
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1402b5c00
mov rbx, qword [rsp + 0x5a0]
add rsp, 0x560
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret