Function at 0x45eb8e
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x4febd6
call fcn.004cda1c
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
push eax
mov dword [ebx + 0x10], esi
call fcn.0045e39e
mov esi, dword [esi + 0x6f0]
mov ecx, dword [ebx + 0x10]
or esi, 0x40000080
mov dword [ebp - 0x98], esi
call sym.RedAlert.exe_public:_int___thiscall_DuiLib::CScrollBarUI::GetScrollUnit_void_const
xor ecx, ecx
inc ecx
test cl, al
je 0x45ebd6
or esi, ecx
jmp 0x45ebdd
test al, 2
je 0x45ebe3
or esi, 2
mov dword [ebp - 0x98], esi
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa8]
mov eax, dword [ebp - 0x98]
push 0
sub esp, 0x10
or eax, 0x20
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
cmp byte [ecx + 0x6e1], 0
push edi
cmove eax, dword [ebp - 0x98]
push eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x24]
mov ecx, eax
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
mov ecx, ebx
call sym.RedAlert.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ecx, dword [ebx + 0x10]
call sym.RedAlert.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
cmp eax, 0xffffffff
je 0x45ec48
mov ecx, dword [ebx + 0x10]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call sym.RedAlert.exe_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
test eax, eax
jne 0x45ec59
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call sym.RedAlert.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetDefaultFontInfo_void_
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push edi
push dword [eax + 0x6dc]
push 0xc5
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x6e1], 0
je 0x45ec9c
movzx eax, word [eax + 0x6e4]
push edi
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], edi
call sym.RedAlert.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.RedAlert.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
push edi
push edi
push 0xb9
push dword [ebx + 4]
call esi
push edi
push 3
push 0xd3
mov ecx, ebx
call sym.RedAlert.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xe8]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
push edi
cmp byte [eax + 0x6e0], 1
sete cl
push ecx
push 0xcf
push dword [ebx + 4]
call esi
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
push dword [ebx + 4]
cmp byte [eax + 0x6e2], 0
je 0x45ed55
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 1
pop ecx
test eax, eax
cmove eax, ecx
push eax
push edi
jmp 0x45ed5d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [ebx + 4]
call esi
xor eax, eax
inc eax
mov byte [ebx + 0x18], al
call fcn.004cd9da
ret 4