Function at 0x10019870
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a889d
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
lea edi, [ebp + 8]
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
cmova edx, dword [ebp + 8]
add eax, edx
cmp dword [ebp + 0x1c], 0xf
mov dword [ebp - 0x25c], eax
cmova edi, dword [ebp + 8]
movups xmmword [ebp - 0x28], xmm0
cmp edi, eax
jne 0x100198ea
mov ecx, 7
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
jmp 0x1001997b
sub eax, edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov esi, 7
mov dword [ebp - 0x14], esi
cmp eax, 0x7ffffffe
ja 0x10019abd
cmp eax, esi
jbe 0x10019940
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1001991c
mov esi, accept
jmp 0x10019926
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.10019610
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], esi
nop dword [eax + eax]
movsx ax, byte [edi]
lea ecx, [ebp - 0x28]
cmp esi, 7
cmova ecx, dword [ebp - 0x28]
inc edi
mov word [ecx + edx*2], ax
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
cmp edi, dword [ebp - 0x25c]
je 0x10019967
mov esi, dword [ebp - 0x14]
jmp 0x10019940
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push 0
push 2
mov dword [ebp - 0x25c], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100199fb
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x254]
push eax
push esi
call edi
test eax, eax
je 0x100199fb
nop word [eax + eax]
push dword [ebp - 0x25c]
lea eax, [ebp - 0x230]
push eax
call fcn.10033001
add esp, 8
test eax, eax
je 0x10019a7f
lea eax, [ebp - 0x254]
push eax
push esi
call edi
test eax, eax
jne 0x100199d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x255], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10019a43
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019a39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019ac2
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 0xf
jbe 0x10019a9c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019a92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019ac2
jmp 0x10019a92
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x255], 1
jmp 0x10019a09
push ecx
push edx
call fcn.100289c0
add esp, 8
mov al, byte [ebp - 0x255]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
call fcn.10001290
call fcn.1002ea49
int3