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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a3b4
mov eax, dword fs:[0]
push eax
mov eax, 0x14b8
call fcn.00627fd0
mov eax, dword [0x70b514]
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 0x5d99c2
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 0x5d99c2
cmp ecx, dword [ebp + eax*4 - 0x1420]
je 0x5d99b3
push dword [ebp + eax*4 - 0x1420]
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x5d99a7
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp - 0x1474]
call fcn.005d7e24
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14bc]
call fcn.005a78a1
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.005b9fe1
push eax
lea eax, [ebp - 0x14a4]
mov byte [ebp - 4], 2
push eax
call fcn.005b6171
lea ecx, [ebp - 0x143c]
mov dword [ebp - 0x14b4], eax
add esp, 0x10
cmp ecx, eax
je 0x5d97ae
call fcn.00449320
push dword [ebp - 0x14b4]
lea ecx, [ebp - 0x143c]
call fcn.00449540
lea ecx, [ebp - 0x14a4]
call fcn.00449320
lea ecx, [ebp - 0x148c]
mov byte [ebp - 4], 1
call fcn.00449320
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.005a58fd
test al, al
je 0x5d9816
push str.Chrome
call fcn.0062eb60
pop ecx
push eax
push str.Chrome
lea ecx, [ebp - 0x1454]
call fcn.00448f60
push 3
pop eax
jmp 0x5d987d
push str.firefox.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d984b
push str.Firefox
call fcn.0062eb60
pop ecx
push eax
push str.Firefox
lea ecx, [ebp - 0x1454]
call fcn.00448f60
xor eax, eax
inc eax
jmp 0x5d987d
push str.iexplore.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9885
push str.Internet_Explorer
call fcn.0062eb60
pop ecx
push eax
push str.Internet_Explorer
lea ecx, [ebp - 0x1454]
call fcn.00448f60
xor eax, eax
mov dword [ebp - 0x1424], eax
jmp 0x5d98c2
push str.opera.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d98bc
push str.Opera
call fcn.0062eb60
pop ecx
push eax
push str.Opera
lea ecx, [ebp - 0x1454]
call fcn.00448f60
push 2
jmp 0x5d9813
mov eax, dword [ebp - 0x1424]
cmp dword [ebp - 0x1444], 0
jne 0x5d98d7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5d998d
cmp eax, 3
jne 0x5d98ef
call fcn.005d88f7
push eax
lea ecx, [ebp - 0x1474]
call fcn.004492f0
jmp 0x5d9942
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.005b9fe1
mov esi, eax
lea eax, [ebp - 0x1474]
pop ecx
pop ecx
cmp eax, esi
je 0x5d9937
mov ecx, eax
call fcn.00449320
push esi
lea ecx, [ebp - 0x1474]
call fcn.00449540
lea ecx, [ebp - 0x148c]
call fcn.00449320
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x5d9965
lea eax, [ebp - 0x1474]
lea ecx, [esi + 8]
push eax
call fcn.005a7c59
test al, al
jne 0x5d998d
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [edi]
jne 0x5d994a
lea eax, [ebp - 0x14c4]
push eax
push dword [ebp - 0x145c]
lea ecx, [ebp - 0x145c]
call fcn.005d792a
lea eax, [ebp - 0x1474]
mov ecx, edi
push eax
push dword [edi]
call fcn.005d79f3
lea ecx, [ebp - 0x14bc]
call fcn.005a7c89
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1474]
call fcn.005d7f19
mov ecx, dword [ebp - 0x14ac]
mov eax, dword [ebp - 0x14a8]
inc eax
mov dword [ebp - 0x14a8], eax
cmp eax, ebx
jb 0x5d96f8
cmp dword [edi + 4], 0
je 0x5d99d4
push edi
push 0x5d8421
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.00627eaa
leave
ret