Function at 0x4c1774
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.004032a4
mov dword [esp + 0x20], 0x3c
mov al, byte [esi + 0x24c]
cmp al, 1
jne 0x4c17c9
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 0x4c17f9
test al, al
jne 0x4c17e8
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 0x4c17f9
cmp al, 2
jne 0x4c17f9
lea edx, [esp + 0x20]
mov eax, esi
call fcn.004c1a48
mov ebx, eax
mov byte [esi + 0x264], bl
test bl, bl
je 0x4c19c2
test dword [esp + 0x44], 0x8000
jbe 0x4c182c
push 0
mov eax, esi
call fcn.0047db1c
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 0
jmp 0x4c19c2
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.00419934
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 0x4c18f0
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x210], eax
jmp 0x4c18fa
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 0x4c1935
xor ebx, ebx
push 5
mov eax, esi
call fcn.0047db1c
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 1
cmp byte [esi + 0x24c], 2
je 0x4c199d
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.0047db1c
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.0047db1c
push eax
call sub.user32.dll_MoveWindow
jmp 0x4c19c2
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.0047db1c
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x5c
pop edi
pop esi
pop ebx
ret