Function at 0x48f700
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ace3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x6b6224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
xor edi, edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
push edi
push 2
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x16c], ebx
cmp ebx, 0xffffffff
je 0x48f9fb
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x48f78d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48f9fb
lea eax, [ebp - 0x15c]
push 0x644da0
push eax
call fcn.00404ab0
add esp, 8
mov byte [ebp - 4], 1
xor esi, esi
nop word [eax + eax]
movsx eax, byte [ebp + esi - 0x12c]
push eax
call fcn.0060febc
mov byte [ebp + esi - 0x12c], al
add esp, 4
inc esi
cmp esi, 0x104
jl 0x48f7b0
cmp byte [ebp - 0x12c], 0
jne 0x48f7de
xor ecx, ecx
jmp 0x48f7f0
lea ecx, [ebp - 0x12c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f7e7
sub ecx, edx
push ecx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404090
lea eax, [ebp - 0x160]
push 0x644cc4
push eax
call fcn.00404ab0
add esp, 8
mov edx, dword [eax]
cmp byte [edx], 0
jne 0x48f81f
xor ecx, ecx
jmp 0x48f82d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f824
sub ecx, esi
push ecx
push 0
push edx
lea ecx, [ebp - 0x28]
call fcn.00490620
mov edx, dword [ebp - 0x160]
test eax, eax
setne bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f85c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x48f93b
lea eax, [ebp - 0x164]
push 0x644d34
push eax
call fcn.00404ab0
add esp, 8
mov edx, dword [eax]
cmp byte [edx], 0
jne 0x48f883
xor ecx, ecx
jmp 0x48f891
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f888
sub ecx, esi
push ecx
push 0
push edx
lea ecx, [ebp - 0x28]
call fcn.00490620
mov edx, dword [ebp - 0x164]
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f8c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
lea esi, [edi + 1]
lea eax, [ebp - 0x168]
cmove esi, edi
push 0x644dec
push eax
mov dword [ebp - 0x154], esi
call fcn.00404ab0
add esp, 8
mov edx, dword [eax]
cmp byte [edx], 0
jne 0x48f8ed
xor ecx, ecx
jmp 0x48f901
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f8f2
sub ecx, esi
mov esi, dword [ebp - 0x154]
push ecx
push 0
push edx
lea ecx, [ebp - 0x28]
call fcn.00490620
mov edx, dword [ebp - 0x168]
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f930
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x48f93b
inc esi
mov dword [ebp - 0x154], esi
xor edi, edi
cmp dword [ebp - 0x18], edi
jbe 0x48f96a
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
movsx eax, byte [edx + edi]
push eax
call fcn.0060feec
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x48f942
mov eax, dword [ebp - 0x15c]
cmp byte [eax], 0
jne 0x48f979
xor edx, edx
jmp 0x48f989
mov edx, eax
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x48f980
sub edx, esi
push edx
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00490620
mov esi, dword [ebp - 0x158]
test eax, eax
jne 0x48f9a6
mov byte [esi + 0xc04], 1
mov ebx, dword [ebp - 0x16c]
lea eax, [ebp - 0x150]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
mov edi, dword [ebp - 0x154]
test eax, eax
jne 0x48f7a5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 1
jle 0x48f9d9
add dword [esi], 0x100
mov edx, dword [ebp - 0x15c]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48f9fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x48fa45
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x48fa3c
test cl, 0x1f
je 0x48fa18
call fcn.0060c211
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x48fa24
call fcn.0060c211
sub ecx, eax
cmp ecx, 4
jae 0x48fa30
call fcn.0060c211
cmp ecx, 0x23
jbe 0x48fa3a
call fcn.0060c211
mov ecx, eax
push ecx
call fcn.004cf670
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006052fe
mov esp, ebp
pop ebp
ret