Function at 0x5a91d8
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x68e4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.0059c0f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.0059c0f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0059c0f0
mov ebx, 2
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
mov dword [esi], ebx
call fcn.0059c0f0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 3
call fcn.005a8fe9
test eax, eax
je 0x5a925d
mov ecx, dword [0x7dc100]
push ebx
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov eax, dword [0x7dc0f8]
push 1
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005a8704
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, 1
jne 0x5a9314
mov ecx, dword [0x7dc0f4]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.005a8d9c
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
je 0x5a92d3
mov eax, dword [0x7dc0f4]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005a8e30
mov eax, dword [0x7dc0fc]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005a8d9c
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, 1
je 0x5a9314
mov ecx, dword [0x7dc0fc]
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8e30
mov ebp, 0x64
mov dword [esi + 4], ebp
mov ecx, dword [0x739a48]
push ebp
push 3
mov eax, dword [ecx]
call dword [eax + 0x54]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
push ecx
mov ecx, esi
call fcn.005a8fe9
test eax, eax
je 0x5a935e
mov edx, dword [0x7dc104]
push ebp
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov edi, 0x32
mov dword [esi + 8], edi
mov ecx, dword [0x739a48]
push edi
push ebx
mov edx, dword [ecx]
call dword [edx + 0x54]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 5
call fcn.005a8fe9
test eax, eax
je 0x5a93b4
mov ecx, dword [0x7dc108]
push edi
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov dword [esi + 0xc], edi
mov ecx, dword [0x739a48]
push edi
push 1
mov eax, dword [ecx]
call dword [eax + 0x54]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
push ecx
mov ecx, esi
call fcn.005a8fe9
test eax, eax
je 0x5a9406
mov edx, dword [0x7dc10c]
push edi
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov dword [esi + 0x10], ebp
mov ecx, dword [0x739a48]
push ebp
push 4
mov edx, dword [ecx]
call dword [edx + 0x54]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 7
call fcn.005a8fe9
test eax, eax
je 0x5a9458
mov ecx, dword [0x7dc110]
push ebp
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
xor ebp, ebp
lea ecx, [esp + 0x18]
mov dword [esi + 0x14], ebp
call fcn.0059c0f0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 8
call fcn.005a8fe9
test eax, eax
je 0x5a949e
mov ecx, dword [0x7dc114]
push ebp
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov dword [esi + 0x20], ebp
mov ecx, dword [0x739a48]
push ebp
push 0xe
mov eax, dword [ecx]
call dword [eax + 0x54]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 9
push ecx
mov ecx, esi
call fcn.005a8fe9
test eax, eax
je 0x5a94f0
mov edx, dword [0x7dc120]
push ebp
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov dword [esi + 0x24], ebp
mov ecx, dword [0x739a48]
push ebp
push 0x13
mov edx, dword [ecx]
call dword [edx + 0x54]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 0xa
call fcn.005a8fe9
test eax, eax
je 0x5a9542
mov ecx, dword [0x7dc124]
push ebp
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov edi, 1
mov dword [esi + 0x2c], edi
mov ecx, dword [0x739a48]
push edi
mov eax, dword [ecx]
call dword [eax + 0x70]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0xb
push ecx
mov ecx, esi
call fcn.005a8fe9
test eax, eax
je 0x5a9597
mov edx, dword [0x7dc12c]
push edi
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov dword [esi + 0x30], edi
lea ecx, [esp + 0x18]
mov dword [0x73a028], edi
call fcn.0059c0f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0xc
push ecx
mov ecx, esi
call fcn.005a8fe9
test eax, eax
je 0x5a95e1
mov edx, dword [0x7dc130]
push edi
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov dword [esi + 0x34], edi
mov ecx, dword [0x739a48]
push edi
mov edx, dword [ecx]
call dword [edx + 0x78]
lea ecx, [esp + 0x18]
call fcn.0059c0f0
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], 0xd
call fcn.005a8fe9
test eax, eax
je 0x5a9631
mov ecx, dword [0x7dc134]
push edi
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8c5e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.005a87fa
mov ecx, 0x7354c8
call fcn.005a0599
fcom dword [0x7dc13c]
fnstsw ax
test ah, 1
je 0x5a9673
push edi
mov ecx, esi
fstp st(0)
call fcn.005a9d57
push ebp
mov ecx, esi
call fcn.005a9ef5
push 7
mov ecx, esi
call fcn.005aa111
push ebp
jmp 0x5a96c9
fcom dword [0x7dc140]
fnstsw ax
test ah, 1
je 0x5a969e
push edi
mov ecx, esi
fstp st(0)
call fcn.005a9d57
push ebp
mov ecx, esi
call fcn.005a9ef5
push 0xc
mov ecx, esi
call fcn.005aa111
push ebp
jmp 0x5a96c9
fcomp dword [0x7dc144]
fnstsw ax
test ah, 1
je 0x5a96ae
push ebx
jmp 0x5a96b0
push 3
mov ecx, esi
call fcn.005a9d57
push edi
mov ecx, esi
call fcn.005a9ef5
push 0xc
mov ecx, esi
call fcn.005aa111
push edi
mov ecx, esi
call fcn.005a9ccd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.005a87fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.005a87fa
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005a87fa
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret