Function at 0x14001fef0
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.140031470
sub rsp, rax
mov rax, qword [0x140047040]
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 0x140020f92
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 0x14001ffb0
lea rdx, [rbp + 0x220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001ff80
jmp 0x140020f92
mov edx, dword [rbp + 0x228]
lea rcx, [rbp + 0x200]
call fcn.14000a9d0
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140004610
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.140003420
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 0x140020f28
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 0x140020f05
lea rbx, [0x140039ae8]
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 0x140020f05
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.1400098a0
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.140010210
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x60]
call fcn.14000fca0
mov qword [rbp - 0x68], rax
mov r9d, 1
lea r8, [0x14003985c]
lea rdx, str.file:___.._exebatjarvbspyps1_
lea rcx, [rbp - 0x78]
call fcn.14000fd90
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.140022410
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.140030ba8
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.140022770
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 0x140020d5b
nop dword [rax]
nop word [rax + 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.1400104b0
test al, al
je 0x140020cfa
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 0x1400204ad
mov r8, qword [rbp + 0x190]
cmp rbx, r8
ja 0x140020408
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 0x140020466
mov rdx, rbx
sub rdx, r8
mov rcx, qword [rbp + 0x198]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140020457
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 0x14002044c
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r8]
mov word [r9 + rax*2], si
jmp 0x140020466
mov r9, rdx
lea rcx, [rbp + 0x180]
call fcn.14001a7d0
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 0x1400205c0
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 0x14002051a
cmp word [rdi], 0x66
je 0x140020517
cmp rax, 1
je 0x14002051a
dec rax
add rdi, 2
cmp word [rdi], 0x66
jne 0x140020504
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x1400205c0
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 0x14002098f
add rcx, 2
sub rdx, 1
jne 0x140020540
sub rdi, r9
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x1400205c0
cmp rsi, rdi
jb 0x140020fd1
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 0x140020748
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 0x14002061a
cmp word [rcx], 0x25
je 0x140020617
cmp rax, 1
je 0x14002061a
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x140020604
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140020748
mov edi, 3
lea rax, [0x140039878]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x140020998
add rdx, 2
sub rdi, 1
jne 0x140020640
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x140020748
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140034f28]
mov rdx, rcx
lea rcx, [rbp + 0x180]
call fcn.140022230
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 0x140020748
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 0x1400206fa
cmp word [rcx], 0x25
je 0x1400206f7
cmp rax, 1
je 0x1400206fa
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x1400206e4
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x140020748
mov edi, 3
lea rax, [0x140039878]
mov rdx, rax
mov r8, rcx
sub r8, rax
nop word [rax + rax]
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x1400209a1
add rdx, 2
sub rdi, 1
jne 0x140020720
sub rcx, r9
sar rcx, 1
cmp rcx, 0xffffffffffffffff
jne 0x140020670
lea r9, [rbp + 0x180]
cmp r15, 7
cmova r9, r14
cmp rsi, 3
jb 0x1400208c8
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 0x14002079a
cmp word [rax], 0x5c
je 0x140020797
cmp rcx, 1
je 0x14002079a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x140020784
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400208c8
mov edi, 3
lea rcx, [0x140039880]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x1400209aa
add rdx, 2
sub rdi, 1
jne 0x1400207c0
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1400208c8
nop dword [rax + rax]
mov qword [rsp + 0x20], 1
lea r9, [0x140035064]
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140022230
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 0x1400208c8
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 0x14002087a
cmp word [rax], 0x5c
je 0x140020877
cmp rcx, 1
je 0x14002087a
dec rcx
add rax, 2
cmp word [rax], 0x5c
jne 0x140020864
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400208c8
mov edi, 3
lea rcx, [0x140039880]
mov rdx, rcx
mov r8, rax
sub r8, rcx
nop word [rax + rax]
movzx ecx, word [r8 + rdx]
cmp cx, word [rdx]
jne 0x1400209b3
add rdx, 2
sub rdi, 1
jne 0x1400208a0
sub rax, r9
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1400207f0
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 0x14002091e
cmp word [rax], 0x2f
jne 0x1400208fb
mov word [rax], 0x5c
add rax, 2
cmp rax, rdx
jne 0x1400208f0
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 0x1400209f1
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 0x140020961
mov rdx, qword [rdx]
mov rcx, r10
cmp rsi, r10
cmovb rcx, rsi
test rcx, rcx
je 0x140020986
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x1400209bc
add rax, 2
sub rcx, 1
jne 0x140020973
cmp r10, rsi
jae 0x1400209cd
mov al, 0xff
jmp 0x1400209d1
add rdi, 2
jmp 0x1400204f0
add rcx, 2
jmp 0x1400205f0
add rcx, 2
jmp 0x1400206d0
add rax, 2
jmp 0x140020770
add rax, 2
jmp 0x140020850
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x1400209cf
mov al, 0xff
jmp 0x1400209d1
jbe 0x1400209db
mov al, 1
test al, al
jns 0x1400209db
mov r9, qword [r9 + 0x10]
jmp 0x1400209e1
mov r11, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140020940
mov r13, qword [rsp + 0x78]
cmp byte [r11 + 0x19], 0
jne 0x140020a73
lea rax, [r11 + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140020a0a
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 0x140020a44
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x140020a4d
add rax, 2
sub rcx, 1
jne 0x140020a30
cmp rsi, r9
jae 0x140020a62
mov al, 0xff
jmp 0x140020a66
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x140020a64
mov al, 0xff
jmp 0x140020a66
jbe 0x140020a6a
mov al, 1
test al, al
js 0x140020a73
cmp r11, rbx
jne 0x140020cb7
lea rdx, [rbp + 0x180]
call fcn.14002f040
test al, al
jne 0x140020ca9
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.140003880
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
cmova rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
mov rcx, rax
call fcn.140004710
lea rdx, [0x140003a60]
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 0x140020ba6
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 0x140020b35
mov rdx, qword [rdx]
mov rcx, r10
cmp r11, r10
cmovb rcx, r11
test rcx, rcx
je 0x140020b5a
sub rdx, rax
movzx edi, word [rax + rdx]
cmp di, word [rax]
jne 0x140020b63
add rax, 2
sub rcx, 1
jne 0x140020b47
cmp r10, r11
jae 0x140020b74
mov al, 0xff
jmp 0x140020b78
mov eax, 1
cmovb eax, r13d
test eax, eax
jns 0x140020b76
mov al, 0xff
jmp 0x140020b78
jbe 0x140020b89
mov al, 1
test al, al
jns 0x140020b89
mov dword [rbp - 0x20], 0
mov r9, qword [r9 + 0x10]
jmp 0x140020b96
mov dword [rbp - 0x20], 1
mov rbx, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140020b10
mov r13, qword [rsp + 0x78]
cmp byte [rbx + 0x19], 0
jne 0x140020c22
lea rax, [rbx + 0x20]
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140020bbe
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 0x140020bf4
sub r8, rax
nop
movzx edx, word [rax + r8]
cmp dx, word [rax]
jne 0x140020bfd
add rax, 2
sub rcx, 1
jne 0x140020be0
cmp r11, r9
jae 0x140020c12
mov al, 0xff
jmp 0x140020c1a
mov eax, 1
mov ecx, 0xffffffff
cmovb eax, ecx
test eax, eax
jns 0x140020c18
mov al, 0xff
jmp 0x140020c1a
jbe 0x140020cb7
mov al, 1
test al, al
jns 0x140020cb7
movabs rax, 0x3ffffffffffffff
cmp qword [rsp + 0x60], rax
je 0x140020fcb
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
mov ecx, 0x40
call fcn.140030ba8
mov rdi, rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + 0x20]
lea rdx, [rbp + 0x180]
call fcn.140003490
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.140004390
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
jmp 0x140020cb9
mov r15, qword [rbp + 0x198]
mov r14, qword [rbp + 0x180]
xor esi, esi
cmp r15, 7
jbe 0x140020cf4
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140020cec
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f78
mov rcx, r14
call fcn.140030a80
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.140022770
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 0x140020340
lea rdi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x140039ae8]
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.140022920
mov edx, 0x40
mov rcx, qword [rsp + 0x58]
call fcn.140030a80
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140020dc4
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020dbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f7f
call fcn.140030a80
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.140022060
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 0x140020e71
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140020e6c
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x140020e6c
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 0x140020e50
mov r12d, dword [rsp + 0x68]
mov qword [rbp - 0x78], rsi
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140020e9a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140020e9a
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 0x140020edb
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020ed6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f86
call fcn.140030a80
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 0x140020151
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 0x140020f92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020f8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020f8d
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.140030a80
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140030a60
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.1400023e0
nop
call fcn.1400036f0
int3