Function at 0x1400111a9
Capabilities:
Execute command

Disassembly:
jmp 0x1400243f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14003b1eb]
call fcn.1400119a6
mov rax, qword [rbp + 0x490]
movzx eax, byte [rax + 0x10]
test eax, eax
je 0x140024470
lea rdx, [0x14002ce18]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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 0x14002489d
lea rdx, [0x14002ce80]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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, [rbp + 4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x490]
call fcn.1400118ca
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
je 0x14002487a
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x490]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0
je 0x1400244fe
mov edx, 1
mov rcx, qword [rbp + 0x268]
call fcn.14001115e
mov qword [rbp + 0x458], rax
jmp 0x140024509
mov qword [rbp + 0x458], 0
lea rdx, [0x14002cec8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
mov edx, dword [rbp + 4]
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, [0x14002cea0]
mov rcx, rax
call fcn.14001111d
lea rdx, [0x14001105f]
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, [rbp + 0x44]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
lea rcx, [rbp + 0x68]
call fcn.140011992
nop
lea rdx, [0x14002ced8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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, [rbp + 0x68]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140011032
lea rdx, [0x14002cef8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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, [0x14002cd88]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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, [0x14002cd98]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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, [0x14002cda8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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, [rbp + 0xa4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov qword [rbp + 0xc8], 0
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 0x454], eax
cmp dword [rbp + 0x454], 1
je 0x140024674
cmp dword [rbp + 0x454], 2
je 0x140024706
cmp dword [rbp + 0x454], 3
je 0x140024798
jmp 0x140024825
mov ecx, 0x40
call fcn.14001106e
mov qword [rbp + 0x2a8], rax
cmp qword [rbp + 0x2a8], 0
je 0x1400246da
lea rax, [rbp + 0x2c8]
mov qword [rbp + 0x308], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x308]
call fcn.140011159
mov qword [rbp + 0x458], rax
mov r9d, dword [rbp + 0xa4]
mov r8, qword [rbp + 0x458]
mov edx, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x2a8]
call fcn.140011271
mov qword [rbp + 0x460], rax
jmp 0x1400246e5
mov qword [rbp + 0x460], 0
mov rax, qword [rbp + 0x460]
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0xc8], rax
jmp 0x140024825
mov ecx, 0x40
call fcn.14001106e
mov qword [rbp + 0x348], rax
cmp qword [rbp + 0x348], 0
je 0x14002476c
lea rax, [rbp + 0x368]
mov qword [rbp + 0x3a8], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x3a8]
call fcn.140011159
mov qword [rbp + 0x458], rax
mov r9d, dword [rbp + 0xa4]
mov r8, qword [rbp + 0x458]
mov edx, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x348]
call fcn.140011a50
mov qword [rbp + 0x460], rax
jmp 0x140024777
mov qword [rbp + 0x460], 0
mov rax, qword [rbp + 0x460]
mov qword [rbp + 0x328], rax
mov rax, qword [rbp + 0x328]
mov qword [rbp + 0xc8], rax
jmp 0x140024825
mov ecx, 0x40
call fcn.14001106e
mov qword [rbp + 0x3e8], rax
cmp qword [rbp + 0x3e8], 0
je 0x1400247fe
lea rax, [rbp + 0x408]
mov qword [rbp + 0x448], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x448]
call fcn.140011159
mov qword [rbp + 0x458], rax
mov r9d, dword [rbp + 0xa4]
mov r8, qword [rbp + 0x458]
mov edx, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x3e8]
call fcn.140011703
mov qword [rbp + 0x460], rax
jmp 0x140024809
mov qword [rbp + 0x460], 0
mov rax, qword [rbp + 0x460]
mov qword [rbp + 0x3c8], rax
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0xc8], rax
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x490]
mov rcx, qword [rcx + 8]
mov rdx, qword [rbp + 0xc8]
mov qword [rcx + rax*8], rdx
lea rdx, [0x14002cf18]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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]
mov rcx, qword [rbp + 0x490]
call fcn.140011938
nop
lea rcx, [rbp + 0x68]
call fcn.1400111ea
jmp 0x14002489d
lea rdx, [0x14002ce68]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001111d
lea rdx, [0x14001105f]
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 rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14002cde8]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [rbp - 0x20]
lea rdx, [0x14002beb0]
call fcn.14001180c
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.1400114c4
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret