Function at 0x5285e0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5d2ad6
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
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 0x528650
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.004098b0
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.004080b0
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.00528500
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1a0], 1
call fcn.004080b0
mov ebp, 0x10
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x194], bl
jb 0x5286c5
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00594e98
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x5286d5
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
jmp 0x5286dd
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 0x5287f1
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 0x528730
sub eax, esi
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.004098b0
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00528500
cmp dword [eax + 0x18], ebp
jb 0x52875f
mov ecx, dword [eax + 4]
jmp 0x528762
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 0x528770
cmp dword [esp + 0x40], ebp
jb 0x528791
mov edx, dword [esp + 0x2c]
push edx
call fcn.00594e98
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5287c0
cmp dl, bl
je 0x5287bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5287c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x5287a0
xor eax, eax
jmp 0x5287c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x5287e2
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x528710
jmp 0x5287f1
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 0x52880f
mov edx, dword [esp + 0x48]
push edx
call fcn.00594e98
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.005b0968
add esp, 0x184
ret 8