Function at 0x497ba8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x25c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_GetParent
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402db4
mov dword [ebp - 0x74], 0x3c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 1
jne 0x497c1e
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
mov eax, dword [eax + 0x4c]
mov ecx, 0xfffffffb
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x25c]
call fcn.004a5128
mov byte [ebp - 0x19], al
jmp 0x497c6c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 0
jne 0x497c52
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
mov eax, dword [eax + 0x4c]
mov ecx, 0xfffffffa
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x25c]
call fcn.004a5128
mov byte [ebp - 0x19], al
jmp 0x497c6c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 2
jne 0x497c6c
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0049819c
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x19]
mov edx, dword [ebp - 4]
mov byte [edx + 0x279], al
cmp byte [ebp - 0x19], 0
je 0x497ebb
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [ebp - 0x20], eax
test byte [ebp - 0x1d], 0x10
jne 0x497cbb
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 0
push 0
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_ShowWindow
jmp 0x497ebb
test dword [ebp - 0x50], 0x8000
jbe 0x497d01
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 1
jne 0x497ce2
push 0
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_ShowWindow
jmp 0x497cf2
push 0
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 0
jmp 0x497ebb
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x269], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x26d], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x271], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x275], edx
mov eax, dword [ebp - 0x2c]
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 1
jne 0x497da2
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x228], eax
jmp 0x497dae
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dword [edx + 0x228], eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
call fcn.00419e84
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x234], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x238], edx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_ScreenToClient
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x497dfd
xor eax, eax
mov dword [ebp - 0x10], eax
push 5
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 2
je 0x497e69
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_MoveWindow
jmp 0x497ebb
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
call fcn.00419e84
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00451d44
push eax
call sub.user32.dll_MoveWindow
pop edi
pop esi
mov esp, ebp
pop ebp
ret