Function at 0x477efc
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.00402b50
mov dword [esp + 0x20], 0x3c
mov al, byte [esi + 0x24c]
cmp al, 1
jne 0x477f51
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 0x477f81
test al, al
jne 0x477f70
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 0x477f81
cmp al, 2
jne 0x477f81
lea edx, [esp + 0x20]
mov eax, esi
call fcn.004781d0
mov ebx, eax
mov byte [esi + 0x264], bl
test bl, bl
je 0x47814a
test dword [esp + 0x44], 0x8000
jbe 0x477fb4
push 0
mov eax, esi
call fcn.00450f80
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 0
jmp 0x47814a
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.004134c8
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 0x478078
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x210], eax
jmp 0x478082
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 0x4780bd
xor ebx, ebx
push 5
mov eax, esi
call fcn.00450f80
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 1
cmp byte [esi + 0x24c], 2
je 0x478125
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.00450f80
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.00450f80
push eax
call sub.user32.dll_MoveWindow
jmp 0x47814a
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.00450f80
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x5c
pop edi
pop esi
pop ebx
ret