Function at 0x45b190
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [eax + 0xec], ebx
je 0x45b470
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x45b470
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call edi
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x45b46f
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x34]
push ecx
push eax
call esi
push ebx
push str.Button
push ebx
push dword [ebp - 0x38]
call edi
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x45b46e
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea ecx, [eax + 0xcc]
push edx
push ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [eax + 0xec]
test eax, eax
je 0x45b24b
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45b46e
xor eax, eax
mov dword [ebp - 0x48], ebx
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x45b2f1
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sar edi, 1
cdq
sub eax, edx
sar eax, 1
shl edi, 0x10
add edi, eax
push edi
push 1
push 0x201
push dword [ebp - 0x38]
call esi
push edi
push ebx
push 0x202
push dword [ebp - 0x38]
call esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x3c]
add eax, 0xcc
push eax
mov eax, dword [ebp - 0x3c]
call dword [eax + 0xec]
test eax, eax
je 0x45b325
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x45b31d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x34]
dec edx
push eax
mov dword [ebp - 0x3c], edx
call esi
test eax, eax
je 0x45b325
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push edi
push eax
call esi
test eax, eax
jne 0x45b46e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x45b462
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov esi, dword [sym.imp.USER32.dll_SendInput]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x64]
push eax
push 1
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], 2
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
push 1
fstp qword [ebp - 0x6c]
call edi
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
fld qword [0x4d8280]
sub eax, dword [ebp - 0x24]
fld st(0)
fdivrp st(2)
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fxch st(1)
fdiv qword [ebp - 0x6c]
fmulp st(1)
call fcn.0049bc10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fmulp st(1)
call fcn.0049bc10
mov dword [ebp - 0x5c], eax
push 0x1c
lea eax, [ebp - 0x64]
push eax
push 1
mov dword [ebp - 0x54], 0x8001
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0xc8
call edi
push 0x1c
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], 4
push 1
call esi
push 0xc8
call edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sar esi, 1
cdq
sub eax, edx
sar eax, 1
shl esi, 0x10
add esi, eax
push esi
push 1
push 0x201
push dword [ebp - 0x38]
call edi
push esi
push ebx
push 0x202
push dword [ebp - 0x38]
call edi
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_SetCursorPos]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret