Function at 0x140011451
Capabilities:
Execute command

Disassembly:
jmp 0x1400122e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250f4]
call fcn.14001147e
xor eax, eax
cmp eax, 1
je 0x140012522
lea rcx, [0x14001bf44]
call qword [sym.imp.ucrtbased.dll_system]
lea rdx, str._
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001109b
lea rdx, [0x140011041]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, str._1_.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001109b
lea rdx, [0x14001bf7c]
mov rcx, rax
call fcn.14001109b
lea rdx, str._2_._
mov rcx, rax
call fcn.14001109b
lea rdx, [0x14001bf7c]
mov rcx, rax
call fcn.14001109b
lea rdx, str._3_.
mov rcx, rax
call fcn.14001109b
lea rdx, [0x14001bf7c]
mov rcx, rax
call fcn.14001109b
lea rdx, str._4_.
mov rcx, rax
call fcn.14001109b
lea rdx, [0x140011041]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 fcn.1400111c7
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 1
je 0x140012402
cmp dword [rbp + 0xf4], 2
je 0x1400124de
cmp dword [rbp + 0xf4], 3
je 0x140012503
cmp dword [rbp + 0xf4], 4
je 0x140012511
jmp 0x140012513
mov rcx, qword [rbp + 0x128]
call fcn.140011361
mov rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x128]
call fcn.14001127b
xor eax, eax
cmp eax, 1
je 0x1400124cf
lea rcx, [0x14001bf44]
call qword [sym.imp.ucrtbased.dll_system]
mov rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x128]
call fcn.14001127b
call qword [sym.imp.ucrtbased.dll__getch]
mov byte [rbp + 0x24], al
movsx eax, byte [rbp + 0x24]
cmp eax, 0x71
je 0x140012467
movsx eax, byte [rbp + 0x24]
cmp eax, 0x51
jne 0x140012469
jmp 0x1400124cf
movzx r8d, byte [rbp + 0x24]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call fcn.14001131b
mov rax, qword [rbp + 0x120]
mov edx, dword [rax + 0x38]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x14001bfbc]
mov rcx, rax
call fcn.14001109b
mov rcx, qword [rbp + 0x120]
mov edx, dword [rcx + 0x3c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140011041]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
jmp 0x140012421
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
jmp 0x14001251d
lea rdx, [0x14001bfc8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001109b
lea rdx, [0x140011041]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
jmp 0x14001251d
mov rcx, qword [rbp + 0x120]
call fcn.14001129e
jmp 0x14001251d
jmp 0x140012522
call fcn.140011370
jmp 0x140012304
jmp 0x140012304
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret