Function at 0x4099d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
cmp eax, 0x201
push ebp
push esi
push edi
mov ebp, ecx
je 0x409c48
push ebx
lea eax, [esp + 0x1c]
push 0x4000
push eax
call dword [sym.imp.SHELL32.dll_SHGetSettings]
mov ecx, dword [ebp + 0x1018]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x13
mov esi, eax
call fcn.00402000
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
add esp, 4
push eax
push 0
push 0x403
push esi
call edi
push 0
push 0
push 0xc00
push esi
call edi
push 0x19
call fcn.004021f0
mov edx, dword [0x429f54]
add esp, 4
neg edx
sbb edx, edx
push eax
and edx, 8
push 0x2b67
or dh, 4
push edx
push esi
call edi
push 0x3c
call fcn.004021f0
add esp, 4
push eax
mov eax, dword [esp + 0x20]
and eax, 0x1000
push 1
or eax, 0x80000
shr eax, 9
push eax
push esi
call edi
push 0x2f
call fcn.004021f0
add esp, 4
neg ebx
sbb ebx, ebx
push eax
and ebx, 0xfffffff8
push 3
add ebx, 8
or bh, 4
push ebx
push esi
call edi
push 0x14
call fcn.004021f0
add esp, 4
push eax
push 2
push 0x400
push esi
call edi
push 0
push 0
push 0xc00
push esi
call edi
push 0x32
call fcn.004021f0
add esp, 4
push eax
push 0x8016
push 0x400
push esi
call edi
push 0
push 0
push 0xc00
push esi
call edi
push 0x3e
call fcn.004021f0
add esp, 4
push eax
push 0x16
push 0x400
push esi
call edi
push 0x3f
call fcn.004021f0
add esp, 4
push eax
push 0x21
push 0x400
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp + 0x1018]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0x1018]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push eax
push 0
push ecx
push edx
push 0x100
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, 1
pop ebx
jne 0x409b96
mov edi, dword [0x429f78]
mov ecx, dword [ebp + 0x1018]
xor eax, eax
push 0
test edi, edi
sete al
push eax
push 0xf1
push 0x412
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
mov edx, dword [ebp + 0x1018]
push 0
push 0x412
push 0x111
push edx
call esi
pop edi
pop esi
pop ebp
add esp, 8
ret 4
cmp eax, 0x16
jne 0x409bab
mov ecx, ebp
call fcn.00406ca0
pop edi
pop esi
pop ebp
add esp, 8
ret 4
cmp eax, 0x21
jne 0x409bc0
mov ecx, ebp
call fcn.00406c80
pop edi
pop esi
pop ebp
add esp, 8
ret 4
cmp eax, 0x2b67
jne 0x409c15
mov edi, dword [0x429f54]
mov ecx, dword [ebp + 0x1018]
xor eax, eax
push 0
test edi, edi
sete al
push eax
push 0xf1
push 0x3f6
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
mov edx, dword [ebp + 0x1018]
push 0
push 0x3f6
push 0x111
push edx
call esi
pop edi
pop esi
pop ebp
add esp, 8
ret 4
cmp eax, 0x8016
jne 0x409c3a
push 0
push eax
mov eax, dword [ebp + 0x1018]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
add esp, 8
ret 4
cmp eax, 2
je 0x409c59
cmp eax, 3
jne 0x409cd4
mov ecx, dword [ebp + 0x1018]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x409cc5
mov edx, dword [ebp + 0x1018]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x1018]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call esi
mov ecx, dword [ebp + 0x1018]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ecx
call esi
mov edx, dword [ebp + 0x1018]
push 3
push 0
push 0
push 0
push 0
push 0
push edx
call esi
mov eax, dword [ebp + 0x1018]
push eax
call fcn.00409e70
add esp, 4
pop edi
pop esi
pop ebp
add esp, 8
ret 4
mov ecx, dword [ebp + 0x1018]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
add esp, 8
ret 4