Function at 0x140031fd0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x1405a9ae8]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r13, r9
mov r12d, r8d
mov rbx, rdx
mov rdi, rcx
mov r15, qword [rbp + 0x1a0]
mov qword [rsp + 0x58], r15
xor esi, esi
mov dword [rsp + 0x50], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
movups xmmword [rbp + 0xd4], xmm0
movups xmmword [rbp + 0xe4], xmm0
mov dword [rbp + 0xf4], eax
mov dword [rbp + 0x90], 0x68
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [0x140356768]
mov qword [rbp - 0x70], rax
lea rax, [0x140356770]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x50], 1
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x70]
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 - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x18], esi
lea rdx, [0x140356778]
lea rcx, [rbp - 0x60]
call fcn.14002fc80
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x1400320ff
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14002fe70
mov rcx, rax
lea rdx, [0x140356778]
call fcn.14002fc80
cmp qword [rbx + 0x10], 0
je 0x14003214a
lea rdx, [0x14035677c]
lea rcx, [rbp - 0x60]
call fcn.14002fc80
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14003213e
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14002fe70
nop
mov qword [rbp + 0x100], rsi
mov r14, rsi
mov qword [rbp + 0x110], rsi
mov edi, 7
mov qword [rbp + 0x118], rdi
mov word [rbp + 0x100], si
mov dword [rsp + 0x50], 5
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov ecx, dword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400321ad
mov rax, qword [rbp - 0x18]
mov r8, qword [rax]
test r8, r8
je 0x1400321ad
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x10]
cmovb r8, qword [rbp + 0x10]
sub r8, rdx
sar r8, 1
jmp 0x1400321e3
test cl, 4
jne 0x1400321da
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400321da
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp - 8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x1400321e3
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140032202
lea rcx, [rbp + 0x100]
call fcn.140032f20
mov rdi, qword [rbp + 0x118]
mov r14, qword [rbp + 0x110]
cmp r14, rdi
jae 0x140032237
lea rax, [r14 + 1]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x100]
cmp rdi, 8
cmovae rax, qword [rbp + 0x100]
mov dword [rax + r14*2], esi
mov rsi, qword [rbp + 0x100]
xor edi, edi
jmp 0x14003231f
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, r14
cmp rax, 1
jb 0x140032460
lea r15, [r14 + 1]
mov rcx, r15
or rcx, 7
cmp rcx, rbx
ja 0x140032280
mov rdx, rdi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rdi, rax
ja 0x140032280
lea rax, [rdi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x100]
call fcn.140032d30
mov rsi, rax
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rdi, 8
jb 0x140032301
mov rbx, qword [rbp + 0x100]
mov rdx, rbx
call fcn.14032409c
xor eax, eax
mov dword [r14 + rsi], eax
lea rdx, [rdi*2 + 2]
cmp rdx, 0x1000
jb 0x1400322ee
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400322fa
mov rbx, rcx
mov rcx, rbx
call fcn.140322dc0
xor edi, edi
jmp 0x140032313
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbp + 0x100]
call fcn.14032409c
xor edi, edi
mov dword [r14 + rsi], edi
mov r15, qword [rsp + 0x58]
mov qword [rbp + 0x100], rsi
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rdx, rsi
bts r12d, 0x1a
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140032376
xor bl, bl
jmp 0x140032393
mov rax, qword [rsp + 0x60]
mov qword [r13], rax
mov eax, dword [rsp + 0x70]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rdx, qword [rbp + 0x118]
cmp rdx, 8
jb 0x1400323dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400323d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400323d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140322dc0
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], di
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rdx - 0x70], rax
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x74], r8d
lea rcx, [rbp - 0x58]
call fcn.140030600
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1403230f0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140019a00
nop
int3