Function at 0x140006710
Capabilities:
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140012d10]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 0xc
jb 0x140006b31
lea r9, [0x140012d00]
cmp qword [0x140012d18], 0xf
cmova r9, qword [0x140012d00]
mov qword [rsp + 0x30], 0xc
lea rax, str.Command.txt
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.140009ae0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.140007db0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140006800
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a694
movdqa xmm0, xmmword [0x14000cf20]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
cmp qword [rbp + 0x20], 0
je 0x140006a70
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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 rdi, [0x1400120f8]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140009c50
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__void_const___ptr64]
test al, al
je 0x140006869
lea rcx, [rbp - 0x60]
jmp 0x1400068f3
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140009c50
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__void_const___ptr64]
test al, al
je 0x1400068aa
lea rcx, [rbp - 0x60]
jmp 0x1400068f3
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140009c50
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__void_const___ptr64]
lea rcx, [rbp - 0x60]
test al, al
jne 0x1400068f3
cmp qword [0x140012108], 0
jne 0x140006922
call fcn.1400089e0
test rax, rax
jne 0x140006a70
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x140006a70
call fcn.1400089e0
test rax, rax
jne 0x140006948
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, qword [0x140012108]
sub rbx, rcx
cmp rbx, 6
jb 0x140006b2b
mov rax, rdi
cmp qword [0x140012110], 0xf
cmova rax, qword [0x1400120f8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.msg_
lea rcx, [rsp + 0x68]
call fcn.140009ae0
nop
mov r8d, 0xb
lea rdx, str.__NUL_2_NUL
lea rcx, [rsp + 0x68]
call fcn.140008aa0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x140012110]
cmp rdx, 0xf
jbe 0x140006a02
mov rcx, qword [0x1400120f8]
inc rdx
cmp rdx, 0x1000
jb 0x1400069fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006a4a
mov rcx, r8
call fcn.14000a694
movups xmmword [0x1400120f8], xmm6
movups xmmword [0x140012108], xmm7
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140006a56
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a51
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.14000a694
cmp qword [0x140012110], 0xf
cmova rdi, qword [0x1400120f8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x60], rax
cmp qword [rbp + 0x20], 0
je 0x140006acf
mov rax, qword [rbp - 0x48]
lea rcx, [rbp + 0x10]
cmp qword [rax], rcx
jne 0x140006acf
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov rax, qword [rbp - 0x28]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x10]
mov dword [rax], edx
cmp byte [rbp + 0x1c], 0
je 0x140006ade
lea rcx, [rbp - 0x60]
call fcn.1400089e0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x58]
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 + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14000a630
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140001430
nop
call fcn.140001430
int3