Function at 0x4bb880
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x74
push edi
mov edi, ecx
mov eax, dword [edi + 0x4adc]
test eax, eax
jne 0x4bbaa5
mov eax, dword [edi + 0x4da4]
test eax, eax
je 0x4bbaa5
mov eax, dword [edi + 4]
push esi
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov esi, eax
mov eax, dword [edi + 0x4d18]
test eax, eax
je 0x4bb8bd
mov esi, eax
mov edx, dword [edi + 4]
push ebx
push ebp
push esi
lea ecx, [esp + 0x34]
push 1
push ecx
push edx
call fcn.004b1ae0
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0x10
test eax, eax
jne 0x4bb8eb
lea eax, [esp + 0x30]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 4]
push esi
lea ecx, [esp + 0x44]
push 0
push ecx
push edx
call fcn.004b1ae0
add esp, 0x10
test eax, eax
jne 0x4bb911
lea eax, [esp + 0x40]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x20]
push ecx
push edx
call ebp
push 0x500df0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ebx, 2
test esi, esi
mov dword [esp + 0x60], 0x24
mov dword [esp + 0x64], esi
je 0x4bb959
lea eax, [esp + 0x60]
push eax
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test bl, 2
je 0x4bb9d8
lea edx, [esp + 0x50]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_SubtractRect]
test bl, 1
je 0x4bb9e4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x4bb999
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4bb9e4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x4bb9ae
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
jmp 0x4bb9e4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x4bb9c3
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x4bb9e4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x4bb9e4
add eax, 0xfffffffe
mov dword [esp + 0x1c], eax
jmp 0x4bb9e4
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
call ebp
mov eax, dword [0x73eec4]
mov esi, dword [esp + 0x8c]
test eax, eax
pop ebp
pop ebx
jne 0x4bba04
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4bba46
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
sub eax, ecx
mov dword [esi + 0x20], eax
mov dword [esi + 8], eax
mov eax, dword [edi + 0x4d10]
test eax, eax
jle 0x4bba46
mov eax, dword [edi + 0x4d14]
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x4d10]
mov dword [esi + 0x20], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xc]
sub eax, ecx
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x4d10]
test eax, eax
jle 0x4bba7c
mov edx, dword [edi + 0x4d08]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x4d0c]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x4ac8]
mov eax, dword [esp + 0x88]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x4ac4]
mov dword [esi + 0x1c], edx
mov dword [eax], 1
pop esi
xor eax, eax
pop edi
add esp, 0x74
ret 0xc
xor eax, eax
pop edi
add esp, 0x74
ret 0xc