Function at 0x4c8990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [ebp + 8]
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x4c89c2
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c94c0
test eax, eax
je 0x4c89b4
mov edx, dword [ebp + 0x18]
mov esi, edi
mov dword [edi + 0x30], edx
call fcn.004c9430
mov ecx, dword [edi + 0x38]
push 0
push eax
push 0x130c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.004c8da0
mov edx, dword [edi + 4]
push edx
xor esi, esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov eax, dword [edi + 0x34]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
cmp dword [str.Scroll_Bars], esi
je 0x4c8a73
mov dword [esp + 0xc], str.Scroll_Bars
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, ecx
cmp esi, eax
jge 0x4c8a55
mov esi, eax
mov eax, dword [esp + 0x10]
inc eax
cmp dword [eax*8 + 0x55ee34], 0
mov dword [esp + 0x10], eax
lea eax, [eax*8 + 0x55ee34]
mov dword [esp + 0xc], eax
jne 0x4c8a24
mov edx, dword [esp + 0x14]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 2
call ebx
push 5
add esi, eax
call ebx
push 0x320
lea esi, [esi + eax*2]
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [edi + 0x38]
mov dword [edi + 0x20], eax
lea ecx, [esp + 0x20]
push ecx
add eax, eax
push 1
add eax, eax
add eax, eax
push 0x1328
xor esi, esi
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x20]
cmp eax, esi
jge 0x4c8aec
sub dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
cmp eax, esi
jge 0x4c8afc
sub dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
push 0x2e
call ebx
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax*2 + 2]
push 0x2d
mov dword [esp + 0x30], edx
call ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
push 0x16
push edx
mov edx, dword [esp + 0x28]
lea eax, [ecx + eax*2 + 2]
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], eax
sub eax, edx
push eax
mov eax, dword [esp + 0x30]
push eax
push edx
push ecx
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x38]
push ecx
push eax
call esi
mov edx, dword [edi + 0x38]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x60]
push ecx
push eax
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x88]
push ecx
push eax
call esi
lea ecx, [esp + 0x20]
push ecx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x24]
push 1
call ebx
mov ecx, dword [ebp + 0x14]
lea edx, [esi + ecx]
cmp edx, eax
jl 0x4c8bf6
sub eax, esi
mov ecx, eax
mov eax, dword [ebp + 0x10]
push 1
push 0
push 0
push ecx
mov ecx, dword [edi + 4]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x2c]
push eax
call fcn.0041ae30
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0x2c], 0
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18