Function at 0x4135f8
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x354
call fcn.004291f0
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x130], 0x128
mov dword [ebp - 0x354], 0x224
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x413798
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x128]
je 0x41370d
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32Next
jmp 0x4136af
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
mov eax, dword [ebp - 0x118]
test eax, eax
mov dword [ebp - 8], eax
jne 0x413798
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
mov dword [0x801c30], 1
push dword [ebp - 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
lea eax, [ebp - 0x354]
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4138cb
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x34c]
je 0x413847
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
lea eax, [ebp - 0x354]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
jmp 0x4137eb
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
push dword [ebp - 4]
call esi
sub eax, dword [0x7f5508]
sub ebx, dword [str.Tb:]
mov ebx, ebx
add ecx, dword [0x7f5510]
sub edx, dword [0x7f550c]
sub ecx, dword [0x7f5510]
inc edx
mov edx, edx
add ebx, dword [str.Tb:]
add eax, dword [0x7f5508]
dec edx
lea edi, [edi]
add edx, dword [0x7f550c]
lea ecx, [ecx]
pop edi
pop esi
pop ebx
leave
ret