Function at 0x4164d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x4e4260]
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.0042e470
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.0046f350
add esp, 0xc
mov word [ebp - 0x22c], 0
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.0046f350
add esp, 0xc
mov word [ebp - 0x444], 0
push 0x206
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.0046f350
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0046fd00
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.0046fd00
add esp, 8
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00471982
add esp, 4
lea edx, [ebp - 0x444]
push edx
call fcn.00471982
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x416610
mov dword [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042e4a0
mov eax, dword [ebp - 0x890]
jmp 0x4167aa
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 0x416686
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x650]
push eax
call fcn.00471982
add esp, 4
push eax
call fcn.004716c4
add esp, 8
test eax, eax
jne 0x41666f
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x894], ecx
lea edx, [ebp - 0x894]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042e4f0
lea eax, [ebp - 0x674]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x416631
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.00431130
jmp 0x4166b8
push 0
lea ecx, [ebp - 0x89c]
push ecx
lea ecx, [ebp - 0x67c]
call fcn.0041c5a0
lea edx, [ebp - 0x8a4]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042fe50
push eax
lea ecx, [ebp - 0x67c]
call fcn.0041d680
movzx eax, al
test eax, eax
je 0x416789
mov word [ebp - 0x88c], 0
push 0x206
push 0
lea ecx, [ebp - 0x88a]
push ecx
call fcn.0046f350
add esp, 0xc
lea edx, [ebp - 0x88c]
push edx
lea ecx, [ebp - 0x67c]
call fcn.00437930
mov eax, dword [eax]
push eax
call fcn.00416ac0
add esp, 8
lea ecx, [ebp - 0x88c]
push ecx
call fcn.00471982
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 0x41675d
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
push 0x4c3a68
lea edx, [ebp - 0x88c]
push edx
call fcn.004716c4
add esp, 8
test eax, eax
jne 0x416784
mov eax, dword [ebp - 0x230]
add eax, 1
mov dword [ebp - 0x230], eax
jmp 0x4166a4
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x8a8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042e4a0
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.0046f960
mov esp, ebp
pop ebp
ret