Function at 0x4d6990
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x541494
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [0x5c7044]
mov esi, ecx
mov ecx, dword [eax + 0x20]
push 1
push ecx
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea edx, [esp + 0x34]
push edx
mov ebx, eax
call edi
lea eax, [esp + 0x24]
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
call edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
lea edx, [esp + 0x28]
push edx
push 0
push 0x30
mov edi, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test edi, edi
je 0x4d6a30
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, ebx
je 0x4d6a6d
push 0x68
lea ecx, [esp + 0x58]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x54]
push edx
push ebx
mov dword [esp + 0x5c], 0x68
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4d6a6d
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
lea edx, [esp + 0x34]
push edx
call ebx
test eax, eax
jne 0x4d6a9c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
jmp 0x4d6ac3
lea ecx, [esp + 0x24]
push ecx
call ebx
test eax, eax
jne 0x4d6ac3
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x64], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], edx
mov ebx, dword [0x5c7008]
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push str.SYS_WhatifyLocation
call fcn.00514350
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4d6aeb
mov dword [esi + 0x5c], eax
jmp 0x4d6d2a
test edi, edi
jne 0x4d6bdd
lea ebx, [edi + 2]
cmp dword [esp + 0x24], edi
je 0x4d6b05
mov dword [esi + 0x5c], 1
jmp 0x4d6b20
cmp dword [esp + 0x28], 0
je 0x4d6b15
mov dword [esi + 0x5c], 0
jmp 0x4d6b20
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x5c], ebx
lea ecx, [esp + 0x1c]
call dword [0x55a6c4]
mov dword [esp + 0x100], 0
mov ecx, dword [esi + 0x5c]
push ecx
push str.fallback
lea edx, [esp + 0x24]
push str.StartMenu_position_detection_method:__s__result:__d
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
cmp dword [0x5c7004], 0
je 0x4d6bc9
push 0x55ae9c
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x100], 1
push str.WNOT
lea ecx, [esp + 0x24]
call dword [0x55a504]
mov byte [esp + 0x100], bl
mov esi, dword [0x5c7004]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, 5
lea ebx, [esp + 0x24]
call fcn.00433ab0
mov byte [esp + 0x100], 1
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x100], 0
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x1c]
jmp 0x4d6d24
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
sub edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov edx, dword [esp + 0x48]
sub eax, edx
mov dword [esp + 0x14], eax
fidiv dword [esp + 0x14]
fstp dword [esp + 0x18]
fld1
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x4d6c1b
test edx, edx
jne 0x4d6c28
mov dword [esi + 0x5c], edx
jmp 0x4d6c2f
test ecx, ecx
jne 0x4d6c28
mov dword [esi + 0x5c], 1
jmp 0x4d6c2f
mov dword [esi + 0x5c], 2
lea ecx, [esp + 0x20]
call dword [0x55a6c4]
mov dword [esp + 0x100], 3
lea ecx, [esp + 0x1c]
call dword [0x55a6c4]
mov byte [esp + 0x100], 4
fld dword [esp + 0x18]
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x28]
push str.std___.2f_
push ecx
call edi
mov edx, dword [esi + 0x5c]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
push str.StartMenu_position_detection_method:__s__result:__d
push ecx
call edi
add esp, 0x20
cmp dword [0x5c7004], 0
je 0x4d6d03
push 0x55ae9c
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x100], 5
push str.WNOT
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x100], 6
mov esi, dword [0x5c7004]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, 5
lea ebx, [esp + 0x24]
call fcn.00433ab0
mov byte [esp + 0x100], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x100], 4
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00532776
mov esp, ebp
pop ebp
ret