Function at 0x140119870
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, r9
mov ebx, r8d
mov r14, rcx
mov rdi, qword [rbp + 0x190]
xor r15d, r15d
mov dword [rbp - 0x60], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
movups xmmword [rbp + 0xd4], xmm0
movups xmmword [rbp + 0xe4], xmm0
movups xmmword [rbp + 0xf4], xmm0
movups xmmword [rbp + 0x104], xmm0
mov dword [rbp + 0x114], eax
mov dword [rbp + 0xb0], 0x68
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
cmp qword [rdx + 0x18], 8
jb 0x140119901
mov rdx, qword [rdx]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140119991
test ebx, ebx
jle 0x140119956
imul edx, ebx, 0x3e8
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp - 0x60], r15d
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140119971
mov eax, dword [rbp - 0x60]
mov dword [rsi], eax
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsi], r15d
jne 0x140119991
mov al, 1
jmp 0x140119bec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call fcn.1401d04f0
lea rax, [0x140000000]
lea rcx, [rax + 0x27e400]
mov qword [rbp - 0x50], rcx
lea rcx, [rax + 0x27e4b0]
mov qword [rbp - 0x40], rcx
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x78], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
mov dword [rbp - 0x60], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x44], 0x80
mov qword [rbp - 0x48], r15
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x48]
call fcn.14002b1d0
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x44], edx
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx - 0x54], edx
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], r8d
lea rcx, [rbp - 0x38]
call fcn.14002a320
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], r15
mov dword [rbp + 0x38], r15d
lea rdx, str._nFailed_to_lauch__
lea rcx, [rbp - 0x40]
call fcn.14002bf30
mov rcx, rax
mov rdx, r14
call fcn.14002bf30
mov rcx, rax
lea rdx, str.__n_Last_error_return:
call fcn.14002bf30
mov edx, ebx
mov rcx, rax
call fcn.1400fe440
mov rcx, rax
lea rdx, reloc.OLEAUT32.dll_VariantCopyInd
call fcn.14002bf30
nop
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov ecx, 7
mov qword [rsp + 0x68], rcx
mov word [rsp + 0x50], r15w
mov dword [rbp - 0x60], 0x21
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov edx, dword [rbp + 0x38]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140119b2e
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x140119b2e
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
sar r8, 1
jmp 0x140119b65
test dl, 4
jne 0x140119b5b
mov rax, qword [rbp]
mov r9, qword [rax]
test r9, r9
je 0x140119b5b
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, r9
sar r8, 1
jmp 0x140119b65
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140119b79
lea rcx, [rsp + 0x50]
call fcn.140018360
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x140119ba7
mov rcx, rdi
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x10], xmm1
mov ecx, 7
mov word [rsp + 0x50], r15w
cmp rcx, 8
jb 0x140119be1
lea rdx, [rcx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140119bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140119c0b
call fcn.1401a9a50
nop
lea rcx, [rbp - 0x50]
call fcn.140019440
xor al, al
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x238
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401e3dbc
nop
int3