Function at 0x4cff64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffa4
mov esi, eax
mov eax, edx
mov dword [esi + 0x240], eax
push eax
call sub.user32.dll_GetParent
mov edi, eax
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402dd4
mov dword [esp + 0x20], 0x3c
mov al, byte [esi + 0x24c]
cmp al, 1
jne 0x4cffb9
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffffb
mov eax, dword [esi + 0x240]
push eax
call sub.user32.dll_GetScrollBarInfo
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4cffe9
test al, al
jne 0x4cffd8
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffffa
mov eax, dword [esi + 0x240]
push eax
call sub.user32.dll_GetScrollBarInfo
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4cffe9
cmp al, 2
jne 0x4cffe9
lea edx, [esp + 0x20]
mov eax, esi
call fcn.004d0238
mov ebx, eax
mov byte [esi + 0x264], bl
test bl, bl
je 0x4d01b2
test dword [esp + 0x44], 0x8000
jbe 0x4d001c
push 0
mov eax, esi
call fcn.0045db34
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 0
jmp 0x4d01b2
push esi
push edi
lea esi, [esp + 0x2c]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
push esp
mov eax, dword [esi + 0x240]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [esp]
mov dword [esi + 0x24d], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x251], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
push esp
mov eax, dword [esi + 0x240]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [esp]
mov dword [esi + 0x255], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x259], eax
mov ecx, esp
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.0041bee8
mov eax, dword [esp]
mov dword [esi + 0x21c], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x220], eax
push esp
push edi
call sub.user32.dll_ScreenToClient
mov eax, dword [esp + 0x14]
neg eax
push eax
mov eax, dword [esp + 0x14]
neg eax
push eax
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_OffsetRect
cmp dword [esi + 0x234], 1
jne 0x4d00e0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x210], eax
jmp 0x4d00ea
mov eax, dword [esp + 0x18]
mov dword [esi + 0x210], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
push 1
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x240]
push eax
push 0
call sub.user32.dll_MapWindowPoints
push 3
mov eax, dword [esi + 0x240]
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x4d0125
xor ebx, ebx
push 5
mov eax, esi
call fcn.0045db34
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 1
cmp byte [esi + 0x24c], 2
je 0x4d018d
push 8
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push ebx
mov eax, esi
call fcn.0045db34
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.0045db34
push eax
call sub.user32.dll_MoveWindow
jmp 0x4d01b2
push 8
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.0045db34
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x5c
pop edi
pop esi
pop ebx
ret