Function at 0x409f60
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xf0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
push 0
lea eax, [ebp - 0x90]
push 0
push eax
mov dword [esi + 0xc], edx
call fcn.0041f520
mov ebx, dword [ebp + 0x14]
add esp, 0xc
mov eax, ebx
cmp ebx, 8
ja case.0x409fae.1
movzx ecx, byte [ebx + 0x40a568]
jmp dword [ecx*4 + 0x40a558]
push 0
push 3
lea edx, [ebp - 0x90]
push edx
mov ecx, edi
call fcn.00409d00
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 8]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov dword [esi], 0
sub eax, dword [ebp - 8]
sub eax, ecx
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov dword [esi + 8], eax
sub ecx, edx
sub ecx, dword [ebp - 0xc]
mov dword [esi + 4], 0
mov dword [esi + 0xc], ecx
mov eax, 1
mov ecx, dword [ebp + 0xc]
lea edx, [ecx - 2]
cmp edx, 0xb
ja case.default.0x40a463
movzx edx, byte [edx + 0x40a584]
jmp dword [edx*4 + 0x40a574]
mov eax, dword [ebp + 0xc]
cmp eax, 4
ja case.default.0x40a463
jmp dword [eax*4 + 0x40a590]
mov eax, dword [ebp + 0x1c]
push 0
or eax, 0x53
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, edi
call fcn.00409d00
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
test ecx, ecx
jne 0x40a05f
test edx, edx
je 0x40a064
add ecx, edx
add dword [esi + 8], ecx
test eax, eax
jne 0x40a070
test edi, edi
je case.default.0x40a463
add eax, edi
add dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x1c]
push 0
push edx
lea eax, [ebp - 0xd0]
push eax
jmp 0x40a045
mov ecx, dword [ebp + 0x1c]
push 0
push ecx
lea edx, [ebp - 0xe0]
push edx
jmp 0x40a045
mov eax, dword [ebp + 0x1c]
push 0
or eax, 0x50
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, edi
call fcn.00409d00
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add dword [esi + 4], ecx
add dword [esi + 0xc], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x50b3a4]
call fcn.00450de0
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
imul eax, ecx
mov ecx, dword [0x50b3a4]
push eax
call fcn.00450dc0
mov edx, dword [ebx + 8]
sub edx, dword [ebx]
imul eax, edx
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0041f520
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
add esp, 0xc
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
push 0
push 0xa0
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
mov dword [esi + 0xc], edx
call fcn.00409d00
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x40a14b
test ecx, ecx
je 0x40a150
add eax, ecx
add dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
test eax, eax
jne 0x40a15e
test ecx, ecx
je 0x40a163
add eax, ecx
add dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp eax, 6
je case.default.0x40a463
push 0x10
push 0
push 6
push esi
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, edi
call fcn.00409f60
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x50b3a0]
cmp byte [ecx + 0x11332], 1
jne 0x40a1e9
cmp byte [ecx + 0x11294], 0
je 0x40a1c7
call fcn.00404c60
mov ebx, eax
jmp 0x40a1c9
xor ebx, ebx
mov ecx, dword [edi + 0x4234]
call fcn.004923f0
mov ecx, dword [esi + 0xc]
sub ecx, ebx
sub ecx, eax
mov dword [esi + 4], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 0x4234]
call fcn.004923f0
add eax, dword [esi + 4]
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x1c]
push 0
or edx, 0x50
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.00409d00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
test ecx, ecx
je 0x40a22d
add dword [esi], ecx
test edx, edx
je 0x40a234
add dword [esi + 4], edx
test edi, edi
je 0x40a23b
sub dword [esi + 8], edi
test eax, eax
je case.default.0x40a463
sub dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [esi]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
push ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.004a1310
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
add esp, 0x24
mov dword [esi + 0xc], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
mov dword [ebp - 0x38], 0x28
call fcn.00412480
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff6
cmp eax, 3
ja case.default.0x40a463
jmp dword [eax*4 + 0x40a5a4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], ecx
push 0
push 1
lea ecx, [ebp - 0x10]
push ecx
mov dword [esi + 8], edx
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.00409d00
mov eax, dword [ebp - 8]
add dword [esi + 8], eax
mov edx, dword [ebp - 0x10]
sub dword [esi], edx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
sub dword [esi + 4], ecx
add dword [esi + 0xc], edx
xor eax, eax
push eax
push str.Shell_TrayWnd
push eax
push eax
mov dword [ebp - 0x5c], 0x24
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
call edi
mov dword [ebp - 0x58], eax
test eax, eax
je case.default.0x40a463
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x90]
push ecx
push eax
call ebx
test eax, eax
je 0x40a3e2
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x40a403
mov edx, dword [ebp - 0x58]
push 0
push str.Shell_TrayWnd
push edx
push 0
call edi
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x40a3b8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp - 0x58], 0
je case.default.0x40a463
mov edi, dword [sym.imp.SHELL32.dll_SHAppBarMessage]
lea eax, [ebp - 0x5c]
push eax
push 4
call edi
test al, 1
je case.default.0x40a463
mov ecx, dword [ebp - 0x58]
xor eax, eax
lea edx, [ebp - 0x80]
push edx
push 5
mov dword [ebp - 0x80], 0x24
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
call edi
test eax, eax
je case.default.0x40a463
mov eax, dword [ebp - 0x74]
cmp eax, 3
ja case.default.0x40a463
jmp dword [eax*4 + 0x40a5b4]
inc dword [esi]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
dec dword [esi + 8]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
inc dword [esi + 4]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
dec dword [esi + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x50b39c]
xor eax, eax
xor edx, edx
mov ebx, eax
mov edi, eax
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x40a4d1
mov ebx, dword [ecx + 0x50b0]
mov edx, dword [ecx + 0x50a4]
mov eax, dword [ecx + 0x50a8]
mov edi, dword [ecx + 0x50ac]
mov dword [ebp - 4], ebx
mov ecx, edi
sub ecx, edx
sub ebx, eax
test ecx, ecx
jle 0x40a536
test ebx, ebx
jle 0x40a536
mov dword [esi], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov edx, dword [esi + 8]
mov eax, dword [ebp - 0x24]
add edx, 0x1e
cmp edx, eax
jle 0x40a504
mov edx, dword [esi]
add edx, 0x1e
cmp edx, dword [ebp - 0x1c]
jl 0x40a50b
mov dword [esi], eax
add eax, ecx
mov dword [esi + 8], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
add ecx, 0x1e
cmp ecx, eax
jle 0x40a523
mov edx, dword [esi + 4]
add edx, 0x1e
cmp edx, dword [ebp - 0x18]
jl case.default.0x40a463
mov dword [esi + 4], eax
add eax, ebx
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18