Function at 0x140042a80
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x14015ff00]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x78], xmm0
xor r15d, r15d
mov rbx, rcx
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x30], r15
xor r9d, r9d
movups xmmword [r11 - 0x70], xmm0
mov dword [rsp + 0x28], 4
lea rcx, [0x140146920]
mov edx, 0x40000000
mov dword [r11 - 0x6c], 1
mov r8d, 2
mov word [r11 - 0x68], r15w
mov dword [rsp + 0x20], 3
movups xmmword [r11 - 0x80], xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x30], r15
lea rcx, [0x140146920]
mov dword [rsp + 0x28], 4
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov r8d, 2
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
or dword [rsp + 0xac], 0x100
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
mov rbp, rax
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rax
jbe 0x140042b79
mov r8, qword [rbx]
mov r12, 0xffffffffffffffff
mov dword [rsp + 0x28], r15d
mov r9d, r12d
mov qword [rsp + 0x20], r15
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r14, eax
mov eax, 2
mul r14
cmovb rax, r12
mov rcx, rax
call fcn.1400fdc80
cmp qword [rbx + 0x18], 0xf
mov rdi, rax
jbe 0x140042bbe
mov rbx, qword [rbx]
mov dword [rsp + 0x28], r14d
mov r9d, r12d
mov r8, rbx
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140042c63
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.CreateProcess_failed__
call fcn.14004b480
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140146928]
call fcn.14004b480
lea rdx, [0x14004b650]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140042c9b
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400fd8a0
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400fd510
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret