Function at 0xd2b38
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0xd2f31
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
mov edx, 0xd2f4c
mov eax, esi
call fcn.000941d0
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x24]
call fcn.00013d80
or ecx, 0xffffffff
mov edx, 0xd2f5c
mov eax, esi
call fcn.00094170
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov edx, 0xd2f70
mov eax, esi
call fcn.00094170
mov dword [ebx + 0x10], eax
xor ecx, ecx
mov edx, 0xd2f80
mov eax, esi
call fcn.00094170
mov byte [ebx + 0x30], al
mov edx, 0xd2f94
mov eax, esi
call fcn.00094d38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0xd2be0
mov ecx, 0xd2fa4
mov dl, 1
mov eax, dword [0x17b94]
call fcn.0001bcf8
call fcn.0001375c
xor ecx, ecx
mov edx, 0xd2fc4
mov eax, dword [ebp - 0x18]
call fcn.00094170
mov dword [ebp - 8], eax
mov ecx, 0x64
mov edx, 0xd2fd4
mov eax, dword [ebp - 0x18]
call fcn.00094170
mov edi, eax
mov ecx, 0x64
mov edx, 0xd2fe4
mov eax, dword [ebp - 0x18]
call fcn.00094170
mov dword [ebp - 0xc], eax
mov ecx, 8
mov edx, 0xd2ff4
mov eax, dword [ebp - 0x18]
call fcn.00094170
mov esi, eax
push esi
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, dword [ebx + 0x14]
mov edi, dword [eax]
call dword [edi + 0x68]
cmp esi, 8
jg 0xd2d1f
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0xd3000
mov eax, dword [ebp - 0x18]
call fcn.00094358
mov eax, dword [ebp - 0x1c]
call fcn.00013fac
mov ecx, esi
mov edi, 1
shl edi, cl
mov edx, edi
add edx, edx
lea edx, [edx + edx*2]
cmp eax, edx
jge 0xd2c8b
mov ecx, 0xd300c
mov dl, 1
mov eax, dword [0x17b94]
call fcn.0001bcf8
call fcn.0001375c
dec edi
test edi, edi
jl 0xd2d17
inc edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x10]
add edx, edx
lea edx, [edx + edx*2]
inc edx
mov ecx, 6
mov eax, dword [ebp - 0x1c]
call fcn.000141b4
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0xd3030
call fcn.00013ff8
mov eax, dword [ebp - 0x28]
call fcn.00018c80
mov esi, eax
mov eax, esi
call fcn.000176c8
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx*4 + 0x87], al
mov eax, esi
call fcn.000176cc
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx*4 + 0x86], al
mov eax, esi
call fcn.000176d0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx*4 + 0x85], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0xd2c9f
mov eax, dword [ebx + 0x14]
call fcn.00067e28
mov eax, dword [ebx + 0x18]
test eax, eax
jl 0xd2d49
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.000675ac
mov eax, dword [ebx + 0x14]
call fcn.000672c0
xor ecx, ecx
xor edx, edx
call fcn.0002a3c0
mov dword [ebx + 0x1c], eax
jmp 0xd2d50
mov dword [ebx + 0x1c], 0xffffffff
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x10]
call fcn.000176d0
and eax, 0xff
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x10]
call fcn.000176cc
and eax, 0xff
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x10]
call fcn.000176c8
xor edx, edx
mov dl, al
mov eax, esi
pop ecx
call fcn.000c0204
push eax
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.000bc74c
lea edx, [ebp - 0x3c]
mov eax, esi
pop ecx
call fcn.000bc8f4
mov byte [ebp - 0x11], 1
mov edx, 0xd303c
mov eax, dword [ebp - 0x18]
call fcn.00094cec
mov edi, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0xd2f0e
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov edx, edi
mov eax, dword [ebp - 0x18]
call fcn.00093f8c
test eax, eax
je 0xd2df2
mov edx, edi
mov eax, dword [ebp - 0x18]
call fcn.00093f8c
mov edx, 0xd303c
call fcn.00094de8
test al, al
jne 0xd2e08
mov ecx, 0xd304c
mov dl, 1
mov eax, dword [0x17b94]
call fcn.0001bcf8
call fcn.0001375c
mov ecx, ebx
mov dl, 1
mov eax, dword [0xd128c]
call fcn.000d14cc
mov esi, eax
mov edx, esi
mov eax, ebx
call fcn.00020b38
mov eax, dword [ebp + 0xc]
push eax
mov edx, edi
mov eax, dword [ebp - 0x18]
call fcn.00093f8c
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.000d1f28
cmp byte [esi + 0x10], 0
je 0xd2f01
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x4c8]
test eax, eax
setne dl
and dl, byte [ebp - 0x11]
je 0xd2e68
cmp byte [esi + 0x1c], 0
je 0xd2e68
mov edx, eax
mov eax, dword [ebx + 0x14]
call fcn.000c07d0
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x4c8], 0
je 0xd2ea6
cmp byte [esi + 0x1c], 0
je 0xd2ea6
cmp dword [ebp - 0x10], 0
jle 0xd2ea6
mov eax, dword [esi + 0xc]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0xc]
call fcn.000bc74c
lea eax, [ebp - 0x3c]
push eax
push 0xff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.000bc4d4
jmp 0xd2efd
cmp dword [esi + 0x14], 0
jl 0xd2ebb
cmp byte [ebp - 0x11], 0
je 0xd2ed6
mov eax, dword [ebx + 0x20]
cmp byte [eax + 0x24], 0
je 0xd2ed6
cmp dword [esi + 0x18], 0xff
jl 0xd2ed6
mov eax, dword [esi + 0xc]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.000bcbbc
jmp 0xd2efd
mov eax, dword [esi + 0xc]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0xc]
call fcn.000bc74c
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x18]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.000bbd9c
mov byte [ebp - 0x11], 0
inc edi
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0xd2dcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd2f38
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00013d50
lea eax, [ebp - 0x1c]
call fcn.00013d2c
ret