Function at 0x481750
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 + 0x794], ebx
je 0x481989
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 0x4817ad
mov ecx, esi
call fcn.004825f0
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 + 0x794]
push edx
push eax
push ecx
call fcn.00481550
mov ebp, eax
mov eax, dword [esp + 0x30]
add esp, 0x20
cmp eax, ebx
je 0x4817fe
cmp dword [esi + 8], ebx
jne 0x4817fe
push 0x65
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.004809a0
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00481e90
mov ecx, dword [esi + 8]
mov edi, 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 eax, ebx
jne 0x48194d
cmp ebp, ebx
je 0x48195b
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48195b
cmp edi, ebx
je 0x48195b
cmp dword [esi + 0x34], ebx
jne 0x48195b
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x798], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], ecx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x38], 1
mov dword [esi + 0x2c], eax
call fcn.00482610
test eax, eax
je 0x481989
mov ecx, dword [esi + 0x794]
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.00446310
cmp eax, ebx
je 0x4818c6
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 0x48190d
mov edi, eax
cmp edx, ebx
jge 0x481916
lea edx, [ebx + 2]
jmp 0x481925
mov eax, dword [esp + 0x3c]
sub eax, ecx
add eax, 2
cmp edx, eax
jle 0x481925
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
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48196d
mov ecx, dword [esp + 0x24]
mov edi, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
cmp edi, eax
jne 0x481981
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