Function at 0x5a150
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1cbd64
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x2316ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov eax, dword [0x2316ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
push eax
xor esi, esi
push edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], esi
call fcn.0003cc20
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], esi
mov dword [edi + 0x80], eax
push 0x18
mov dword [edi + 0x8c], esi
call fcn.00158a50
add esp, 4
cmp eax, esi
je 0x5a603
mov dword [edi + 0x88], eax
mov dword [eax], eax
mov eax, dword [edi + 0x88]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x88]
mov dword [eax + 8], eax
mov ecx, dword [edi + 0x88]
mov byte [ecx + 0x14], 1
mov edx, dword [edi + 0x88]
mov byte [edx + 0x15], 1
mov byte [esp + 0x44], 2
lea ebx, [edi + 0x94]
push 0x14
mov dword [ebx + 8], esi
call fcn.00158a50
add esp, 4
cmp eax, esi
je 0x5a5e9
mov dword [ebx + 4], eax
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov eax, dword [ebx + 4]
mov byte [eax + 0x10], 1
mov ecx, dword [ebx + 4]
mov byte [ecx + 0x11], 1
mov byte [esp + 0x44], 4
push 0x14
mov dword [edi + 0xac], esi
call fcn.00158a50
add esp, 4
cmp eax, esi
je 0x5a5cf
mov dword [edi + 0xa8], eax
mov dword [eax], eax
mov eax, dword [edi + 0xa8]
mov dword [eax + 4], eax
mov eax, dword [edi + 0xa8]
mov dword [eax + 8], eax
mov edx, dword [edi + 0xa8]
mov byte [edx + 0x10], 1
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x11], 1
mov byte [esp + 0x44], 6
push 0x14
mov dword [edi + 0xbc], esi
call fcn.00158a50
add esp, 4
cmp eax, esi
je 0x5a5b5
mov dword [edi + 0xb8], eax
mov dword [eax], eax
mov eax, dword [edi + 0xb8]
mov dword [eax + 4], eax
mov eax, dword [edi + 0xb8]
mov dword [eax + 8], eax
mov ecx, dword [edi + 0xb8]
mov byte [ecx + 0x10], 1
mov edx, dword [edi + 0xb8]
mov byte [edx + 0x11], 1
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x44], 8
or dword [edi + 0x7c], 2
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x40]
xor ebp, ebp
mov dword [esp + 0x10], eax
cmp eax, esi
jle 0x5a333
lea esp, [esp]
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx + ebp*4]
push 0x14
mov dword [esp + 0x18], edx
call fcn.00158a50
add esp, 4
cmp eax, esi
je 0x5a3f0
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
mov word [eax + 0x10], 0
cmp ecx, esi
je 0x5a320
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
push eax
lea esi, [esp + 0x30]
call fcn.000e5610
inc ebp
xor esi, esi
cmp ebp, dword [esp + 0x10]
jl 0x5a2e0
mov eax, dword [edi + 0x98]
mov dword [edi + 0x40], esi
mov esi, dword [eax]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x5a42f
lea ebx, [ebx]
mov eax, dword [edi + 0x44]
mov ebx, dword [esi + 0xc]
cmp dword [edi + 0x40], eax
jne 0x5a3bf
mov ecx, dword [edi + 0x44]
inc eax
mov dword [esp + 0x14], eax
cmp ecx, eax
jge 0x5a3bf
mov ebp, dword [edi + 0x3c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x14]
jl 0x5a37c
lea eax, [esp + 0x10]
mov eax, dword [eax]
xor ecx, ecx
mov dword [edi + 0x44], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00157a7c
mov ecx, dword [edi + 0x40]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push ebp
push eax
mov dword [edi + 0x3c], eax
call fcn.0015c600
lea edx, [edi + 0x48]
add esp, 0xc
cmp ebp, edx
je 0x5a3bf
push ebp
call fcn.00159081
add esp, 4
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
mov dword [ecx + eax*4], ebx
inc dword [edi + 0x40]
cmp byte [esi + 0x11], 0
jne 0x5a425
mov eax, dword [esi + 8]
cmp byte [eax + 0x11], 0
jne 0x5a40a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
jne 0x5a425
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
je 0x5a3e4
jmp 0x5a425
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0xa
call fcn.00014df0
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x5a423
cmp esi, dword [eax + 8]
jne 0x5a423
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x5a413
mov esi, eax
cmp esi, dword [esp + 0x20]
jne 0x5a350
mov eax, dword [edi + 0x5c]
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x5a48e
mov edx, dword [edi + 0x58]
mov esi, dword [edx + ebp*4]
push 0x14
call fcn.00158a50
add esp, 4
test eax, eax
je 0x5a550
mov ecx, dword [edi + 0xa8]
lea ebx, [edi + 0xa4]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
mov word [eax + 0x10], 0
test ecx, ecx
je 0x5a47d
mov dword [ecx], esi
push eax
lea esi, [esp + 0x30]
call fcn.000e5610
inc ebp
cmp ebp, dword [esp + 0x10]
jl 0x5a43c
mov eax, dword [edi + 0xa8]
mov dword [edi + 0x5c], 0
mov esi, dword [eax]
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x5a593
lea esp, [esp]
mov eax, dword [edi + 0x60]
mov ebx, dword [esi + 0xc]
cmp dword [edi + 0x5c], eax
jne 0x5a51f
mov ecx, dword [edi + 0x60]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0x5a51f
mov ebp, dword [edi + 0x58]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x20]
jl 0x5a4dc
lea eax, [esp + 0x14]
mov eax, dword [eax]
xor ecx, ecx
mov dword [edi + 0x60], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00157a7c
mov ecx, dword [edi + 0x5c]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push ebp
push eax
mov dword [edi + 0x58], eax
call fcn.0015c600
lea edx, [edi + 0x64]
add esp, 0xc
cmp ebp, edx
je 0x5a51f
push ebp
call fcn.00159081
add esp, 4
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
mov dword [ecx + eax*4], ebx
inc dword [edi + 0x5c]
cmp byte [esi + 0x11], 0
jne 0x5a589
mov eax, dword [esi + 8]
cmp byte [eax + 0x11], 0
jne 0x5a56e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
jne 0x5a589
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x11], 0
je 0x5a544
jmp 0x5a589
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0xc
call fcn.00014df0
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x5a587
cmp esi, dword [eax + 8]
jne 0x5a587
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x5a577
mov esi, eax
cmp esi, dword [esp + 0x10]
jne 0x5a4b0
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00158a41
add esp, 0x38
ret 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 7
call fcn.00014df0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 5
call fcn.00014df0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.00014df0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.00014df0
int3