Function at 0x478270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aabd8
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi]
mov dword [ebp - 0x190], edi
push dword [eax + 4]
call fcn.00478d20
mov eax, dword [edi]
lea ecx, [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 8]
push dword [eax + 4]
call fcn.0044cde0
mov eax, dword [edi + 8]
lea ecx, [edi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
push dword [eax + 4]
call fcn.0040fdf0
mov eax, dword [edi + 0x10]
push 0x124
push 0
mov dword [eax + 4], eax
mov eax, dword [edi + 0x10]
mov dword [eax], eax
mov eax, dword [edi + 0x10]
mov dword [eax + 8], eax
lea eax, [ebp - 0x184]
push eax
mov dword [edi + 0x14], 0
call fcn.00586c40
add esp, 0xc
mov dword [ebp - 0x188], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x19c], ebx
cmp ebx, 0xffffffff
je 0x478362
lea eax, [ebp - 0x188]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x478370
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x47861c
push dword [ebp - 0x180]
mov dword [ebp - 4], 0
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47839e
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [ebp - 0x164], 0
mov eax, dword [ebp - 0x180]
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], eax
jne 0x4783dc
xor eax, eax
jmp 0x4783ee
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4783e5
sub eax, edx
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403ef0
push dword [ebp - 0x180]
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00478130
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x47847f
cmp dword [ebp - 0x18], 0x10
jb 0x478429
push dword [ebp - 0x2c]
call fcn.0058559d
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x478457
mov eax, dword [esi + 0x10]
inc eax
je 0x478462
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.005856f0
add esp, 0xc
jmp 0x478462
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x4c], 0x10
jb 0x478490
push dword [ebp - 0x60]
call fcn.0058559d
add esp, 4
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
lea ebx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmp esi, 0x10
cmovae ecx, edx
cmovae ebx, edx
add eax, ecx
cmp esi, 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, edx
cmp ecx, eax
je 0x4784d0
push 0x589098
push ebx
push eax
push ecx
lea eax, [ebp - 0x1a0]
push eax
call fcn.00476e50
add esp, 0x14
jmp 0x4784d6
mov dword [ebp - 0x1a0], ebx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00450650
mov esi, eax
cmp esi, dword [edi]
je 0x478534
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov ebx, dword [edx + 0x10]
jb 0x4784f5
mov edx, dword [edx]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov eax, ebx
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x34], ebx
cmovb eax, dword [ebp - 0x34]
push eax
push edx
push ecx
call fcn.0040fec0
add esp, 0xc
test eax, eax
jne 0x47852d
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jae 0x478524
or eax, 0xffffffff
jmp 0x47852b
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sets al
test al, al
je 0x478571
lea eax, [ebp - 0x44]
mov ecx, edi
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x189]
push eax
lea eax, [ebp - 0x194]
push eax
push 0x6c4a37
call fcn.00475dd0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x198]
push eax
call fcn.00476580
mov esi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x48]
lea ecx, [esi + 0x2c]
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x47858b
push 0xffffffffffffffff
push 0
push eax
call fcn.00403dc0
lea ecx, [esi + 0x44]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x47859f
push 0xffffffffffffffff
push 0
push eax
call fcn.00403dc0
push dword [ebp - 0x180]
mov ecx, edi
call fcn.00477eb0
cmp dword [ebp - 0x18], 0x10
jb 0x4785bd
push dword [ebp - 0x2c]
call fcn.0058559d
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x4785ee
push dword [ebp - 0x44]
call fcn.0058559d
add esp, 4
jmp 0x4785ee
mov ebx, dword [ebp - 0x19c]
lea eax, [ebp - 0x188]
push eax
push ebx
mov dword [ebp - 4], 0xffffffff
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x478370
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret