Function at 0x140001810
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14, rcx
mov qword [rbp - 0x40], rcx
xor r13d, r13d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov esi, r13d
mov qword [rbp - 8], r13
mov r15, qword [rcx + 8]
mov rbx, qword [rcx]
mov rdi, qword [rbp - 0x10]
cmp rbx, r15
je 0x1400018ab
movzx eax, byte [rbx]
xor al, 0xa0
mov byte [rsp + 0x30], al
cmp rdi, rsi
je 0x14000188a
mov byte [rdi], al
inc rdi
mov qword [rbp - 0x10], rdi
jmp 0x1400018a3
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.140003d00
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp - 0x10]
inc rbx
cmp rbx, r15
jne 0x140001871
lea rcx, [rbp - 0x60]
call fcn.140001640
mov r12, rax
movups xmm0, xmmword [0x140006520]
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400012a0
mov r15, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x14000191b
lea rax, [rcx + 6]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0xf
jbe 0x1400018fc
mov rax, qword [r15]
lea rbx, [rax + rcx]
mov r8d, 6
lea rdx, str._Temp_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 6], 0
jmp 0x14000193b
mov qword [rsp + 0x20], 6
lea r9, str._Temp_
mov edx, 6
mov rcx, r15
call fcn.140003790
mov r15, rax
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov r9, r12
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140003940
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400019b2
lea rax, [rcx + 4]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov dword [rax + rcx], 0x6578652e
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x38]
jmp 0x1400019d1
mov qword [rsp + 0x20], 4
lea r9, str..exe
mov edx, 4
lea rcx, [rsp + 0x38]
call fcn.140003790
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140001a3e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f5c
movdqa xmm0, xmmword [0x140006730]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001a92
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f5c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140001ad0
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001acb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001acb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f5c
movdqa xmm0, xmmword [0x140006730]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140001b1f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f5c
movdqa xmm0, xmmword [0x140006730]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
lea rcx, [rbp]
call fcn.140003110
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], r15
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
cmp qword [rbp + 0x88], 0
jne 0x140001cda
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003b30
mov rcx, rax
lea rdx, [0x140003340]
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]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r15
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 8], rax
cmp qword [rbp + 0x88], 0
je 0x140001c1c
mov rax, qword [rbp + 0x20]
lea rcx, [rbp + 0x78]
cmp qword [rax], rcx
jne 0x140001c1c
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
mov qword [rax], rcx
mov rax, qword [rbp + 0x40]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x58]
mov dword [rax], edx
cmp byte [rbp + 0x84], 0
je 0x140001c2e
lea rcx, [rbp + 8]
call fcn.140003050
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001c8c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e11
call fcn.140003f5c
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140001e69
sub rsi, rcx
mov rax, rcx
cmp rsi, 0x1000
jb 0x140001e60
add rsi, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e56
jmp 0x140001e60
mov rbx, qword [rbp - 0x18]
sub rdi, rbx
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp]
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 + 8]
call fcn.140003050
test rax, rax
jne 0x140001d1b
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r8, qword [rbp - 0x38]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r15
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 8], rax
cmp qword [rbp + 0x88], 0
je 0x140001daa
mov rax, qword [rbp + 0x20]
lea rcx, [rbp + 0x78]
cmp qword [rax], rcx
jne 0x140001daa
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
mov qword [rax], rcx
mov rax, qword [rbp + 0x40]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x58]
mov dword [rax], edx
cmp byte [rbp + 0x84], 0
je 0x140001dbc
lea rcx, [rbp + 8]
call fcn.140003050
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001e1d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f5c
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
test rbx, rbx
je 0x140001e69
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x140001e5d
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
mov rdx, rsi
call fcn.140003f5c
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140001ea9
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001e99
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001ed9
mov rcx, r8
call fcn.140003f5c
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140003f00
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3