Function at 0x415de3
Capabilities:
Enumerate processes

Disassembly:
push 0x2fc
mov eax, 0x4402a6
call fcn.004306bd
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, edx
push 7
mov bl, dl
pop edi
mov dword [ebp - 0x300], esi
mov byte [ebp - 0x2f9], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edx
mov word [ebp - 0x48], dx
and dword [ebp - 4], edx
add ecx, 0x104
cmp dword [ecx + 0x14], 8
jb 0x415e26
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00423841
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040da5c
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], al
call fcn.0040de7c
cmp dword [ebp - 0x38], 0
je 0x416291
and dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 2
jae 0x415e76
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x308]
push ecx
push 0x40465c
push eax
call fcn.0043168d
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040dbce
mov edi, 0x44a310
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
je 0x416284
cmp dword [ebp + 0x10], 0
jbe 0x415f36
push 0x404660
mov ecx, edi
call fcn.00427a0a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x415ec7
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push 3
mov dword [ebp - 0xcc], ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040dec5
push dword [ebp - 0xcc]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00427a0a
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], eax
je 0x415f10
push dword [ebp - 0xcc]
call fcn.0043040c
pop ecx
push 0x4012d4
mov ecx, edi
call fcn.00427a0a
push 0x402801
mov ecx, edi
call fcn.00427a0a
push 0x4012d0
mov ecx, edi
call fcn.00427a0a
xor ecx, ecx
cmp dword [ebp + 0x10], 0
mov ebx, ecx
mov dword [ebp - 0x304], ebx
jbe 0x416233
mov edi, esi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x2fa], cl
jae 0x415f5c
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.004318f5
pop ecx
pop ecx
test eax, eax
je 0x41619a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x415f8f
push 0x404694
call fcn.0042b69e
jmp 0x41617d
lea eax, [ebp - 0x2f8]
push eax
push esi
mov dword [ebp - 0x2f8], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x415fb9
push 0x4046b0
call fcn.0042b69e
jmp 0x41616d
mov eax, dword [ebp - 0x2f0]
cmp eax, dword [edi]
jne 0x416149
mov ebx, 0x44a310
push 0x4046c0
mov ecx, ebx
call fcn.00427a0a
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
push 3
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00412333
push 3
push dword [ebp - 0x1d0]
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
mov dword [ebp - 0xcc], eax
call fcn.0040dec5
push dword [ebp - 0xcc]
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00427a0a
lea eax, [ebp - 0xc8]
cmp dword [ebp - 0xcc], eax
je 0x416046
push dword [ebp - 0xcc]
call fcn.0043040c
pop ecx
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1d0], eax
je 0x416064
push dword [ebp - 0x1d0]
call fcn.0043040c
pop ecx
push 0x4026f4
mov ecx, ebx
call fcn.00427a0a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41607c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push 3
mov dword [ebp - 0xcc], ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040dec5
push dword [ebp - 0xcc]
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00427a0a
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], eax
je 0x4160c5
push dword [ebp - 0xcc]
call fcn.0043040c
pop ecx
push 0x4012d4
mov ecx, ebx
call fcn.00427a0a
push 0x402801
mov ecx, ebx
call fcn.00427a0a
push 0x4012d0
mov ecx, ebx
call fcn.00427a0a
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
push 3
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00412333
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x416115
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1d0]
call fcn.004318f5
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x1cc]
pop ecx
inc bl
pop ecx
cmp dword [ebp - 0x1d0], eax
je 0x416145
push dword [ebp - 0x1d0]
call fcn.0043040c
pop ecx
test bl, bl
jne 0x416160
lea eax, [ebp - 0x2f8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x415fb9
jmp 0x416167
mov byte [ebp - 0x2fa], 1
mov ebx, dword [ebp - 0x304]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x2fa], 0
jne 0x41619a
inc ebx
add edi, 0x29c
mov dword [ebp - 0x304], ebx
cmp ebx, dword [ebp + 0x10]
jae 0x41622e
xor ecx, ecx
jmp 0x415f4a
mov edi, 0x44a310
push 0x4046dc
mov ecx, edi
call fcn.00427a0a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4161b7
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push 3
mov dword [ebp - 0xcc], ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040dec5
push dword [ebp - 0xcc]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00427a0a
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], eax
je 0x416200
push dword [ebp - 0xcc]
call fcn.0043040c
pop ecx
push 0x4012d4
mov ecx, edi
call fcn.00427a0a
push 0x402801
mov ecx, edi
call fcn.00427a0a
push 0x4012d0
mov ecx, edi
call fcn.00427a0a
mov bl, 1
mov byte [ebp - 0x2f9], bl
jmp 0x416239
mov edi, 0x44a310
mov bl, byte [ebp - 0x2f9]
push 0x4031fc
lea ecx, [ebp - 0x2c]
call fcn.0040dbce
test bl, bl
jne 0x416284
mov eax, dword [ebp - 0x308]
mov esi, dword [ebp - 0x300]
xor ecx, ecx
cmp word [eax], cx
je 0x415e9b
lea eax, [ebp - 0x308]
push eax
push 0x40465c
push ecx
call fcn.0043168d
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040dbce
jmp 0x415e99
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040de7c
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.0040de7c
movzx eax, bl
call fcn.00430740
ret 0xc