Function at 0x572020
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5827f8
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6a73f0]
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.00572b40
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.00572c00
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.00515ea0
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 0x572112
lea eax, [ebp - 0x188]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x572120
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x5723ce
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 0x57214e
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 0x57218c
xor eax, eax
jmp 0x57219e
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x572195
sub eax, edx
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404180
push dword [ebp - 0x180]
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00571ee0
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x572230
cmp dword [ebp - 0x18], 0x10
jb 0x5721d9
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 0x572208
mov eax, dword [esi + 0x10]
inc eax
je 0x572213
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x572213
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 0x572241
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 0x572282
push dword [sym.imp.MSVCR120.dll_toupper]
push ebx
push eax
push ecx
lea eax, [ebp - 0x1a0]
push eax
call fcn.00570b30
add esp, 0x14
jmp 0x572288
mov dword [ebp - 0x1a0], ebx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00572c80
mov esi, eax
cmp esi, dword [edi]
je 0x5722e6
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov ebx, dword [edx + 0x10]
jb 0x5722a7
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.00427650
add esp, 0xc
test eax, eax
jne 0x5722df
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jae 0x5722d6
or eax, 0xffffffff
jmp 0x5722dd
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sets al
test al, al
je 0x572323
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 0x6f1907
call fcn.0056f600
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x198]
push eax
call fcn.0056ffd0
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 0x57233d
push 0xffffffffffffffff
push 0
push eax
call fcn.00404060
lea ecx, [esi + 0x44]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x572351
push 0xffffffffffffffff
push 0
push eax
call fcn.00404060
push dword [ebp - 0x180]
mov ecx, edi
call fcn.00571c60
cmp dword [ebp - 0x18], 0x10
jb 0x57236f
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 0x5723a0
push dword [ebp - 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x5723a0
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 0x572120
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.00575c70
mov esp, ebp
pop ebp
ret