Function at 0x481c30
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 0x481e5e
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 0x481c8d
mov ecx, esi
call fcn.00482ab0
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.00481a30
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x20
cmp eax, ebx
je 0x481cde
cmp dword [esi + 8], ebx
jne 0x481cde
push 0x65
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.00481030
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00482360
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 0x481e1e
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x481e1e
cmp ebp, ebx
je 0x481e1e
cmp dword [esi + 0x34], ebx
jne 0x481e1e
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.00482ad0
test eax, eax
je 0x481e5e
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.00446c40
cmp eax, ebx
je 0x481d97
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 0x481dde
mov edi, eax
cmp edx, ebx
jge 0x481de7
lea edx, [ebx + 2]
jmp 0x481df6
mov eax, dword [esp + 0x3c]
sub eax, ecx
add eax, 2
cmp edx, eax
jle 0x481df6
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 0x481e30
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x481e42
mov ecx, dword [esp + 0x24]
mov edi, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
cmp edi, eax
jne 0x481e56
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