Function at 0x5da460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jne 0x5da47d
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sskinprovider_TacSBAnimation_MakeImg_qqrv
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jne 0x5da48e
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sskinprovider_TacSBAnimation_MakeForm_qqrv
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x5da68d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
je 0x5da68d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sskinprovider_TacSBAnimation_GetFormBounds_qqrv
lea eax, [ebp - 0x44]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
cmp eax, dword [ebp - 0x18]
je 0x5da515
lea eax, [ebp - 0x44]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x14]
sub edx, eax
sar edx, 1
jns 0x5da4f4
adc edx, 0
push edx
lea eax, [ebp - 0x44]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov edx, dword [ebp - 0x18]
sub edx, eax
sar edx, 1
jns 0x5da50b
adc edx, 0
push edx
lea eax, [ebp - 0x44]
push eax
call sub.USER32.DLL_InflateRect
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x5da531
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x18]
call fcn.004f0054
mov dword [ebp - 0x1c], eax
jmp 0x5da53a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
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 0x5da556
mov dword [ebp - 0xc], 0xffffffff
jmp 0x5da564
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 - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004c17d8
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004c1814
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004e674c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004e6780
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
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 + 0x70]
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 + 0x70]
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 + 0x70]
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 + 0x74]
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 + 0x70]
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 + 0x70]
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