Function at 0x52f24c
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.004033cc
mov dword [esp + 0x20], 0x3c
mov al, byte [esi + 0x24c]
cmp al, 1
jne 0x52f2a1
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 0x52f2d1
test al, al
jne 0x52f2c0
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 0x52f2d1
cmp al, 2
jne 0x52f2d1
lea edx, [esp + 0x20]
mov eax, esi
call fcn.0052f520
mov ebx, eax
mov byte [esi + 0x264], bl
test bl, bl
je 0x52f49a
test dword [esp + 0x44], 0x8000
jbe 0x52f304
push 0
mov eax, esi
call fcn.0048cc2c
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 0
jmp 0x52f49a
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.0041e1f0
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 0x52f3c8
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x210], eax
jmp 0x52f3d2
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 0x52f40d
xor ebx, ebx
push 5
mov eax, esi
call fcn.0048cc2c
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x264], 1
cmp byte [esi + 0x24c], 2
je 0x52f475
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.0048cc2c
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.0048cc2c
push eax
call sub.user32.dll_MoveWindow
jmp 0x52f49a
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.0048cc2c
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x5c
pop edi
pop esi
pop ebx
ret