Function at 0x401070
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x180
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], 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], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
mov dword [esp + 0x14], esi
je 0x4011f9
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x70], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4011f2
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_CharLowerA]
lea edx, [esp + 0x8c]
push edx
call esi
lea edi, [esp + eax + 0x8c]
lea eax, [esp + 0x8c]
push eax
call esi
cmp eax, ebx
jle 0x40118b
mov cl, byte [edi - 1]
dec edi
cmp cl, 0x5c
je 0x40118a
dec eax
cmp eax, ebx
jg 0x40117a
jmp 0x40118b
inc edi
lea eax, [esp + 0x20]
mov ebp, 5
xor esi, esi
mov ecx, edi
mov edx, 3
mov ebx, dword [eax]
and ebx, 0x7f7f7f7f
cmp dword [ecx], ebx
jne 0x4011aa
inc esi
add eax, 4
add ecx, 4
dec edx
jne 0x40119d
cmp esi, 3
jne 0x4011c6
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [0x13b43d0], ebx
jmp 0x4011c8
xor ebx, ebx
dec ebp
jne 0x401194
mov esi, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x68]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401147
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x7da7dc]
mov ebp, dword [0x7d9ec8]
mov esi, dword [edx + 0x80]
mov eax, dword [esi + ebp + 0xc]
add esi, ebp
cmp eax, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
je 0x4012bb
jmp 0x40122b
mov esi, dword [esp + 0x1c]
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.0044fad0
add dword [esp + 0x18], 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 0x4012a3
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
add edx, ecx
test eax, 0x80000000
mov dword [esp + 0x14], edx
je 0x401272
and eax, 0x7fffffff
jmp 0x40128c
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.0044fad0
add esp, 8
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esi + 4]
add esi, 4
add ebx, 4
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x401258
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x401227
xor ebx, ebx
mov eax, dword [0x487de0]
cmp eax, ebx
je 0x4012ce
cmp eax, dword [esp + 0x10]
je 0x4012ce
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x14]
cmp dword [0x487de4], edx
je 0x4012f2
push 0x2800
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x180
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180
ret