Function at 0x140001ec0
Capabilities:
Execute command

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 - 0x200]
sub rsp, 0x300
mov rax, qword [0x140017028]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x140011684]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.records.txt
lea rcx, [rbp + 0xe0]
call fcn.140008bc0
nop
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], r15
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], 0xf
mov byte [rbp + 0x48], r15b
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xe0]
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 + 0x48]
lea rcx, [rbp + 0xe0]
call fcn.14000bc30
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 0x14000225a
lea r13, [0x140011fc0]
lea r12, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov qword [rsp + 0x40], r13
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 1
mov dword [rsp + 0x30], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
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 [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r12
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x3c], edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rsp + 0x50], rbx
lea rsi, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rsi, qword [rbp + 0x48]
mov eax, 2
mov rdi, qword [rbp + 0x58]
cmp rdi, 0x7fffffff
ja 0x140002497
test rdi, rdi
je 0x14000211c
cmp rdi, 0x1000
jb 0x1400020dd
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002620
call fcn.14000e200
test rax, rax
je 0x140002490
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400020e8
mov rcx, rdi
call fcn.14000e200
mov rbx, rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rdi + rbx]
mov qword [rbp - 0x48], rdx
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rbx
mov rcx, qword [rbp - 0x78]
mov qword [rcx], rbx
sub edx, ebx
mov rax, qword [rbp - 0x60]
mov dword [rax], edx
mov eax, 3
jmp 0x140002120
mov qword [rbp - 0x48], r15
mov dword [rbp - 0x40], eax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.14000a1c0
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___double____ptr64____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r12
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.140007e30
lea rcx, [rsp + 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 - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rbp + 0x38]
cmp rbx, qword [rbp + 0x40]
je 0x1400021f7
mov qword [rsp + 0x38], rbx
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.140009010
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x90]
call fcn.140009010
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0xb0]
call fcn.140009010
movsd xmm0, qword [rbp + 0xd0]
movsd qword [rbx + 0x60], xmm0
add qword [rbp + 0x38], 0x68
jmp 0x140002208
lea r8, [rbp + 0x70]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.14000c2f0
nop
lea rcx, [rbp + 0x70]
call fcn.140002630
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xe0]
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 + 0x48]
lea rcx, [rbp + 0xe0]
call fcn.14000bc30
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 0x140001fb2
lea rcx, [rbp + 0xf0]
call fcn.140009440
test rax, rax
jne 0x14000228d
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xe0]
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 r8, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
sub r8, rcx
movabs r12, 0x4ec4ec4ec4ec4ec5
mov rax, r12
imul r8
sar rdx, 5
mov r8, rdx
shr r8, 0x3f
add r8, rdx
lea r9, [0x140002790]
mov rdx, qword [rbp + 0x38]
call fcn.14000bf90
lea rdx, str.Name_t
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009ff0
mov rcx, rax
lea rdx, str.Map_t
call fcn.140009ff0
mov rcx, rax
lea rdx, str.Mode_t
call fcn.140009ff0
mov rcx, rax
lea rdx, str.Time
call fcn.140009ff0
mov rcx, rax
lea rdx, [0x14000a3a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r14d, r15d
mov rcx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x30]
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140002424
mov rsi, r15
lea rbx, [rsi + r8]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140002352
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000bdd0
lea rdx, [0x140011b70]
mov rcx, rax
call fcn.140009ff0
lea rdx, [rbx + 0x20]
cmp qword [rbx + 0x38], 0x10
jb 0x140002380
mov rdx, qword [rbx + 0x20]
mov r8, qword [rbx + 0x30]
mov rcx, rax
call fcn.14000bdd0
lea rdx, [0x140011b70]
mov rcx, rax
call fcn.140009ff0
lea rdx, [rbx + 0x40]
cmp qword [rbx + 0x58], 0x10
jb 0x1400023aa
mov rdx, qword [rbx + 0x40]
mov r8, qword [rbx + 0x50]
mov rcx, rax
call fcn.14000bdd0
lea rdx, [0x140011b70]
mov rcx, rax
call fcn.140009ff0
mov rcx, rax
movsd xmm1, qword [rbx + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, [0x140011b6c]
call fcn.140009ff0
mov rcx, rax
lea rdx, [0x14000a3a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
inc r14d
add rsi, 0x68
mov rcx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x30]
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
jb 0x140002341
lea rdx, str._nPress_any_key_to_return_to_menu.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009ff0
mov rcx, rax
lea rdx, [0x14000a3a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
test eax, eax
je 0x140002457
call fcn.1400014a0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x1400024a4
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000249e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000249e
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
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
nop
call fcn.14000e55c
nop
mov rbx, qword [rbp + 0x30]
test rbx, rbx
je 0x140002530
mov rdi, qword [rbp + 0x38]
cmp rbx, rdi
je 0x1400024d5
nop word [rax + rax]
mov rcx, rbx
call fcn.140002630
add rbx, 0x68
cmp rbx, rdi
jne 0x1400024c0
mov rbx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x40]
sub rcx, rbx
mov rax, r12
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x68
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000251c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000251c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000e55c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r15
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xe0], rax
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xdc], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xf0], rax
cmp qword [rbp + 0x170], 0
je 0x1400025b3
mov rax, qword [rbp + 0x108]
lea rcx, [rbp + 0x160]
cmp qword [rax], rcx
jne 0x1400025b3
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x178]
mov qword [rax], rcx
mov rax, qword [rbp + 0x128]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x140]
mov dword [rax], edx
cmp byte [rbp + 0x16c], 0
je 0x1400025c8
lea rcx, [rbp + 0xf0]
call fcn.140009440
lea rcx, [rbp + 0xf0]
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 + 0xf8]
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 + 0x190]
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 + 0x1f0]
xor rcx, rsp
call fcn.14000e1e0
lea r11, [rsp + 0x300]
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.1400012c0
nop
int3