Function at 0xbde140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xd1ebf6
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 esi, dword [esp + 0x58]
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebp
call edx
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x50], ebx
or dword [esi + 0x7c], 1
cmp dword [esi + 8], 0xd95620
jne 0xbde1c6
push 0x1c
call fcn.00cb8a50
add esp, 4
cmp eax, ebx
je 0xbde1bc
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0xbde1be
xor eax, eax
mov byte [esp + 0x50], 0
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00b79870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0xbde1ee
mov eax, dword [esp + 0x28]
push eax
call fcn.00cb8a36
add esp, 4
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call edx
mov edi, eax
mov dword [esp + 0x50], 2
or dword [esi + 0x7c], 4
cmp dword [esi + 0xc], 0xd95620
jne 0xbde23b
push 0x1c
call fcn.00cb8a50
add esp, 4
cmp eax, ebx
je 0xbde231
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], 0
jmp 0xbde233
xor eax, eax
mov byte [esp + 0x50], 2
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00b79870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0xbde263
mov eax, dword [esp + 0x28]
push eax
call fcn.00cb8a36
add esp, 4
xor ebp, ebp
jmp 0xbde270
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp + 0xd46580]
cmp dword [esi + 0x40], eax
jne 0xbde2df
mov ecx, dword [esi + 0x44]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0xbde2df
mov edi, dword [esi + 0x3c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x20]
jl 0xbde29f
lea eax, [esp + 0x1c]
mov eax, dword [eax]
xor ecx, ecx
mov dword [esi + 0x44], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00cb7a7c
mov ecx, dword [esi + 0x40]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x3c], eax
call fcn.00cbc600
lea edx, [esi + 0x48]
add esp, 0x10
cmp edi, edx
je 0xbde2df
push edi
call fcn.00cb9081
add esp, 4
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov dword [ecx + eax*4], ebx
inc dword [esi + 0x40]
add ebp, 4
cmp ebp, 0x54
jb 0xbde270
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esi + 0x60]
mov ebx, dword [ebp + 0xd465d8]
cmp dword [esi + 0x5c], eax
jne 0xbde36f
mov ecx, dword [esi + 0x60]
inc eax
mov dword [esp + 0x1c], eax
cmp ecx, eax
jge 0xbde36f
mov edi, dword [esi + 0x58]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x1c]
jl 0xbde32f
lea eax, [esp + 0x20]
mov eax, dword [eax]
xor ecx, ecx
mov dword [esi + 0x60], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00cb7a7c
mov ecx, dword [esi + 0x5c]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x58], eax
call fcn.00cbc600
lea edx, [esi + 0x64]
add esp, 0x10
cmp edi, edx
je 0xbde36f
push edi
call fcn.00cb9081
add esp, 4
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [ecx + eax*4], ebx
inc dword [esi + 0x5c]
add ebp, 4
cmp ebp, 0x48
jb 0xbde300
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
je 0xbde3a5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 4
cmp edi, dword [ebx + 0x10]
jne 0xbde393
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