Function at 0xbfe140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0xd3ebf6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
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], 0xdb5620
jne 0xbfe1c6
push 0x1c
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbfe1bc
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
jmp 0xbfe1be
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.00b99870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0xbfe1ee
mov eax, dword [esp + 0x28]
push eax
call fcn.00cd8a36
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], 0xdb5620
jne 0xbfe23b
push 0x1c
call fcn.00cd8a50
add esp, 4
cmp eax, ebx
je 0xbfe231
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], 0
jmp 0xbfe233
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.00b99870
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0xbfe263
mov eax, dword [esp + 0x28]
push eax
call fcn.00cd8a36
add esp, 4
xor ebp, ebp
jmp 0xbfe270
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp + 0xd66580]
cmp dword [esi + 0x40], eax
jne 0xbfe2df
mov ecx, dword [esi + 0x44]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0xbfe2df
mov edi, dword [esi + 0x3c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x20]
jl 0xbfe29f
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.00cd7a7c
mov ecx, dword [esi + 0x40]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x3c], eax
call fcn.00cdc600
lea edx, [esi + 0x48]
add esp, 0x10
cmp edi, edx
je 0xbfe2df
push edi
call fcn.00cd9081
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 0xbfe270
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esi + 0x60]
mov ebx, dword [ebp + 0xd665d8]
cmp dword [esi + 0x5c], eax
jne 0xbfe36f
mov ecx, dword [esi + 0x60]
inc eax
mov dword [esp + 0x1c], eax
cmp ecx, eax
jge 0xbfe36f
mov edi, dword [esi + 0x58]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x1c]
jl 0xbfe32f
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.00cd7a7c
mov ecx, dword [esi + 0x5c]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x58], eax
call fcn.00cdc600
lea edx, [esi + 0x64]
add esp, 0x10
cmp edi, edx
je 0xbfe36f
push edi
call fcn.00cd9081
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 0xbfe300
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
je 0xbfe3a5
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 0xbfe393
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.00cd8a41
add esp, 0x40
ret 4