Function at 0x140001290
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 - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r13d, r13d
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x40000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov edx, 0x40000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__setmode]
lea rdx, [0x140005490]
lea rcx, [rbp - 0x41]
call fcn.1400022a0
mov rbx, rax
mov qword [rbp + 0x17], rax
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000132c
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002fc0
lea rdx, [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
movabs rdi, 0x7fffffffffffffff
nop word [rax + rax]
mov eax, dword [rbp - 0x19]
add eax, 0xfffffff9
cmp eax, 0xd
ja 0x14000139d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::peek_void____ptr64]
cmp ax, 0xa
jne 0x14000139d
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
je 0x140001421
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool____ptr64]
mov r8d, 0xa
mov rdx, rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::ignore_long_long___int64___unsigned_short_int____ptr64]
lea rdx, [0x140005790]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002910
mov rcx, rax
lea rdx, [0x140002cc0]
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]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400013ff
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140002fc0
lea rdx, [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
jmp 0x140001360
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140001460
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000145b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000155a
mov rcx, r8
call fcn.1400033bc
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea rdx, [0x1400054e0]
lea rcx, [rbp - 0x41]
call fcn.1400022a0
mov rbx, rax
mov qword [rbp + 0x17], rax
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140001494
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002fc0
lea rdx, [rbp - 0x15]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
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
jne 0x1400014e7
mov eax, dword [rbp - 0x15]
add eax, 0xfffffff9
cmp eax, 0x5d
ja 0x1400014e7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::peek_void____ptr64]
cmp ax, 0xa
je 0x140001561
lea rdx, [0x140005790]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002910
mov rcx, rax
lea rdx, [0x140002cc0]
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]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140001517
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140002fc0
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool____ptr64]
mov r8d, 0xa
mov rdx, rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::ignore_long_long___int64___unsigned_short_int____ptr64]
jmp 0x1400014a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400015a0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000159b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001666
mov rcx, r8
call fcn.1400033bc
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
movsxd rcx, dword [rbp - 0x19]
mov eax, 8
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.1400033c4
mov r12, rax
mov edi, r13d
mov r10d, dword [rbp - 0x19]
test r10d, r10d
jle 0x14000161e
mov rbx, rax
mov r14d, 2
nop word [rax + rax]
movsxd rcx, dword [rbp - 0x15]
mov rax, r14
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400033c4
mov qword [rbx], rax
inc edi
lea rbx, [rbx + 8]
mov r10d, dword [rbp - 0x19]
cmp edi, r10d
jl 0x1400015f0
mov r14d, 1
movsxd rbx, dword [rbp - 0x15]
mov r11d, r13d
mov r9, r13
movsxd rsi, r10d
test r10d, r10d
jle 0x140001691
mov r8, r12
mov edx, r13d
mov rcx, r13
test ebx, ebx
jle 0x14000167f
nop dword [rax]
cmp rcx, 3
jb 0x14000166d
lea eax, [rbx - 3]
cmp edx, eax
jge 0x14000166d
cmp r9, 3
jb 0x14000166d
lea eax, [r10 - 3]
cmp r11d, eax
jge 0x14000166d
mov rax, qword [r8]
mov word [rax + rcx*2], r14w
jmp 0x140001675
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [r8]
mov word [rax + rcx*2], r13w
inc edx
inc rcx
cmp rcx, rbx
jl 0x140001640
inc r11d
inc r9
add r8, 8
cmp r9, rsi
jl 0x140001633
mov ebx, dword [rbp - 0x15]
cmp ebx, 0x50
mov edx, 0x5a
jle 0x14000169e
lea edx, [rbx + 0xa]
lea rcx, [rsp + 0x30]
call fcn.1400024c0
nop
mov r8, qword [rbp - 0x79]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
sub rax, r8
mov r14d, 0xe
lea rsi, str.mode_con_cols
cmp rax, r14
jb 0x140001744
lea rax, [r8 + 0xe]
mov qword [rbp - 0x79], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x30]
lea rax, [0x140005546]
cmp rax, rbx
jbe 0x140001707
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140001707
cmp rbx, rsi
ja 0x1400016ff
mov rdi, r13
jmp 0x14000170a
mov rdi, rbx
sub rdi, rsi
jmp 0x14000170a
mov rdi, r14
lea rcx, [rbx + 0xe]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 0xe]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x14000175b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140003190
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x1400017c7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400033bc
mov qword [rbp - 0x79], r13
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x30], 0
mov edx, dword [rbp - 0x19]
add edx, 0x14
lea rcx, [rbp - 0x61]
call fcn.1400024c0
nop
mov r8, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
sub rax, r8
lea rsi, str._lines
cmp rax, 7
jb 0x140001880
lea rax, [r8 + 7]
mov qword [rbp - 0x51], rax
lea rbx, [rbp - 0x61]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x61]
lea rax, [0x14000554f]
cmp rax, rbx
jbe 0x14000183f
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14000183f
cmp rbx, rsi
ja 0x140001837
mov rdi, r13
jmp 0x140001844
mov rdi, rbx
sub rdi, rsi
jmp 0x140001844
mov edi, 7
lea rcx, [rbx + 7]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 7
sub r8, rdi
lea rdx, [rsi + 7]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x61]
jmp 0x14000189c
mov qword [rsp + 0x28], 7
mov qword [rsp + 0x20], rsi
mov edx, 7
lea rcx, [rbp - 0x61]
call fcn.140003190
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp - 0x41]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [rbp + 7]
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
movq rsi, xmm1
cmp rsi, rax
ja 0x14000191d
lea rax, [rsi + rcx]
mov qword [rbp + 7], rax
lea rbx, [rbp - 9]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 9]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140001936
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp - 9]
call fcn.140002e10
mov r14, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x41]
cmp r14, 0x10
jb 0x140001971
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001968
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001968
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400033bc
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x1400019af
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400033bc
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140001a02
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400033bc
lea rax, [rbp - 9]
mov qword [rbp - 0x21], rax
nop word [rax + rax]
lea rcx, [0x140005550]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movsxd rsi, dword [rbp - 0x15]
movsxd r15, dword [rbp - 0x19]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
test esi, esi
jle 0x140001a59
mov edi, esi
nop dword [rax]
lea rdx, [0x140005a74]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002910
sub rdi, 1
jne 0x140001a40
lea rdx, [0x140005554]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400026a0
mov r14, rsi
test r15, r15
jle 0x140001b0d
mov rsi, r12
nop dword [rax + rax]
mov rdi, r13
test r14, r14
jle 0x140001aec
mov r13d, 2
nop
mov rax, qword [rsi]
movsx eax, word [rax + rdi*2]
test eax, eax
je 0x140001ac7
sub eax, 1
je 0x140001ac2
sub eax, 1
je 0x140001abb
mov rcx, rbx
cmp eax, 1
je 0x140001ab4
mov edx, 7
jmp 0x140001acf
mov edx, 4
jmp 0x140001acf
mov edx, 8
jmp 0x140001acc
mov edx, r13d
jmp 0x140001acc
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002af0
inc rdi
cmp rdi, r14
jl 0x140001a90
xor r13d, r13d
lea rdx, [0x140005a78]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400026a0
add rsi, 8
sub r15, 1
jne 0x140001a80
mov edx, 7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140005a80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002910
lea rdx, [0x140005554]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400026a0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 7
mov ecx, 0x100
call fcn.140003380
mov rdx, rax
mov qword [rbp - 9], rax
mov qword [rbp + 7], 0x79
mov qword [rbp + 0xf], 0x7f
mov rcx, rax
lea rax, [0x140005560]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
sub rcx, 0xffffffffffffff80
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
movzx eax, word [rax + 0x70]
mov word [rcx + 0x70], ax
mov word [rdx + 0xf2], r13w
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002fc0
nop dword [rax]
lea rdx, [rbp - 0xd]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___short_int____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x140001c75
movzx eax, word [rbp - 0xd]
dec ax
cmp ax, 3
ja 0x140001c75
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::peek_void____ptr64]
cmp ax, 0xa
je 0x140001cc1
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool____ptr64]
lea rdx, str.Input_error._Enter_a_number_between_1_and_4__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002910
mov edx, 0x7fff
mov r8d, 0xa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::ignore_long_long___int64___unsigned_short_int____ptr64]
jmp 0x140001c30
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140001d01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002013
call fcn.1400033bc
movsx ecx, word [rbp - 0xd]
sub ecx, 1
je 0x140001fd2
sub ecx, 1
je 0x140001f91
sub ecx, 1
jne 0x140002021
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 7
mov ecx, 0x80
call fcn.140003380
mov rcx, rax
mov qword [rbp - 9], rax
mov qword [rbp + 7], 0x3d
mov qword [rbp + 0xf], 0x3f
movaps xmm0, xmmword [0x140005660]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140005670]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140005680]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140005690]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400056a0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x1400056b0]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x1400056c0]
movups xmmword [rax + 0x60], xmm0
movsd xmm0, qword [0x1400056d0]
movsd qword [rax + 0x70], xmm0
movzx eax, word [0x1400056d8]
mov word [rcx + 0x78], ax
mov word [rcx + 0x7a], r13w
lea rax, [rbp - 9]
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002fc0
lea rdx, [rbp - 0x11]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
movabs r13, 0x7fffffffffffffff
nop
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::eof_void_const___ptr64]
test al, al
jne 0x140001e2e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_short_int___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::peek_void____ptr64]
cmp ax, 0xa
jne 0x140001e49
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
je 0x140001eaf
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool____ptr64]
mov r8d, 0xa
mov rdx, r13
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::ignore_long_long___int64___unsigned_short_int____ptr64]
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002fc0
lea rdx, [rbp - 0x11]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64____ptr64]
jmp 0x140001e00
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
mov r13d, 0
jb 0x140001ef5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ef0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000201a
call fcn.1400033bc
mov r11d, r13d
mov r9d, dword [rbp - 0x11]
mov ebx, dword [rbp - 0x19]
test ebx, ebx
jle 0x140001f49
mov r10, r12
mov r8d, dword [rbp - 0x15]
nop word [rax + rax]
mov eax, r13d
mov edx, r13d
test r8d, r8d
jle 0x140001f3d
mov rcx, qword [r10]
nop
cmp word [rcx], 1
jbe 0x140001f2b
mov eax, r13d
jmp 0x140001f32
inc eax
cmp eax, r9d
je 0x140001f78
inc edx
add rcx, 2
cmp edx, r8d
jl 0x140001f20
inc r11d
add r10, 8
cmp r11d, ebx
jl 0x140001f10
mov edx, r9d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
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___int____ptr64]
lea rdx, [0x140005720]
mov rcx, rax
call fcn.140002910
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a10
mov edx, r9d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
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___int____ptr64]
lea rdx, [0x1400056e0]
jmp 0x140001f60
mov qword [rsp + 0x20], r12
mov r9d, dword [rbp - 0x15]
mov r8d, dword [rbp - 0x19]
lea rdx, [rbp + 0x23]
lea rcx, [rbp + 0x1f]
call fcn.140002070
test al, al
je 0x140001a10
mov eax, dword [rbp + 0x1f]
dec eax
movsxd rdx, eax
mov eax, dword [rbp + 0x23]
dec eax
movsxd rcx, eax
mov rax, qword [r12 + rdx*8]
mov word [rax + rcx*2], 2
jmp 0x140001a10
mov qword [rsp + 0x20], r12
mov r9d, dword [rbp - 0x15]
mov r8d, dword [rbp - 0x19]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x27]
call fcn.140002070
test al, al
je 0x140001a10
mov eax, dword [rbp + 0x27]
dec eax
movsxd rdx, eax
mov eax, dword [rbp + 0x17]
dec eax
movsxd rcx, eax
mov rax, qword [r12 + rdx*8]
mov word [rax + rcx*2], 3
jmp 0x140001a10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp ecx, 1
je 0x140002039
lea rdx, [0x140005760]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140002910
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140003360
lea r11, [rsp + 0xf0]
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