Function at 0x408b30
Capabilities:
Enumerate processes
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41d973
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x30], ebx
mov al, byte [esp + 0x10]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x230], ebx
mov dword [esp + 0x100], 0x128
mov byte [esp + 0x18], al
call fcn.0040cc10
mov edi, 0x401008
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.0040cd20
test al, al
je 0x408bbd
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x401008
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040cd00
xor eax, eax
mov ecx, 0x31
mov dword [esp + 0x26], eax
lea edi, [esp + 0x36]
mov dword [esp + 0x2a], eax
mov word [esp + 0x34], bx
rep stosd dword es:[edi], eax
push ebx
push 2
mov byte [esp + 0x234], 1
mov word [esp + 0x2c], bx
stosw word es:[edi], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x408c7b
mov ebp, dword [esp + 0x234]
mov cl, byte [esp + 0x10]
push ebx
mov byte [ebp], cl
mov ecx, ebp
call fcn.0040cc10
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.0040cd20
test al, al
je 0x408c48
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
xor esi, esi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040cd00
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0
call fcn.0040cc10
push 1
lea ecx, [esp + 0x240]
mov dword [esp + 0x230], 0xffffffff
call fcn.0040cc10
mov eax, ebp
jmp 0x408f9d
lea eax, [esp + 0xfc]
push eax
push ebp
call sub.KERNEL32.dll_Process32First
mov ebx, dword [esp + 0x24c]
sub esp, 0x128
mov ecx, 0x4a
lea esi, [esp + 0x224]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00408760
lea ecx, [esp + 0x15c]
lea edx, [esp + 0x248]
push ecx
push edx
mov esi, eax
call fcn.00408920
add esp, 0x130
push ebx
push esi
call fcn.0041d7b0
add esp, 8
test eax, eax
je 0x408d36
push 0x403508
push esi
call fcn.0041d7b0
add esp, 8
test eax, eax
je 0x408d36
push 0x4034e8
push esi
call fcn.0041d7b0
add esp, 8
test eax, eax
je 0x408d36
mov eax, dword [esp + 0x250]
push eax
push esi
call fcn.0041d7b0
add esp, 8
test eax, eax
jne 0x408d18
mov word [esp + 0x28], 1
jmp 0x408d3d
mov ecx, dword [esp + 0x254]
push ecx
push esi
call fcn.0041d7b0
add esp, 8
test eax, eax
jne 0x408d3d
mov word [esp + 0x2a], 1
jmp 0x408d3d
mov word [esp + 0x26], 1
push esi
call fcn.00415431
add esp, 4
lea edx, [esp + 0xfc]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x408c90
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
xor ebx, ebx
push 0x4034d0
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, ebx
je 0x408d86
push eax
mov word [esp + 0x30], 1
call esi
xor esi, esi
lea ebp, [esp + 0x24]
cmp word [ebp], bx
je 0x408dc2
push esi
lea eax, [esp + 0x14]
push 0x4034cc
push eax
call fcn.0041531f
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c480
inc esi
add ebp, 2
cmp esi, 5
jb 0x408d8c
cmp dword [esp + 0x1c], ebx
jbe 0x408e10
lea ecx, [esp + 0x14]
call fcn.0040cb90
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x408de6
xor eax, eax
jmp 0x408dec
mov edx, dword [esp + 0x1c]
add eax, edx
lea ecx, [esp + 0x14]
lea esi, [eax - 1]
call fcn.0040cb90
cmp esi, ebx
jne 0x408e00
xor esi, esi
jmp 0x408e04
sub esi, dword [esp + 0x18]
push 1
push esi
lea ecx, [esp + 0x1c]
call fcn.0040c820
mov ebp, dword [esp + 0x238]
xor esi, esi
lea eax, [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
cmp word [ecx], bx
je 0x408ea7
push esi
lea edx, [esp + 0x28]
push 0x4034cc
push edx
call fcn.0041531f
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x407740]
mov edx, dword [ebp + 8]
not ecx
dec ecx
sub eax, edx
mov edi, ecx
cmp eax, edi
ja 0x408e64
call fcn.00412f64
cmp edi, ebx
jbe 0x408ea7
mov ecx, dword [ebp + 8]
mov ebx, edi
add ebx, ecx
push 0
push ebx
mov ecx, ebp
call fcn.0040cd20
test al, al
je 0x408ea5
mov edx, dword [ebp + 8]
mov ecx, edi
mov edi, dword [ebp + 4]
lea esi, [esp + 0x24]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040cd00
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
inc esi
add ecx, 2
cmp esi, 0x64
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], ecx
jb 0x408e25
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jbe 0x408f1a
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x408ee2
mov al, byte [eax - 1]
test al, al
je 0x408ee2
cmp al, 0xff
je 0x408ee2
push ebx
push ecx
mov ecx, ebp
call fcn.0040cd20
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x408eed
mov byte [eax - 1], 0xff
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x408ef8
xor eax, eax
jmp 0x408efb
add eax, dword [ebp + 8]
mov ecx, ebp
lea esi, [eax - 1]
call fcn.0040cb90
cmp esi, ebx
jne 0x408f0d
xor esi, esi
jmp 0x408f10
sub esi, dword [ebp + 4]
push 1
push esi
mov ecx, ebp
call fcn.0040c820
mov esi, dword [esp + 0x234]
mov al, byte [esp + 0x14]
lea edx, [esp + 0x14]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x407740]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.0040c540
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x408f68
mov al, byte [ecx - 1]
test al, al
je 0x408f5e
cmp al, 0xff
je 0x408f5e
dec al
mov byte [ecx - 1], al
jmp 0x408f68
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x240]
mov dword [esp + 0x18], ebx
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x408f9b
mov al, byte [ecx - 1]
test al, al
je 0x408f91
cmp al, 0xff
je 0x408f91
dec al
mov byte [ecx - 1], al
jmp 0x408f9b
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x220
ret