Function at 0x4166b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba073
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x4e3260]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x1c]
call fcn.0042e0e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x674], 0
push 0x228
push 0
lea eax, [ebp - 0x670]
push eax
call fcn.0046ee70
add esp, 0xc
mov word [ebp - 0x22c], 0
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.0046ee70
add esp, 0xc
mov word [ebp - 0x444], 0
push 0x206
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.0046ee70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0046f820
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.0046f820
add esp, 8
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004714a2
add esp, 4
lea edx, [ebp - 0x444]
push edx
call fcn.004714a2
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x4167f0
mov dword [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042e110
mov eax, dword [ebp - 0x890]
jmp 0x41698a
mov dword [ebp - 0x674], 0x22c
lea eax, [ebp - 0x674]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x416866
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x650]
push eax
call fcn.004714a2
add esp, 4
push eax
call fcn.004711e4
add esp, 8
test eax, eax
jne 0x41684f
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x894], ecx
lea edx, [ebp - 0x894]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042e160
lea eax, [ebp - 0x674]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x416811
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00449270
jmp 0x416898
push 0
lea ecx, [ebp - 0x89c]
push ecx
lea ecx, [ebp - 0x67c]
call fcn.0041c260
lea edx, [ebp - 0x8a4]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042fac0
push eax
lea ecx, [ebp - 0x67c]
call fcn.0041d360
movzx eax, al
test eax, eax
je 0x416969
mov word [ebp - 0x88c], 0
push 0x206
push 0
lea ecx, [ebp - 0x88a]
push ecx
call fcn.0046ee70
add esp, 0xc
lea edx, [ebp - 0x88c]
push edx
lea ecx, [ebp - 0x67c]
call fcn.0041c240
mov eax, dword [eax]
push eax
call fcn.00416ca0
add esp, 8
lea ecx, [ebp - 0x88c]
push ecx
call fcn.004714a2
add esp, 4
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x88c]
push eax
call fcn.00405aa0
add esp, 8
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x680], 0
je 0x41693d
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
push 0x4c2a90
lea edx, [ebp - 0x88c]
push edx
call fcn.004711e4
add esp, 8
test eax, eax
jne 0x416964
mov eax, dword [ebp - 0x230]
add eax, 1
mov dword [ebp - 0x230], eax
jmp 0x416884
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x8a8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042e110
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0046f480
mov esp, ebp
pop ebp
ret