Function at 0x140001f40
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xorps xmm0, xmm0
lea rdx, [0x140006620]
xorps xmm1, xmm1
lea rcx, [rbp - 0x58]
mov r14d, 1
mov r8d, r14d
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
call fcn.140003c80
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call fcn.140001290
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam_s]
xor r15d, r15d
test eax, eax
je 0x140001feb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Unable_to_generate_temporary_file_name
call fcn.140003960
mov rcx, rax
lea rdx, [0x140003b30]
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 0x140002392
xorps xmm0, xmm0
mov qword [rsp + 0x60], r15
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], r15
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140002010
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.140003c80
cmp qword [rbp - 0x78], 0xf
lea r9, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
cmova r9, qword [rsp + 0x70]
mov rax, rdx
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rbp - 0x80]
sub rax, rcx
cmp rdi, rax
ja 0x140002082
cmp rdx, 0xf
lea rax, [rdi + rcx]
lea rbx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
cmova rbx, qword [rsp + 0x50]
mov r8, rdi
add rbx, rcx
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r15b
jmp 0x140002094
mov rdx, rdi
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
call fcn.140003ee0
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0x68], 0xf
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
cmova rdx, qword [rsp + 0x50]
call fcn.1400035d0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
cmp qword [rbp + 0x58], r15
je 0x140002313
mov r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x70]
sub r8, rdx
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x28]
call fcn.140003510
test rax, rax
jne 0x14000212e
mov rax, qword [rbp - 0x30]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
lea edx, [r8 + 2]
lea rax, [rbp - 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rsp + 0x68], 0xf
lea rdx, [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
lea rdi, [rsp + 0x50]
cmova rdx, qword [rsp + 0x50]
xorps xmm0, xmm0
add rsi, rdx
mov qword [rsp + 0x40], r15
cmp qword [rsp + 0x68], 0xf
mov ebx, 7
movups xmmword [rsp + 0x30], xmm0
cmova rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], rbx
cmp rdi, rsi
jne 0x14000217f
mov word [rsp + 0x30], r15w
jmp 0x140002292
sub rsi, rdi
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x140002494
cmp rsi, rbx
jbe 0x14000224a
mov rbx, rsi
or rbx, 7
cmp rbx, rax
jbe 0x1400021bd
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400021ec
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14000248e
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002225
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000248e
mov rcx, rax
call fcn.140004378
mov rcx, rax
test rax, rax
je 0x1400022f9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
jmp 0x14000224f
test rcx, rcx
je 0x14000223b
call fcn.140004378
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
jmp 0x14000224f
mov rax, r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
jmp 0x14000224f
mov rax, qword [rsp + 0x30]
cmp rbx, 7
lea r8, [rsp + 0x30]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x140002283
nop word [rax + rax]
movsx eax, byte [rdi]
lea rdi, [rdi + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, r14
jne 0x140002270
mov qword [rsp + 0x40], rsi
mov word [r8 + rsi*2], r15w
mov rbx, qword [rsp + 0x48]
cmp rbx, 7
mov dword [rsp + 0x28], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r15
cmova r8, qword [rsp + 0x30]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x48]
mov rbx, rax
cmp rdx, 7
jbe 0x140002305
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002300
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002300
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004370
test rbx, rbx
jne 0x140002336
lea rdx, str.Error:_Failed_to_open_file
jmp 0x14000231a
lea rdx, str.Error:_Unable_to_open_file_for_writing
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003960
lea rdx, [0x140003b30]
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]
lea rcx, [rbp - 0x30]
mov r14d, r15d
call fcn.1400024a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000237f
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000237a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002453
call fcn.140004370
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r14b
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400023d8
mov rdx, qword [rbp - 0x60]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400023c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002453
call fcn.140004370
xorps xmm0, xmm0
mov qword [rbp - 0x60], r15
movdqu xmmword [rbp - 0x70], xmm0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002410
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000240b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002453
call fcn.140004370
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r15b
cmp rdx, 0xf
jbe 0x14000245f
mov rcx, qword [rbp - 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000245a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000245a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004370
mov eax, r14d
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140004350
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001110
int3
call fcn.1400011b0
int3