Function at 0x4016a0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x854
mov eax, dword [0x40c1b0]
xor eax, ebp
mov dword [esp + 0x850], eax
xor eax, eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
xor ecx, ecx
mov dword [esp + 0x3d], eax
mov dword [esp + 0x19], ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [esp + 0x45], eax
mov dword [esp + 0x21], ecx
mov dword [esp + 0x49], eax
push esi
mov dword [esp + 0x29], ecx
push edi
mov byte [esp + 0x38], 0
mov word [esp + 0x55], ax
mov byte [esp + 0x24], al
mov dword [esp + 0x31], ecx
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.NotifyIconOverflowWindow
call esi
push 0
push str.ToolbarWindow32
push 0
push eax
call ebx
push 0
mov edi, eax
push str.Shell_TrayWnd
mov dword [esp + 0x20], edi
call esi
push 0
push str.TrayNotifyWnd
push 0
push eax
call ebx
push 0
push str.SysPager
push 0
push eax
call ebx
push 0
push str.ToolbarWindow32
push 0
push eax
call ebx
push 0
push 0
push 0x418
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x418
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x14], eax
xor eax, eax
mov word [esp + 0x58], 0
mov ecx, 0x1ff
lea edi, [esp + 0x5a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], edi
jl 0x40185a
lea ecx, [ecx]
lea edx, [esp + 0x58]
push edx
push edi
call fcn.00401210
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00401000
add esp, 0x10
test eax, eax
jl 0x401851
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017e8
sub eax, edx
je 0x401813
xor edx, edx
test eax, eax
jle 0x401813
lea esp, [esp]
mov cl, byte [esp + edx + 0x38]
cmp cl, 0x30
jl 0x401813
cmp cl, 0x39
jg 0x401813
inc edx
cmp edx, eax
jl 0x401800
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00402c00
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401830
sub eax, edx
mov dword [esp + 0x20], eax
je 0x401851
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00401d40
add esp, 8
inc edi
cmp edi, esi
jle 0x4017a0
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jl 0x401902
lea edx, [esp + 0x58]
push edx
push edi
call fcn.00401460
mov esi, eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x20], esi
call fcn.00401000
add esp, 0x10
test eax, eax
jl 0x4018f5
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4018b0
sub eax, edx
je 0x4018d4
xor edx, edx
test eax, eax
jle 0x4018d4
mov cl, byte [esp + edx + 0x38]
cmp cl, 0x30
jl 0x4018d4
cmp cl, 0x39
jg 0x4018d4
inc edx
cmp edx, eax
jl 0x4018c1
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00402c00
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00401d40
add esp, 8
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jle 0x401868
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401701