Function at 0x140029c60
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Read file on windows
Self delete

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.14004a560
sub rsp, rax
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov edx, ecx
lea rcx, [rbp + 0x2a0]
call fcn.1400117c0
nop
lea r9d, [r15 + 0xe]
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.1400127e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x290], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x280], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x290], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x50], 8
mov r8, qword [rbp + 0x2b8]
cmp r8, 7
jbe 0x140029d25
mov rdx, qword ds:[rbp + 0x2a0]
call fcn.140006500
movdqa xmm0, xmmword [0x14005d490]
movdqu xmmword [rbp + 0x2b0], xmm0
mov word [rbp + 0x2a0], r15w
mov qword [rbp - 0x60], 0x18
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x58], r15
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14002aba8
mov dword ds:[rbp + 0xe0], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x138], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0x11c], eax
mov word [rbp + 0x120], r15w
lea rdx, [rbp + 0x280]
cmp qword [rbp + 0x298], 7
cmova rdx, qword [rbp + 0x280]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
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
jne 0x140029e3e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
jmp 0x14002aba1
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
test eax, eax
je 0x14002ab79
lea r14, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r12, str.deviceharddiskvolume
lea r13, str..exe
mov ecx, 0x16
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14002ab79
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
cmp rax, 0xf
ja 0x140029f06
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], 0xf
mov r8d, eax
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x200], 0
mov rsi, qword [rbp + 0x218]
mov rbx, qword [rbp + 0x210]
jmp 0x140029f4c
mov rsi, rbx
or rsi, 0xf
cmp rsi, 0x16
cmovb rsi, rcx
lea rcx, [rsi + 1]
call fcn.140006f80
mov rdi, rax
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x210], rbx
mov qword [rbp + 0x218], rsi
mov r8, rbx
lea rdx, [rbp + 0x2e0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rax, [0x140059080]
mov qword ds:[rbp - 0x10], rax
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or dword [rsp + 0x50], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
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 - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], r14
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x14], edx
lea rax, [rbp]
mov qword [rbp - 0x70], rax
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp], rax
lea r14, [rbp + 0x200]
cmp rsi, 0xf
cmova r14, qword [rbp + 0x200]
mov eax, 2
cmp rbx, 0x7fffffff
ja 0x14002addc
test rbx, rbx
je 0x14002a042
lfence
mov rdi, qword [rbp + 0x210]
mov rcx, rdi
call fcn.140006f80
mov rbx, rax
mov r8, rdi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rdi + rbx]
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x18]
mov qword [rcx], rbx
mov rcx, qword [rbp + 0x38]
mov qword [rcx], rbx
sub edx, ebx
mov rax, qword [rbp + 0x50]
mov dword [rax], edx
mov eax, 3
mov rsi, qword [rbp + 0x218]
jmp 0x14002a046
mov qword [rbp + 0x68], r15
mov dword ds:[rbp + 0x70], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r15
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], 0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
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 + 0x1e0]
lea rcx, [rbp - 0x10]
call fcn.14002da40
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 0x14002aa6f
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova r8, qword [rbp + 0x1e0]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
jle 0x14002aa24
mov rbx, rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14002ae1c
lfence
add rbx, rbx
mov rcx, rbx
call fcn.140006f80
mov qword [rsp + 0x68], rax
lea rdi, [rbx + rax]
mov qword [rsp + 0x78], rdi
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x70], rdi
lfence
lea r8, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova r8, qword [rbp + 0x1e0]
mov dword [rsp + 0x28], esi
mov r14, qword [rsp + 0x68]
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x198], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [r14 + r8*2], 0
jne 0x14002a1b0
mov rdx, r14
lea rcx, [rbp + 0x180]
call fcn.140006ca0
nop
lea r11, [rbp + 0x180]
mov rbx, qword [rbp + 0x198]
cmp rbx, 7
seta sil
mov r9, qword [rbp + 0x180]
cmova r11, r9
mov rax, qword [rbp + 0x190]
cmp rax, 0x16
jb 0x14002a275
lea r10, [rax - 0x15]
lea r10, [r11 + r10*2]
mov rdi, r11
nop dword [rax]
nop dword [rax + rax]
mov rax, r10
sub rax, rdi
sar rax, 1
mov rcx, r15
je 0x14002a23a
cmp word [rdi], 0x5c
je 0x14002a237
cmp rax, 1
je 0x14002a23a
dec rax
add rdi, 2
cmp word [rdi], 0x5c
jne 0x14002a224
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x14002a275
mov edx, 0x16
mov rcx, r12
mov r8, rdi
sub r8, r12
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14002a26f
add rcx, 2
sub rdx, 1
jne 0x14002a253
sub rdi, r11
sar rdi, 1
jmp 0x14002a27c
add rdi, 2
jmp 0x14002a210
mov rdi, 0xffffffffffffffff
nop dword [rax]
cmp rdi, 0xffffffffffffffff
je 0x14002a97d
lea rax, [rbp + 0x180]
test sil, sil
cmovne rax, r9
movzx ebx, word [rax + rdi*2 + 0x2c]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], r15
mov r8d, 0x16
lea rdx, str.DeviceHarddiskVolume
lea rcx, [rbp + 0x1c0]
call fcn.140006ca0
nop
mov rcx, qword [rbp + 0x1d0]
mov rdx, qword [rbp + 0x1d8]
cmp rcx, rdx
jae 0x14002a30f
lea rax, [rcx + 1]
mov qword [rbp + 0x1d0], rax
lea rax, [rbp + 0x1c0]
cmp rdx, 7
cmova rax, qword [rbp + 0x1c0]
mov word [rax + rcx*2], bx
mov word [rax + rcx*2 + 2], r15w
jmp 0x14002a31f
movzx r9d, bx
lea rcx, [rbp + 0x1c0]
call fcn.140010940
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x240]
call fcn.140047820
nop
lea r9, [rbp + 0x240]
cmp qword [rbp + 0x258], 7
cmova r9, qword [rbp + 0x240]
mov rax, qword [rbp + 0x250]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.14002d320
lea r9, [rbp + 0x180]
mov r10, qword [rbp + 0x180]
mov r11, qword [rbp + 0x198]
cmp r11, 7
cmova r9, r10
mov rbx, qword [rbp + 0x190]
cmp rbx, 4
jb 0x14002abf8
lea rcx, [rbx - 4]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [r9 + rax*2]
mov rdi, r8
sub rdi, r13
nop
cmp word [r8], 0x2e
jne 0x14002a410
mov edx, 4
mov rcx, r13
nop
movzx eax, word [rcx + rdi]
cmp ax, word [rcx]
jne 0x14002a410
add rcx, 2
sub rdx, 1
jne 0x14002a3c0
sub r8, r9
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x14002abf8
add r8, 4
cmp r8, rbx
ja 0x14002a423
mov qword [rbp + 0x190], r8
lea rax, [rbp + 0x180]
cmp r11, 7
cmova rax, r10
mov word [rax + r8*2], r15w
jmp 0x14002a47f
cmp r8, r9
je 0x14002abf8
sub r8, 2
sub rdi, 2
jmp 0x14002a3b0
mov rdx, r8
sub rdx, rbx
mov rax, r11
sub rax, rbx
cmp rdx, rax
ja 0x14002a468
mov qword [rbp + 0x190], r8
lea r8, [rbp + 0x180]
cmp r11, 7
cmova r8, r10
lea rdi, [r8 + rbx*2]
test rdx, rdx
je 0x14002a45d
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + rbx]
mov word [r8 + rax*2], r15w
jmp 0x14002a47f
lfence
mov r9, rdx
lea rcx, [rbp + 0x180]
call fcn.140022880
mov r14, qword [rsp + 0x68]
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 7
seta dil
cmova rdx, qword [rbp + 0x180]
mov rax, qword [rbp + 0x190]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x180]
test dil, dil
cmovne rdx, qword [rbp + 0x180]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], r15
cmp rdx, r8
jne 0x14002a4f4
mov r8, r15
mov qword [rbp + 0x1b0], r15
mov eax, 7
mov qword [rbp + 0x1b8], rax
mov word [rbp + 0x1a0], r15w
jmp 0x14002a514
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0x1a0]
call fcn.140006ca0
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rbp + 0x1b0]
lea rdx, [rbp + 0x1a0]
cmp rax, 7
cmova rdx, qword [rbp + 0x1a0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], r15
mov qword [rbp + 0x238], r15
lea rcx, [rbp + 0x220]
call fcn.140006ca0
mov rsi, r15
lea rbx, [rbp + 0x220]
cmp qword [rbp + 0x238], 7
seta dil
cmova rbx, qword [rbp + 0x220]
lea rcx, [rbp + 0x220]
test dil, dil
cmovne rcx, qword [rbp + 0x220]
mov rax, qword [rbp + 0x230]
lea rdi, [rcx + rax*2]
cmp rbx, rdi
je 0x14002a5ac
nop dword [rax + rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
movsxd rcx, eax
imul rsi, rsi, 0x1f
add rsi, rcx
add rbx, 2
cmp rbx, rdi
jne 0x14002a590
mov r9, rsi
lea r8, [rbp + 0x220]
lea rdx, [rbp + 0x150]
call fcn.140007100
mov rcx, qword [rax + 8]
mov rbx, qword [0x14006f918]
mov rdi, rbx
test rcx, rcx
cmovne rdi, rcx
mov rdx, qword [rbp + 0x238]
cmp rdx, 7
jbe 0x14002a62f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a62a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ad94
call fcn.1400499d0
mov qword [rbp + 0x230], r15
mov qword [rbp + 0x238], 7
mov word [rbp + 0x220], r15w
cmp rdi, rbx
jne 0x14002a84f
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 7
cmova rdx, qword [rbp + 0x1a0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], r15
mov qword [rbp + 0x278], r15
mov r8, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x260]
call fcn.140006ca0
or dword [rsp + 0x50], 6
lea rcx, [rbp + 0x260]
cmp qword [rbp + 0x278], 7
cmova rcx, qword [rbp + 0x260]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x2c0]
call fcn.140048e90
mov r8d, eax
test eax, eax
jne 0x14002a71e
mov edx, dword [rbp + 0x2d0]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x6c], ecx
bt edx, 0xa
jae 0x14002a710
mov eax, dword [rbp + 0x2d4]
cmp eax, 0xa000000c
jne 0x14002a702
lea eax, ds:[r8 + 4]
jmp 0x14002a741
cmp eax, 0xa0000003
jne 0x14002a710
mov eax, 0xa
jmp 0x14002a741
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14002a741
mov dword [rbp - 0x6c], 0xffff
sub eax, 2
je 0x14002a73c
sub eax, 1
je 0x14002a73c
sub eax, 0x32
je 0x14002a73c
cmp eax, 0x46
mov eax, r15d
jne 0x14002a741
mov eax, 1
mov dword [rbp - 0x40], r8d
lea rcx, [0x14006c0c8]
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x70], xmm0
test eax, eax
je 0x14002a76e
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], rcx
cmp eax, 1
setne dil
jmp 0x14002a77a
xor dil, dil
test r8d, r8d
jne 0x14002ae26
lea rcx, [rbp + 0x260]
call fcn.140005e20
test dil, dil
je 0x14002a7f1
lea rdx, [rbp + 0x1a0]
call fcn.140047dc0
test al, al
jne 0x14002a84f
lea rdx, [0x1400533c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006aa0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 7
cmova rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1400095a0
lea rdx, [0x140008b60]
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 rdx, [rbp + 0x160]
jmp 0x14002a842
lea rdx, [0x1400589b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
nop
call fcn.140006aa0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 7
cmova rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1400095a0
lea rdx, [0x140008b60]
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 rdx, [rbp + 0x170]
lea r8, [rbp + 0x1a0]
call fcn.140006820
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 7
jbe 0x14002a895
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a890
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ad9b
call fcn.1400499d0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], r15w
mov rdx, qword [rbp + 0x258]
cmp rdx, 7
jbe 0x14002a8f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a8f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ada7
call fcn.1400499d0
mov qword [rbp + 0x250], r15
mov qword [rbp + 0x258], 7
mov word [rbp + 0x240], r15w
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x14002a955
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a950
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adae
call fcn.1400499d0
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r15w
mov rbx, qword [rbp + 0x198]
mov r9, qword [rbp + 0x180]
nop dword [rax]
cmp rbx, 7
jbe 0x14002a9bb
lea rdx, [rbx*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14002a9b3
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adbc
mov rcx, r9
call fcn.1400499d0
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r15w
test r14, r14
je 0x14002aa24
mov rax, qword [rsp + 0x78]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002aa0e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adc7
mov rcx, r14
call fcn.1400499d0
xorps xmm0, xmm0
mov qword [rsp + 0x78], r15
movdqu xmmword [rsp + 0x68], xmm0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x10]
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 + 0x1e0]
lea rcx, [rbp - 0x10]
call fcn.14002da40
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]
nop
test al, al
jne 0x14002a0c0
mov rsi, qword [rbp + 0x218]
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x14002aab0
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002aaab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adce
call fcn.1400499d0
mov qword [rbp + 0x1f0], r15
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], 0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], r14
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp]
call fcn.14002cfa0
lea rcx, ds:[rbp + 8]
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 + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp rsi, 0xf
jbe 0x14002ab4f
lea rdx, [rsi + 1]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ab4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002add5
call fcn.1400499d0
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140029e9d
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x298]
cmp rdx, 7
jbe 0x14002adec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ade7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ade7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword ds:[rbp + 0x258]
cmp rdx, 7
jbe 0x14002ac5d
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ac4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ada7
call fcn.1400499d0
mov r11, qword [rbp + 0x198]
mov r10, qword [rbp + 0x180]
mov qword ds:[rbp + 0x250], r15
mov qword [rbp + 0x258], 7
mov word [rbp + 0x240], r15w
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 7
jbe 0x14002acdd
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002acca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adae
call fcn.1400499d0
mov r11, qword [rbp + 0x198]
mov r10, qword [rbp + 0x180]
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r15w
cmp r11, 7
jbe 0x14002ad32
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14002ad2a
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adb5
mov rcx, r10
call fcn.1400499d0
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r15w
test r14, r14
je 0x14002aa24
mov rax, qword [rsp + 0x78]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002aa0e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002aa0e
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
nop dword [rax + rax]
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]
int3
nop dword [rax]
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
nop dword [rax]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
nop
call fcn.1400499d0
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400499b0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
nop dword [rax]
call fcn.14000b5c0
nop
lea r8, [rbp + 0x260]
lea rdx, [rbp - 0x70]
call fcn.140004e90
int3