Function at 0x49b090
Capabilities:
Find taskbar

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50d668
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x20], ebp
je 0x49b501
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], 1
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x6c]
cmp eax, 0xa
jne 0x49b136
mov edi, dword [esi + 0x68]
mov ebx, eax
dec ebx
mov dword [esp + 0x58], edi
lea ecx, [edi + 4]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
add edi, 0x14
mov ecx, ebp
dec ebp
mov dword [esp + 0x58], edi
test ecx, ecx
jne 0x49b0f0
test ebx, ebx
je 0x49b133
mov eax, dword [esi + 0x68]
lea edx, [ebx + ebx*4]
shl edx, 2
lea ecx, [eax + 0x14]
push edx
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [esi + 0x6c]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x20]
push edx
call fcn.004c8322
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push eax
call fcn.004c8322
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
sub esp, 0x14
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], esp
mov edi, esp
push ecx
mov ecx, edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], edi
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x38]
lea ecx, [edi + 4]
push edx
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x50], 1
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x40]
mov dword [edi + 0xc], ecx
mov edx, dword [esp + 0x44]
lea ecx, [esi + 0x64]
mov dword [edi + 0x10], edx
call fcn.0049b9e0
mov eax, dword [esi + 0x6c]
mov ecx, esi
dec eax
push eax
mov dword [esi + 0x78], eax
call fcn.0049b040
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebp, eax
call edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
cmp ecx, 5
jge 0x49b235
mov eax, dword [esp + 0x18]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x49b235
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xbc]
cdq
xor eax, edx
sub eax, edx
xor edx, edx
cmp eax, 5
setge dl
dec edx
and edx, 0xfffffffe
add edx, 3
mov dword [esi + 0x84], edx
jmp 0x49b24f
xor eax, eax
cmp ecx, 5
setge al
mov ecx, dword [esi + 0xb8]
dec eax
and al, 0xfe
add eax, 2
mov dword [esi + 0x84], eax
mov ebx, dword [esi + 0x98]
mov edi, dword [esi + 0x88]
cmp ebx, edi
jbe 0x49b292
mov eax, ebx
xor edx, edx
div edi
shr eax, 1
cmp eax, ecx
mov ebp, eax
jb 0x49b26f
mov ebp, ecx
test ebp, ebp
jne 0x49b278
mov ebp, 1
mov eax, ebx
xor edx, edx
div ebp
xor edx, edx
mov dword [esi + 0x90], eax
mov eax, ecx
div ebp
mov dword [esi + 0xb0], eax
jmp 0x49b29e
mov dword [esi + 0x90], edi
mov dword [esi + 0xb0], ecx
mov ebp, dword [esi + 0x9c]
cmp ebp, edi
jbe 0x49b2dd
mov eax, ebp
xor edx, edx
div edi
shr eax, 1
cmp eax, ecx
mov edi, eax
jb 0x49b2b8
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x49b2c3
mov edi, 1
mov eax, ebp
xor edx, edx
div edi
xor edx, edx
mov dword [esi + 0x94], eax
mov eax, ecx
div edi
mov dword [esi + 0xb4], eax
jmp 0x49b2eb
mov dword [esi + 0x90], edi
mov dword [esi + 0xb4], ecx
xor ebx, ebx
mov eax, dword [esi + 0x80]
cmp eax, 3
ja case.default.0x49b2fa
jmp dword [eax*4 + 0x49b518]
mov eax, dword [esi + 0x84]
cmp eax, 2
jne 0x49b336
mov eax, dword [esi + 0xbc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
sub edx, eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], eax
jmp 0x49b3a5
cmp eax, ebx
jne 0x49b364
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0xbc]
sub ecx, eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xac], eax
jmp 0x49b3a5
mov ecx, dword [esp + 0x18]
cmp eax, 1
mov eax, dword [esi + 0xb8]
jne 0x49b387
mov edx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], edx
jmp 0x49b399
sub ecx, eax
mov dword [esi + 0xa0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ebx
push 4
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esi + 0x90]
mov edx, dword [esi + 0x20]
push ebx
push eax
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x49b2fa
mov eax, dword [esi + 0x20]
push 0x105
push ebx
push ebx
push eax
jmp 0x49b4d9
mov ecx, dword [esi + 0x20]
push 0x105
push ebx
push ebx
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [esi + 0x20]
push 2
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x8c]
push ebx
push eax
mov eax, dword [esi + 0x20]
push 2
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x49b2fa
mov ecx, dword [esi + 0x20]
push 3
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x20]
push ebx
push eax
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0x84]
cmp eax, 2
jne 0x49b452
mov eax, dword [esi + 0xb8]
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa0], ecx
jmp 0x49b4a3
cmp eax, ebx
jne 0x49b46e
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa8], eax
jmp 0x49b4a3
cmp eax, 1
jne 0x49b48b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xbc]
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xac], edx
jmp 0x49b4a3
mov eax, dword [esi + 0xbc]
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xa4], ecx
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xa4]
push 0x10
push edx
mov edx, dword [esi + 0xa0]
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [esi + 0x20]
push 0x105
push ebx
push ebx
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 0x18