Function at 0x2e01456d
Capabilities:
Enumerate processes

Disassembly:
push 0x300
mov eax, 0x2e03f3ba
call fcn.2e02f81a
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 7
pop edi
mov esi, ecx
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x30], edi
call fcn.2e00d2d8
and dword [ebp - 4], 0
lea eax, [esi + 0x104]
cmp dword [eax + 0x18], 8
jb 0x2e0145b6
mov eax, dword [eax + 4]
jmp 0x2e0145b9
add eax, 4
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.2e020205
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.2e00db12
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.2e00d44f
cmp dword [ebp - 0x34], ebx
je 0x2e0149a8
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.2e00d2d8
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 2
jae 0x2e01460a
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x180]
push ecx
push 0x2e0039d4
push eax
call fcn.2e030473
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.2e00e012
mov esi, 0x2e0494f0
cmp dword [ebp - 0x18], ebx
je 0x2e01499d
cmp dword [ebp + 0x10], ebx
jbe 0x2e0146ae
push 0x2e0039a0
mov ecx, esi
call fcn.2e025e3a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x2e014653
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x208]
call fcn.2e00d3e8
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.2e025e3a
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x208], eax
je 0x2e01468a
push dword [ebp - 0x208]
call fcn.2e02f117
pop ecx
push 0x2e001344
mov ecx, esi
call fcn.2e025e3a
push 0x2e001766
mov ecx, esi
call fcn.2e025e3a
push 0x2e0012a4
mov ecx, esi
call fcn.2e025e3a
mov dword [ebp - 0x17c], ebx
cmp dword [ebp + 0x10], ebx
jbe 0x2e014955
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x172], 0
jae 0x2e0146dc
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x178]
add eax, 0xc
push eax
call fcn.2e0303e0
pop ecx
pop ecx
test eax, eax
je 0x2e0148db
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x2e014714
push 0x2e003984
call fcn.2e029a52
jmp 0x2e0148ba
lea eax, [ebp - 0x170]
push eax
push edi
mov dword [ebp - 0x170], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x2e01473e
push 0x2e003974
call fcn.2e029a52
jmp 0x2e0148aa
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x178]
cmp eax, dword [ecx]
jne 0x2e01488a
push 0x2e003958
mov ecx, esi
call fcn.2e025e3a
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x30c]
call fcn.2e00f8e7
push dword [eax]
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 4
call fcn.2e00d3e8
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.2e025e3a
lea eax, [ebp - 0x204]
cmp dword [ebp - 0x208], eax
je 0x2e0147a8
push dword [ebp - 0x208]
call fcn.2e02f117
pop ecx
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30c], eax
je 0x2e0147c6
push dword [ebp - 0x30c]
call fcn.2e02f117
pop ecx
push 0x2e001e48
mov ecx, esi
call fcn.2e025e3a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x2e0147de
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x208]
call fcn.2e00d3e8
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.2e025e3a
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x208], eax
je 0x2e014815
push dword [ebp - 0x208]
call fcn.2e02f117
pop ecx
push 0x2e001344
mov ecx, esi
call fcn.2e025e3a
push 0x2e001766
mov ecx, esi
call fcn.2e025e3a
push 0x2e0012a4
mov ecx, esi
call fcn.2e025e3a
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x30c]
call fcn.2e00f8e7
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x2e014857
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
push ecx
push eax
call fcn.2e0303e0
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x308]
pop ecx
inc bl
pop ecx
cmp dword [ebp - 0x30c], eax
je 0x2e014884
push dword [ebp - 0x30c]
call fcn.2e02f117
pop ecx
test bl, bl
jne 0x2e0148a1
xor ebx, ebx
lea eax, [ebp - 0x170]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x2e01473e
jmp 0x2e0148aa
mov byte [ebp - 0x172], 1
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x172], 0
jne 0x2e0148db
inc dword [ebp - 0x17c]
mov eax, dword [ebp - 0x17c]
add dword [ebp - 0x178], 0x29c
cmp eax, dword [ebp + 0x10]
jb 0x2e0146c9
jmp 0x2e014955
push 0x2e003928
mov ecx, esi
call fcn.2e025e3a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x2e0148f3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x208]
call fcn.2e00d3e8
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.2e025e3a
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x208], eax
je 0x2e01492a
push dword [ebp - 0x208]
call fcn.2e02f117
pop ecx
push 0x2e001344
mov ecx, esi
call fcn.2e025e3a
push 0x2e001766
mov ecx, esi
call fcn.2e025e3a
push 0x2e0012a4
mov ecx, esi
call fcn.2e025e3a
mov byte [ebp - 0x171], 1
push 0x2e003924
lea ecx, [ebp - 0x2c]
call fcn.2e00e012
cmp byte [ebp - 0x171], 0
jne 0x2e01499d
mov eax, dword [ebp - 0x180]
cmp word [eax], bx
je 0x2e01462d
lea eax, [ebp - 0x180]
push eax
push 0x2e0039d4
push ebx
call fcn.2e030473
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.2e00e012
jmp 0x2e01462d
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.2e00d44f
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.2e00d44f
movzx eax, byte [ebp - 0x171]
call fcn.2e02f89d
ret 0xc