Function at 0x436c08
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
mov eax, 0x5988e0
push ebx
push esi
push edi
lea esi, [ebp - 0x70]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
call fcn.004c0cc0
cmp dword [edi], 0
jne 0x436c58
mov word [esi + 0x10], 8
push 0xffffffffffffffff
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0043710c
add dword [esi + 0x1c], 3
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [esi + 0x1c], 3
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x4370a5
mov word [esi + 0x10], 0x14
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0043722c
pop ecx
lea eax, [ebp - 0x3c]
add dword [esi + 0x1c], 2
push eax
call fcn.0043722c
pop ecx
lea edx, [ebp - 0x2c]
add dword [esi + 0x1c], 2
push edx
call fcn.0043722c
pop ecx
add dword [esi + 0x1c], 2
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x20
test ebx, ebx
jne 0x436c98
lea ebx, [ebp - 0x4c]
cmp dword [ebx + 0xc], 0
jge 0x436ce6
cmp dword [ebx + 0xc], 8
jge 0x436cab
mov dword [ebx + 0xc], 8
cmp dword [ebx + 0xc], 0
jge 0x436cb9
mov eax, dword [ebx + 0xc]
add eax, eax
mov dword [ebx + 0xc], eax
cmp dword [ebx + 0xc], 0
jge 0x436cd0
mov edx, 0xb
mov dword [ebx + 0xc], edx
mov ecx, dword [ebx + 0xc]
and ecx, 7
sub dword [ebx + 0xc], ecx
mov eax, dword [ebx + 0xc]
shl eax, 2
push eax
mov edx, dword [ebx + 4]
push edx
call fcn.004c0130
add esp, 8
mov dword [ebx + 4], eax
xor ecx, ecx
lea eax, [ebx + 0x10]
mov dword [ebx + 8], ecx
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0xc], 0
jge 0x436d63
mov ecx, dword [ebp - 0x78]
cmp dword [ecx + 0xc], 8
jge 0x436d0d
mov eax, dword [ebp - 0x78]
mov dword [eax + 0xc], 8
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0xc], 0
jge 0x436d21
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0xc]
add eax, eax
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0xc], 0
jge 0x436d44
mov ecx, dword [ebp - 0x78]
mov eax, 0xb
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov ecx, dword [edx + 0xc]
and ecx, 7
sub dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x78]
mov ecx, dword [edx + 0xc]
shl ecx, 2
push ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 4]
push edx
call fcn.004c0130
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x78]
xor edx, edx
mov dword [eax + 8], edx
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0xc], 0
jge 0x436de3
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0xc], 8
jge 0x436d8d
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0xc], 8
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0xc], 0
jge 0x436da1
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx + 0xc]
add ecx, ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0xc], 0
jge 0x436dc4
mov edx, dword [ebp - 0x7c]
mov ecx, 0xb
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax + 0xc]
and edx, 7
sub dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0xc]
shl edx, 2
push edx
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx + 4]
push eax
call fcn.004c0130
add esp, 8
mov edx, dword [ebp - 0x7c]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ecx + 8], eax
xor edx, edx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x38], 0xffffffff
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x44], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x40], 0x64
test byte [edi + 4], 0x10
je 0x436e23
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x34], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x30], ecx
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x436e33
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x30], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
push 0xffffffffffffffff
mov edx, dword [edi + 8]
push edx
lea ecx, [ebx + 0x20]
push ecx
call fcn.004372e4
mov eax, dword [ebx + 0x24]
add esp, 0xc
xor edx, edx
lea ecx, [ebx + 0x10]
mov dword [eax], edx
push 0
push ecx
call fcn.00437368
add esp, 8
mov eax, dword [ebx + 0x30]
push eax
lea edx, [ebx + 0x10]
push edx
call fcn.00437368
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebx + 0x10]
push ecx
call fcn.00437368
add esp, 8
push 0xffffffffffffffff
lea eax, [ebx + 0x10]
push eax
call fcn.00437368
add esp, 8
push ebx
mov edx, dword [edi]
push edx
mov ecx, dword [edx]
call dword [ecx]
add esp, 8
test eax, eax
jne 0x43701e
mov word [esi + 0x10], 0x2c
push 0xffffffffffffffff
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0043710c
add dword [esi + 0x1c], 3
mov eax, dword [ebp + 8]
add esp, 0xc
mov word [esi + 0x10], 0x38
push eax
lea edx, [ebp - 0x2c]
dec dword [esi + 0x1c]
sub dword [esi + 0x1c], 2
push 2
push edx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea eax, [ebp - 0x4c]
push eax
call fcn.004334f4
add esp, 8
pop eax
mov word [esi + 0x10], 0x2c
add dword [esi + 0x1c], 3
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x4370a5
push ebx
mov ecx, dword [edi]
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 8
test eax, eax
jne 0x436f95
mov word [esi + 0x10], 0x44
push 0xffffffffffffffff
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0043710c
add dword [esi + 0x1c], 3
mov eax, dword [ebp + 8]
add esp, 0xc
mov word [esi + 0x10], 0x50
push eax
lea edx, [ebp - 0x2c]
dec dword [esi + 0x1c]
sub dword [esi + 0x1c], 2
push 2
push edx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea eax, [ebp - 0x4c]
push eax
call fcn.004334f4
add esp, 8
pop eax
mov word [esi + 0x10], 0x44
add dword [esi + 0x1c], 3
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x4370a5
mov eax, dword [ebx + 0x34]
cmp eax, dword [ebx + 0x38]
jne 0x437018
cmp eax, dword [ebx + 0x30]
jne 0x437018
mov word [esi + 0x10], 0x5c
push 0xffffffffffffffff
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0043710c
add dword [esi + 0x1c], 3
mov eax, dword [ebp + 8]
add esp, 0xc
mov word [esi + 0x10], 0x68
push eax
lea edx, [ebp - 0x2c]
dec dword [esi + 0x1c]
sub dword [esi + 0x1c], 2
push 2
push edx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea eax, [ebp - 0x4c]
push eax
call fcn.004334f4
add esp, 8
pop eax
mov word [esi + 0x10], 0x5c
add dword [esi + 0x1c], 3
mov edx, dword [esi]
mov dword fs:[0], edx
jmp 0x4370a5
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebx + 0x30]
cmp eax, dword [ebp - 0x74]
jne 0x436f0f
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x30]
mov dword [edx + 8], ecx
mov word [esi + 0x10], 0x74
mov eax, dword [edi + 8]
push eax
push ebx
mov edx, dword [ebp + 8]
push edx
call fcn.0043710c
add dword [esi + 0x1c], 3
mov eax, dword [ebp + 8]
add esp, 0xc
mov word [esi + 0x10], 0x80
push eax
lea edx, [ebp - 0x2c]
dec dword [esi + 0x1c]
sub dword [esi + 0x1c], 2
push 2
push edx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004334f4
add esp, 8
sub dword [esi + 0x1c], 2
push 2
lea eax, [ebp - 0x4c]
push eax
call fcn.004334f4
add esp, 8
pop eax
mov word [esi + 0x10], 0x74
add dword [esi + 0x1c], 3
mov edx, dword [esi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret