Function at 0x4307f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526413
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00424da0
test eax, eax
jge 0x430852
mov dword [ebp - 0x194], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004068e0
mov eax, dword [ebp - 0x194]
jmp 0x430a8c
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x168], 0
push 0x124
push 0
lea eax, [ebp - 0x164]
push eax
call fcn.004bfe20
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0xffffffff
jne 0x4308c3
mov dword [ebp - 0x190], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004068e0
mov eax, dword [ebp - 0x190]
jmp 0x430a8c
mov dword [ebp - 0x168], 0x128
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x430a54
lea ecx, [ebp - 0x28]
call fcn.00408250
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x19c], esp
lea eax, [ebp - 0x144]
push eax
call fcn.00406b80
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00424bd0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 0xc]
call fcn.00424a30
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x188]
call fcn.00409770
push eax
lea ecx, [ebp - 0x28]
call fcn.00424dc0
test eax, eax
jne 0x430974
mov dword [ebp - 0x178], 1
jmp 0x43097e
mov dword [ebp - 0x178], 0
mov cl, byte [ebp - 0x178]
mov byte [ebp - 0x169], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406d30
movzx edx, byte [ebp - 0x169]
test edx, edx
je 0x430a20
mov eax, dword [ebp - 0x160]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp + 8]
push ecx
push 0xf01ff
mov edx, dword [ebp - 0x17c]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004068e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004068e0
mov eax, dword [ebp - 0x18c]
jmp 0x430a8c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004068e0
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4308e9
mov dword [ebp - 0x174], 0
jmp 0x430a5e
mov dword [ebp - 0x174], 0
mov edx, dword [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x184], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004068e0
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret