Function at 0x1400202b0
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 - 0x1390]
mov eax, 0x1490
call fcn.140031ae0
sub rsp, rax
movaps xmmword [rsp + 0x1480], xmm6
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x1370], rax
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x68], esi
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x244]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x240], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
mov qword [rbp - 0x58], rax
lea rdx, [rbp + 0x240]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400212b2
nop dword [rax]
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x26c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140020380
lea rdx, [rbp + 0x240]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140020350
jmp 0x1400212b2
mov edx, dword [rbp + 0x248]
lea rcx, [rbp + 0x218]
call fcn.14000a970
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140004490
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x208], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x208], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or r12d, 2
lea rcx, [rbp + 0x218]
call fcn.140003430
mov qword [rbp - 0x40], 0x18
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x38], rsi
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r8d, r8d
mov edx, 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 [rsp + 0x78]
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 + 0x1f8]
cmp qword [rbp + 0x210], 7
cmova rdx, qword [rbp + 0x1f8]
lea rax, [rbp]
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 0x140021248
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
mov r8d, 0x1000
lea rdx, [rbp + 0x370]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140021225
lea rbx, [0x140039cc8]
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 + 0x60]
test eax, eax
je 0x140021225
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
mov qword [rbp + 0x1e8], rsi
mov qword [rbp + 0x1f0], rsi
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x1d8]
call fcn.140009840
nop
mov qword [rbp - 0x80], rsi
lea rax, [rbp - 0x78]
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 - 0x60], rax
lea rcx, [rbp - 0x68]
call fcn.140010190
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x68]
call fcn.14000fc10
mov qword [rbp - 0x70], rax
mov r9d, 1
lea r8, [0x140039a3c]
lea rdx, str.file:___.._exebatjarvbspyps1_
lea rcx, [rbp - 0x80]
call fcn.14000fd00
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 - 0x20], 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 + 0x1d8]
cmp qword [rbp + 0x1f0], 0xf
cmova rdx, qword [rbp + 0x1d8]
mov r9d, 2
mov r8, qword [rbp + 0x1e8]
lea rcx, [rbp + 0xa0]
call fcn.140022730
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
mov qword [rbp + 0x1c8], rsi
mov qword [rbp + 0x1d0], 0xf
mov byte [rbp + 0x1b8], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov ecx, 0x40
call fcn.1400310f8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x50], 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 + 0x1b8]
lea rcx, [rbp + 0x90]
call fcn.140022a70
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 0x140021076
nop word [rax + rax]
lea rcx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0xf
cmova rcx, qword [rbp + 0x1b8]
mov rdx, qword [rbp + 0x1c8]
add rdx, rcx
mov dword [rsp + 0x20], 0x10
lea r9, [rbp - 0x80]
call fcn.140010430
test al, al
je 0x140021015
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], 7
mov word [rbp + 0x198], si
lea r8, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0xf
cmova r8, qword [rbp + 0x1b8]
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 0x14002087d
mov r8, qword [rbp + 0x1a8]
cmp rbx, r8
ja 0x1400207d8
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rcx, qword [rbp + 0x198]
mov word [rcx + rbx*2], si
jmp 0x140020836
mov rdx, rbx
sub rdx, r8
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140020827
mov qword [rbp + 0x1a8], rbx
lea r9, [rbp + 0x198]
cmp rcx, 7
cmova r9, qword [rbp + 0x198]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14002081c
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], si
jmp 0x140020836
mov r9, rdx
lea rcx, [rbp + 0x198]
call fcn.14001aba0
lea rax, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rax, qword [rbp + 0x198]
lea r8, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0xf
cmova r8, qword [rbp + 0x1b8]
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 + 0x198]
mov r14, qword [rbp + 0x198]
mov r15, qword [rbp + 0x1b0]
cmp r15, 7
cmova r9, r14
mov rsi, qword [rbp + 0x1a8]
xor ebx, ebx
cmp rsi, 8
jb 0x140020991
lea r10, [rsi - 7]
lea r10, [r9 + r10*2]
mov rdi, r9
nop dword [rax + rax]
mov rax, r10
sub rax, rdi
sar rax, 1
mov rcx, rbx
je 0x1400208ea
cmp word [rdi], 0x66
je 0x1400208e7
cmp rax, 1
je 0x1400208ea
dec rax
add rdi, 2
cmp word [rdi], 0x66
jne 0x1400208d4
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x140020991
mov edx, 8
lea rax, str.file:___
mov rcx, rax
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140020d61
add rcx, 2
sub rdx, 1
jne 0x140020910
sub rdi, r9
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x140020991
cmp rsi, rdi
jb 0x1400212f6
mov rax, rsi
sub rax, rdi
mov edx, 8
cmp rax, rdx
cmovb rdx, rax
lea rax, [rbp + 0x198]
cmp r15, 7
cmova 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 + 0x1a8], rsi
mov r15, qword [rbp + 0x1b0]
mov r14, qword [rbp + 0x198]
lea r9, [rbp + 0x198]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x140020b18
lea r10, [rsi - 2]
lea r10, [r9 + r10*2]
mov rcx, r9
nop word [rax + rax]
mov rax, r10
sub rax, rcx
sar rax, 1
mov rdx, rbx
je 0x1400209ea
cmp word [rcx], 0x25
je 0x1400209e7
cmp rax, 1
je 0x1400209ea
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x1400209d4
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140020b18
mov edi, 3
lea rax, [0x140039a58]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, word [rdx + r8]
cmp ax, word [rdx]
jne 0x140020d6a
add rdx, 2
sub rdi, 1
jne 0x140020a10
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x140020b18
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140034f68]
mov rdx, rcx
lea rcx, [rbp + 0x198]
call fcn.140022550
lea r9, [rbp + 0x198]
mov r14, qword [rbp + 0x198]
mov r15, qword [rbp + 0x1b0]
cmp r15, 7
cmova r9, r14
mov rsi, qword [rbp + 0x1a8]
cmp rsi, 3
jb 0x140020b18
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 0x140020aca
cmp word [rcx], 0x25
je 0x140020ac7
cmp rax, 1
je 0x140020aca
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x140020ab4
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140020b18
mov edi, 3
lea rax, [0x140039a58]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop word [rax + rax]
movzx eax, word [rdx + r8]
cmp ax, word [rdx]
jne 0x140020d73
add rdx, 2
sub rdi, 1
jne 0x140020af0
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
jne 0x140020a40
lea r9, [rbp + 0x198]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x140020c98
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 0x140020b6a
cmp word [rax], 0x5c
je 0x140020b67
cmp rcx, 1
je 0x140020b6a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x140020b54
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140020c98
mov edi, 3
lea rcx, [0x140039a60]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x140020d7c
add rdx, 2
sub rdi, 1
jne 0x140020b90
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140020c98
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x1400350a4]
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.140022550
lea r9, [rbp + 0x198]
mov r14, qword [rbp + 0x198]
mov r15, qword [rbp + 0x1b0]
cmp r15, 7
cmova r9, r14
mov rsi, qword [rbp + 0x1a8]
cmp rsi, 3
jb 0x140020c98
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 0x140020c4a
cmp word [rax], 0x5c
je 0x140020c47
cmp rcx, 1
je 0x140020c4a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x140020c34
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140020c98
mov edi, 3
lea rcx, [0x140039a60]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [rdx + r8]
cmp cx, word [rdx]
jne 0x140020d85
add rdx, 2
sub rdi, 1
jne 0x140020c70
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x140020bc0
lea rax, [rbp + 0x198]
cmp r15, 7
cmova rax, r14
lea rcx, [rax + rsi*2]
lea rax, [rbp + 0x198]
cmova rax, r14
cmp rax, rcx
je 0x140020ced
nop dword [rax + rax]
cmp word [rax], 0x2f
jne 0x140020ccb
mov word [rax], 0x5c
add rax, 2
cmp rax, rcx
jne 0x140020cc0
mov r13, qword [rbp - 0x58]
mov r15, qword [rbp + 0x1b0]
mov rsi, qword [rbp + 0x1a8]
mov r14, qword [rbp + 0x198]
mov rbx, qword [rsp + 0x50]
mov r9, qword [rbx + 8]
mov r11, rbx
cmp byte [r9 + 0x19], 0
jne 0x140020db0
mov ebx, 0xffffffff
nop dword [rax]
lea rdx, [r9 + 0x20]
lea rax, [rbp + 0x198]
cmp r15, 7
cmova rax, r14
mov r10, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140020d31
mov rdx, qword [rdx]
mov rcx, r10
cmp rsi, r10
cmovb rcx, rsi
test rcx, rcx
je 0x140020d56
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x140020d8e
add rax, 2
sub rcx, 1
jne 0x140020d43
cmp r10, rsi
jae 0x140020d9a
mov r9, qword [r9 + 0x10]
jmp 0x140020da0
add rdi, 2
jmp 0x1400208c0
add rcx, 2
jmp 0x1400209c0
add rcx, 2
jmp 0x140020aa0
add rax, 2
jmp 0x140020b40
add rax, 2
jmp 0x140020c20
mov eax, 1
cmovb eax, ebx
test eax, eax
js 0x140020d5b
mov r11, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140020d10
mov rbx, qword [rsp + 0x50]
cmp byte [r11 + 0x19], 0
jne 0x140020e23
lea rax, [r11 + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140020dc9
mov rax, qword [rax]
lea r8, [rbp + 0x198]
cmp r15, 7
cmova r8, r14
mov rcx, rsi
cmp r9, rsi
cmovb rcx, r9
test rcx, rcx
je 0x140020e04
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x140020e10
add rax, 2
sub rcx, 1
jne 0x140020df0
cmp rsi, r9
mov esi, 0xffffffff
jae 0x140020e2b
jmp 0x140020e28
mov eax, 1
mov esi, 0xffffffff
cmovb eax, esi
test eax, eax
jns 0x140020e2b
jmp 0x140020e28
mov esi, 0xffffffff
mov r11, rbx
cmp r11, rbx
jne 0x140020fd2
lea rdx, [rbp + 0x198]
call fcn.14002f4e0
test al, al
jne 0x140020fc4
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.140003720
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 7
cmova rdx, qword [rbp + 0x198]
mov r8, qword [rbp + 0x1a8]
mov rcx, rax
call fcn.1400046e0
lea rdx, [0x140003900]
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]
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.140022c20
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x10], xmm0
mov rax, qword [rbp - 0x10]
cmp byte [rax + 0x19], 0
jne 0x140020f31
add rax, 0x20
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140020ed2
mov rax, qword [rax]
mov r10, qword [rbp + 0x1a8]
lea r8, [rbp + 0x198]
mov r14, qword [rbp + 0x198]
mov r15, qword [rbp + 0x1b0]
cmp r15, 7
cmova r8, r14
mov rcx, r10
cmp r9, r10
cmovb rcx, r9
test rcx, rcx
je 0x140020f28
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x140020fb3
add rax, 2
sub rcx, 1
jne 0x140020f10
cmp r10, r9
jae 0x140020fd2
movabs rax, 0x3ffffffffffffff
cmp qword [rsp + 0x58], rax
je 0x1400212f0
mov rbx, qword [rsp + 0x50]
lea rax, [rsp + 0x50]
mov qword [rbp - 0x50], rax
xor esi, esi
mov qword [rbp - 0x48], rsi
mov ecx, 0x40
call fcn.1400310f8
mov rdi, rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x198]
call fcn.1400034a0
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov word [rdi + 0x18], si
mov qword [rbp - 0x48], rsi
movaps xmmword [rbp - 0x20], xmm6
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.140004210
mov r15, qword [rbp + 0x1b0]
mov r14, qword [rbp + 0x198]
jmp 0x140020fd4
mov eax, 1
cmovb eax, esi
test eax, eax
jns 0x140020fd2
jmp 0x140020f31
mov r15, qword [rbp + 0x1b0]
mov r14, qword [rbp + 0x198]
xor esi, esi
cmp r15, 7
jbe 0x14002100f
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140021007
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021298
mov rcx, r14
call fcn.140030fd0
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 + 0x1b8]
lea rcx, [rbp + 0x90]
call fcn.140022a70
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 0x140020710
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x140039cc8]
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov r8, qword [rsp + 0x50]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140022d20
mov edx, 0x40
mov rcx, qword [rsp + 0x50]
call fcn.140030fd0
nop
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 0xf
jbe 0x1400210df
inc rdx
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400210da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002129f
call fcn.140030fd0
mov qword [rbp + 0x1c8], rsi
mov qword [rbp + 0x1d0], 0xf
mov byte [rbp + 0x1b8], 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.140022380
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 - 0x80]
test rcx, rcx
je 0x140021191
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14002118c
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x14002118c
nop dword [rax]
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 0x140021170
mov r12d, dword [rsp + 0x68]
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400211ba
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400211ba
mov rcx, qword [rax]
mov rdi, qword [rcx]
mov edx, 1
mov rcx, rax
call rdi
nop
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 0xf
jbe 0x1400211fb
inc rdx
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400211f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400212a6
call fcn.140030fd0
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
mov r8d, 0x1000
lea rdx, [rbp + 0x370]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140020525
mov edx, 0xffffffff
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp]
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 + 0x210]
cmp rdx, 7
jbe 0x1400212b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400212ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400212ad
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.140030fd0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.140030fb0
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400023e0
nop
call fcn.140003700
int3