Function at 0x45fb30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb06e
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 0
mov dword [ebp - 0x290], 0
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x294], edi
call dword [eax + 0x14]
cmp dword [eax + 0x14], 8
jb 0x45fb89
mov eax, dword [eax]
mov ecx, eax
call fcn.00428120
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28c], esi
cmp eax, 8
jb 0x45fbad
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00403f40
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0044e980
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 2
mov dword [ebp - 0x290], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45fdb3
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x45fdac
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x45fdac
nop word [eax + eax]
cmp dword [ebp - 0x270], esi
jne 0x45fd8c
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0
push 0x507250
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00409aa0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp word [ebp - 0x264], ax
je 0x45fcaf
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fca0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403dd0
push ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0041fa30
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x45fd0b
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x45fcf0
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00407610
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x45fd20
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00409950
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 8
jb 0x45fd4b
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00403f40
mov eax, dword [ebp - 0x280]
push dword [ebp - 0x294]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
call fcn.004604f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x45fd86
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45fc30
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 4