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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187a4c
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x101dd594]
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.10127e1e
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10150460
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.10150460
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.10084ef0
add esp, 0xc
mov dword [ebp - 0x26c], 0
lea eax, [ebp - 0x26c]
push eax
push 0x10084f50
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, dword [ebp - 0x26c]
jne 0x10085bd1
call fcn.10095fd0
test eax, eax
je 0x10085a64
mov ecx, ebx
call fcn.10085230
mov esi, eax
mov dword [ebp - 0x26c], esi
call fcn.100d1170
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10085a26
push 0x6a
mov dword [ebp - 0x278], ecx
mov byte [ebp - 0x288], cl
lea ecx, [ebp - 0x288]
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_rightsplugin_rightmenucrightclickmonitor.cpp
mov dword [ebp - 0x274], 0xf
call fcn.10019000
push 3
push 0x10193e24
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.10019000
mov byte [ebp - 4], 1
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x338]
push 0xa6
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.100167c0
mov esi, eax
push str.GetDesktopRightMenus:
push esi
mov byte [ebp - 4], 2
call fcn.100174d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x26c]
call fcn.10023390
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x338]
call fcn.10017580
mov edx, dword [ebp - 0x28c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100859c4
mov ecx, dword [ebp - 0x2a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100859ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085bf1
push edx
push ecx
call fcn.10127e1e
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 0x10085a20
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10085a16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085bf6
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov esi, dword [ebp - 0x26c]
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10085a42
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 0x10085bd1
mov dword [ebp - 0x26c], esi
lea edx, [ebp - 0x26c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
jmp 0x10085bd1
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 0x10085a87
inc esi
cmp esi, 0x14
jb 0x10085a66
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.10084ef0
add esp, 8
test edi, edi
je 0x10085bd1
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.10084ef0
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x274], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x27c], xmm0
call fcn.10085030
add esp, 0x10
mov esi, dword [ebp - 0x27c]
mov edi, esi
mov dword [ebp - 4], 3
cmp edi, dword [ebp - 0x278]
je 0x10085b42
nop
push dword [ebp - 0x270]
push dword [ebp - 0x290]
push edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x10085b91
add edi, 0x10
cmp edi, dword [ebp - 0x278]
jne 0x10085b20
push str.CRightClickMonitor::OnRightClick:_right_click_desktop_n
call fcn.10084ef0
mov edi, dword [ebp - 0x26c]
add esp, 4
add edi, 0xfffffff3
js 0x10085b9e
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10085b76
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 0x10085b9e
mov dword [ebp - 0x270], edi
lea edx, [ebp - 0x270]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
jmp 0x10085b9e
push str.right_click_icon_n
call fcn.10084ef0
add esp, 4
test esi, esi
je 0x10085bd1
mov ecx, dword [ebp - 0x274]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x10085bc7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085bfb
push ecx
push esi
call fcn.10127e1e
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.10128191
mov esp, ebp
pop ebp
ret 0x10
call fcn.10153963
call fcn.10153963
call fcn.10153963
int3