Function at 0x5b7bec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b8161
push dword fs:[eax]
mov dword fs:[eax], esp
call sym.StartupControl.exe__Acpopupcontroller_GetIntController_qqrv
xor edx, edx
call sym.StartupControl.exe__Acpopupcontroller_TsPopupController_PopupCount_qqrp11Forms_TForm
test eax, eax
jg 0x5b8143
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_CanDrawNCArea_qqrv
test al, al
je 0x5b8143
cmp byte [ebx + 0x3c], 0
jne 0x5b8143
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x5b7c53
cmp byte [ebx + 0x41], 0
jne 0x5b8143
mov eax, ebx
call fcn.005b74a0
test al, al
jne 0x5b8143
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x283], 1
je 0x5b8143
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x1e2], 0
je 0x5b8143
cmp dword [ebx + 0x2e0], 0
je 0x5b7ca4
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x2a0], 0
je 0x5b8143
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x287], 1
jne 0x5b7cd1
mov eax, dword [sym.StartupControl.exe__Sskinmenus_MDISkinProvider]
cmp dword [eax], 0
je 0x5b7cd1
mov eax, dword [sym.StartupControl.exe__Sskinmenus_MDISkinProvider]
mov eax, dword [eax]
cmp dword [eax + 0xec], 0
jg 0x5b8143
test byte [ebx + 0x2d4], 0x80
jne 0x5b8143
cmp dword [ebx + 0x29c], 0
jne 0x5b7d82
push 0
mov ecx, dword [0x7b9688]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x5b77fc]
call fcn.0050b66c
mov esi, eax
mov dword [ebx + 0x29c], esi
mov eax, dword [ebx + 0x2cc]
push dword [eax + 8]
push 0x5b817c
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.004aad78
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004c2fc0
mov edx, dword [ebp - 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x29c]
mov dword [eax + 0x380], ebx
test eax, eax
je 0x5b8143
call fcn.005333d4
mov eax, dword [ebx + 0x29c]
call fcn.005337a4
test al, al
jne 0x5b7d82
lea eax, [ebx + 0x29c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
jmp 0x5b8143
cmp dword [ebx + 0x2e0], 0
je 0x5b7e5e
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_MenuHeight_qqrv
mov esi, eax
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_GetLinesCount_qqrv
imul esi, eax
inc esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0x2cc]
call fcn.0050bef4
mov esi, eax
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_OffsetY_qqrv
add esi, eax
sub esi, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_ShadowSize_qqrv
sub esi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2e0]
call sym.StartupControl.exe__Sskinprovider_DiffTitle_qqrpx27Sskinprovider_TacBorderForm
sub esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_IsZoomed
test eax, eax
je 0x5b7e0b
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowLongW
test eax, 0xc00000
je 0x5b7e0b
sub esi, 4
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call sym.StartupControl.exe__Sskinprovider_SysBorderWidth_qqrxp6HWND__px27Sskinprovider_TacBorderFormo
mov edi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.0050bed4
add edi, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebx + 0x2cc]
mov eax, edi
call fcn.005333f8
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call sym.StartupControl.exe__Sskinprovider_SysBorderWidth_qqrxp6HWND__px27Sskinprovider_TacBorderFormo
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x5b8055
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebx + 0x2cc]
cmp dword [esi + 0x30], 0
jne 0x5b7e9e
cmp byte [esi + 0x287], 1
je 0x5b7e9e
mov eax, esi
call fcn.0050bef4
mov esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.0050bed4
mov dword [ebp - 0x18], eax
jmp 0x5b7eb8
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowRect
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x2cc]
cmp byte [edi + 0x283], 2
jne 0x5b7f10
lea edx, [ebp - 0x2c]
mov eax, edi
call sym.StartupControl.exe__Svclutils_acWorkRect_qqrp11Forms_TForm
mov eax, dword [ebx + 0x2cc]
call fcn.0050bef4
neg eax
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.0050bed4
mov edx, eax
neg edx
lea eax, [ebp - 0x2c]
pop ecx
call fcn.004a7ca8
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.GDI32.DLL_CreateRectRgn
mov edi, eax
jmp 0x5b7f1d
xor ecx, ecx
xor edx, edx
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_GetRgnFromArOR_qqrp28Sskinprovider_TsSkinProviderii
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
lea edx, [ebp - 0x10]
call fcn.005b7b50
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
lea edx, [ebp - 0x2c]
call sym.StartupControl.exe__Svclutils_acClientRect_qqrxp6HWND__
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.GDI32.DLL_CreateRectRgn
mov dword [ebp - 8], eax
push 4
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.GDI32.DLL_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x30], 0
jne 0x5b7fa1
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x287], 1
jne 0x5b8041
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_GetDC
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_GetClipBox
dec eax
jne 0x5b7ff2
lea eax, [ebx + 0x29c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_ReleaseDC
jmp 0x5b8143
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
jle 0x5b802c
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jge 0x5b802c
mov ecx, dword [ebp - 0x20]
push ecx
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
call sub.GDI32.DLL_CreateRectRgn
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.GDI32.DLL_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_ReleaseDC
push 0
push edi
mov eax, dword [ebx + 0x29c]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowRgn
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x29c]
mov edi, dword [eax]
call dword [edi + 0x88]
mov edi, dword [ebx + 0x2cc]
cmp byte [edi + 0x287], 1
jne 0x5b80b0
push 0x658
mov eax, ebx
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_HeaderHeight_qqrv
push eax
mov eax, dword [ebx + 0x2cc]
mov eax, dword [eax + 0x48]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x29c]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowPos
jmp 0x5b810f
push 0xffffffffffffffec
mov eax, edi
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowLongW
test al, 8
je 0x5b80ea
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x29c]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowPos
jmp 0x5b810f
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x29c]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowPos
push 4
mov eax, dword [ebx + 0x29c]
call fcn.005333f8
push eax
call sub.USER32.DLL_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x29c]
call fcn.005333f8
push eax
call sub.USER32.DLL_RedrawWindow
push 0x28
call sub.KERNEL32.DLL_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b8168
lea eax, [ebp - 0x34]
call fcn.004c29e8
lea eax, [ebp - 0x30]
call fcn.004c29e8
ret