Function at 0x401772
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x438]
sub esp, 0x438
push 0xffffffffffffffff
push 0x413ee8
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.00413a40
mov eax, dword [0x41e068]
xor eax, ebp
mov dword [ebp + 0x434], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x41f234]
mov edi, 0x41f234
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x41f234]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.SystemRoot
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00403bdf
mov eax, dword [0x420218]
add eax, 0xfffffff0
call fcn.0040454b
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
push 0x80
mov byte [ebp - 4], 2
call fcn.00405447
pop ecx
push 0x20
pop ecx
mov edi, eax
or eax, 0xffffffff
push ebx
mov dword [ebp - 0x28], edi
rep stosd dword es:[edi], eax
push 2
xor edi, edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov ebx, eax
lea eax, [ebp + 4]
push edi
push eax
call fcn.00406be0
add esp, 0xc
lea eax, [ebp]
push eax
push ebx
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
lea eax, [ebp + 0x24]
push str.iexplore.exe
push eax
call fcn.00405f81
test eax, eax
pop ecx
pop ecx
jne 0x40186c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + edi*4], eax
inc edi
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40184e
and dword [ebp - 0x10], eax
test edi, edi
jbe 0x401995
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
push dword [eax + ecx*4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x401989
lea ecx, [ebp - 0x24]
push ecx
push 0x1000
lea ecx, [ebp - 0x1034]
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x40197a
xor edi, edi
test dword [ebp - 0x24], 0xfffffffc
jbe 0x40197a
push 0x208
lea eax, [ebp + 0x22c]
push eax
lea ebx, [ebp + edi*4 - 0x1034]
push dword [ebx]
push dword [ebp - 0x20]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x40195d
push dword [ebx]
lea eax, [ebp + 0x22c]
push eax
push str._t_s__0x_08X__n
call fcn.004065d3
add esp, 0xc
lea eax, [ebp + 0x22c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040388d
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
mov ecx, dword [esi - 0xc]
push eax
lea eax, [ebp - 0x18]
call fcn.00403b53
push dword [eax]
push esi
call fcn.00405f81
mov ebx, eax
mov eax, dword [ebp - 0x30]
neg ebx
pop ecx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004013a9
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
test bl, bl
jne 0x40196e
call fcn.004013a9
mov eax, dword [ebp - 0x24]
inc edi
shr eax, 2
cmp edi, eax
jb 0x4018d3
jmp 0x40197a
mov dword [ebp - 0x14], 1
call fcn.004013a9
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 1
je 0x401995
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jb 0x401885
lea eax, [esi - 0x10]
call fcn.004013a9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004013a9
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.004013a9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x434]
xor ecx, ebp
call fcn.00405a1a
add ebp, 0x438
leave
ret