Function at 0x466088
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.00402b38
mov dword [esp + 0x20], 0x3c
mov al, byte [esi + 0x24c]
cmp al, 1
jne 0x4660dd
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 0x46610d
test al, al
jne 0x4660fc
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 0x46610d
cmp al, 2
jne 0x46610d
lea edx, [esp + 0x20]
mov eax, esi
call fcn.0046635c
mov ebx, eax
mov byte [esi + 0x264], bl
test bl, bl
je 0x4662d6
test dword [esp + 0x44], 0x8000
jbe 0x466140
push 0
mov eax, esi
call fcn.0043f8e4
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 0
jmp 0x4662d6
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.00412e40
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 0x466204
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x210], eax
jmp 0x46620e
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 0x466249
xor ebx, ebx
push 5
mov eax, esi
call fcn.0043f8e4
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 1
cmp byte [esi + 0x24c], 2
je 0x4662b1
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.0043f8e4
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.0043f8e4
push eax
call sub.user32.dll_MoveWindow
jmp 0x4662d6
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.0043f8e4
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x5c
pop edi
pop esi
pop ebx
ret