Function at 0x14001b170
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.140026710
sub rsp, rax
mov rax, qword [0x140035040]
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 0x14001c202
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 0x14001b230
lea rdx, [rbp + 0x220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001b200
jmp 0x14001c202
mov edx, dword [rbp + 0x228]
lea rcx, [rbp + 0x200]
call fcn.140001430
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140003d10
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.1400028a0
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 0x14001c198
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 0x14001c175
lea rbx, [0x14002a290]
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 0x14001c175
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.1400035e0
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.1400039f0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x60]
call fcn.140002e50
mov qword [rbp - 0x68], rax
lea r8, [0x14002b734]
lea rdx, str.file:___.._exebatjarvbspyps1_
lea rcx, [rbp - 0x78]
call fcn.1400031c0
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.140002c60
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.140025d20
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.140003f70
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 0x14001bfcb
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.140004120
test al, al
je 0x14001bf6a
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 0x14001b71d
mov r8, qword [rbp + 0x190]
cmp rbx, r8
ja 0x14001b678
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 0x14001b6d6
mov rdx, rbx
sub rdx, r8
mov rcx, qword [rbp + 0x198]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x14001b6c7
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 0x14001b6bc
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], si
jmp 0x14001b6d6
mov r9, rdx
lea rcx, [rbp + 0x180]
call fcn.140015a80
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 0x14001b830
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 0x14001b78a
cmp word [rdi], 0x66
je 0x14001b787
cmp rax, 1
je 0x14001b78a
dec rax
add rdi, 2
cmp word [rdi], 0x66
jne 0x14001b774
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x14001b830
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 0x14001bbff
add rcx, 2
sub rdx, 1
jne 0x14001b7b0
sub rdi, r9
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x14001b830
cmp rsi, rdi
jb 0x14001c241
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 0x14001b9b8
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 0x14001b88a
cmp word [rcx], 0x25
je 0x14001b887
cmp rax, 1
je 0x14001b88a
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14001b874
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001b9b8
mov edi, 3
lea rax, [0x14002b758]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x14001bc08
add rdx, 2
sub rdi, 1
jne 0x14001b8b0
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x14001b9b8
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x14002a3a0]
mov rdx, rcx
lea rcx, [rbp + 0x180]
call fcn.14001ccf0
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 0x14001b9b8
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 0x14001b96a
cmp word [rcx], 0x25
je 0x14001b967
cmp rax, 1
je 0x14001b96a
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14001b954
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x14001b9b8
mov edi, 3
lea rax, [0x14002b758]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x14001bc11
add rdx, 2
sub rdi, 1
jne 0x14001b990
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
jne 0x14001b8e0
lea r9, [rbp + 0x180]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x14001bb38
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 0x14001ba0a
cmp word [rax], 0x5c
je 0x14001ba07
cmp rcx, 1
je 0x14001ba0a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x14001b9f4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14001bb38
mov edi, 3
lea rcx, [0x14002b760]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x14001bc1a
add rdx, 2
sub rdi, 1
jne 0x14001ba30
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x14001bb38
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x14002a474]
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.14001ccf0
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 0x14001bb38
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 0x14001baea
cmp word [rax], 0x5c
je 0x14001bae7
cmp rcx, 1
je 0x14001baea
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x14001bad4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14001bb38
mov edi, 3
lea rcx, [0x14002b760]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x14001bc23
add rdx, 2
sub rdi, 1
jne 0x14001bb10
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14001ba60
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 0x14001bb8e
cmp word [rax], 0x2f
jne 0x14001bb6b
mov word [rax], 0x5c
add rax, 2
cmp rax, rdx
jne 0x14001bb60
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 0x14001bc61
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 0x14001bbd1
mov rdx, qword [rdx]
mov rcx, r10
cmp rsi, r10
cmovb rcx, rsi
test rcx, rcx
je 0x14001bbf6
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x14001bc2c
add rax, 2
sub rcx, 1
jne 0x14001bbe3
cmp r10, rsi
jae 0x14001bc3d
mov al, 0xff
jmp 0x14001bc41
add rdi, 2
jmp 0x14001b760
add rcx, 2
jmp 0x14001b860
add rcx, 2
jmp 0x14001b940
add rax, 2
jmp 0x14001b9e0
add rax, 2
jmp 0x14001bac0
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x14001bc3f
mov al, 0xff
jmp 0x14001bc41
jbe 0x14001bc4b
mov al, 1
test al, al
jns 0x14001bc4b
mov r9, qword [r9 + 0x10]
jmp 0x14001bc51
mov r11, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x14001bbb0
mov r13, qword [rsp + 0x78]
cmp byte [r11 + 0x19], 0
jne 0x14001bce3
lea rax, [r11 + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14001bc7a
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 0x14001bcb4
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x14001bcbd
add rax, 2
sub rcx, 1
jne 0x14001bca0
cmp rsi, r9
jae 0x14001bcd2
mov al, 0xff
jmp 0x14001bcd6
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x14001bcd4
mov al, 0xff
jmp 0x14001bcd6
jbe 0x14001bcda
mov al, 1
test al, al
js 0x14001bce3
cmp r11, rbx
jne 0x14001bf27
lea rdx, [rbp + 0x180]
call fcn.140024410
test al, al
jne 0x14001bf19
lea rdx, str.____Arquivo_acessado:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000b8f0
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
cmova rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
mov rcx, rax
call fcn.14000c300
lea rdx, [0x14000bad0]
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 0x14001be16
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 0x14001bda5
mov rdx, qword [rdx]
mov rcx, r10
cmp r11, r10
cmovb rcx, r11
test rcx, rcx
je 0x14001bdca
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x14001bdd3
add rax, 2
sub rcx, 1
jne 0x14001bdb7
cmp r10, r11
jae 0x14001bde4
mov al, 0xff
jmp 0x14001bde8
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x14001bde6
mov al, 0xff
jmp 0x14001bde8
jbe 0x14001bdf9
mov al, 1
test al, al
jns 0x14001bdf9
mov dword [rbp - 0x20], 0
mov r9, qword [r9 + 0x10]
jmp 0x14001be06
mov dword [rbp - 0x20], 1
mov rbx, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x14001bd80
mov r13, qword [rsp + 0x78]
cmp byte [rbx + 0x19], 0
jne 0x14001be92
lea rax, [rbx + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14001be2e
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 0x14001be64
sub r8, rax
nop
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x14001be6d
add rax, 2
sub rcx, 1
jne 0x14001be50
cmp r11, r9
jae 0x14001be82
mov al, 0xff
jmp 0x14001be8a
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x14001be88
mov al, 0xff
jmp 0x14001be8a
jbe 0x14001bf27
mov al, 1
test al, al
jns 0x14001bf27
movabs rax, 0x3ffffffffffffff
cmp qword [rsp + 0x60], rax
je 0x14001c23b
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
mov ecx, 0x40
call fcn.140025d20
mov rdi, rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x180]
call fcn.14000b5a0
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.14000c080
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
jmp 0x14001bf29
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
xor esi, esi
cmp r15, 7
jbe 0x14001bf64
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001bf5c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1e8
mov rcx, r14
call fcn.140025d64
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.140003f70
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 0x14001b5b0
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x14002a290]
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.14001d0f0
mov edx, 0x40
mov rcx, qword [rsp + 0x58]
call fcn.140025d64
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14001c034
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c02f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1ef
call fcn.140025d64
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.140002550
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 0x14001c0e1
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14001c0dc
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14001c0dc
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 0x14001c0c0
mov r12d, dword [rsp + 0x68]
mov qword [rbp - 0x78], rsi
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14001c10a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001c10a
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 0x14001c14b
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c146
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1f6
call fcn.140025d64
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 0x14001b3d1
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 0x14001c202
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c1fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c1fd
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.140025d64
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140025d00
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.14000a560
nop
call fcn.140002e30
int3