Function at 0x100440b0
Capabilities:
Hide graphical window
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100499ad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10056040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov byte [edi + 0xa], 0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x10044154
mov dword [ebp - 0x20], 0xa
mov dword [ebp - 0x1c], 0x26
mov dword [ebp - 0x18], str.C:UsersOmegaDesktopGitHubCrush_Crush_CheatOmegaWare_FrameworkUtilsConsoleConsole.cpp
mov dword [ebp - 0x14], str.__thiscall_Console::Console_bool_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movups xmm0, xmmword [ebp - 0x20]
sub esp, 0x38
mov ecx, esp
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.100443e0
add esp, 0x10
mov ecx, esi
call fcn.100447f0
add esp, 0x38
mov byte [edi + 9], 0
jmp 0x100442ac
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call esi
push eax
push 0x1005169c
push str.CONOUT_
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
add esp, 0x14
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100441c3
sub esp, 0x38
mov dword [ebp - 0x20], 0x12
mov ecx, esp
mov dword [ebp - 0x1c], 0x26
sub esp, 0x10
mov dword [ebp - 0x18], str.C:UsersOmegaDesktopGitHubCrush_Crush_CheatOmegaWare_FrameworkUtilsConsoleConsole.cpp
mov eax, esp
mov dword [ebp - 0x14], str.__thiscall_Console::Console_bool_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
call fcn.100443e0
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
call fcn.100447f0
add esp, 0x38
mov byte [edi + 9], 0
jmp 0x100442ac
push 0
call esi
push eax
push 0x1005169c
lea eax, [edi + 4]
push str.CONIN_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10044206
mov dword [ebp - 0x20], 0x1a
mov dword [ebp - 0x1c], 0x26
mov dword [ebp - 0x18], str.C:UsersOmegaDesktopGitHubCrush_Crush_CheatOmegaWare_FrameworkUtilsConsoleConsole.cpp
mov dword [ebp - 0x14], str.__thiscall_Console::Console_bool_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____
jmp 0x10044128
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov al, byte [ebp + 8]
xor ecx, ecx
test al, al
mov byte [edi + 0xa], al
mov edx, 5
cmovne ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000b790
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100442a8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004429e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004429e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004718e
add esp, 8
mov byte [edi + 9], 1
mov ecx, dword [ebp + 0x20]
cmp ecx, 0xf
jbe 0x100442e2
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100442d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100442d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004718e
add esp, 8
mov eax, edi
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.1004712d
mov esp, ebp
pop ebp
ret 0x1c