Function at 0x140001020
Capabilities:
Execute command

Disassembly:
push rbp
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Choose__MB___GB_:
call fcn.140001290
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x20]
call fcn.140001460
movzx ebp, byte [rsp + 0x20]
lea eax, [rbp - 0x47]
cmp al, 0x26
ja 0x140001205
movabs rcx, 0x4100000041
bt rcx, rax
jae 0x140001205
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Enter_count_numbers_out_dot__.xxx...__:
mov qword [rsp + 0x88], rsi
movaps xmmword [rsp + 0x60], xmm6
call fcn.140001290
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x48]
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Enter_chislo:
call fcn.140001290
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x50]
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___double____ptr64____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Enter_shag:
call fcn.140001290
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x4c]
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]
movsd xmm6, qword [0x140003388]
xor esi, esi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rdi
test esi, esi
je 0x1400011ce
mov edx, 0xa
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, qword [rbx]
movsxd rcx, dword [rdx + 4]
mov rdx, qword [rax + 8]
add rcx, rbx
call qword [rax]
movsxd rdx, dword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov edx, esi
mov rcx, rbx
mov rdi, rax
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, [0x140003368]
call fcn.140001290
mov rcx, rax
lea rdx, section..text
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rdi + 8]
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [rdi]
movd xmm1, esi
mov rcx, rbx
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [rsp + 0x50]
divsd 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___double____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea eax, [rbp - 0x4d]
lea rdx, str._GB_n
test al, 0xdf
jne 0x1400011c9
lea rdx, str._MB_n
call fcn.140001290
add esi, dword [rsp + 0x4c]
cmp esi, 0x64
jle 0x140001113
movaps xmm6, xmmword [rsp + 0x60]
lea rcx, str.pause
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001560
add rsp, 0x70
pop rbp
ret