Function at 0x571f30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582718
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6a7420]
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.00572a10
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.00572ad0
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.00516080
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 sub.MSVCR120.dll_memset
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 0x572022
lea eax, [ebp - 0x188]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x572030
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x5722de
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 0x57205e
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 0x57209c
xor eax, eax
jmp 0x5720ae
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5720a5
sub eax, edx
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x44]
call fcn.004041b0
push dword [ebp - 0x180]
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00571df0
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x572140
cmp dword [ebp - 0x18], 0x10
jb 0x5720e9
push dword [ebp - 0x2c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x572118
mov eax, dword [esi + 0x10]
inc eax
je 0x572123
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x572123
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 0x572151
push dword [ebp - 0x60]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
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 0x572192
push dword [sym.imp.MSVCR120.dll_toupper]
push ebx
push eax
push ecx
lea eax, [ebp - 0x1a0]
push eax
call fcn.005709f0
add esp, 0x14
jmp 0x572198
mov dword [ebp - 0x1a0], ebx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00572b50
mov esi, eax
cmp esi, dword [edi]
je 0x5721f6
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov ebx, dword [edx + 0x10]
jb 0x5721b7
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.00427640
add esp, 0xc
test eax, eax
jne 0x5721ef
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jae 0x5721e6
or eax, 0xffffffff
jmp 0x5721ed
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sets al
test al, al
je 0x572233
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 0x6f24ef
call fcn.0056f4c0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x198]
push eax
call fcn.0056fe90
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 0x57224d
push 0xffffffffffffffff
push 0
push eax
call fcn.00404090
lea ecx, [esi + 0x44]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x572261
push 0xffffffffffffffff
push 0
push eax
call fcn.00404090
push dword [ebp - 0x180]
mov ecx, edi
call fcn.00571b70
cmp dword [ebp - 0x18], 0x10
jb 0x57227f
push dword [ebp - 0x2c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x5722b0
push dword [ebp - 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x5722b0
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 0x572030
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.00575b90
mov esp, ebp
pop ebp
ret