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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65aa57
mov eax, dword fs:[0]
push eax
mov eax, 0x14b8
call fcn.00628570
mov eax, dword [0x70d514]
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 0x5d9f77
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 0x5d9f77
cmp ecx, dword [ebp + eax*4 - 0x1420]
je 0x5d9f68
push dword [ebp + eax*4 - 0x1420]
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x5d9f5c
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp - 0x1474]
call fcn.005d8515
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.005ba695
push eax
lea eax, [ebp - 0x14a4]
mov byte [ebp - 4], 2
push eax
call fcn.005b66b1
lea ecx, [ebp - 0x143c]
mov dword [ebp - 0x14b4], eax
add esp, 0x10
cmp ecx, eax
je 0x5d9d63
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 0x5d9dcb
push str.Chrome
call fcn.0062f100
pop ecx
push eax
push str.Chrome
lea ecx, [ebp - 0x1454]
call fcn.00448f70
push 3
pop eax
jmp 0x5d9e32
push str.firefox.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9e00
push str.Firefox
call fcn.0062f100
pop ecx
push eax
push str.Firefox
lea ecx, [ebp - 0x1454]
call fcn.00448f70
xor eax, eax
inc eax
jmp 0x5d9e32
push str.iexplore.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9e3a
push str.Internet_Explorer
call fcn.0062f100
pop ecx
push eax
push str.Internet_Explorer
lea ecx, [ebp - 0x1454]
call fcn.00448f70
xor eax, eax
mov dword [ebp - 0x1424], eax
jmp 0x5d9e77
push str.opera.exe
lea ecx, [ebp - 0x143c]
call fcn.005a58fd
test al, al
je 0x5d9e71
push str.Opera
call fcn.0062f100
pop ecx
push eax
push str.Opera
lea ecx, [ebp - 0x1454]
call fcn.00448f70
push 2
jmp 0x5d9dc8
mov eax, dword [ebp - 0x1424]
cmp dword [ebp - 0x1444], 0
jne 0x5d9e8c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5d9f42
cmp eax, 3
jne 0x5d9ea4
call fcn.005d8fe8
push eax
lea ecx, [ebp - 0x1474]
call fcn.00449300
jmp 0x5d9ef7
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.005ba695
mov esi, eax
lea eax, [ebp - 0x1474]
pop ecx
pop ecx
cmp eax, esi
je 0x5d9eec
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 0x5d9f1a
lea eax, [ebp - 0x1474]
lea ecx, [esi + 8]
push eax
call fcn.005a7c64
test al, al
jne 0x5d9f42
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [edi]
jne 0x5d9eff
lea eax, [ebp - 0x14c4]
push eax
push dword [ebp - 0x145c]
lea ecx, [ebp - 0x145c]
call fcn.005d801b
lea eax, [ebp - 0x1474]
mov ecx, edi
push eax
push dword [edi]
call fcn.005d80e4
lea ecx, [ebp - 0x14bc]
call fcn.005a7c94
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1474]
call fcn.005d860a
mov ecx, dword [ebp - 0x14ac]
mov eax, dword [ebp - 0x14a8]
inc eax
mov dword [ebp - 0x14a8], eax
cmp eax, ebx
jb 0x5d9cad
cmp dword [edi + 4], 0
je 0x5d9f89
push edi
push 0x5d8b12
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.0062844a
leave
ret