Function at 0x4070b5
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407333
mov eax, dword [esp + 0x78]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, eax
push 0
shr eax, 0x10
and ebp, 0xffff
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
call ebx
push 1
mov dword [esp + 0x7c], eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x78]
cmp edx, ecx
jl 0x407106
cmp eax, dword [esi + 0x78]
jge 0x407158
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x407158
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 4]
push 2
push edx
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, esi
call fcn.00408070
mov ecx, dword [esi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 8
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x407175
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jl 0x407189
mov ecx, dword [esp + 0x24]
sub ecx, eax
add edi, ecx
mov dword [esp + 0x14], edi
cmp ebp, dword [esp + 0x28]
jl 0x407194
inc ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x407329
test edi, edi
je 0x407329
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xc8]
mov ebx, ebp
mov dword [esi + 0x78], edi
sub ebx, edx
mov edx, dword [esi + 0xcc]
sub edi, eax
mov eax, dword [esi + 0x10]
add ebx, ecx
add edi, edx
mov dword [esi + 0x74], ebp
test eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
je 0x4071e9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x10], 0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
push ecx
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esi + 0xec]
test eax, eax
je 0x407271
mov edx, dword [esi + 0xf0]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x407271
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x407262
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x5c]
test eax, eax
je 0x407262
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push ecx
push ebx
mov ecx, edi
call dword [eax + 0x60]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x78], ecx
jmp 0x40722a
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4072eb
mov edx, dword [esi + 0x100]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x4072eb
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x4072dc
xor ebp, ebp
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4072d4
mov ecx, dword [ebx + 0x14]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x4072d4
mov edx, eax
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x4072d1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
test eax, eax
je 0x4072d1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x60]
inc ebp
jmp 0x407299
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x78], ecx
jmp 0x407277
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x4072fa
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [esi + 4]
push edi
push ebx
push 0x471
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], ecx
mov dword [esi + 0xcc], eax
mov dword [esi + 0x118], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 8