Function at 0x5d827f
Capabilities:
Enumerate gui resources
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658c3c
mov eax, dword fs:[0]
push eax
mov eax, 0x14b8
call fcn.00626ba0
mov eax, dword [0x70a514]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x14b0]
push eax
push 0x1000
lea eax, [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x5d85c5
mov ebx, dword [ebp - 0x14b0]
shr ebx, 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14ac], ecx
mov dword [ebp - 0x14a8], eax
test ebx, ebx
je 0x5d85c5
cmp ecx, dword [ebp + eax*4 - 0x1420]
je 0x5d85b6
push dword [ebp + eax*4 - 0x1420]
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x5d85aa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp - 0x1474]
call fcn.005d6b1b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14bc]
call fcn.005a6931
and dword [ebp - 0x14c4], 0
or dword [ebp - 0x14c0], 0xffffffff
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.005b8bc8
push eax
lea eax, [ebp - 0x14a4]
mov byte [ebp - 4], 2
push eax
call fcn.005b4e2f
lea ecx, [ebp - 0x143c]
mov dword [ebp - 0x14b4], eax
add esp, 0x10
cmp ecx, eax
je 0x5d83b1
call fcn.00448620
push dword [ebp - 0x14b4]
lea ecx, [ebp - 0x143c]
call fcn.00448840
lea ecx, [ebp - 0x14a4]
call fcn.00448620
lea ecx, [ebp - 0x148c]
mov byte [ebp - 4], 1
call fcn.00448620
mov ecx, dword [ebp - 0x14a8]
push str.chrome.exe
mov dword [ebp - 0x14c4], esi
mov eax, dword [ebp + ecx*4 - 0x1420]
lea ecx, [ebp - 0x143c]
mov dword [ebp - 0x14c0], eax
call fcn.005a498d
test al, al
je 0x5d8419
push str.Chrome
call fcn.0062d730
pop ecx
push eax
push str.Chrome
lea ecx, [ebp - 0x1454]
call fcn.00448260
push 3
pop eax
jmp 0x5d8480
push str.firefox.exe
lea ecx, [ebp - 0x143c]
call fcn.005a498d
test al, al
je 0x5d844e
push str.Firefox
call fcn.0062d730
pop ecx
push eax
push str.Firefox
lea ecx, [ebp - 0x1454]
call fcn.00448260
xor eax, eax
inc eax
jmp 0x5d8480
push str.iexplore.exe
lea ecx, [ebp - 0x143c]
call fcn.005a498d
test al, al
je 0x5d8488
push str.Internet_Explorer
call fcn.0062d730
pop ecx
push eax
push str.Internet_Explorer
lea ecx, [ebp - 0x1454]
call fcn.00448260
xor eax, eax
mov dword [ebp - 0x1424], eax
jmp 0x5d84c5
push str.opera.exe
lea ecx, [ebp - 0x143c]
call fcn.005a498d
test al, al
je 0x5d84bf
push str.Opera
call fcn.0062d730
pop ecx
push eax
push str.Opera
lea ecx, [ebp - 0x1454]
call fcn.00448260
push 2
jmp 0x5d8416
mov eax, dword [ebp - 0x1424]
cmp dword [ebp - 0x1444], 0
jne 0x5d84da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5d8590
cmp eax, 3
jne 0x5d84f2
call fcn.005d7589
push eax
lea ecx, [ebp - 0x1474]
call fcn.004485f0
jmp 0x5d8545
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.005b8bc8
mov esi, eax
lea eax, [ebp - 0x1474]
pop ecx
pop ecx
cmp eax, esi
je 0x5d853a
mov ecx, eax
call fcn.00448620
push esi
lea ecx, [ebp - 0x1474]
call fcn.00448840
lea ecx, [ebp - 0x148c]
call fcn.00448620
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x5d8568
lea eax, [ebp - 0x1474]
lea ecx, [esi + 8]
push eax
call fcn.005a6cd6
test al, al
jne 0x5d8590
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [edi]
jne 0x5d854d
lea eax, [ebp - 0x14c4]
push eax
push dword [ebp - 0x145c]
lea ecx, [ebp - 0x145c]
call fcn.005d6621
lea eax, [ebp - 0x1474]
mov ecx, edi
push eax
push dword [edi]
call fcn.005d66ea
lea ecx, [ebp - 0x14bc]
call fcn.005a6d06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1474]
call fcn.005d6c10
mov ecx, dword [ebp - 0x14ac]
mov eax, dword [ebp - 0x14a8]
inc eax
mov dword [ebp - 0x14a8], eax
cmp eax, ebx
jb 0x5d82fb
cmp dword [edi + 4], 0
je 0x5d85d7
push edi
push 0x5d7108
call dword [sym.imp.USER32.dll_EnumWindows]
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.00626a7a
leave
ret