Function at 0x140082290
Capabilities:
Create pipe

Disassembly:
jmp 0x140082290
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x580
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rsp + 0x5c0], rbx
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x30], 0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x50], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x58], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x60], rax
or dword [rbx + 0x3c], 0x100
mov qword [rsp + 0x88], 0x18
mov qword [rsp + 0x98], 1
mov qword [rsp + 0x90], 0
mov r14, 0xffffffffffffffff
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400831f5
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x14008321e
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x50], rax
mov ecx, 0xe0
call fcn.14000219e
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400823c2
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.140003f7b
nop
mov rdx, rax
mov rcx, r13
call fcn.1400011ef
mov ecx, 0xe0
call fcn.14000219e
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400823fd
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140003f7b
nop
lea rcx, [r13 + 0x10]
mov rdx, rax
call fcn.140001b27
nop
lea rcx, str.BINIO_LOG
call fcn.1400031fc
cmp dword [rax], 0
je 0x140082813
lea rcx, [rsp + 0xa0]
call fcn.140002a5e
nop
lea rcx, [rsp + 0xa0]
call fcn.140001bcc
mov rsi, rax
lea r12, [0x1400cd2d0]
test rax, rax
je 0x1400827b6
mov qword [rsp + 0xf0], r12
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0xf0], rax
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0xec], edx
lea rcx, [rsp + 0xf8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x160], 0
mov dword [rsp + 0x168], 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x510]
call fcn.140002e91
mov rdi, rax
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call fcn.140002e91
mov rbx, rax
lea rdx, str.childStdinRd
lea rcx, [rsp + 0xf0]
call fcn.140002063
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082543
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000132f
lea rdx, str._childStdinWr
mov rcx, rax
call fcn.140002063
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14008256b
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000132f
nop
mov rdx, qword [rsp + 0x4c8]
cmp rdx, 0x10
jb 0x1400825bd
inc rdx
mov rcx, qword [rsp + 0x4b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400825b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400825b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x4c0], xmm0
mov byte [rsp + 0x4b0], 0
mov rdx, qword [rsp + 0x528]
cmp rdx, 0x10
jb 0x14008261d
inc rdx
mov rcx, qword [rsp + 0x510]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082617
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x460], xmm0
mov byte [rsp + 0x450], 0
mov dword [rsp + 0x30], 5
mov ecx, dword [rsp + 0x168]
test cl, 2
jne 0x140082690
mov rax, qword [rsp + 0x138]
mov r8, qword [rax]
test r8, r8
je 0x140082690
mov rax, qword [rsp + 0x118]
mov rdx, qword [rax]
mov qword [rsp + 0xd8], r8
cmp r8, qword [rsp + 0x160]
cmovb r8, qword [rsp + 0x160]
sub r8, rdx
lea rcx, [rsp + 0x450]
call fcn.140002bee
jmp 0x1400826cf
test cl, 4
jne 0x1400826cf
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400826cf
mov rax, qword [rsp + 0x110]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x148]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x450]
call fcn.140002bee
nop
mov dword [rsp + 0x30], 3
lea rax, [rsp + 0x450]
cmp qword [rsp + 0x468], 0x10
cmovae rax, qword [rsp + 0x450]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cf09c]
mov r8d, 0xef
lea rdx, [0x1400cdc78]
mov rcx, rsi
call fcn.140001901
mov rdx, qword [rsp + 0x468]
cmp rdx, 0x10
jb 0x140082759
inc rdx
mov rcx, qword [rsp + 0x450]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082753
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082753
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0xf0], rsi
mov rax, qword [rsp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0xec], edx
lea rcx, [rsp + 0xf8]
call fcn.1400027a2
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x1400827f6
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400827f6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400827f6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x68]
jmp 0x140082821
lea rdi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r12, [0x1400cd2d0]
jmp 0x140082847
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140083247
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140083270
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x58], rax
mov ecx, 0xe0
call fcn.14000219e
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400828c7
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.140003f7b
nop
lea rcx, [r13 + 0x20]
mov rdx, rax
call fcn.1400011ef
mov ecx, 0xe0
call fcn.14000219e
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140082903
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.140003f7b
nop
lea rcx, [r13 + 0x30]
mov rdx, rax
call fcn.140001b27
nop
lea rcx, str.BINIO_LOG
call fcn.1400031fc
cmp dword [rax], 0
je 0x140082d0f
lea rcx, [rsp + 0xb0]
call fcn.140002a5e
nop
lea rcx, [rsp + 0xb0]
call fcn.140001bcc
mov rsi, rax
test rax, rax
je 0x140082cb0
mov qword [rsp + 0x1e0], r12
lea rcx, [rsp + 0x268]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or dword [rsp + 0x30], 8
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x1dc], edx
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x250], 0
mov dword [rsp + 0x258], 4
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x530]
call fcn.140002e91
mov rdi, rax
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x4d0]
call fcn.140002e91
mov rbx, rax
lea rdx, str.childStdoutRd
lea rcx, [rsp + 0x1e0]
call fcn.140002063
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082a38
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000132f
lea rdx, str._childStdoutWr
mov rcx, rax
call fcn.140002063
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140082a60
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000132f
nop
mov rdx, qword [rsp + 0x4e8]
cmp rdx, 0x10
jb 0x140082ab2
inc rdx
mov rcx, qword [rsp + 0x4d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082aad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082aad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x4e0], xmm0
mov byte [rsp + 0x4d0], 0
mov rdx, qword [rsp + 0x548]
cmp rdx, 0x10
jb 0x140082b12
inc rdx
mov rcx, qword [rsp + 0x530]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082b0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082b0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x480], xmm0
mov byte [rsp + 0x470], 0
or dword [rsp + 0x30], 0x20
mov ecx, dword [rsp + 0x258]
test cl, 2
jne 0x140082b82
mov rax, qword [rsp + 0x228]
mov r8, qword [rax]
test r8, r8
je 0x140082b82
mov rax, qword [rsp + 0x208]
mov rdx, qword [rax]
mov qword [rsp + 0xe0], r8
cmp r8, qword [rsp + 0x250]
cmovb r8, qword [rsp + 0x250]
sub r8, rdx
lea rcx, [rsp + 0x470]
call fcn.140002bee
jmp 0x140082bc0
test cl, 4
jne 0x140082bc0
mov rax, qword [rsp + 0x220]
mov rcx, qword [rax]
test rcx, rcx
je 0x140082bc0
mov rax, qword [rsp + 0x200]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x238]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x470]
call fcn.140002bee
and dword [rsp + 0x30], 0xffffffdf
or dword [rsp + 0x30], 0x10
lea rax, [rsp + 0x470]
cmp qword [rsp + 0x488], 0x10
cmovae rax, qword [rsp + 0x470]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cf09c]
mov r8d, 0xfb
lea rdx, [0x1400cdc78]
mov rcx, rsi
call fcn.140001901
mov rdx, qword [rsp + 0x488]
cmp rdx, 0x10
jb 0x140082c4c
inc rdx
mov rcx, qword [rsp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082c46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x1e0], rsi
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x1dc], edx
lea rcx, [rsp + 0x1e8]
call fcn.1400027a2
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x268]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x140082ce9
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140082ce9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140082ce9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x68]
jmp 0x140082d0f
jmp 0x140082d30
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x80], r14
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140083299
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400832c2
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x60], rax
mov ecx, 0xe0
call fcn.14000219e
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140082db9
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140003f7b
nop
lea rcx, [r13 + 0x40]
mov rdx, rax
call fcn.1400011ef
mov ecx, 0xe0
call fcn.14000219e
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140082df8
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8b, 1
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140003f7b
nop
lea rcx, [r13 + 0x50]
mov rdx, rax
call fcn.140001b27
nop
lea rcx, str.BINIO_LOG
call fcn.1400031fc
cmp dword [rax], 0
je 0x1400831cd
lea rcx, [rsp + 0xc0]
call fcn.140002a5e
nop
lea rcx, [rsp + 0xc0]
call fcn.140001bcc
mov rsi, rax
test rax, rax
je 0x140083195
mov qword [rsp + 0x2d0], r12
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or dword [rsp + 0x30], 0x40
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rsp + 0x2d8], rdi
mov qword [rsp + 0x340], 0
mov dword [rsp + 0x348], 4
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x550]
call fcn.140002e91
mov rdi, rax
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x4f0]
call fcn.140002e91
mov rbx, rax
lea rdx, str.childStderrRd
lea rcx, [rsp + 0x2d0]
call fcn.140002063
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082f30
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000132f
lea rdx, str._childStderrWr
mov rcx, rax
call fcn.140002063
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140082f58
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000132f
nop
mov rdx, qword [rsp + 0x508]
cmp rdx, 0x10
jb 0x140082faa
inc rdx
mov rcx, qword [rsp + 0x4f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x500], xmm0
mov byte [rsp + 0x4f0], 0
mov rdx, qword [rsp + 0x568]
cmp rdx, 0x10
jb 0x14008300a
inc rdx
mov rcx, qword [rsp + 0x550]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083004
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083004
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x4a0], xmm0
mov byte [rsp + 0x490], 0
or dword [rsp + 0x30], 0x100
mov ecx, dword [rsp + 0x348]
test cl, 2
jne 0x14008307d
mov rax, qword [rsp + 0x318]
mov r8, qword [rax]
test r8, r8
je 0x14008307d
mov rax, qword [rsp + 0x2f8]
mov rdx, qword [rax]
mov qword [rsp + 0xe8], r8
cmp r8, qword [rsp + 0x340]
cmovb r8, qword [rsp + 0x340]
sub r8, rdx
lea rcx, [rsp + 0x490]
call fcn.140002bee
jmp 0x1400830bc
test cl, 4
jne 0x1400830bc
mov rax, qword [rsp + 0x310]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400830bc
mov rax, qword [rsp + 0x2f0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x328]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x490]
call fcn.140002bee
nop
lea rax, [rsp + 0x490]
cmp qword [rsp + 0x4a8], 0x10
cmovae rax, qword [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cf09c]
mov r8d, 0x107
lea rdx, [0x1400cdc78]
mov rcx, rsi
call fcn.140001901
mov rdx, qword [rsp + 0x4a8]
cmp rdx, 0x10
jb 0x14008313e
inc rdx
mov rcx, qword [rsp + 0x490]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083138
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x2d0], r12
mov rax, qword [rsp + 0x2d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2cc], edx
lea rcx, [rsp + 0x2d8]
call fcn.1400027a2
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
je 0x1400831cd
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400831cd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400831cd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140001c58
mov rbx, qword [rsp + 0x5c0]
add rsp, 0x580
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
lea rdx, str.CreatePipe_failed
lea rcx, [rsp + 0x3c0]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x3c0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.SetHandleInformation_failed
lea rcx, [rsp + 0x3d8]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x3d8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.CreatePipe_failed
lea rcx, [rsp + 0x3f0]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x3f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.SetHandleInformation_failed
lea rcx, [rsp + 0x408]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x408]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.CreatePipe_failed
lea rcx, [rsp + 0x420]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x420]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.SetHandleInformation_failed
lea rcx, [rsp + 0x438]
call fcn.1400016d1
lea rdx, [0x140115758]
lea rcx, [rsp + 0x438]
call sub.VCRUNTIME140.dll__CxxThrowException
int3