Function at 0x140029560
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Encode data using xor
Hash data using fnv
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 - 0x12e0]
mov eax, 0x13e0
call fcn.140049f80
sub rsp, rax
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov edx, ecx
lea rcx, [rbp + 0x290]
call fcn.140011340
nop
lea r9d, [r15 + 0xe]
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140012380
xorps xmm0, xmm0
movups xmmword [rbp + 0x270], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x280], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x270], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x280], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x50], 8
mov r8, qword [rbp + 0x2a8]
cmp r8, 7
jbe 0x140029625
mov rdx, qword ds:[rbp + 0x290]
call fcn.1400064c0
movdqa xmm0, xmmword [0x14005d4a0]
movdqu xmmword [rbp + 0x2a0], xmm0
mov word [rbp + 0x290], 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 0x14002a528
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 + 0x270]
cmp qword [rbp + 0x288], 7
cmova rdx, qword [rbp + 0x270]
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 0x14002973e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
jmp 0x14002a521
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x2d0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
test eax, eax
je 0x14002a4f9
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 0x14002a4f9
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
cmp rax, 0xf
ja 0x140029806
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], 0xf
mov r8d, eax
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x1f0], 0
mov rsi, qword [rbp + 0x208]
mov rbx, qword [rbp + 0x200]
jmp 0x14002984c
mov rsi, rbx
or rsi, 0xf
cmp rsi, 0x16
cmovb rsi, rcx
lea rcx, [rsi + 1]
call fcn.140006ec0
mov rdi, rax
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x200], rbx
mov qword [rbp + 0x208], rsi
mov r8, rbx
lea rdx, [rbp + 0x2d0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rax, [0x140059078]
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 + 0x1f0]
cmp rsi, 0xf
cmova r14, qword [rbp + 0x1f0]
mov eax, 2
cmp rbx, 0x7fffffff
ja 0x14002a75c
test rbx, rbx
je 0x140029942
lfence
mov rdi, qword [rbp + 0x200]
mov rcx, rdi
call fcn.140006ec0
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 + 0x208]
jmp 0x140029946
mov qword [rbp + 0x68], r15
mov dword ds:[rbp + 0x70], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], 0xf
mov byte [rbp + 0x1d0], 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 + 0x1d0]
lea rcx, [rbp - 0x10]
call fcn.14002d460
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 0x14002a3ef
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0xf
cmova r8, qword [rbp + 0x1d0]
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 0x14002a3a0
mov rbx, rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14002a767
lfence
add rbx, rbx
mov rcx, rbx
call fcn.140006ec0
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 + 0x1d0]
cmp qword [rbp + 0x1e8], 0xf
cmova r8, qword [rbp + 0x1d0]
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 + 0x170], xmm0
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [r14 + r8*2], 0
jne 0x140029ab0
mov rdx, r14
lea rcx, [rbp + 0x170]
call fcn.140006c60
nop
lea r11, [rbp + 0x170]
mov rbx, qword [rbp + 0x188]
cmp rbx, 7
seta sil
mov r9, qword [rbp + 0x170]
cmova r11, r9
mov rax, qword [rbp + 0x180]
cmp rax, 0x16
jb 0x140029b75
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 0x140029b3a
cmp word [rdi], 0x5c
je 0x140029b37
cmp rax, 1
je 0x140029b3a
dec rax
add rdi, 2
cmp word [rdi], 0x5c
jne 0x140029b24
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x140029b75
mov edx, 0x16
mov rcx, r12
mov r8, rdi
sub r8, r12
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140029b6f
add rcx, 2
sub rdx, 1
jne 0x140029b53
sub rdi, r11
sar rdi, 1
jmp 0x140029b7c
add rdi, 2
jmp 0x140029b10
mov rdi, 0xffffffffffffffff
nop dword [rax]
cmp rdi, 0xffffffffffffffff
je 0x14002a2f7
lea rax, [rbp + 0x170]
test sil, sil
cmovne rax, r9
movzx ebx, word [rax + rdi*2 + 0x2c]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], r15
mov r8d, 0x16
lea rdx, str.DeviceHarddiskVolume
lea rcx, [rbp + 0x1b0]
call fcn.140006c60
nop
mov rcx, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x1c8]
cmp rcx, rdx
jae 0x140029c0f
lea rax, [rcx + 1]
mov qword [rbp + 0x1c0], rax
lea rax, [rbp + 0x1b0]
cmp rdx, 7
cmova rax, qword [rbp + 0x1b0]
mov word [rax + rcx*2], bx
mov word [rax + rcx*2 + 2], r15w
jmp 0x140029c1f
movzx r9d, bx
lea rcx, [rbp + 0x1b0]
call fcn.1400104c0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x210]
call fcn.140047240
nop
lea r9, [rbp + 0x210]
cmp qword [rbp + 0x228], 7
cmova r9, qword [rbp + 0x210]
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.14002cd40
lea r9, [rbp + 0x170]
mov r10, qword [rbp + 0x170]
mov r11, qword [rbp + 0x188]
cmp r11, 7
cmova r9, r10
mov rbx, qword [rbp + 0x180]
cmp rbx, 4
jb 0x14002a575
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 0x140029d10
mov edx, 4
mov rcx, r13
nop
movzx eax, word [rcx + rdi]
cmp ax, word [rcx]
jne 0x140029d10
add rcx, 2
sub rdx, 1
jne 0x140029cc0
sub r8, r9
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x14002a575
add r8, 4
cmp r8, rbx
ja 0x140029d23
mov qword [rbp + 0x180], r8
lea rax, [rbp + 0x170]
cmp r11, 7
cmova rax, r10
mov word [rax + r8*2], r15w
jmp 0x140029d7f
cmp r8, r9
je 0x14002a575
sub r8, 2
sub rdi, 2
jmp 0x140029cb0
mov rdx, r8
sub rdx, rbx
mov rax, r11
sub rax, rbx
cmp rdx, rax
ja 0x140029d68
mov qword [rbp + 0x180], r8
lea r8, [rbp + 0x170]
cmp r11, 7
cmova r8, r10
lea rdi, [r8 + rbx*2]
test rdx, rdx
je 0x140029d5d
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + rbx]
mov word [r8 + rax*2], r15w
jmp 0x140029d7f
lfence
mov r9, rdx
lea rcx, [rbp + 0x170]
call fcn.140022180
mov r14, qword [rsp + 0x68]
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 7
seta dil
cmova rdx, qword [rbp + 0x170]
mov rax, qword [rbp + 0x180]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x170]
test dil, dil
cmovne rdx, qword [rbp + 0x170]
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], r15
cmp rdx, r8
jne 0x140029df4
mov r8, r15
mov qword [rbp + 0x1a0], r15
mov eax, 7
mov qword [rbp + 0x1a8], rax
mov word [rbp + 0x190], r15w
jmp 0x140029e14
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0x190]
call fcn.140006c60
mov rax, qword [rbp + 0x1a8]
mov r8, qword [rbp + 0x1a0]
lea rdx, [rbp + 0x190]
cmp rax, 7
cmova rdx, qword [rbp + 0x190]
xorps xmm0, xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], r15
mov qword [rbp + 0x248], r15
lea rcx, [rbp + 0x230]
call fcn.140006c60
lea rdi, [rbp + 0x230]
mov r11, qword [rbp + 0x230]
mov rbx, qword [rbp + 0x248]
cmp rbx, 7
cmova rdi, r11
movabs rcx, 0xcbf29ce484222325
mov r9, qword [rbp + 0x240]
lea r8, [r9 + r9]
mov rdx, r15
test r8, r8
je 0x140029eac
movabs r12, 0x100000001b3
nop
movzx eax, byte ds:[rdx + rdi]
xor rcx, rax
imul rcx, r12
inc rdx
cmp rdx, r8
jb 0x140029e90
lea r12, str.deviceharddiskvolume
and rcx, qword [0x14006f920]
add rcx, rcx
mov rax, qword [0x14006f908]
mov r8, qword [rax + rcx*8 + 8]
mov rsi, qword [0x14006f8f8]
cmp r8, rsi
je 0x140029f33
mov r10, qword [rax + rcx*8]
nop dword [rax]
nop word [rax + rax]
lea rax, [r8 + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140029ef2
mov rax, qword [rax]
lea rdi, [rbp + 0x230]
cmp rbx, 7
cmova rdi, r11
cmp r9, rcx
jne 0x140029f28
mov rdx, r9
test r9, r9
je 0x140029f36
sub rdi, rax
movzx ecx, word [rax + rdi]
cmp cx, word [rax]
jne 0x140029f28
add rax, 2
sub rdx, 1
jne 0x140029f11
jmp 0x140029f36
cmp r8, r10
je 0x140029f33
mov r8, qword [r8 + 8]
jmp 0x140029ee0
mov r8, r15
mov rdi, rsi
test r8, r8
cmovne rdi, r8
cmp rbx, 7
jbe 0x140029f7b
lea rdx, [rbx*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140029f73
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a714
mov rcx, r11
call fcn.1400493f0
mov qword [rbp + 0x240], r15
mov qword [rbp + 0x248], 7
mov word [rbp + 0x230], r15w
cmp rdi, rsi
jne 0x14002a1b6
lea rdx, ds:[rbp + 0x190]
cmp qword [rbp + 0x1a8], 7
cmova rdx, qword [rbp + 0x190]
xorps xmm0, xmm0
movups xmmword [rbp + 0x250], xmm0
mov qword [rbp + 0x260], r15
mov qword [rbp + 0x268], r15
mov r8, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x250]
call fcn.140006c60
or dword [rsp + 0x50], 6
lea rcx, [rbp + 0x250]
cmp qword [rbp + 0x268], 7
cmova rcx, qword [rbp + 0x250]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x2b0]
call fcn.1400488b0
mov r8d, eax
test eax, eax
jne 0x14002a072
mov edx, dword [rbp + 0x2c0]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp - 0x6c], ecx
bt edx, 0xa
jae 0x14002a064
mov eax, dword [rbp + 0x2c4]
cmp eax, 0xa000000c
jne 0x14002a056
lea eax, [r8 + 4]
jmp 0x14002a097
cmp eax, 0xa0000003
jne 0x14002a064
mov eax, 0xa
jmp 0x14002a097
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14002a097
mov dword [rbp - 0x6c], 0xffff
sub eax, 2
je 0x14002a092
nop
sub eax, 1
je 0x14002a092
sub eax, 0x32
je 0x14002a092
cmp eax, 0x46
mov eax, r15d
jne 0x14002a097
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 0x14002a0c4
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], rcx
cmp eax, 1
setne dil
jmp 0x14002a0d0
xor dil, dil
test r8d, r8d
jne 0x14002a76d
lea rcx, [rbp + 0x250]
call fcn.140005dc0
nop dword [rax]
test dil, dil
je 0x14002a14f
lea rdx, [rbp + 0x190]
call fcn.1400477e0
test al, al
jne 0x14002a1b6
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.140006a60
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 7
cmova rdx, qword [rbp + 0x190]
mov r8, qword [rbp + 0x1a0]
mov rcx, rax
call fcn.140009240
lea rdx, [0x140008ba0]
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 + 0x150]
jmp 0x14002a1a2
lea rdx, [0x1400588d8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
nop dword [rax]
call fcn.140006a60
lea rdx, [rbp + 0x190]
cmp qword [rbp + 0x1a8], 7
cmova rdx, qword [rbp + 0x190]
mov r8, qword [rbp + 0x1a0]
mov rcx, rax
call fcn.140009240
lea rdx, [0x140008ba0]
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]
lea r8, [rbp + 0x190]
lea rcx, [0x14006f8f0]
call fcn.1400067e0
nop
mov rdx, qword ds:[rbp + 0x1a8]
cmp rdx, 7
jbe 0x14002a20f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a20a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a71b
call fcn.1400493f0
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], 7
mov word [rbp + 0x190], r15w
mov rdx, qword [rbp + 0x228]
cmp rdx, 7
jbe 0x14002a26f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a26a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a727
call fcn.1400493f0
mov qword [rbp + 0x220], r15
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], r15w
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x14002a2cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a2ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a72e
call fcn.1400493f0
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r15w
mov rbx, qword [rbp + 0x188]
mov r9, qword [rbp + 0x170]
cmp rbx, 7
jbe 0x14002a332
lea rdx, [rbx*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14002a32a
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a73c
mov rcx, r9
call fcn.1400493f0
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], 7
mov word [rbp + 0x170], r15w
test r14, r14
je 0x14002a3a0
mov rax, qword [rsp + 0x78]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002a38a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a747
mov rcx, r14
call fcn.1400493f0
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 + 0x1d0]
lea rcx, [rbp - 0x10]
call fcn.14002d460
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 dword [rax + rax]
test al, al
jne 0x1400299c0
mov rsi, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x14002a430
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a42b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a74e
call fcn.1400493f0
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], 0xf
mov byte [rbp + 0x1d0], 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.14002c9c0
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 0x14002a4cf
lea rdx, [rsi + 1]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a4ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a755
call fcn.1400493f0
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x2d0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14002979d
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 r8, qword [rbp + 0x288]
cmp r8, 7
jbe 0x14002a545
mov rdx, qword ds:[rbp + 0x270]
call fcn.1400064c0
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.1400493d0
lea r11, [rsp + 0x13e0]
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
mov rdx, qword ds:[rbp + 0x228]
cmp rdx, 7
jbe 0x14002a5dd
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a5ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a727
call fcn.1400493f0
mov r11, qword [rbp + 0x188]
mov r10, qword [rbp + 0x170]
mov qword ds:[rbp + 0x220], r15
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], r15w
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x14002a65d
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a64a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a72e
call fcn.1400493f0
mov r11, qword [rbp + 0x188]
mov r10, qword [rbp + 0x170]
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r15w
cmp r11, 7
jbe 0x14002a6b2
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14002a6aa
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a735
mov rcx, r10
call fcn.1400493f0
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], 7
mov word [rbp + 0x170], r15w
test r14, r14
je 0x14002a3a0
mov rax, qword [rsp + 0x78]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002a38a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a38a
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.14000b120
nop
lea r8, [rbp + 0x250]
lea rdx, [rbp - 0x70]
call fcn.140004db0
int3