Function at 0x4099c0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x412018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
sub esp, 8
mov ecx, dword [edi + 0x10]
call fcn.00408d20
cmp byte [edi + 0xa], 0
je 0x409cf4
push ebx
push esi
push 0
call dword [sym.imp.MSVCR110.dll__time64]
push eax
call dword [sym.imp.MSVCR110.dll_srand]
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
add esp, 8
xor eax, eax
push eax
push dword [0x412898]
mov dword [0x412892], eax
call ebx
sub esp, 8
call fcn.0040a8c0
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 3
push dword [0x412898]
call esi
test eax, eax
je 0x409a48
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___alpha_version
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xf
push dword [0x412898]
call esi
test eax, eax
je 0x409a82
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._F1_
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xb
push dword [0x412898]
call esi
test eax, eax
je 0x409aaa
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.to_help
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xf
push dword [0x412898]
call esi
test eax, eax
je 0x409ad2
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40f5c8
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xb
push dword [0x412898]
call esi
test eax, eax
je 0x409afa
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.to_play
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xf
push dword [0x412898]
call esi
test eax, eax
je 0x409b34
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._ESC_
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xb
push dword [0x412898]
call esi
test eax, eax
je 0x409b5c
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.to_Exit
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xf
push dword [0x412898]
call esi
test eax, eax
je 0x409b84
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._F5_
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xb
push dword [0x412898]
call esi
test eax, eax
je 0x409bac
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.to_save
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xf
push dword [0x412898]
call esi
test eax, eax
je 0x409bd4
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._F9_
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xb
push dword [0x412898]
call esi
test eax, eax
je 0x409bfc
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.to_load
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xf
push dword [0x412898]
call esi
test eax, eax
je 0x409c24
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._F12_
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push 0xb
push dword [0x412898]
call esi
test eax, eax
je 0x409c4c
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.to_Reset.
call fcn.0040a240
push 7
push dword [0x412898]
call esi
push dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0xc]
push eax
push dword [0x412898]
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov dword [0x412892], 0x1c0000
push dword [0x412892]
push dword [0x412898]
call ebx
push 0xe
push dword [0x412898]
call esi
mov eax, dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push dword [eax + 0x20]
mov edx, str.__Made_up:
call fcn.0040a240
mov ecx, eax
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 7
push dword [0x412898]
call esi
mov dword [0x412892], 0x1d0000
push dword [0x412892]
push dword [0x412898]
call ebx
mov ecx, dword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enjoy_:______________Create_By_WildPtr__________QQ:309563528
call fcn.0040a240
pop esi
mov byte [edi + 0xa], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040b437
mov esp, ebp
pop ebp
ret