Function at 0x651460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jne 0x65147d
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Actitlebar_TacItemAnimation_MakeImg_qqrv
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
jne 0x65148e
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Actitlebar_TacItemAnimation_MakeForm_qqrv
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
je 0x65167c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x65167c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Actitlebar_TacItemAnimation_GetFormBounds_qqrv
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x18]
je 0x651505
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x38]
sar eax, 1
jns 0x6514ea
adc eax, 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x6514fb
adc eax, 0
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.USER32.DLL_InflateRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0xdc], 0
je 0x65152a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0xdc]
call fcn.004f0054
mov dword [ebp - 0x1c], eax
jmp 0x651533
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x65154f
mov dword [ebp - 0xc], 0xffffffff
jmp 0x65155d
push 3
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0x610
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004c17d8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004c1814
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004e674c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004e6780
lea ecx, [ebp - 0x28]
xor edx, edx
xor eax, eax
call fcn.0041c13c
mov al, byte [ebp - 8]
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x10]
or eax, 2
or eax, 1
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004f0054
push eax
call sub.USER32.DLL_SetWindowPos
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x20], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004f0054
push eax
call sub.USER32.DLL_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004f0054
push eax
call sub.USER32.DLL_SetWindowLongW
push 2
lea eax, [ebp - 0x2c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004abe84
call fcn.004a65ec
push eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004f0054
push eax
mov eax, dword [sym.DatCutter.exe__Sgraphutils_UpdateLayeredWindow]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004f0054
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 0x20]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
mov esp, ebp
pop ebp
ret