Function at 0x401070
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov eax, 0x80e5f8e5
xor ebx, ebx
or edi, 0xffffffff
push ebx
push 2
mov dword [esp + 0x28], 0xf9ececef
mov dword [esp + 0x2c], 0xaee7e2e4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0xefebe5ee
mov dword [esp + 0x38], 0xe5aeb7b5
mov dword [esp + 0x3c], 0x8080e5f8
mov dword [esp + 0x40], 0xede1f3f5
mov dword [esp + 0x44], 0xaee9ede9
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0xeee1f4f3
mov dword [esp + 0x50], 0xaef8ede4
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xf4f3f8e5
mov dword [esp + 0x5c], 0xaee4eee1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xe9eff0d3
mov dword [esp + 0x68], 0xc1f2e5ec
mov dword [esp + 0x6c], 0xf8e5aecc
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
mov dword [esp + 0x18], esi
je 0x401211
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
push eax
push esi
mov dword [esp + 0x7c], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40120a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.USER32.dll_CharLowerA]
lea edx, [esp + 0x98]
push edx
call esi
lea edi, [esp + eax + 0x98]
lea eax, [esp + 0x98]
push eax
call esi
cmp eax, ebx
jle 0x4011a3
mov cl, byte [edi - 1]
dec edi
cmp cl, 0x5c
je 0x4011a2
dec eax
cmp eax, ebx
jg 0x401192
jmp 0x4011a3
inc edi
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 6
xor esi, esi
mov ecx, edi
mov edx, 3
mov ebp, dword [eax]
and ebp, 0x7f7f7f7f
cmp dword [ecx], ebp
jne 0x4011c5
inc esi
add eax, 4
add ecx, 4
dec edx
jne 0x4011b8
cmp esi, 3
jne 0x4011dd
mov dword [esp + 0x1c], ebx
mov dword [0xd09e10], ebx
dec dword [esp + 0x10]
jne 0x4011af
mov esi, dword [esp + 0x18]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x74]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40115f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x8c3adc]
mov ebp, dword [0x8c39d0]
mov esi, dword [edx + 0x80]
mov eax, dword [esi + ebp + 0xc]
add esi, ebp
cmp eax, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
je 0x4012d1
jmp 0x401243
mov esi, dword [esp + 0x10]
lea edx, [eax + ebp]
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00474180
add dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x10]
mov esi, dword [esi]
mov eax, dword [esi + ebp]
add esi, ebp
add esp, 8
add ebx, ebp
test eax, eax
je 0x4012bb
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx]
add edx, ecx
test eax, 0x80000000
mov dword [esp + 0x18], edx
je 0x40128a
and eax, 0x7fffffff
jmp 0x4012a4
lea edx, [eax + ebp + 2]
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00474180
add esp, 8
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esi + 4]
add esi, 4
add ebx, 4
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x401270
mov eax, dword [esp + 0x10]
add eax, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x40123f
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18c
ret