Function at 0x10002050
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7bb6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x868
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x86c], eax
push 0x3e8
lea eax, [ebp - 0x608]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.100b7060
push esi
lea eax, [ebp - 0x608]
push 0x1f4
push eax
call fcn.100ba167
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x860], 0x7c
push eax
lea eax, [ebp - 0x860]
mov dword [ebp - 0x85c], edi
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.100ba125
mov edx, eax
add esp, 0x24
test edx, edx
je 0x10002234
xor eax, eax
mov dword [ebp - 0x610], 0
mov word [ebp - 0x620], ax
mov eax, edx
mov dword [ebp - 0x60c], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002135
sub eax, esi
lea ecx, [ebp - 0x620]
sar eax, 1
push eax
push edx
call fcn.10002ec0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x858], edi
je 0x1000219b
movups xmm0, xmmword [ebp - 0x620]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x620], ax
movq xmm0, qword [ebp - 0x610]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x870], edi
jmp 0x100021c6
lea eax, [ebp - 0x620]
push eax
push edi
lea ecx, [ebp - 0x874]
call fcn.10002a70
mov eax, dword [ebp - 0x86c]
mov edi, dword [ebp - 0x870]
mov edx, dword [ebp - 0x60c]
mov dword [ebp - 0x858], eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10002204
mov ecx, dword [ebp - 0x620]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100021fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100023a7
push edx
push ecx
call fcn.100b4813
add esp, 8
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x860]
push eax
push 0
call fcn.100ba125
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x10002113
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x854], eax
jmp 0x10002236
xor eax, eax
mov esi, eax
cmp esi, edi
je 0x1000231d
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100b7060
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10002260
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.100ba167
push 0x228
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x850], 0x22c
push 0
push eax
call fcn.100b7060
add esp, 0x18
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x864], eax
cmp eax, 0xffffffff
je 0x10002312
lea ecx, [ebp - 0x850]
mov dword [ebp - 0x868], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100022fd
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x82c]
call fcn.10004660
test al, al
jne 0x100022f1
lea eax, [ebp - 0x850]
push eax
push dword [ebp - 0x864]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100022c3
jmp 0x100022fd
mov eax, dword [ebp - 0x848]
mov dword [ebp - 0x868], eax
push dword [ebp - 0x864]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x868], 0
jg 0x10002376
add esi, 0x18
cmp esi, edi
jne 0x10002240
xor esi, esi
cmp dword [ebp - 0x854], 0
je 0x10002387
mov edx, edi
mov edi, dword [ebp - 0x854]
push ecx
mov ecx, edi
call fcn.10002d50
mov ecx, dword [ebp - 0x858]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1000237d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100023a7
jmp 0x1000237d
mov esi, 1
jmp 0x1000231f
push ecx
push edi
call fcn.100b4813
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ba02c
int3