Function at 0xbd39e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xd2b9c6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xd916ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x58]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x50], ebx
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0xbd3a4a
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
jmp 0xbd3c42
cmp dword [ebp + 0x20], ebx
je 0xbd3a54
mov ecx, dword [ebp + 0x20]
jmp 0xbd3a5d
mov ecx, dword [0xdad70c]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x48]
mov dword [esp + 0x20], ecx
cmp ecx, ebx
jne 0xbd3a92
mov dword [esp + 0x14], ebx
mov ecx, ebp
cmp eax, 1
je 0xbd3a81
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
call eax
jmp 0xbd3c42
push 5
xor edx, edx
call fcn.00ba82c0
add esp, 4
jmp 0xbd3c35
or dword [ebp + 0x28], 0x40
cmp dword [ebp + 0x20], ebx
jne 0xbd3ac6
push 0x130
call fcn.00cb8a50
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0xbd3abd
push eax
call fcn.00ba3050
jmp 0xbd3abf
xor eax, eax
mov byte [esp + 0x50], bl
mov dword [ebp + 0x20], eax
mov edi, dword [ebp + 0x20]
call fcn.00bd2440
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x20], ebx
jle 0xbd3c14
or dword [ebp + 0x28], 0x40
cmp dword [ebp + 0x20], ebx
jne 0xbd3b12
push 0x130
call fcn.00cb8a50
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x50], 2
cmp eax, ebx
je 0xbd3b09
push eax
call fcn.00ba3050
jmp 0xbd3b0b
xor eax, eax
mov byte [esp + 0x50], bl
mov dword [ebp + 0x20], eax
mov esi, dword [ebp + 0x20]
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
cmp eax, ecx
jge 0xbd3b2d
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + 0x68], eax
mov esi, ecx
jmp 0xbd3b91
mov eax, dword [esi + 0x70]
cmp ecx, eax
jne 0xbd3b3e
inc eax
push eax
lea eax, [esi + 0x64]
call fcn.00c31990
inc dword [esi + 0x6c]
push 0x38
call fcn.00cb8a50
add esp, 4
cmp eax, ebx
je 0xbd3b81
fldz
mov dword [eax], vtable.ipc::proto::Variable.0
mov dword [eax + 4], ebx
fstp qword [eax + 0x18]
mov dword [eax + 0x30], ebx
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x20], 0xd95620
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x34], ebx
jmp 0xbd3b83
xor eax, eax
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
mov dword [ecx + edx*4], eax
inc dword [esi + 0x68]
mov esi, eax
or dword [esi + 0x34], 1
mov dword [esi + 8], ebx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
jne 0xbd3ba8
mov edx, dword [0xdad70c]
mov eax, dword [edx + 0x20]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + edi*4]
cmp dword [eax + 0x10], ebx
je 0xbd3c01
lea ecx, [esp + 0x28]
push ebx
push ecx
mov edi, eax
call fcn.00bd2470
add esp, 8
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x50], 5
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x28]
call eax
mov byte [esp + 0x50], bl
cmp dword [esp + 0x3c], 0x10
jb 0xbd3bed
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00cb8a36
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x20]
jl 0xbd3ade
mov esi, dword [esp + 0x1c]
cmp dword [ebp + 0xc], 1
jne 0xbd3c31
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
or dword [ebp + 0x28], 0xe
mov dword [ebp + 0xc], 2
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
push ebp
push esi
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00cb8a41
add esp, 0x40
ret 4