Function at 0x58187c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5823ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, 0x326
jg 0x5818f5
je 0x581a61
cmp eax, 0x313
jg 0x5818dc
je 0x581bf5
sub eax, 0x47
je 0x581cdc
sub eax, 0xcb
je 0x581ebc
jmp 0x5823d1
sub eax, 0x31a
je 0x581bec
sub eax, 9
je 0x581ae3
jmp 0x5823d1
sub eax, 0xa100
je 0x58191a
sub eax, 0xf00
je 0x581c83
sub eax, 0xcb3
je 0x581961
dec eax
je 0x581b90
jmp 0x5823d1
mov eax, dword [ebp - 4]
cmp word [eax + 6], 0x47
jne 0x5823d1
push 0
push 0xa100
push 0xa100
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.USER32.DLL_PeekMessageW
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne dl
mov eax, ebx
call sym.StartupControl.exe__Sskinmanager_ReceiveData_qqrp26Sskinmanager_TsSkinManagero
jmp 0x5823d1
cmp byte [ebx + 0x31], 0
je 0x5823d1
mov edi, dword [ebp - 4]
mov edi, dword [edi + 8]
test edi, edi
je 0x581a58
cmp dword [edi + 0x60], 0
je 0x581a58
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [edi + 0x60]
call fcn.004e6178
push eax
push 0
call sub.USER32.DLL_GetMenuItemRect
test eax, eax
jne 0x5819d2
mov eax, dword [0x7b9794]
cmp dword [eax], 0
je 0x581a58
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [edi + 0x60]
call fcn.004e6178
push eax
mov eax, dword [0x7b9794]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
call sub.USER32.DLL_GetMenuItemRect
test eax, eax
je 0x581a58
lea eax, [ebp - 0x20]
xor edx, edx
call sym.StartupControl.exe__Acntutils_HeightOf_qqrrx11Types_TRectxo
sar eax, 1
jns 0x5819e3
adc eax, 0
add eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
xor edx, edx
call sym.StartupControl.exe__Acntutils_WidthOf_qqrrx11Types_TRectxo
sar eax, 1
jns 0x5819f8
adc eax, 0
add eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
pop edx
call fcn.004a7b6c
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call sub.USER32.DLL_WindowFromPoint
mov esi, eax
test esi, esi
je 0x581a58
lea edx, [ebp - 0x48]
mov eax, esi
call sym.StartupControl.exe__Svclutils_GetWndClassName_qqrxui
mov eax, dword [ebp - 0x48]
mov edx, 0x58240c
call fcn.004c31ac
jne 0x581a58
push esi
mov eax, dword [ebx + 0xe8]
xor ecx, ecx
mov edx, edi
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_GetMenuInfo_qqrp15Menus_TMenuItemp16Graphics_TCanvasp6HWND__
test eax, eax
je 0x581a58
cmp dword [eax + 4], 0
je 0x581a58
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0xe8]
mov edx, esi
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_DrawWndBorder_qqrp6HWND__p16Graphics_TBitmap
mov byte [ebp - 5], 1
jmp 0x5823d1
mov eax, dword [sym.StartupControl.exe__Sconst_ac_ChangeThumbPreviews]
cmp byte [eax], 0
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x5823d1
xor eax, eax
push ebp
push 0x581adc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
xor ecx, ecx
mov edx, 4
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov esi, eax
test esi, esi
je 0x581ac6
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov edx, esi
call sym.StartupControl.exe__Sskinprovider_SetPreviewBmp_qqrp6HWND__p28Sskinprovider_TsSkinProvider
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5823d1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
ret
mov eax, dword [sym.StartupControl.exe__Sconst_ac_ChangeThumbPreviews]
cmp byte [eax], 0
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x5823d1
mov eax, dword [ebp - 4]
cmp word [eax + 0xa], 0
je 0x5823d1
mov eax, dword [ebp - 4]
cmp word [eax + 8], 0
je 0x5823d1
xor eax, eax
push ebp
push 0x581b89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
xor ecx, ecx
mov edx, 4
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov esi, eax
test esi, esi
je 0x581b73
mov eax, dword [ebp - 4]
movzx eax, word [eax + 8]
push eax
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + 0xa]
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov edx, esi
call sym.StartupControl.exe__Sskinprovider_SetThumbIcon_qqrp6HWND__p28Sskinprovider_TsSkinProviderii
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5823d1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
ret
cmp byte [ebx + 0x31], 0
je 0x5823d1
mov esi, dword [ebp - 4]
mov esi, dword [esi + 8]
test esi, esi
je 0x581be3
lea edx, [ebp - 0x4c]
mov eax, esi
call sym.StartupControl.exe__Svclutils_GetWndClassName_qqrxui
mov eax, dword [ebp - 0x4c]
mov edx, 0x58240c
call fcn.004c31ac
jne 0x581be3
push esi
mov eax, dword [ebx + 0xe8]
xor ecx, ecx
xor edx, edx
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_GetMenuInfo_qqrp15Menus_TMenuItemp16Graphics_TCanvasp6HWND__
mov edx, dword [eax + 4]
test edx, edx
je 0x581be3
mov ecx, edx
mov eax, dword [ebx + 0xe8]
mov edx, esi
call sym.StartupControl.exe__Sskinmenus_TsSkinableMenus_DrawWndBorder_qqrp6HWND__p16Graphics_TBitmap
mov byte [ebp - 5], 1
jmp 0x5823d1
mov byte [ebp - 5], 1
jmp 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp byte [eax + 0xcf], 0
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x5823d1
xor eax, eax
push ebp
push 0x581c4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
xor ecx, ecx
mov edx, 4
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x581c5b
test esi, esi
je 0x5823d1
lea edx, [ebp - 0x10]
xor eax, eax
call sym.StartupControl.exe__Svclutils_acMousePos_qqrp17Controls_TControl
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, esi
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_DropSysMenu_qqrii
mov byte [ebp - 5], 1
jmp 0x5823d1
mov eax, dword [0x7b968c]
mov eax, dword [eax]
call fcn.005125f8
mov edi, eax
dec edi
cmp edi, 0
jl 0x5823d1
mov eax, dword [0x7b968c]
mov eax, dword [eax]
mov edx, edi
call fcn.005125e4
call fcn.005337a4
test al, al
je 0x581cd1
mov eax, dword [0x7b968c]
mov eax, dword [eax]
mov edx, edi
call fcn.005125e4
call fcn.005333f8
xor ecx, ecx
mov edx, 0x12
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
dec edi
cmp edi, 0xffffffff
jne 0x581c9b
jmp 0x5823d1
call sym.StartupControl.exe__Sgraphutils_acLayered_qqrv
test al, al
je 0x5823d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test byte [eax + 0x18], 0x80
je 0x5823d1
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 4]
cmp byte [esi + 6], 0
je 0x5823d1
mov eax, dword [ebx + 0x80]
cmp byte [eax + 5], 0
je 0x5823d1
cmp word [esi + 4], 0
jbe 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.USER32.DLL_IsIconic
test eax, eax
jne 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov esi, dword [eax + 0x40]
test esi, esi
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, esi
call fcn.005337a4
test al, al
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
xor ecx, ecx
mov edx, 4
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov esi, eax
test esi, esi
je 0x5823d1
cmp byte [esi + 0x49], 0
je 0x5823d1
mov eax, dword [ebx + 0x74]
mov edx, 6
call sym.StartupControl.exe__Sskinmanager_TacOptions_GetBool_qqrxi
test al, al
je 0x5823d1
cmp byte [esi + 0x2ca], 0
jne 0x5823d1
cmp byte [esi + 0x43], 0
je 0x5823d1
mov byte [esi + 0x2ca], 1
mov edx, dword [esi + 0x2d4]
or edx, 0x200
mov eax, esi
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_SetFormState_qqrxui
mov ebx, dword [esi + 0x2e0]
test ebx, ebx
je 0x581e38
push 0
mov eax, dword [esi + 0x2e0]
xor ecx, ecx
xor edx, edx
call sym.StartupControl.exe__Sskinprovider_TacBorderForm_MakeRgn_qqrii
push eax
mov eax, dword [ebx + 0x2c]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowRgn
call sym.StartupControl.exe__Sskinprovider_AeroIsEnabled_qqrv
test al, al
je 0x581e59
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
mov cl, 0xfe
mov dl, 1
call sym.StartupControl.exe__Svclutils_DoLayered_qqrp6HWND__ouc
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x8c]
mov eax, dword [sym.StartupControl.exe__Svclutils_acHideTimer]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi + 0x270]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [esi + 0x270]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 4]
movzx edx, word [eax + 4]
mov eax, esi
pop ecx
call sym.StartupControl.exe__Svclutils_AnimHideForm_qqrp14System_TObjecti18Sconst_TacAnimType
mov eax, dword [sym.StartupControl.exe__Svclutils_InAnimationProcess]
cmp byte [eax], 0
jne 0x581ead
jmp 0x5823d1
mov eax, ebx
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_IsActive_qqrv
test al, al
je 0x5823d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
sub eax, 0xf020
je 0x581ee8
sub eax, 0x100
je 0x58205f
jmp 0x5823ca
mov byte [ebx + 0x115], 2
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.USER32.DLL_IsIconic
test eax, eax
jne 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov esi, dword [eax + 0x40]
test esi, esi
je 0x5823d1
mov eax, dword [0x7b9688]
cmp byte [esi + 0x57], 0
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
xor ecx, ecx
mov edx, 4
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov esi, eax
test esi, esi
je 0x5823d1
mov eax, dword [ebx + 0x90]
mov eax, dword [eax + 0x18]
cmp byte [eax + 6], 0
je 0x58202e
mov eax, dword [ebx + 0x80]
cmp byte [eax + 5], 0
je 0x58202e
cmp byte [esi + 0x49], 0
je 0x5823d1
mov eax, dword [ebx + 0x74]
mov edx, 6
call sym.StartupControl.exe__Sskinmanager_TacOptions_GetBool_qqrxi
test al, al
je 0x5823d1
mov byte [esi + 0x2ca], 1
mov eax, esi
call sym.StartupControl.exe__Sskinprovider_StartMinimizing_qqrp28Sskinprovider_TsSkinProvider
mov edi, eax
and edi, 0x7f
call sym.StartupControl.exe__Sskinprovider_AeroIsEnabled_qqrv
test al, al
jne 0x581fd3
mov byte [ebp - 5], 1
call sym.StartupControl.exe__Acntutils_acGetAnimation_qqrv
mov ebx, eax
xor eax, eax
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
mov eax, dword [0x7b9688]
mov eax, dword [eax]
call fcn.00514b5c
mov eax, ebx
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
test edi, edi
jne 0x5823d1
cmp dword [esi + 0x2e0], 0
je 0x5823d1
mov eax, dword [esi + 0x2e0]
cmp dword [eax + 0x2c], 0
je 0x5823d1
test byte [esi + 0x2d5], 1
jne 0x5823d1
mov eax, dword [esi + 0x2e0]
mov byte [eax + 0x26], 1
add eax, 0x2c
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
mov eax, dword [esi + 0x2e0]
mov byte [eax + 0x26], 0
jmp 0x5823d1
mov eax, dword [esi + 0x2e0]
test eax, eax
je 0x5823d1
cmp dword [eax + 0x2c], 0
je 0x5823d1
mov byte [eax + 0x26], 1
add eax, 0x2c
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
jmp 0x5823d1
mov byte [ebx + 0x115], 1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov esi, dword [eax + 0x40]
test esi, esi
je 0x5823d1
mov eax, dword [0x7b9688]
cmp byte [esi + 0x1e2], 0
jne 0x58209a
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp byte [eax + 0xcf], 0
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, esi
call fcn.005333f8
xor ecx, ecx
mov edx, 4
call sym.StartupControl.exe__Svclutils_SendAMessage_qqrxp6HWND__xii
mov esi, eax
test esi, esi
je 0x5823d1
mov eax, dword [esi + 0x2d4]
test ah, 2
je 0x5821cd
mov edx, eax
and edx, 0xfffffdff
mov eax, esi
call sym.StartupControl.exe__Sskinprovider_TsSkinProvider_SetFormState_qqrxui
mov eax, dword [esi + 0x270]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
call sym.StartupControl.exe__Sskinmanager_TsSkinManager_GetExtendedBorders_qqrv
test al, al
je 0x582113
cmp byte [esi + 0x45], 0
je 0x582113
cmp dword [esi + 0x2e0], 0
jne 0x582113
mov eax, dword [esi + 0x270]
add eax, 0x5c
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
mov eax, dword [esi + 0x2e0]
test eax, eax
je 0x582121
mov byte [eax + 0x26], 0
call sym.StartupControl.exe__Acntutils_acGetAnimation_qqrv
mov ebx, eax
xor eax, eax
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
mov eax, dword [0x7b9688]
mov eax, dword [eax]
call fcn.00514c60
call sym.StartupControl.exe__Sskinprovider_AeroIsEnabled_qqrv
test al, al
je 0x5821c1
push 0x485
push 0
push 0
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
push eax
call sub.USER32.DLL_RedrawWindow
push 0xffffffffffffffec
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowLongW
test eax, 0x80000
je 0x5821c1
mov eax, dword [esi + 0x270]
mov byte [eax + 0xad], 1
push 0xffffffffffffffec
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
push eax
call sub.USER32.DLL_GetWindowLongW
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowLongW
mov eax, ebx
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
jmp 0x5823d1
mov eax, dword [esi + 0x270]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x18]
cmp byte [eax + 6], 0
je 0x58234c
mov eax, dword [esi + 0x270]
call sym.StartupControl.exe__Scommondata_TsCommonData_GetSkinManager_qqrv
mov eax, dword [eax + 0x80]
cmp byte [eax + 5], 0
je 0x58234c
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
cmp byte [eax + 0x57], 0
je 0x58234c
test esi, esi
je 0x582315
cmp byte [esi + 0x49], 0
je 0x5823d1
mov eax, dword [ebx + 0x74]
mov edx, 6
call sym.StartupControl.exe__Sskinmanager_TacOptions_GetBool_qqrxi
test al, al
je 0x5823d1
mov eax, esi
call sym.StartupControl.exe__Sskinprovider_StartRestoring_qqrp28Sskinprovider_TsSkinProvider
test al, al
jne 0x582315
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov ebx, dword [eax + 0x40]
mov edi, esi
cmp dword [edi + 0x268], 0
je 0x5822df
mov eax, dword [esi + 0x268]
call fcn.005337a4
test al, al
je 0x58229a
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [edi + 0x268]
call fcn.005333f8
push eax
mov eax, ebx
call fcn.005333f8
push eax
call sub.USER32.DLL_SetWindowPos
push 0xffffffffffffffff
push 0
mov eax, ebx
call fcn.005333f8
push eax
call sub.USER32.DLL_InvalidateRect
push 0x585
push 0
push 0
mov eax, ebx
call fcn.005333f8
push eax
call sub.USER32.DLL_RedrawWindow
cmp dword [edi + 0x268], 0
je 0x582315
lea eax, [edi + 0x268]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.004c09bc
jmp 0x582315
push 9
mov eax, ebx
call fcn.005333f8
push eax
call sub.USER32.DLL_ShowWindow
push 0xffffffffffffffff
push 0
mov eax, ebx
call fcn.005333f8
push eax
call sub.USER32.DLL_InvalidateRect
push 0x585
push 0
push 0
mov eax, ebx
call fcn.005333f8
push eax
call sub.USER32.DLL_RedrawWindow
call sym.StartupControl.exe__Sskinprovider_AeroIsEnabled_qqrv
test al, al
jne 0x5823d1
mov byte [ebp - 5], 1
call sym.StartupControl.exe__Acntutils_acGetAnimation_qqrv
mov ebx, eax
xor eax, eax
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
mov eax, dword [0x7b9688]
mov eax, dword [eax]
call fcn.00514c60
mov eax, ebx
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
jmp 0x5823d1
call sym.StartupControl.exe__Sskinprovider_AeroIsEnabled_qqrv
test al, al
je 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
cmp byte [eax + 0xcf], 0
jne 0x5823d1
mov eax, dword [0x7b9688]
mov eax, dword [eax]
mov esi, dword [eax + 0x40]
mov byte [ebp - 5], 1
call sym.StartupControl.exe__Acntutils_acGetAnimation_qqrv
mov ebx, eax
xor eax, eax
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
mov eax, dword [0x7b9688]
mov eax, dword [eax]
call fcn.00514c60
cmp byte [esi + 0x57], 0
jne 0x58239a
mov eax, esi
call fcn.00510ec4
mov eax, ebx
call sym.StartupControl.exe__Acntutils_acSetAnimation_qqrxo
push 0xffffffffffffffff
push 0
mov eax, esi
call fcn.005333f8
push eax
call sub.USER32.DLL_InvalidateRect
push 0x485
push 0
push 0
mov eax, esi
call fcn.005333f8
push eax
call sub.USER32.DLL_RedrawWindow
jmp 0x5823d1
mov byte [ebx + 0x115], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5823f3
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004c29f0
ret