Function at 0x405c45
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push ebp
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]
test eax, eax
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
je 0x405ca3
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x4c]
push 0x407
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
call ebp
movsx edx, di
shr edi, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 4]
movsx eax, di
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp ebx, 0x200
jne 0x405d32
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne case.default.0x405d98
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 4]
jne 0x405d08
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.0x405d98
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
mov esi, dword [esi + 0x24]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x84
push esi
call ebp
cmp eax, 1
jne 0x405d89
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
mov edx, dword [esp + 0x3c]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
lea ecx, [ebx - 0x201]
cmp ecx, 8
ja case.default.0x405d98
jmp dword [ecx*4 + 0x405f10]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
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
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc