Function at 0x10018280
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1009470a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0xa
push 0x14
lea eax, [esp + 0x54]
push eax
push ecx
call fcn.1007a74b
lea edx, [esp + 0x3c]
xor ebp, ebp
push edx
lea edi, [esp + 0x60]
mov ecx, str.SpecificPidandRules
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.1004a5a0
add esp, 0x14
mov dword [esp + 0x80], ebp
lea eax, [esp + 0x34]
push eax
call fcn.1001d080
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1009f430
call fcn.10013050
mov byte [esp + 0x80], 2
lea edx, [esp + 0x18]
push edx
mov ecx, 0x1009f434
call fcn.10013050
mov bl, 3
mov byte [esp + 0x80], bl
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x1009ed34
call fcn.10013050
mov byte [esp + 0x80], 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.1001d320
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x1c]
call fcn.10013100
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x18]
call fcn.10013100
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x20]
call fcn.10013100
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
cmp eax, ebp
jbe 0x1001850c
mov eax, dword [0x100d9aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x100d9aac
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x80], 6
mov eax, dword [0x100d9aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x100d9aac
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x80], 8
cmp ebp, dword [esp + 0x3c]
jae 0x10018497
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + ebp*8]
lea ebx, [eax + ebp*8]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x10018443
cmp dword [edi + 0xc], 0
jl 0x10018435
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x10018435
call fcn.1006d080
mov dword [esp + 0x20], eax
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10018428
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x20]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
jmp 0x10018443
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x24]
call fcn.1006d1c0
mov ecx, dword [ebx + 4]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x10018497
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x10018485
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x10018485
call fcn.1006d080
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x1001847c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [esp + 0x18], esi
jmp 0x10018497
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x20]
call fcn.1006d1c0
mov esi, dword [esp + 0x18]
push 0xa
push 0
push esi
call fcn.1007a629
add esp, 0xc
xor edx, edx
mov ecx, ebp
call fcn.10092230
or dword [esp + 0x24], eax
or dword [esp + 0x28], edx
mov byte [esp + 0x80], 6
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100184d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10018501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, dword [esp + 0x30]
jb 0x100183a0
mov eax, dword [0x100e1328]
mov ecx, dword [0x100e132c]
mov edx, eax
xor edx, dword [esp + 0x24]
mov esi, ecx
xor esi, dword [esp + 0x28]
and eax, edx
and ecx, esi
or eax, ecx
je 0x1001856c
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x34]
push ecx
call fcn.100185d0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10018568
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x100185ae
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x34]
push ecx
call fcn.100185d0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100185a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10079a05
add esp, 0x70
ret