Function at 0x1000ca40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7da8
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x101114bc]
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 - 0x25c], ecx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x258], ebx
cmp ebx, 0xffffffff
je 0x1000cae7
push 0x228
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.10088c20
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000cb0e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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.10085c29
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x254]
xor esi, esi
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000cca2
nop word [eax + eax]
cmp word [ebp - 0x230], 0
je 0x1000cc8b
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000cb70
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005850
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
lea ebx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmp edx, 8
cmovae eax, ecx
cmovae edi, ecx
cmovae ebx, ecx
lea esi, [eax + esi*2]
cmp edi, esi
je 0x1000cbda
sub ebx, edi
nop word [eax + eax]
movzx eax, word [edi]
push eax
call fcn.100922d2
mov word [ebx + edi], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x1000cbc0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp edx, 8
lea ecx, [eax + eax]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0
call fcn.1000c6a0
mov ecx, dword [ebp - 0x25c]
add esp, 0xc
mov esi, dword [ecx]
mov edx, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1000cc24
nop dword [eax]
cmp dword [ecx + 0x10], eax
jae 0x1000cc1a
mov ecx, dword [ecx + 8]
jmp 0x1000cc1e
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1000cc10
cmp byte [edx + 0xd], 0
jne 0x1000cc33
cmp eax, dword [edx + 0x10]
jb 0x1000cc33
cmp edx, esi
jne 0x1000ccae
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000cc71
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cc67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd11
push edx
push ecx
call fcn.10085c12
add esp, 8
mov ebx, dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000cb30
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000cae9
mov esi, dword [edx + 0x14]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000cceb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cce1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cd11
push edx
push ecx
call fcn.10085c12
add esp, 8
mov ebx, dword [ebp - 0x258]
xor eax, eax
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000cae9
call fcn.10092073
int3