Function at 0x401590
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x2c0
call sym.___main
lea eax, [ebp - 0x140]
mov ecx, eax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream__
lea eax, [ebp - 0x158]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea eax, [ebp - 0x170]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov dword [esp + 8], 0x144
mov dword [esp + 4], 0
lea eax, [ebp - 0x2b4]
mov dword [esp], eax
call sym._memset
mov dword [esp], str.chcp_65001
call sym._system
mov dword [esp], 0x40504f
call sym._system
mov dword [esp + 4], str.____5:
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea eax, [ebp - 0x2b8]
mov dword [esp], eax
mov ecx, sym.imp.libstdc_6.dll_std::cin
call sym.std::istream::operator___int_
sub esp, 4
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0xc], eax
jmp 0x401787
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11.to_string_int_
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x3c]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
sub esp, 4
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.00401868
lea eax, [ebp - 0x24]
mov dword [esp + 8], str..txt
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
lea eax, [ebp - 0x140]
mov dword [esp + 4], 8
lea edx, [ebp - 0x24]
mov dword [esp], edx
mov ecx, eax
call sym.std::basic_ifstream_char__std::char_traits_char___::open_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
sub esp, 8
lea eax, [ebp - 0x24]
mov ecx, eax
call fcn.00401868
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
lea eax, [ebp - 0x140]
mov dword [esp], eax
call sym.std::basic_istream_char__std::char_traits_char____std::operator___char__std::char_traits_char___std::allocator_char____std::basic_istream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea eax, [ebp - 0x170]
mov dword [esp + 4], eax
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov dword [esp + 4], 0x405089
mov dword [esp], eax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp + 4], 0x40508b
lea eax, [ebp - 0x170]
mov dword [esp], eax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
jne 0x401775
lea eax, [ebp - 0x170]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp], eax
call sym._atoi
mov edx, dword [ebp + eax*4 - 0x2b4]
add edx, 1
mov dword [ebp + eax*4 - 0x2b4], edx
lea eax, [ebp - 0x170]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp], eax
call sym._atoi
mov eax, dword [ebp + eax*4 - 0x2b4]
mov dword [esp], eax
mov ecx, sym.imp.libstdc_6.dll_std::cout
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], 0x405089
mov dword [esp], eax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
jmp 0x4016b6
nop
lea eax, [ebp - 0x140]
mov ecx, eax
call sym.std::basic_ifstream_char__std::char_traits_char___::close__
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x2b8]
add eax, 4
cmp dword [ebp - 0xc], eax
jle 0x40163f
mov dword [esp], str.color_0e
call sym._system
mov dword [esp + 4], str.Hello_world__n
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], str.pause
call sym._system
lea eax, [ebp - 0x170]
mov ecx, eax
call fcn.00401868
lea eax, [ebp - 0x158]
mov ecx, eax
call fcn.00401868
lea eax, [ebp - 0x140]
mov ecx, eax
call fcn.00401898
mov eax, 0
jmp 0x401834
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret