Function at 0x40151a
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
call sym.___main
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
mov dword [ebp - 0xc], 0x3e8
mov dword [esp], 0x404044
call sym._system
mov dword [esp + 4], str.Money:__
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 edx, eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], 0xa
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_
cmp dword [ebp - 0xc], 0x63
jg 0x4015bd
mov dword [esp + 4], str.You_dont_have_enough_money__nTry_again_next_time__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
mov eax, 0
jmp 0x40180c
mov dword [esp + 4], str.Do_you_want_to_play_for__100__y_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 + 4], 0xa
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_
lea eax, [ebp - 0x16]
mov dword [esp + 4], eax
mov dword [esp], sym.imp.libstdc_6.dll_std::cin
call sym.std::basic_istream_char__std::char_traits_char____std::operator___char__std::char_traits_char____std::basic_istream_char__std::char_traits_char_____char_
movzx eax, byte [ebp - 0x16]
cmp al, 0x79
jne 0x40154b
sub dword [ebp - 0xc], 0x64
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0x14], 1
jmp 0x4017fd
mov dword [esp], 0x404044
call sym._system
mov eax, dword [ebp - 0x14]
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], 0x4040b1
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], 0x24
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_
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], str._nDouble_it_or_leave__d_l_:_n
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_
lea eax, [ebp - 0x17]
mov dword [esp + 4], eax
mov dword [esp], sym.imp.libstdc_6.dll_std::cin
call sym.std::basic_istream_char__std::char_traits_char____std::operator___char__std::char_traits_char____std::basic_istream_char__std::char_traits_char_____char_
movzx eax, byte [ebp - 0x17]
cmp al, 0x6c
jne 0x40170d
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov dword [esp + 4], str.You_won__
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 edx, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], str._nYour_new_money_is__
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 edx, eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], 0xa
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_
mov dword [ebp - 0x10], 0
mov dword [esp], str.pause
call sym._system
jmp 0x4017fd
call sym.Flip__
mov byte [ebp - 0x15], al
movzx eax, byte [ebp - 0x15]
cmp eax, 1
jne 0x401747
shl dword [ebp - 0x10], 1
mov dword [esp + 4], str.Doubled__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_
add dword [ebp - 0x14], 1
mov dword [esp], str.pause
call sym._system
jmp 0x40176e
mov dword [esp + 4], str.You_lose__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 [ebp - 0x10], 0
mov dword [esp], str.pause
call sym._system
cmp dword [ebp - 0x14], 0xa
jne 0x4017fd
mov dword [esp + 4], str.You_win_the_Jackpot___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 eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov dword [esp + 4], str.You_won__
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 edx, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], str._nYour_new_money_is__
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 edx, eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp + 4], 0xa
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_
mov dword [ebp - 0x10], 0
mov dword [esp], str.pause
call sym._system
cmp dword [ebp - 0x10], 0
jg 0x401617
jmp 0x40154b
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret