Function at 0x10023560
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 0x1008aa45
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x100a70c0]
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
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x27c], eax
call fcn.1001cc30
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
lea edi, [ebp - 0x44]
cmova eax, edx
cmova ecx, edx
mov dword [ebp - 0x284], eax
cmova edi, edx
mov eax, dword [ebp - 0x34]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x280], eax
cmp edi, eax
je 0x1002363b
mov esi, dword [ebp - 0x284]
sub esi, edi
nop dword [eax]
movzx eax, word [edi]
push eax
call fcn.10073c56
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, dword [ebp - 0x280]
jne 0x10023620
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
push esi
mov dword [ebp - 0x278], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10023664
xor esi, esi
jmp 0x1002376d
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1002375f
lea ecx, [ebp - 0x254]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023690
sub ecx, edx
lea eax, [ebp - 0x254]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001d110
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
cmova edi, dword [ebp - 0x2c]
lea eax, [eax + edx*2]
mov dword [ebp - 0x280], eax
cmp esi, eax
je 0x100236fe
sub edi, esi
nop word [eax + eax]
movzx eax, word [esi]
push eax
call fcn.10073c56
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x280]
jne 0x100236e0
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
lea esi, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 7
cmova esi, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jne 0x10023739
test edx, edx
je 0x10023731
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x10023739
add ecx, 2
sub edx, 1
jne 0x10023720
mov esi, dword [ebp - 0x270]
jmp 0x10023761
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
push esi
mov dword [ebp - 0x278], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10023684
xor esi, esi
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x100237a3
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023799
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002380d
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x100237ed
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100237e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002380d
push ecx
push edx
call fcn.10063674
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.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006dd1f
int3