Function at 0x486110
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4c4d26
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x3e0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3f8]
sub eax, 0x200
mov esi, ecx
je 0x486302
sub eax, 1
je 0x486209
sub eax, 3
jne 0x4863ea
mov eax, dword [0x4ec128]
push 0xdf
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push 0
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.00483700
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esi + 4]
push eax
push ecx
mov ebp, eax
call fcn.00482410
mov edx, dword [esp + 0x20]
add esp, 8
push 0
push ebx
push 0
push ebp
push eax
push 2
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, dword [esi + 4]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
test edi, edi
je 0x4863ea
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
push edi
call esi
test eax, eax
jne 0x4863ea
push edi
call esi
jmp 0x4863ea
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push ecx
call ebx
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_IsIconic]
je 0x486239
mov edx, dword [esi + 4]
push edx
call ebp
test eax, eax
jne 0x486239
push 1
push 1
mov ecx, esi
call fcn.004822a0
jmp 0x4863ea
add dword [0x4eb274], 1
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call ebx
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x486270
mov edx, dword [esi + 4]
push 5
push edx
call ebx
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esi + 4]
push edx
call ebp
test eax, eax
je 0x48628c
mov eax, dword [esi + 4]
push 9
push eax
call ebx
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48629a
mov edi, dword [esi + 4]
push edi
call ebp
test eax, eax
je 0x4862a9
mov ecx, dword [esi + 4]
push 9
push ecx
jmp 0x4862b3
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
push edi
call ebx
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4862d5
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4862d5
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4863ea
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4863ea
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call ebx
jmp 0x4863ea
mov edx, dword [0x4e702c]
mov dword [esp + 0x18], edx
xor ebx, ebx
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x3f0], ebx
call fcn.00485bd0
push eax
mov ecx, esi
call fcn.00484e00
mov ecx, dword [0x4e702c]
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x18]
mov edx, dword [esi + 0x34]
push ebp
push edx
lea eax, [esp + 0x1c]
push 0x4d0114
push eax
mov byte [esp + 0x3f8], 1
call fcn.00484260
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x34], 0x3b8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 4
mov dword [esp + 0x3c], 0x4e20
mov edi, dword [esi - 8]
add esp, 0x10
cmp edi, 0x3f
jle 0x486387
mov edi, 0x3f
push edi
lea edx, [esp + 0x40]
push esi
push edx
call fcn.004907a1
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 1
mov word [esp + edi*2 + 0x44], bx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4e7028]
je 0x4863cc
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x4863cc
push esi
call fcn.0048c37a
add esp, 4
lea edx, [ebp - 0xc]
cmp edx, dword [0x4e7028]
je 0x4863ea
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x4863ea
push esi
call fcn.0048c37a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.0048c010
add esp, 0x3d8
ret 0x10