Function at 0x5b95f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c8], 0
je 0x5b9a97
mov cl, 1
mov dl, 1
mov eax, dword [0x5b9588]
call fcn.0049f258
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
or dword [eax + 0xa8], 0x1000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
xor ecx, ecx
mov edx, 0x4d
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x10], eax
mov dl, 5
mov eax, dword [ebp - 0x10]
call fcn.0049f4b0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5c], bl
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf], 1
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a7e90]
call fcn.004a835c
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], ebx
mov eax, ebx
call fcn.004a83a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x5b98b8
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov byte [eax + 0x25], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.005333f8
xor ecx, ecx
xor edx, edx
call fcn.005b5940
mov dl, 1
mov eax, dword [0x4fb01c]
call fcn.00502454
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [eax + 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5b98b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_OffsetX_qqrv
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_OffsetY_qqrv
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0050bed4
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0050bef4
mov ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x5b97b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
xor ecx, ecx
xor edx, edx
call sym.StartupControl.exe__Sskinprovider_SysBorderWidth_qqrxp6HWND__px27Sskinprovider_TacBorderFormo
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
xor ecx, ecx
xor edx, edx
call sym.StartupControl.exe__Sskinprovider_SysBorderHeight_qqrxp6HWND__px27Sskinprovider_TacBorderFormo
mov edi, eax
xor edx, edx
mov eax, dword [ebp - 4]
call sym.StartupControl.exe__Sskinprovider_SysCaptHeight_qqrp28Sskinprovider_TsSkinProvideri
add ebx, eax
add edi, ebx
mov ebx, edi
push 0xcc0020
push ebx
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0052a380
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0052a33c
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
call fcn.00502d6c
call fcn.004fdd24
push eax
call sub.GDI32.DLL_BitBlt
push 0x1fffffff
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0052a380
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.0052a33c
mov ecx, eax
mov eax, dword [ebp - 0x10]
add ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
call fcn.004a7b3c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
mov cl, 0xff
call sym.StartupControl.exe__Salphagraph_FillAlphaRect_qqrpx16Graphics_TBitmaprx11Types_TRectuc15Graphics_TColor36System__DynamicArray_
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0050bed4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0050bef4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
add eax, 0x40
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.005333f8
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x6c]
mov ecx, 0xff
call sym.StartupControl.exe__Svclutils_SetFormBlendValue_qqruip16Graphics_TBitmapip12Types_TPoint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b98e5
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
ret
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
xor ecx, ecx
xor edx, edx
call sym.StartupControl.exe__Sskinprovider_MakeCoverForm_qqruip28Sskinprovider_TsSkinProviderop11Types_TRect
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], ebx
mov eax, dword [ebx + 0x378]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], eax
push 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.005333f8
push eax
call sub.USER32.DLL_ShowWindow
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowRgn
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowLongW
test eax, 0x80000
jne 0x5b995c
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowLongW
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowLongW
push 2
push 0
push 0x1fffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.005333f8
push eax
mov eax, dword [sym.StartupControl.exe__Sgraphutils_SetLayeredWindowAttributes]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x48]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x78]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x4c]
imul dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x78]
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0050bed4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x54]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x74]
sub edx, dword [ecx + 0x48]
sar edx, 1
jns 0x5b99d4
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0050bef4
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x58]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x74]
sub edx, dword [ecx + 0x4c]
sar edx, 1
jns 0x5b99fd
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x5b9a14
call fcn.004c09bc
mov dl, 1
mov eax, dword [0x4fb01c]
call fcn.00502454
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], ebx
mov eax, ebx
mov dl, 7
call fcn.00503f4c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
mov byte [eax + 0x30], 1
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x74]
mov edx, dword [edx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0050bed4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x74]
call fcn.0050bef4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], edx
mov dword [eax + 0x60], sym.StartupControl.exe__Sskinprovider_TsSkinProvider_OnScaleTimer_qqrp14System_TObject
mov eax, dword [ebp - 0x10]
call fcn.0049f798
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret