Function at 0x46f960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
push edi
push eax
mov dword [esi + 0x50], 0
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x46f9b8
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push 0
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x4c]
push 0x407
push ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_SendMessageW]
movsx edx, di
shr edi, 0x10
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
mov edx, dword [esi + 4]
movsx eax, di
push ecx
push edx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp ebx, 0x200
jne 0x46fa3f
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne case.default.0x46faa2
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 4]
jne 0x46fa16
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.default.0x46faa2
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
mov esi, dword [esi + 0x24]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x84
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x46fa93
lea edx, [ebp - 8]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
mov edx, dword [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebx - 0x201]
cmp ecx, 8
ja case.default.0x46faa2
jmp dword [ecx*4 + 0x46fc00]
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa1
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa2
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa3
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa4
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa5
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa6
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa7
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa8
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx ecx, word [ebp - 4]
movzx edx, word [ebp - 8]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
push 0xa9
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc