Function at 0x1400014c0
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call fcn.1400011e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov ecx, 0x28
call fcn.1400031c0
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x58], rax
mov rbx, qword [rbp - 0x50]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r12b
jne 0x14000168f
movabs rsi, 0x666666666666666
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r12d
mov rdx, rdi
cmp byte [rax + 0x19], 0
jne 0x1400015b9
mov ecx, dword [rbx + 0x20]
nop word [rax + rax]
mov qword [rsp + 0x30], rax
cmp dword [rax + 0x1c], ecx
jge 0x1400015a5
mov dword [rsp + 0x38], r12d
mov rax, qword [rax + 0x10]
jmp 0x1400015b3
mov dword [rsp + 0x38], 1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140001590
cmp byte [rdx + 0x19], 0
jne 0x1400015c7
mov eax, dword [rdx + 0x1c]
cmp dword [rbx + 0x20], eax
jge 0x14000162d
cmp qword [rsp + 0x60], rsi
je 0x140001d87
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r12
mov ecx, 0x28
call fcn.1400031c0
mov r8, rax
mov eax, dword [rbx + 0x20]
mov dword [r8 + 0x1c], eax
mov byte [r8 + 0x20], 0
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov word [r8 + 0x18], 0
mov qword [rsp + 0x70], r12
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140002b30
mov rdx, rax
movzx ecx, byte [rbx + 0x1c]
mov byte [rdx + 0x20], cl
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140001660
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14000165b
cmp rbx, qword [rax + 0x10]
jne 0x14000165b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140001648
mov rbx, rax
jmp 0x14000167f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14000167f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140001670
cmp byte [rbx + 0x19], 0
jne 0x14000168f
mov rdi, qword [rsp + 0x58]
jmp 0x140001570
lea r13, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rsi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rdi, [0x140005664]
nop dword [rax]
nop dword [rax + rax]
lea rdx, str.Seleccione_una_opcion:_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
lea rdx, str.1._Convertir_comandos_a_numeros_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
lea rdx, str.2._Ejecutar_numeros_como_comandos_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
lea rdx, str.3._Salir_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
lea rdx, str.Opcion:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
lea rdx, [rbp - 0x58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
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___int____ptr64____ptr64]
mov edx, 1
mov r8d, 0xffffffff
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
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__::ignore_long_long___int64___int____ptr64]
mov eax, dword [rbp - 0x58]
cmp eax, 1
jne 0x1400018bc
lea rdx, str.Introduce_los_comandos:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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 - 0x78]
mov rcx, rbx
call fcn.140002db0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.140001380
nop
lea rdx, str.Comandos_convertidos_a_numeros:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp rbx, rdi
je 0x140001807
nop dword [rax + rax]
mov edx, dword [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140005564]
call fcn.1400027e0
add rbx, 4
cmp rbx, rdi
jne 0x1400017e0
lea rdx, [0x140005568]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001871
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000185e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c83
call fcn.1400031fc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
lea rdi, [0x140005664]
jbe 0x1400016b0
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c8a
call fcn.1400031fc
jmp 0x14000169d
cmp eax, 2
jne 0x140001c66
lea rdx, str.Introduce_los_numeros_separados_por_espacios:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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 - 0x78]
mov rcx, rbx
call fcn.140002db0
xor edx, edx
mov r8d, 0xf0
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x40], rdi
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r15d, 2
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 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 [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x44], edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp - 0x30], rsi
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r9d, 2
mov r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x30]
call fcn.140002690
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov rsi, r12
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 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___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_bool_void_const___ptr64]
mov rbx, qword [rsp + 0x38]
test al, al
je 0x140001a3d
cmp rbx, rsi
je 0x1400019fe
mov eax, dword [rsp + 0x50]
mov dword [rbx], eax
add rbx, 4
mov qword [rsp + 0x38], rbx
jmp 0x140001a1a
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002fa0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 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___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_bool_void_const___ptr64]
test al, al
jne 0x1400019e8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov r10d, 0xf
mov qword [rbp - 0x80], r10
mov byte [rsp + 0x68], 0
mov r14, qword [rsp + 0x30]
mov rdi, r14
cmp r14, rbx
je 0x140001b5f
mov rdx, qword [rsp + 0x58]
nop
mov r8d, dword [rdi]
mov rax, qword [rdx + 8]
mov r9, rdx
movzx r11d, byte [rax + 0x19]
test r11b, r11b
jne 0x140001a9f
mov rcx, rax
cmp dword [rcx + 0x1c], r8d
jge 0x140001a93
mov rcx, qword [rcx + 0x10]
jmp 0x140001a99
mov r9, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140001a87
cmp byte [r9 + 0x19], 0
jne 0x140001aac
cmp r8d, dword [r9 + 0x1c]
jge 0x140001aaf
mov r9, rdx
cmp r9, rdx
je 0x140001b31
test r11b, r11b
jne 0x140001ad8
nop dword [rax]
cmp dword [rax + 0x1c], r8d
jge 0x140001acc
mov rax, qword [rax + 0x10]
jmp 0x140001ad2
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140001ac0
cmp byte [rdx + 0x19], 0
jne 0x140001c91
cmp r8d, dword [rdx + 0x1c]
jl 0x140001c91
movzx r9d, byte [rdx + 0x20]
mov rcx, qword [rsp + 0x78]
cmp rcx, r10
jae 0x140001b1e
lea rax, [rcx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r10, 0xf
cmova rax, qword [rsp + 0x68]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001b28
lea rcx, [rsp + 0x68]
call fcn.1400029c0
mov r10, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x58]
add rdi, 4
cmp rdi, rbx
jne 0x140001a70
cmp qword [rsp + 0x78], 0
je 0x140001b5f
lea rcx, [rsp + 0x68]
cmp r10, 0xf
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r10, qword [rbp - 0x80]
cmp r10, 0xf
jbe 0x140001b99
lea rdx, [r10 + 1]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c9f
call fcn.1400031fc
nop
test r14, r14
je 0x140001bdb
sub rsi, r14
sar rsi, 2
lea rdx, [rsi*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x140001bd2
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ca6
mov rcx, r14
call fcn.1400031fc
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.140002390
lea rcx, [rbp - 0x28]
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 + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
lea rdi, [0x140005664]
lea rsi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jbe 0x1400016b0
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001cad
call fcn.1400031fc
jmp 0x140001696
cmp eax, 3
je 0x140001cb4
lea rdx, str.Opcion_invalida._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
jmp 0x1400016b0
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]
nop
lea rcx, str.invalid_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140001cfe
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140002f50
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.1400031fc
cmp byte [rbx + 0x19], 0
je 0x140001cd0
mov rcx, qword [rsp + 0x58]
mov edx, 0x28
call fcn.1400031fc
nop
mov rcx, qword [rbp - 0x50]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140001d4b
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140002f50
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.1400031fc
cmp byte [rbx + 0x19], 0
je 0x140001d20
mov rcx, qword [rbp - 0x50]
mov edx, 0x28
call fcn.1400031fc
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400031a0
lea r11, [rsp + 0x1c0]
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.1400011c0
nop
int3