Function at 0x529570
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5d3af6
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a0]
xor ebx, ebx
mov ebp, 0xf
mov edi, ecx
mov ecx, dword [esp + 0x19c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov eax, ecx
mov dword [esp + 0x194], ebx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x5295e0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00409790
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00407e40
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00529490
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1a0], 1
call fcn.00407e40
mov ebp, 0x10
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x194], bl
jb 0x529655
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x529665
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
jmp 0x52966d
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
push ebx
push 2
mov dword [esp + 0x68], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x60]
push ecx
push eax
mov dword [esp + 0x20], eax
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x17], bl
mov dword [edx], ebx
je 0x529781
mov edi, edi
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0xa0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x40], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x5296c0
sub eax, esi
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00409790
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00529490
cmp dword [eax + 0x18], ebp
jb 0x5296ef
mov ecx, dword [eax + 4]
jmp 0x5296f2
lea ecx, [eax + 4]
lea edx, [esp + 0x84]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x529700
cmp dword [esp + 0x40], ebp
jb 0x529721
mov edx, dword [esp + 0x2c]
push edx
call fcn.00595eb8
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x529750
cmp dl, bl
je 0x52974c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x529750
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x529730
xor eax, eax
jmp 0x529755
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x529772
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x5296a0
jmp 0x529781
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x5c], ebp
jb 0x52979f
mov edx, dword [esp + 0x48]
push edx
call fcn.00595eb8
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.005b1988
add esp, 0x184
ret 8