Function at 0x1000db30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f090
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x1004234c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x26c]
push 0x22c
push 0
push eax
call fcn.1001a520
xor eax, eax
mov dword [ebp - 0x2c], 7
add esp, 0xc
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x1000db94
xor ecx, ecx
jmp 0x1000dbaf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000dba0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10007770
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.100107d0
add esp, 4
call fcn.10016a00
test al, al
je 0x1000dbee
pop ecx
pop esi
push edx
push ebx
push edx
pop ebp
push ecx
push eax
pop ebp
pop edx
push eax
push ebx
pop ebx
push esi
push ecx
push edx
pop edx
push ecx
push eax
push ecx
pop ecx
pop edx
push ebp
push eax
pop esi
call fcn.10016840
test al, al
je 0x1000dc11
push esp
push esp
push ecx
pop edi
push ebp
push edx
pop edx
push esp
push edi
push esp
pop ebp
pop ebx
pop ecx
pop edx
pop ebp
push eax
push edx
push esp
pop ecx
push esp
pop esp
push ecx
push esi
push esi
push esi
push ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
jne 0x1000dc2c
xor ebx, ebx
jmp 0x1000dd8b
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000dd7d
nop dword [eax + eax]
call fcn.10016290
test al, al
je 0x1000dc6d
pop esi
push edi
pop ecx
pop eax
pop eax
push esp
push ecx
pop eax
push edi
pop esi
pop ebp
pop edi
pop esi
push eax
push edx
pop eax
pop ebx
pop edi
pop ecx
pop esp
call fcn.10016290
test al, al
je 0x1000dc8c
pop ebp
push ecx
push edi
push ebp
pop ebx
pop edi
pop edx
push esp
pop ebp
push esp
push edi
pop edi
pop eax
push esi
push edi
pop edi
push edi
pop esi
pop ebp
pop edi
pop edi
pop eax
call fcn.100166f0
test al, al
je 0x1000dcb5
push edx
pop esp
pop ecx
pop esp
pop esi
pop ecx
pop edi
pop ebp
push edi
pop esi
pop eax
push eax
pop ebp
push ecx
push eax
push ebp
push ecx
push esi
pop eax
pop eax
push ecx
push ebp
push esi
push ebx
pop ebp
push ecx
push ebp
pop eax
pop esp
push esp
push esp
pop eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
je 0x1000dcef
lea eax, [ebp - 0x248]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000dce0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.100107d0
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
add esp, 4
mov esi, edi
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
cmp ebx, edi
cmovb esi, ebx
test esi, esi
jne 0x1000ddc0
xor eax, eax
test eax, eax
jne 0x1000dd4a
cmp ebx, edi
jb 0x1000dd4a
jbe 0x1000dde7
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x1000dd63
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10007870
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x270]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000dc50
xor ebx, ebx
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x1000dda0
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.10007870
mov eax, ebx
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.10017646
mov esp, ebp
pop ebp
ret
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1000ddd6
add edx, 2
add ecx, 2
sub esi, 1
jmp 0x1000dd34
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1000dd3c
lea ecx, [ebp - 0x28]
mov ebx, 1
call fcn.10004310
jmp 0x1000dd7f