Function at 0x415291
Capabilities:
Enumerate processes

Disassembly:
push 0x2fc
mov eax, 0x43f7cd
call fcn.0042fc4d
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 0x4152d4
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00422c94
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040d6a7
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], al
call fcn.0040dac7
cmp dword [ebp - 0x38], 0
je 0x41573f
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 0x415324
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x308]
push ecx
push 0x40442c
push eax
call fcn.00430c1d
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d819
mov edi, 0x449318
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
je 0x415732
cmp dword [ebp + 0x10], 0
jbe 0x4153e4
push 0x404430
mov ecx, edi
call fcn.00426d1d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x415375
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push 3
mov dword [ebp - 0xcc], ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040db10
push dword [ebp - 0xcc]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00426d1d
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], eax
je 0x4153be
push dword [ebp - 0xcc]
call fcn.0042f99c
pop ecx
push 0x401284
mov ecx, edi
call fcn.00426d1d
push 0x4016d4
mov ecx, edi
call fcn.00426d1d
push 0x401280
mov ecx, edi
call fcn.00426d1d
xor ecx, ecx
cmp dword [ebp + 0x10], 0
mov ebx, ecx
mov dword [ebp - 0x304], ebx
jbe 0x4156e1
mov edi, esi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x2fa], cl
jae 0x41540a
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.00430e85
pop ecx
pop ecx
test eax, eax
je 0x415648
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41543d
push 0x404464
call fcn.0042a929
jmp 0x41562b
lea eax, [ebp - 0x2f8]
push eax
push esi
mov dword [ebp - 0x2f8], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x415467
push 0x404480
call fcn.0042a929
jmp 0x41561b
mov eax, dword [ebp - 0x2f0]
cmp eax, dword [edi]
jne 0x4155f7
mov ebx, 0x449318
push 0x404490
mov ecx, ebx
call fcn.00426d1d
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
push 3
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0041189b
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.0040db10
push dword [ebp - 0xcc]
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00426d1d
lea eax, [ebp - 0xc8]
cmp dword [ebp - 0xcc], eax
je 0x4154f4
push dword [ebp - 0xcc]
call fcn.0042f99c
pop ecx
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1d0], eax
je 0x415512
push dword [ebp - 0x1d0]
call fcn.0042f99c
pop ecx
push 0x4024c4
mov ecx, ebx
call fcn.00426d1d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41552a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push 3
mov dword [ebp - 0xcc], ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040db10
push dword [ebp - 0xcc]
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00426d1d
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], eax
je 0x415573
push dword [ebp - 0xcc]
call fcn.0042f99c
pop ecx
push 0x401284
mov ecx, ebx
call fcn.00426d1d
push 0x4016d4
mov ecx, ebx
call fcn.00426d1d
push 0x401280
mov ecx, ebx
call fcn.00426d1d
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
push 3
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0041189b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4155c3
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1d0]
call fcn.00430e85
mov ebx, eax
neg ebx
sbb bl, bl
lea eax, [ebp - 0x1cc]
pop ecx
inc bl
pop ecx
cmp dword [ebp - 0x1d0], eax
je 0x4155f3
push dword [ebp - 0x1d0]
call fcn.0042f99c
pop ecx
test bl, bl
jne 0x41560e
lea eax, [ebp - 0x2f8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x415467
jmp 0x415615
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 0x415648
inc ebx
add edi, 0x29c
mov dword [ebp - 0x304], ebx
cmp ebx, dword [ebp + 0x10]
jae 0x4156dc
xor ecx, ecx
jmp 0x4153f8
mov edi, 0x449318
push 0x4044ac
mov ecx, edi
call fcn.00426d1d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x415665
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push 3
mov dword [ebp - 0xcc], ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040db10
push dword [ebp - 0xcc]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00426d1d
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xcc], eax
je 0x4156ae
push dword [ebp - 0xcc]
call fcn.0042f99c
pop ecx
push 0x401284
mov ecx, edi
call fcn.00426d1d
push 0x4016d4
mov ecx, edi
call fcn.00426d1d
push 0x401280
mov ecx, edi
call fcn.00426d1d
mov bl, 1
mov byte [ebp - 0x2f9], bl
jmp 0x4156e7
mov edi, 0x449318
mov bl, byte [ebp - 0x2f9]
push 0x402fcc
lea ecx, [ebp - 0x2c]
call fcn.0040d819
test bl, bl
jne 0x415732
mov eax, dword [ebp - 0x308]
mov esi, dword [ebp - 0x300]
xor ecx, ecx
cmp word [eax], cx
je 0x415349
lea eax, [ebp - 0x308]
push eax
push 0x40442c
push ecx
call fcn.00430c1d
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d819
jmp 0x415347
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040dac7
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.0040dac7
movzx eax, bl
call fcn.0042fcd0
ret 0xc