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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a7d5
mov eax, dword fs:[0]
push eax
mov eax, 0x14b8
call fcn.00628320
mov eax, dword [0x70c514]
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 0x5d9d15
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 0x5d9d15
cmp ecx, dword [ebp + eax*4 - 0x1420]
je 0x5d9d06
push dword [ebp + eax*4 - 0x1420]
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x5d9cfa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp - 0x1474]
call fcn.005d8177
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.005ba3de
push eax
lea eax, [ebp - 0x14a4]
mov byte [ebp - 4], 2
push eax
call fcn.005b6563
lea ecx, [ebp - 0x143c]
mov dword [ebp - 0x14b4], eax
add esp, 0x10
cmp ecx, eax
je 0x5d9b01
call fcn.00449330
push dword [ebp - 0x14b4]
lea ecx, [ebp - 0x143c]
call fcn.00449550
lea ecx, [ebp - 0x14a4]
call fcn.00449330
lea ecx, [ebp - 0x148c]
mov byte [ebp - 4], 1
call fcn.00449330
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 0x5d9b69
push str.Chrome
call fcn.0062eeb0
pop ecx
push eax
push str.Chrome
lea ecx, [ebp - 0x1454]
call fcn.00448f70
push 3
pop eax
jmp 0x5d9bd0
push str.firefox.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9b9e
push str.Firefox
call fcn.0062eeb0
pop ecx
push eax
push str.Firefox
lea ecx, [ebp - 0x1454]
call fcn.00448f70
xor eax, eax
inc eax
jmp 0x5d9bd0
push str.iexplore.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9bd8
push str.Internet_Explorer
call fcn.0062eeb0
pop ecx
push eax
push str.Internet_Explorer
lea ecx, [ebp - 0x1454]
call fcn.00448f70
xor eax, eax
mov dword [ebp - 0x1424], eax
jmp 0x5d9c15
push str.opera.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9c0f
push str.Opera
call fcn.0062eeb0
pop ecx
push eax
push str.Opera
lea ecx, [ebp - 0x1454]
call fcn.00448f70
push 2
jmp 0x5d9b66
mov eax, dword [ebp - 0x1424]
cmp dword [ebp - 0x1444], 0
jne 0x5d9c2a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5d9ce0
cmp eax, 3
jne 0x5d9c42
call fcn.005d8c4a
push eax
lea ecx, [ebp - 0x1474]
call fcn.00449300
jmp 0x5d9c95
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.005ba3de
mov esi, eax
lea eax, [ebp - 0x1474]
pop ecx
pop ecx
cmp eax, esi
je 0x5d9c8a
mov ecx, eax
call fcn.00449330
push esi
lea ecx, [ebp - 0x1474]
call fcn.00449550
lea ecx, [ebp - 0x148c]
call fcn.00449330
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x5d9cb8
lea eax, [ebp - 0x1474]
lea ecx, [esi + 8]
push eax
call fcn.005a7c59
test al, al
jne 0x5d9ce0
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [edi]
jne 0x5d9c9d
lea eax, [ebp - 0x14c4]
push eax
push dword [ebp - 0x145c]
lea ecx, [ebp - 0x145c]
call fcn.005d7c7d
lea eax, [ebp - 0x1474]
mov ecx, edi
push eax
push dword [edi]
call fcn.005d7d46
lea ecx, [ebp - 0x14bc]
call fcn.005a7c89
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1474]
call fcn.005d826c
mov ecx, dword [ebp - 0x14ac]
mov eax, dword [ebp - 0x14a8]
inc eax
mov dword [ebp - 0x14a8], eax
cmp eax, ebx
jb 0x5d9a4b
cmp dword [edi + 4], 0
je 0x5d9d27
push edi
push 0x5d8774
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.006281fa
leave
ret