Function at 0x140001290
Capabilities:
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
lea rcx, [0x140003438]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], 0
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x1400034e0]
movdqu xmmword [rbp + 0x1f], xmm1
mov byte [rbp + 0xf], 0
lea rdx, str.Enter_x:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
lea rdx, [rbp - 0x15]
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___float____ptr64____ptr64]
lea rdx, str.Enter_y:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
lea rdx, [rbp - 0x19]
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___float____ptr64____ptr64]
lea rdx, str.Enter___:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
lea rdx, [rbp - 0x11]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001a10
lea rdx, [0x140001bf0]
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___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, [rbp - 0x11]
mov rdi, qword [rbp - 0x11]
mov rsi, qword [rbp + 7]
cmp rsi, 0xf
cmova rcx, rdi
mov rbx, qword [rbp - 1]
cmp rbx, 1
jne 0x1400013d7
mov r8, rbx
lea rdx, [0x140003474]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400013d7
movss xmm6, dword [rbp - 0x19]
addss xmm6, dword [rbp - 0x15]
lea rdx, str.Result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
mov rcx, rax
movaps xmm1, xmm6
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___float____ptr64]
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x140001425
mov r8, rbx
lea rdx, [0x140003484]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001425
movss xmm6, dword [rbp - 0x15]
subss xmm6, dword [rbp - 0x19]
lea rdx, str.Result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
mov rcx, rax
movaps xmm1, xmm6
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___float____ptr64]
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x140001473
mov r8, rbx
lea rdx, [0x140003434]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001473
movss xmm6, dword [rbp - 0x19]
mulss xmm6, dword [rbp - 0x15]
lea rdx, str.Result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
mov rcx, rax
movaps xmm1, xmm6
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___float____ptr64]
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
xorps xmm7, xmm7
cmp rbx, 1
jne 0x1400014d0
mov r8, rbx
lea rdx, [0x140003488]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400014d0
movss xmm0, dword [rbp - 0x19]
ucomiss xmm0, xmm7
jp 0x1400014a7
je 0x1400014d0
movss xmm6, dword [rbp - 0x15]
divss xmm6, dword [rbp - 0x19]
lea rdx, str.Result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
mov rcx, rax
movaps xmm1, xmm6
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___float____ptr64]
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x1400014f9
mov r8, rbx
lea rdx, [0x140003474]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000157b
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x14000151e
mov r8, rbx
lea rdx, [0x140003484]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000157b
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x140001543
mov r8, rbx
lea rdx, [0x140003434]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000157b
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x140001568
mov r8, rbx
lea rdx, [0x140003488]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000157b
lea rdx, str.Error_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x1400015bf
mov r8, rbx
lea rdx, [0x140003488]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400015bf
movss xmm0, dword [rbp - 0x19]
ucomiss xmm0, xmm7
jp 0x1400015bf
jne 0x1400015bf
lea rdx, str.Error__You_cant_divide_by_0_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001830
lea rdx, [0x140001bf0]
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___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.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
cmp rsi, 0xf
jbe 0x14000161b
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001613
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001613
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140001e9c
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001e40
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret