Function at 0x401550
Capabilities:
Create thread
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403005
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
add esp, 4
push eax
push 0x404264
lea eax, [ebp - 0x1c]
push str.CONOUT_
push eax
call esi
push 2
call edi
add esp, 0x14
push eax
push 0x404264
lea eax, [ebp - 0x18]
push str.CONOUT_
push eax
call esi
add esp, 0x10
push str.SUPER_MEGA_100__VIRUS_FREE_CHEAT
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
call fcn.00401110
test al, al
jne 0x40161b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Assault_cube_is_not_open
call fcn.00401850
push 0x401a70
mov ecx, eax
call dword [sym.imp.MSVCP140.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_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov eax, 1
jmp 0x40176d
cmp byte [ebp - 0x1c], 0
je 0x401742
push 8
call fcn.00401f71
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0x401390
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
push ecx
push 0
push eax
push 0x401ac0
push 0
push 0
call edi
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x401733
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40171c
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_detach]
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x40171c
mov dword [ebp - 4], 0xffffffff
mov edx, str.Cheat_running__enjoy_._Press_enter_if_you_want_to_close.
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401850
push 0x401a70
mov ecx, eax
call dword [sym.imp.MSVCP140.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 8
call fcn.00401f71
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0x401ce0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x401ac0
push 0
push 0
call edi
add esp, 0x18
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x401724
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x40171c
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x40171c
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
movlpd qword [ebp - 0x2c], xmm0
jmp 0x40175f
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x28], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x1c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Assault_cube_is_not_running._Press_enter_to_close
call fcn.00401850
push 0x401a70
mov ecx, eax
call dword [sym.imp.MSVCP140.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_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401f63
mov esp, ebp
pop ebp
ret