Function at 0x14001f600
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.14002ecc0
sub rsp, rax
mov rax, qword [0x140043040]
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 0x140020692
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 0x14001f6c0
lea rdx, [rbp + 0x220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001f690
jmp 0x140020692
mov edx, dword [rbp + 0x228]
lea rcx, [rbp + 0x200]
call fcn.14000a160
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140004190
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.140002fa0
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 0x140020628
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 0x140020605
lea rbx, [0x1400361a8]
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 0x140020605
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.140009020
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.14000f740
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x60]
call fcn.14000f230
mov qword [rbp - 0x68], rax
lea r8, [0x140035f1c]
lea rdx, str.file:___.._exebatjarvbspyps1_
lea rcx, [rbp - 0x78]
call fcn.14000f320
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.140021b10
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.14002e3f8
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.140021e70
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 0x14002045b
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.14000f9e0
test al, al
je 0x1400203fa
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 0x14001fbad
mov r8, qword [rbp + 0x190]
cmp rbx, r8
ja 0x14001fb08
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 0x14001fb66
mov rdx, rbx
sub rdx, r8
mov rcx, qword [rbp + 0x198]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x14001fb57
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 0x14001fb4c
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], si
jmp 0x14001fb66
mov r9, rdx
lea rcx, [rbp + 0x180]
call fcn.140019ee0
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 0x14001fcc0
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 0x14001fc1a
cmp word [rdi], 0x66
je 0x14001fc17
cmp rax, 1
je 0x14001fc1a
dec rax
add rdi, 2
cmp word [rdi], 0x66
jne 0x14001fc04
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x14001fcc0
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 0x14002008f
add rcx, 2
sub rdx, 1
jne 0x14001fc40
sub rdi, r9
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x14001fcc0
cmp rsi, rdi
jb 0x1400206d1
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 0x14001fe48
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 0x14001fd1a
cmp word [rcx], 0x25
je 0x14001fd17
cmp rax, 1
je 0x14001fd1a
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14001fd04
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001fe48
mov edi, 3
lea rax, [0x140035f38]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x140020098
add rdx, 2
sub rdi, 1
jne 0x14001fd40
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x14001fe48
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140031ea8]
mov rdx, rcx
lea rcx, [rbp + 0x180]
call fcn.140021930
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 0x14001fe48
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 0x14001fdfa
cmp word [rcx], 0x25
je 0x14001fdf7
cmp rax, 1
je 0x14001fdfa
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14001fde4
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001fe48
mov edi, 3
lea rax, [0x140035f38]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x1400200a1
add rdx, 2
sub rdi, 1
jne 0x14001fe20
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
jne 0x14001fd70
lea r9, [rbp + 0x180]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x14001ffc8
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 0x14001fe9a
cmp word [rax], 0x5c
je 0x14001fe97
cmp rcx, 1
je 0x14001fe9a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x14001fe84
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14001ffc8
mov edi, 3
lea rcx, [0x140035f40]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x1400200aa
add rdx, 2
sub rdi, 1
jne 0x14001fec0
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x14001ffc8
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140031fc4]
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140021930
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 0x14001ffc8
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 0x14001ff7a
cmp word [rax], 0x5c
je 0x14001ff77
cmp rcx, 1
je 0x14001ff7a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x14001ff64
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14001ffc8
mov edi, 3
lea rcx, [0x140035f40]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x1400200b3
add rdx, 2
sub rdi, 1
jne 0x14001ffa0
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14001fef0
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 0x14002001e
cmp word [rax], 0x2f
jne 0x14001fffb
mov word [rax], 0x5c
add rax, 2
cmp rax, rdx
jne 0x14001fff0
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 0x1400200f1
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 0x140020061
mov rdx, qword [rdx]
mov rcx, r10
cmp rsi, r10
cmovb rcx, rsi
test rcx, rcx
je 0x140020086
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x1400200bc
add rax, 2
sub rcx, 1
jne 0x140020073
cmp r10, rsi
jae 0x1400200cd
mov al, 0xff
jmp 0x1400200d1
add rdi, 2
jmp 0x14001fbf0
add rcx, 2
jmp 0x14001fcf0
add rcx, 2
jmp 0x14001fdd0
add rax, 2
jmp 0x14001fe70
add rax, 2
jmp 0x14001ff50
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x1400200cf
mov al, 0xff
jmp 0x1400200d1
jbe 0x1400200db
mov al, 1
test al, al
jns 0x1400200db
mov r9, qword [r9 + 0x10]
jmp 0x1400200e1
mov r11, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140020040
mov r13, qword [rsp + 0x78]
cmp byte [r11 + 0x19], 0
jne 0x140020173
lea rax, [r11 + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14002010a
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 0x140020144
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x14002014d
add rax, 2
sub rcx, 1
jne 0x140020130
cmp rsi, r9
jae 0x140020162
mov al, 0xff
jmp 0x140020166
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x140020164
mov al, 0xff
jmp 0x140020166
jbe 0x14002016a
mov al, 1
test al, al
js 0x140020173
cmp r11, rbx
jne 0x1400203b7
lea rdx, [rbp + 0x180]
call fcn.14002c8a0
test al, al
jne 0x1400203a9
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.140003670
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
cmova rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
mov rcx, rax
call fcn.140004290
lea rdx, [0x140003850]
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 0x1400202a6
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 0x140020235
mov rdx, qword [rdx]
mov rcx, r10
cmp r11, r10
cmovb rcx, r11
test rcx, rcx
je 0x14002025a
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x140020263
add rax, 2
sub rcx, 1
jne 0x140020247
cmp r10, r11
jae 0x140020274
mov al, 0xff
jmp 0x140020278
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x140020276
mov al, 0xff
jmp 0x140020278
jbe 0x140020289
mov al, 1
test al, al
jns 0x140020289
mov dword [rbp - 0x20], 0
mov r9, qword [r9 + 0x10]
jmp 0x140020296
mov dword [rbp - 0x20], 1
mov rbx, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140020210
mov r13, qword [rsp + 0x78]
cmp byte [rbx + 0x19], 0
jne 0x140020322
lea rax, [rbx + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400202be
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 0x1400202f4
sub r8, rax
nop
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x1400202fd
add rax, 2
sub rcx, 1
jne 0x1400202e0
cmp r11, r9
jae 0x140020312
mov al, 0xff
jmp 0x14002031a
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x140020318
mov al, 0xff
jmp 0x14002031a
jbe 0x1400203b7
mov al, 1
test al, al
jns 0x1400203b7
movabs rax, 0x3ffffffffffffff
cmp qword [rsp + 0x60], rax
je 0x1400206cb
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
mov ecx, 0x40
call fcn.14002e3f8
mov rdi, rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x180]
call fcn.140003010
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.140003f10
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
jmp 0x1400203b9
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
xor esi, esi
cmp r15, 7
jbe 0x1400203f4
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400203ec
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020678
mov rcx, r14
call fcn.14002e2d0
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.140021e70
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 0x14001fa40
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x1400361a8]
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.140022020
mov edx, 0x40
mov rcx, qword [rsp + 0x58]
call fcn.14002e2d0
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x1400204c4
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400204bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002067f
call fcn.14002e2d0
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.140021760
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 0x140020571
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14002056c
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14002056c
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 0x140020550
mov r12d, dword [rsp + 0x68]
mov qword [rbp - 0x78], rsi
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14002059a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14002059a
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 0x1400205db
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400205d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020686
call fcn.14002e2d0
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 0x14001f861
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 0x140020692
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002068d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002068d
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.14002e2d0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.14002e2b0
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.140003270
int3