Function at 0x1005b560
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018298c
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push 0xc
push eax
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [ebp - 0x294], xmm0
mov dword [ebp - 0x270], ecx
call fcn.1012659a
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1014de30
mov esi, dword [ebp - 0x294]
lea eax, [ebp - 0xd8]
add esp, 0x14
push 0x64
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xc8
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x1a0]
push 0x64
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x1a0]
push eax
push str.class_name:__s__window_name:__s_n
call fcn.1005acb0
add esp, 0xc
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x26c]
push eax
push 0x1005ad10
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, dword [ebp - 0x26c]
jne 0x1005b981
call fcn.10098170
test eax, eax
je 0x1005b814
mov ecx, ebx
call fcn.1005b080
mov esi, eax
mov dword [ebp - 0x26c], esi
call fcn.100ca860
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1005b7d6
push 0x62
mov dword [ebp - 0x278], ecx
mov byte [ebp - 0x288], cl
lea ecx, [ebp - 0x288]
push str.d:jenkins.jenkinsworkspacepcmanage_ownpop_native_rightsplugin_rightmenucrightclickmonitor.cpp
mov dword [ebp - 0x274], 0xf
call fcn.10044b60
push 3
push 0x1019eb18
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.10044b60
mov byte [ebp - 4], 1
call fcn.100ca860
mov edi, eax
lea ecx, [ebp - 0x338]
push 0xb7
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.100461a0
mov esi, eax
push str.GetDesktopRightMenus:
push esi
mov byte [ebp - 4], 2
call fcn.10047780
add esp, 8
mov ecx, esi
push dword [ebp - 0x26c]
call fcn.1004e490
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x338]
call fcn.100478a0
mov edx, dword [ebp - 0x28c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1005b774
mov ecx, dword [ebp - 0x2a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b76a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b9a1
push edx
push ecx
call fcn.1012659a
add esp, 8
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1005b7d0
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b7c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b9a6
push edx
push ecx
call fcn.1012659a
add esp, 8
mov esi, dword [ebp - 0x26c]
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1005b7f2
push 0
push esi
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x1005b981
mov dword [ebp - 0x26c], esi
lea edx, [ebp - 0x26c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
jmp 0x1005b981
xor esi, esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.32768
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
jne 0x1005b837
inc esi
cmp esi, 0x14
jb 0x1005b816
push 0x64
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x268]
push eax
push str.Foreground_Window_Class:__s_n
call fcn.1005acb0
add esp, 8
test edi, edi
je 0x1005b981
push 0
push 0
push 0x1e1
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push eax
push esi
push str.hmenu:_0x_x__menu_count:__d_n
mov dword [ebp - 0x26c], eax
call fcn.1005acb0
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x274], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x27c], xmm0
call fcn.1005ae80
add esp, 0x10
mov esi, dword [ebp - 0x27c]
mov edi, esi
mov dword [ebp - 4], 3
cmp edi, dword [ebp - 0x278]
je 0x1005b8f2
nop
push dword [ebp - 0x270]
push dword [ebp - 0x290]
push edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1005b941
add edi, 0x10
cmp edi, dword [ebp - 0x278]
jne 0x1005b8d0
push str.CRightClickMonitor::OnRightClick:_right_click_desktop_n
call fcn.1005acb0
mov edi, dword [ebp - 0x26c]
add esp, 4
add edi, 0xfffffff3
js 0x1005b94e
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1005b926
push 0
push edi
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x1005b94e
mov dword [ebp - 0x270], edi
lea edx, [ebp - 0x270]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
jmp 0x1005b94e
push str.right_click_icon_n
call fcn.1005acb0
add esp, 4
test esi, esi
je 0x1005b981
mov ecx, dword [ebp - 0x274]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1005b977
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b9ab
push ecx
push esi
call fcn.1012659a
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret 0x10
call fcn.101513dc
call fcn.101513dc
call fcn.101513dc
int3