Function at 0x14001f170
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Enumerate processes
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.140032490
sub rsp, rax
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x68], esi
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x224]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x220], 0x130
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0x220]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140020202
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x24c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14001f230
lea rdx, [rbp + 0x220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001f200
jmp 0x140020202
mov edx, dword [rbp + 0x228]
lea rcx, [rbp + 0x200]
call fcn.1400084a0
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140004180
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or r12d, 2
lea rcx, [rbp + 0x200]
call fcn.140002f90
mov qword [rbp - 0x40], 0x18
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x38], rsi
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [rbp + 0x20], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x78], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0x5c], eax
mov word [rbp + 0x60], si
lea rdx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 7
cmova rdx, qword [rbp + 0x1e0]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140020198
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x350]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x350]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140020175
lea rbx, [0x14003a148]
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov r14d, 0xffffffff
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140020175
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], rsi
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x1c0]
call fcn.140007ef0
nop
mov qword [rbp - 0x78], rsi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x68], rax
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x60]
call fcn.14000dc40
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x60]
call fcn.14000d430
mov qword [rbp - 0x68], rax
lea r8, [0x140039f2c]
lea rdx, str.file:___.._exebatjarvbspyps1_
lea rcx, [rbp - 0x78]
call fcn.14000d520
nop
mov qword [rbp + 0x90], rbx
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r12d, 1
mov dword [rsp + 0x68], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x90], rdi
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x8c], edx
lea rax, [rbp + 0xa0]
mov qword [rbp + 8], rax
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp + 0xa0], r15
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rdx, qword [rbp + 0x1c0]
mov r9d, 2
mov r8, qword [rbp + 0x1d0]
lea rcx, [rbp + 0xa0]
call fcn.140021640
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov ecx, 0x40
call fcn.140031bc8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x90]
call fcn.1400219a0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14001ffcb
nop dword [rax]
lea rcx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rcx, qword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1b0]
add rdx, rcx
mov dword [rsp + 0x20], 0x10
lea r9, [rbp - 0x78]
call fcn.14000dee0
test al, al
je 0x14001ff6a
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rsi
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], si
lea r8, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova r8, qword [rbp + 0x1a0]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, r14d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
test eax, eax
jle 0x14001f71d
mov r8, qword [rbp + 0x190]
cmp rbx, r8
ja 0x14001f678
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
cmova rcx, qword [rbp + 0x180]
mov qword [rbp + 0x190], rbx
mov word [rcx + rbx*2], si
jmp 0x14001f6d6
mov rdx, rbx
sub rdx, r8
mov rcx, qword [rbp + 0x198]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x14001f6c7
mov qword [rbp + 0x190], rbx
lea r9, [rbp + 0x180]
cmp rcx, 7
cmova r9, qword [rbp + 0x180]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14001f6bc
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], si
jmp 0x14001f6d6
mov r9, rdx
lea rcx, [rbp + 0x180]
call fcn.1400198c0
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
cmova rax, qword [rbp + 0x180]
lea r8, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova r8, qword [rbp + 0x1a0]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rbp + 0x180]
mov r15, qword [rbp + 0x198]
cmp r15, 7
seta r11b
mov r14, qword [rbp + 0x180]
cmova r9, r14
mov rsi, qword [rbp + 0x190]
xor ebx, ebx
cmp rsi, 8
jb 0x14001f830
lea r10, [rsi - 7]
lea r10, [r9 + r10*2]
mov rdi, r9
nop dword [rax]
mov rax, r10
sub rax, rdi
sar rax, 1
mov rcx, rbx
je 0x14001f78a
cmp word [rdi], 0x66
je 0x14001f787
cmp rax, 1
je 0x14001f78a
dec rax
add rdi, 2
cmp word [rdi], 0x66
jne 0x14001f774
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x14001f830
mov edx, 8
lea rax, str.file:___
mov rcx, rax
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14001fbff
add rcx, 2
sub rdx, 1
jne 0x14001f7b0
sub rdi, r9
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x14001f830
cmp rsi, rdi
jb 0x140020241
mov rax, rsi
sub rax, rdi
mov edx, 8
cmp rax, rdx
cmovb rdx, rax
lea rax, [rbp + 0x180]
test r11b, r11b
cmovne rax, r14
lea rcx, [rax + rdi*2]
sub rsi, rdx
lea rdx, [rcx + rdx*2]
mov r8, rsi
sub r8, rdi
lea r8, [r8*2 + 2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x190], rsi
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
lea r9, [rbp + 0x180]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x14001f9b8
lea r10, [rsi - 2]
lea r10, [r9 + r10*2]
mov rcx, r9
nop dword [rax]
nop dword [rax + rax]
mov rax, r10
sub rax, rcx
sar rax, 1
mov rdx, rbx
je 0x14001f88a
cmp word [rcx], 0x25
je 0x14001f887
cmp rax, 1
je 0x14001f88a
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14001f874
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001f9b8
mov edi, 3
lea rax, [0x140039f48]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x14001fc08
add rdx, 2
sub rdi, 1
jne 0x14001f8b0
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x14001f9b8
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140035f08]
mov rdx, rcx
lea rcx, [rbp + 0x180]
call fcn.140021460
lea r9, [rbp + 0x180]
mov r14, qword [rbp + 0x180]
mov r15, qword [rbp + 0x198]
cmp r15, 7
cmova r9, r14
mov rsi, qword [rbp + 0x190]
cmp rsi, 3
jb 0x14001f9b8
lea r10, [rsi - 2]
lea r10, [r9 + r10*2]
mov rcx, r9
nop dword [rax + rax]
mov rax, r10
sub rax, rcx
sar rax, 1
mov rdx, rbx
je 0x14001f96a
cmp word [rcx], 0x25
je 0x14001f967
cmp rax, 1
je 0x14001f96a
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14001f954
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001f9b8
mov edi, 3
lea rax, [0x140039f48]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x14001fc11
add rdx, 2
sub rdi, 1
jne 0x14001f990
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
jne 0x14001f8e0
lea r9, [rbp + 0x180]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x14001fb38
lea r10, [rsi - 2]
lea r10, [r9 + r10*2]
mov rax, r9
nop dword [rax]
mov rcx, r10
sub rcx, rax
sar rcx, 1
mov rdx, rbx
je 0x14001fa0a
cmp word [rax], 0x5c
je 0x14001fa07
cmp rcx, 1
je 0x14001fa0a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x14001f9f4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14001fb38
mov edi, 3
lea rcx, [0x140039f50]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x14001fc1a
add rdx, 2
sub rdi, 1
jne 0x14001fa30
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x14001fb38
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140036024]
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140021460
lea r9, [rbp + 0x180]
mov r14, qword [rbp + 0x180]
mov r15, qword [rbp + 0x198]
cmp r15, 7
cmova r9, r14
mov rsi, qword [rbp + 0x190]
cmp rsi, 3
jb 0x14001fb38
lea r10, [rsi - 2]
lea r10, [r9 + r10*2]
mov rax, r9
nop dword [rax + rax]
mov rcx, r10
sub rcx, rax
sar rcx, 1
mov rdx, rbx
je 0x14001faea
cmp word [rax], 0x5c
je 0x14001fae7
cmp rcx, 1
je 0x14001faea
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x14001fad4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14001fb38
mov edi, 3
lea rcx, [0x140039f50]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x14001fc23
add rdx, 2
sub rdi, 1
jne 0x14001fb10
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14001fa60
lea rax, [rbp + 0x180]
cmp r15, 7
seta cl
cmova rax, r14
lea rdx, [rax + rsi*2]
lea rax, [rbp + 0x180]
test cl, cl
cmovne rax, r14
cmp rax, rdx
je 0x14001fb8e
cmp word [rax], 0x2f
jne 0x14001fb6b
mov word [rax], 0x5c
add rax, 2
cmp rax, rdx
jne 0x14001fb60
mov r13, qword [rsp + 0x78]
mov r15, qword [rbp + 0x198]
mov rsi, qword [rbp + 0x190]
mov r14, qword [rbp + 0x180]
mov rbx, qword [rsp + 0x58]
mov r9, qword [rbx + 8]
mov r11, rbx
cmp byte [r9 + 0x19], 0
jne 0x14001fc61
mov r13d, 0xffffffff
nop dword [rax + rax]
lea rdx, [r9 + 0x20]
lea rax, [rbp + 0x180]
cmp r15, 7
cmova rax, r14
mov r10, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14001fbd1
mov rdx, qword [rdx]
mov rcx, r10
cmp rsi, r10
cmovb rcx, rsi
test rcx, rcx
je 0x14001fbf6
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x14001fc2c
add rax, 2
sub rcx, 1
jne 0x14001fbe3
cmp r10, rsi
jae 0x14001fc3d
mov al, 0xff
jmp 0x14001fc41
add rdi, 2
jmp 0x14001f760
add rcx, 2
jmp 0x14001f860
add rcx, 2
jmp 0x14001f940
add rax, 2
jmp 0x14001f9e0
add rax, 2
jmp 0x14001fac0
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x14001fc3f
mov al, 0xff
jmp 0x14001fc41
jbe 0x14001fc4b
mov al, 1
test al, al
jns 0x14001fc4b
mov r9, qword [r9 + 0x10]
jmp 0x14001fc51
mov r11, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x14001fbb0
mov r13, qword [rsp + 0x78]
cmp byte [r11 + 0x19], 0
jne 0x14001fce3
lea rax, [r11 + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14001fc7a
mov rax, qword [rax]
lea r8, [rbp + 0x180]
cmp r15, 7
cmova r8, r14
mov rcx, rsi
cmp r9, rsi
cmovb rcx, r9
test rcx, rcx
je 0x14001fcb4
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x14001fcbd
add rax, 2
sub rcx, 1
jne 0x14001fca0
cmp rsi, r9
jae 0x14001fcd2
mov al, 0xff
jmp 0x14001fcd6
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x14001fcd4
mov al, 0xff
jmp 0x14001fcd6
jbe 0x14001fcda
mov al, 1
test al, al
js 0x14001fce3
cmp r11, rbx
jne 0x14001ff27
lea rdx, [rbp + 0x180]
call fcn.14002ffb0
test al, al
jne 0x14001ff19
lea rdx, str.____Accessed_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003660
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
cmova rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
mov rcx, rax
call fcn.140004280
lea rdx, [0x140003840]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rsi, qword [rsp + 0x58]
mov r9, qword [rsi + 8]
mov qword [rbp - 0x28], r9
mov dword [rbp - 0x20], 0
mov rbx, rsi
mov r15, qword [rbp + 0x198]
mov r11, qword [rbp + 0x190]
mov r14, qword [rbp + 0x180]
cmp byte [r9 + 0x19], 0
jne 0x14001fe16
mov r13d, 0xffffffff
nop dword [rax]
mov qword [rbp - 0x28], r9
lea rdx, [r9 + 0x20]
lea rax, [rbp + 0x180]
cmp r15, 7
cmova rax, r14
mov r10, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14001fda5
mov rdx, qword [rdx]
mov rcx, r10
cmp r11, r10
cmovb rcx, r11
test rcx, rcx
je 0x14001fdca
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x14001fdd3
add rax, 2
sub rcx, 1
jne 0x14001fdb7
cmp r10, r11
jae 0x14001fde4
mov al, 0xff
jmp 0x14001fde8
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x14001fde6
mov al, 0xff
jmp 0x14001fde8
jbe 0x14001fdf9
mov al, 1
test al, al
jns 0x14001fdf9
mov dword [rbp - 0x20], 0
mov r9, qword [r9 + 0x10]
jmp 0x14001fe06
mov dword [rbp - 0x20], 1
mov rbx, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x14001fd80
mov r13, qword [rsp + 0x78]
cmp byte [rbx + 0x19], 0
jne 0x14001fe92
lea rax, [rbx + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14001fe2e
mov rax, qword [rax]
lea r8, [rbp + 0x180]
cmp r15, 7
cmova r8, r14
mov rcx, r11
cmp r9, r11
cmovb rcx, r9
test rcx, rcx
je 0x14001fe64
sub r8, rax
nop
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x14001fe6d
add rax, 2
sub rcx, 1
jne 0x14001fe50
cmp r11, r9
jae 0x14001fe82
mov al, 0xff
jmp 0x14001fe8a
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x14001fe88
mov al, 0xff
jmp 0x14001fe8a
jbe 0x14001ff27
mov al, 1
test al, al
jns 0x14001ff27
movabs rax, 0x3ffffffffffffff
cmp qword [rsp + 0x60], rax
je 0x14002023b
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
mov ecx, 0x40
call fcn.140031bc8
mov rdi, rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x180]
call fcn.140003000
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov word [rdi + 0x18], 0
xor esi, esi
mov qword [rbp - 0x48], rsi
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp + 0x10], xmm0
mov r8, rdi
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140003f00
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
jmp 0x14001ff29
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
xor esi, esi
cmp r15, 7
jbe 0x14001ff64
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001ff5c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400201e8
mov rcx, r14
call fcn.140031aa0
mov r14d, 0xffffffff
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x90]
call fcn.1400219a0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x14001f5b0
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x14003a148]
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov r8, qword [rsp + 0x58]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140021b50
mov edx, 0x40
mov rcx, qword [rsp + 0x58]
call fcn.140031aa0
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140020034
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002002f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400201ef
call fcn.140031aa0
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x90], rdi
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0xa0]
call fcn.140021290
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400200e1
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1400200dc
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400200dc
nop
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rdi, rdi
jne 0x1400200c0
mov r12d, dword [rsp + 0x68]
mov qword [rbp - 0x78], rsi
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14002010a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14002010a
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov edx, 1
mov rcx, rax
call rdi
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x14002014b
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020146
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400201f6
call fcn.140031aa0
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x350]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001f3d1
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 7
jbe 0x140020202
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400201fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400201fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140031aa0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140031a80
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140002070
nop
call fcn.140003260
int3