Function at 0x140029020
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 - 0x12f0]
mov eax, 0x13f0
call fcn.140049430
sub rsp, rax
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov edx, ecx
lea rcx, [rbp + 0x2a0]
call fcn.140011520
nop
lea r9d, [r12 + 0xe]
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.1400125a0
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], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov dword [rsp + 0x50], 8
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 8
jb 0x140029114
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002910f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002910f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
movdqa xmm0, xmmword [0x14005c320]
movdqu xmmword [rbp + 0x2b0], xmm0
mov word [rbp + 0x2a0], r12w
mov qword [rbp - 0x60], 0x18
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x58], r12
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 0x140029ffc
mov dword [rbp + 0xf0], 0x68
xorps xmm0, 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
movups xmmword [rbp + 0x148], xmm0
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x148], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0x12c], eax
mov word [rbp + 0x130], r12w
lea rdx, [rbp + 0x280]
cmp qword [rbp + 0x298], 8
cmovae rdx, qword [rbp + 0x280]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
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 0x140029228
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
jmp 0x140029ff5
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], r12
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
je 0x140029fc8
lea r14, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movabs r15, 0x7fffffffffffffff
lea r13, str.deviceharddiskvolume
mov ecx, 0x16
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140029fc8
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
cmp rax, 0x10
jae 0x1400292eb
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 0x140029333
mov rsi, rbx
or rsi, 0xf
cmp rsi, 0x16
cmovb rsi, rcx
lea rcx, [rsi + 1]
call fcn.140006ee0
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 [rdi + rbx], 0
lea rax, [0x1400580e8]
mov qword [rbp], rax
lea rcx, [rbp + 0x90]
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 + 0x10]
lea rcx, [rbp]
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]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r14
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 4], edx
lea rax, [rbp + 0x10]
mov qword [rbp - 0x78], rax
lea rcx, [rbp + 0x10]
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 + 0x10], rax
lea r14, [rbp + 0x200]
cmp rsi, 0x10
cmovae r14, qword [rbp + 0x200]
mov eax, 2
cmp rbx, 0x7fffffff
ja 0x14002a21c
test rbx, rbx
je 0x140029422
lfence
mov rdi, qword [rbp + 0x210]
mov rcx, rdi
call fcn.140006ee0
mov rbx, rax
mov r8, rdi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rdi + rbx]
mov qword [rbp + 0x78], rdx
mov rcx, qword [rbp + 0x28]
mov qword [rcx], rbx
mov rcx, qword [rbp + 0x48]
mov qword [rcx], rbx
sub edx, ebx
mov rax, qword [rbp + 0x60]
mov dword [rax], edx
mov eax, 3
mov rsi, qword [rbp + 0x218]
jmp 0x140029426
mov qword [rbp + 0x78], r12
mov dword [rbp + 0x80], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r12
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], 0
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
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]
call fcn.14002ce80
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140029eb3
nop dword [rax]
lea r8, ds:[rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0x10
cmovae r8, qword [rbp + 0x1e0]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
jle 0x140029e6a
mov rbx, rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
cmp rsi, r15
ja 0x14002a25c
lfence
add rbx, rbx
mov rcx, rbx
call fcn.140006ee0
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], 0x10
cmovae r8, qword [rbp + 0x1e0]
mov dword [rsp + 0x28], esi
mov r15, qword [rsp + 0x68]
mov qword [rsp + 0x20], r15
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], r12
mov qword [rbp + 0x198], r12
mov r8, 0xffffffffffffffff
inc r8
cmp word [r15 + r8*2], 0
jne 0x140029571
mov rdx, r15
lea rcx, [rbp + 0x180]
call fcn.140006d20
nop
lea r11, [rbp + 0x180]
mov rbx, qword [rbp + 0x198]
cmp rbx, 8
setae sil
mov r9, qword [rbp + 0x180]
cmovae r11, r9
mov rax, qword [rbp + 0x190]
cmp rax, 0x16
jb 0x140029635
lea r10, [rax - 0x15]
lea r10, [r11 + r10*2]
mov rdi, r11
nop word [rax + rax]
mov rax, r10
sub rax, rdi
sar rax, 1
mov rcx, r12
je 0x1400295fa
cmp word [rdi], 0x5c
je 0x1400295f7
cmp rax, 1
je 0x1400295fa
dec rax
add rdi, 2
cmp word [rdi], 0x5c
jne 0x1400295e4
mov rcx, rdi
mov rdi, rcx
test rcx, rcx
je 0x140029635
mov edx, 0x16
mov rcx, r13
mov r8, rdi
sub r8, r13
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14002962f
add rcx, 2
sub rdx, 1
jne 0x140029613
sub rdi, r11
sar rdi, 1
jmp 0x14002963c
add rdi, 2
jmp 0x1400295d0
mov rdi, 0xffffffffffffffff
nop dword [rax]
cmp rdi, 0xffffffffffffffff
je 0x140029db7
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], r12
mov qword [rbp + 0x1d8], r12
mov r8d, 0x16
lea rdx, str.DeviceHarddiskVolume
lea rcx, [rbp + 0x1c0]
call fcn.140006d20
nop
mov rcx, qword [rbp + 0x1d0]
mov rdx, qword [rbp + 0x1d8]
cmp rcx, rdx
jae 0x1400296cf
lea rax, [rcx + 1]
mov qword [rbp + 0x1d0], rax
lea rax, [rbp + 0x1c0]
cmp rdx, 8
cmovae rax, qword [rbp + 0x1c0]
mov word [rax + rcx*2], bx
mov word [rax + rcx*2 + 2], r12w
jmp 0x1400296df
movzx r9d, bx
lea rcx, [rbp + 0x1c0]
call fcn.140010740
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x220]
call fcn.140046560
nop
lea r9, [rbp + 0x220]
cmp qword [rbp + 0x238], 8
cmovae r9, qword [rbp + 0x220]
mov rax, qword [rbp + 0x230]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.14002c760
lea r9, [rbp + 0x180]
mov r10, qword [rbp + 0x198]
cmp r10, 8
setae sil
mov r11, qword [rbp + 0x180]
cmovae r9, r11
mov rbx, qword [rbp + 0x190]
cmp rbx, 4
jb 0x14002a051
lea rcx, [rbx - 4]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [r9 + rax*2]
mov rdi, r8
lea rax, str..exe
sub rdi, rax
nop word [rax + rax]
cmp word [r8], 0x2e
jne 0x1400297e2
mov edx, 4
mov rcx, rax
nop
movzx eax, word [rcx + rdi]
cmp ax, word [rcx]
jne 0x1400297db
add rcx, 2
sub rdx, 1
jne 0x140029790
sub r8, r9
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x14002a051
add r8, 4
cmp r8, rbx
ja 0x1400297f5
lea rax, [rbp + 0x180]
test sil, sil
cmovne rax, r11
mov qword [rbp + 0x190], r8
mov word [rax + r8*2], r12w
jmp 0x140029851
lea rax, str..exe
cmp r8, r9
je 0x14002a051
sub r8, 2
sub rdi, 2
jmp 0x140029780
mov rdx, r8
sub rdx, rbx
sub r10, rbx
cmp rdx, r10
ja 0x14002983a
mov qword ds:[rbp + 0x190], r8
lea r8, [rbp + 0x180]
test sil, sil
cmovne r8, r11
lea rdi, [r8 + rbx*2]
test rdx, rdx
je 0x14002982f
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + rbx]
mov word [r8 + rax*2], r12w
jmp 0x140029851
lfence
mov r9, rdx
lea rcx, [rbp + 0x180]
call fcn.140021be0
mov r15, qword [rsp + 0x68]
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
setae dil
cmovae 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], r12
mov qword [rbp + 0x1b8], r12
cmp rdx, r8
jne 0x1400298c6
mov r8, r12
mov qword [rbp + 0x1b0], r12
mov eax, 7
mov qword [rbp + 0x1b8], rax
mov word [rbp + 0x1a0], r12w
jmp 0x1400298e6
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0x1a0]
call fcn.140006d20
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rbp + 0x1b0]
lea rdx, [rbp + 0x1a0]
cmp rax, 8
cmovae rdx, qword [rbp + 0x1a0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
mov qword [rbp + 0x250], r12
mov qword [rbp + 0x258], r12
lea rcx, [rbp + 0x240]
call fcn.140006d20
lea rdi, [rbp + 0x240]
mov r14, qword [rbp + 0x258]
cmp r14, 8
setae bl
mov r11, qword [rbp + 0x240]
cmovae rdi, r11
movabs rcx, 0xcbf29ce484222325
mov r9, qword [rbp + 0x250]
lea r8, [r9 + r9]
mov rdx, r12
test r8, r8
je 0x14002998c
movabs r13, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte ds:[rdx + rdi]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, r8
jb 0x140029970
lea r13, str.deviceharddiskvolume
and rcx, qword [0x14006e910]
add rcx, rcx
mov rax, qword [0x14006e8f8]
mov r8, qword [rax + rcx*8 + 8]
mov rsi, qword [0x14006e8e8]
cmp r8, rsi
je 0x140029a13
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], 8
jb 0x1400299d2
mov rax, qword [rax]
lea rdi, ds:[rbp + 0x240]
test bl, bl
cmovne rdi, r11
cmp r9, rcx
jne 0x140029a08
mov rdx, r9
test r9, r9
je 0x140029a16
sub rdi, rax
movzx ecx, word [rax + rdi]
cmp cx, word [rax]
jne 0x140029a08
add rax, 2
sub rdx, 1
je 0x140029a16
jmp 0x1400299f0
cmp r8, r10
je 0x140029a13
mov r8, qword [r8 + 8]
jmp 0x1400299c0
mov r8, r12
mov rdi, rsi
test r8, r8
cmovne rdi, r8
test bl, bl
je 0x140029a59
lea rdx, [r14*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140029a51
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1d4
mov rcx, r11
call fcn.140048710
mov qword [rbp + 0x250], r12
mov qword [rbp + 0x258], 7
mov word [rbp + 0x240], r12w
cmp rdi, rsi
jne 0x140029c76
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae rdx, qword [rbp + 0x1a0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], r12
mov qword [rbp + 0x278], r12
mov r8, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x260]
call fcn.140006d20
or dword [rsp + 0x50], 6
lea rcx, [rbp + 0x260]
cmp qword [rbp + 0x278], 8
cmovae rcx, qword [rbp + 0x260]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x2c0]
call fcn.140047bcc
mov r8d, eax
test eax, eax
jne 0x140029b34
mov edx, dword [rbp + 0x2d0]
bt edx, 0xa
jae 0x140029b26
mov eax, dword [rbp + 0x2d4]
cmp eax, 0xa000000c
jne 0x140029b18
lea eax, [r8 + 4]
jmp 0x140029b5c
cmp eax, 0xa0000003
jne 0x140029b26
mov eax, 0xa
jmp 0x140029b5c
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140029b5c
mov dword ds:[rbp - 0x2c], 0xffff
sub eax, 2
je 0x140029b57
sub eax, 1
je 0x140029b57
sub eax, 0x32
je 0x140029b57
cmp eax, 0x46
mov eax, r12d
jne 0x140029b5c
mov eax, 1
mov dword [rbp - 0x40], r8d
lea rcx, [0x14006b078]
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x70], xmm0
test eax, eax
je 0x140029b89
mov dword [rbp - 0x70], r12d
mov qword [rbp - 0x68], rcx
cmp eax, 1
setne dil
jmp 0x140029b95
xor dil, dil
test r8d, r8d
jne 0x14002a266
lea rcx, ds:[rbp + 0x260]
call fcn.140005e00
test dil, dil
je 0x140029c10
lea rdx, [rbp + 0x1a0]
call fcn.140046b00
test al, al
jne 0x140029c76
lea rdx, [0x140052490]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140006b20
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.140009300
lea rdx, [0x140008c60]
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 0x140029c62
lea rdx, [0x140057948]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
nop
call fcn.140006b20
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.140009300
lea rdx, [0x140008c60]
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]
lea rcx, [0x14006e8e0]
call fcn.1400068a0
nop
mov rdx, qword ds:[rbp + 0x1b8]
cmp rdx, 8
jb 0x140029ccf
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029cca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1db
call fcn.140048710
mov qword [rbp + 0x1b0], r12
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], r12w
mov rdx, qword [rbp + 0x238]
cmp rdx, 8
jb 0x140029d2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1e7
call fcn.140048710
mov qword [rbp + 0x230], r12
mov qword [rbp + 0x238], 7
mov word [rbp + 0x220], r12w
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x140029d8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1ee
call fcn.140048710
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r12w
mov rbx, qword [rbp + 0x198]
mov r9, qword [rbp + 0x180]
cmp rbx, 8
jb 0x140029df2
lea rdx, [rbx*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140029dea
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1fc
mov rcx, r9
call fcn.140048710
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r12w
test r15, r15
je 0x140029e60
mov rax, qword [rsp + 0x78]
sub rax, r15
sar rax, 1
lea rdx, [rax + rax]
mov rax, r15
cmp rdx, 0x1000
jb 0x140029e4a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a207
mov rcx, r15
call fcn.140048710
xorps xmm0, xmm0
mov qword [rsp + 0x78], r12
movdqu xmmword [rsp + 0x68], xmm0
movabs r15, 0x7fffffffffffffff
mov rax, qword ds:[rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
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]
call fcn.14002ce80
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140029490
mov rsi, qword [rbp + 0x218]
mov rdx, qword ds:[rbp + 0x1f8]
cmp rdx, 0x10
jb 0x140029efa
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029ef5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a20e
call fcn.140048710
mov qword ds:[rbp + 0x1f0], r12
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], 0
mov rax, qword [rbp]
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], r14
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.14002c4e0
lea rcx, [rbp + 0x18]
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 + 0x90]
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, 0x10
jb 0x140029f9b
lea rdx, [rsi + 1]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a215
call fcn.140048710
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax]
test eax, eax
jne 0x140029288
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword ds:[rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
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, 8
jb 0x14002a22c
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a227
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a227
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp + 0x238]
cmp rdx, 8
jb 0x14002a0a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a092
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1e7
call fcn.140048710
mov r10, qword [rbp + 0x198]
mov r11, qword [rbp + 0x180]
mov qword [rbp + 0x230], r12
mov qword [rbp + 0x238], 7
mov word [rbp + 0x220], r12w
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x14002a11d
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a10a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1ee
call fcn.140048710
mov r10, qword [rbp + 0x198]
mov r11, qword [rbp + 0x180]
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r12w
cmp r10, 8
jb 0x14002a172
lea rdx, [r10*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x14002a16a
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a1f5
mov rcx, r11
call fcn.140048710
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r12w
test r15, r15
je 0x140029e60
mov rax, qword [rsp + 0x78]
sub rax, r15
sar rax, 1
lea rdx, [rax + rax]
mov rax, r15
cmp rdx, 0x1000
jb 0x140029e4a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029e4a
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.140048710
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400486f0
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.14000b200
nop
lea r8, [rbp + 0x260]
lea rdx, [rbp - 0x70]
call fcn.140004f50
int3