Function at 0x481fb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x788], ebx
je 0x4821de
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 8], eax
je 0x48200d
mov ecx, esi
call fcn.00482e30
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x788]
push edx
push eax
push ecx
call fcn.00481db0
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x20
cmp eax, ebx
je 0x48205e
cmp dword [esi + 8], ebx
jne 0x48205e
push 0x65
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.004813b0
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004826e0
mov ecx, dword [esi + 8]
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
cmp edi, ebx
je 0x48219e
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x48219e
cmp ebp, ebx
je 0x48219e
cmp dword [esi + 0x34], ebx
jne 0x48219e
mov eax, dword [esp + 0x18]
mov dword [esi + 0x78c], ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esi + 0x30], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.00482e50
test eax, eax
je 0x4821de
mov ecx, dword [esi + 0x788]
xor edx, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x3c], edx
call fcn.00447520
cmp eax, ebx
je 0x482117
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
sub edx, eax
sub ecx, ebp
mov ebp, dword [esp + 0x20]
add edx, edi
mov edi, dword [esp + 0x1c]
lea edi, [edx + edi + 2]
mov edx, ebx
sub edx, ecx
lea edx, [edx + ebp + 2]
mov ebp, dword [esp + 0x38]
sub ebp, eax
lea eax, [ebp + 2]
cmp edi, eax
jle 0x48215e
mov edi, eax
cmp edx, ebx
jge 0x482167
lea edx, [ebx + 2]
jmp 0x482176
mov eax, dword [esp + 0x3c]
sub eax, ecx
add eax, 2
cmp edx, eax
jle 0x482176
mov edx, eax
mov ecx, dword [esi + 8]
push 0x55
push 0
push 0
push edx
push edi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp eax, ebx
je 0x4821b0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4821c2
mov ecx, dword [esp + 0x24]
mov edi, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
cmp edi, eax
jne 0x4821d6
mov edx, dword [esi + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret