Function at 0x1400113ca
Capabilities:
Terminate process

Disassembly:
jmp 0x1400120c0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x140026067]
call fcn.1400114bf
nop
mov rax, qword [rbp + 0x160]
mov ecx, dword [rbp + 0x168]
mov dword [rax], ecx
mov rax, qword [rbp + 0x160]
mov ecx, dword [rbp + 0x170]
mov dword [rax + 4], ecx
cmp dword [rbp + 0x168], 0
jle 0x14001211f
cmp dword [rbp + 0x170], 0
jg 0x140012148
lea rdx, [0x14001d008]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011096
lea rdx, [0x14001103c]
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]
nop
jmp 0x140012324
movsxd rax, dword [rbp + 0x168]
mov qword [rbp + 0x138], rax
mov eax, 8
mov rcx, qword [rbp + 0x138]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.14001121c
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x108]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x160]
cmp qword [rax + 8], 0
jne 0x1400121cf
lea rdx, [0x14001d010]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011096
lea rdx, [0x14001103c]
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]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov dword [rbp + 4], 0
jmp 0x1400121e0
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x168]
cmp dword [rbp + 4], eax
jge 0x140012324
movsxd rax, dword [rbp + 0x170]
mov qword [rbp + 0x138], rax
mov eax, 8
mov rcx, qword [rbp + 0x138]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.14001121c
mov qword [rbp + 0x128], rax
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x160]
mov rcx, qword [rcx + 8]
mov rdx, qword [rbp + 0x128]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x160]
mov rcx, qword [rcx + 8]
cmp qword [rcx + rax*8], 0
jne 0x140012286
lea rdx, [0x14001d010]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011096
lea rdx, [0x14001103c]
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]
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 0x134], eax
lea rdx, [0x14001d02c]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011096
mov ecx, dword [rbp + 0x134]
mov edx, ecx
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, [0x14001d020]
mov rcx, rax
call fcn.140011096
lea rdx, [0x14001103c]
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]
nop
mov dword [rbp + 0x24], 0
jmp 0x1400122e6
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x170]
cmp dword [rbp + 0x24], eax
jge 0x14001231f
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x160]
mov rcx, qword [rcx + 8]
movsxd rdx, dword [rbp + 0x24]
mov rax, qword [rcx + rax*8]
lea rax, [rax + rdx*8]
mov rdx, rax
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___double____ptr64____ptr64]
nop
jmp 0x1400122de
jmp 0x1400121d8
mov rax, qword [rbp + 0x160]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret