Function at 0x10080ed0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134955
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x103b0024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
cmp byte [eax + 4], 0
jne 0x10081349
mov eax, dword [0x103ca918]
mov eax, dword [eax + 0x1c]
dec eax
push eax
call fcn.1009dc20
mov eax, dword [edi + 4]
xor ebx, ebx
movss xmm0, dword [eax + 4]
movss dword [0x103cb034], xmm0
mov eax, dword [0x103cbd24]
mov dword [ebp - 0x20], ebx
lea esi, [eax + eax*2]
shl esi, 4
add esi, 8
add esi, dword [0x103cc070]
je 0x10080f64
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x10080f64
add eax, 4
push 0x103c6594
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10080f66
xor esi, esi
cmp ebx, dword [esi]
jg 0x10081314
push 0x64
call fcn.10123ad5
add esp, 4
mov ecx, eax
push dword [0x103c5d10]
call fcn.10081370
mov ecx, dword [0x103ca804]
mov esi, eax
mov edx, dword fs:[0x2c]
mov eax, dword [esi + 0x30]
mov ecx, dword [edx + ecx*4]
or eax, 0x400000
cmp byte [ebp + 8], 0
lea ebx, [ecx + 4]
je 0x10081019
or eax, 4
mov dword [esi + 0x30], eax
mov eax, dword [0x103c5d14]
mov dword [ebp - 0x24], eax
mov eax, dword [0x103caa1c]
cmp eax, dword [ebx]
jle 0x1008100b
push 0x103caa1c
call fcn.101239ff
add esp, 4
cmp dword [0x103caa1c], 0xffffffff
jne 0x1008100b
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 0x394634f0
call fcn.1009a3f0
push 0x103caa1c
mov eax, dword [eax + 4]
mov dword [0x103ca988], eax
mov dword [ebp - 4], 0xffffffff
call fcn.101239b5
add esp, 4
mov eax, dword [0x103ca988]
mov ecx, dword [ebp - 0x24]
or dword [eax + ecx], 2
jmp 0x10081085
and eax, 0xfffffffb
mov dword [esi + 0x30], eax
mov eax, dword [0x103c5d14]
mov dword [ebp - 0x24], eax
mov eax, dword [0x103caa1c]
cmp eax, dword [ebx]
jle 0x10081079
push 0x103caa1c
call fcn.101239ff
add esp, 4
cmp dword [0x103caa1c], 0xffffffff
jne 0x10081079
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x394634f0
call fcn.1009a3f0
push 0x103caa1c
mov eax, dword [eax + 4]
mov dword [0x103ca988], eax
mov dword [ebp - 4], 0xffffffff
call fcn.101239b5
add esp, 4
mov eax, dword [0x103ca988]
mov ecx, dword [ebp - 0x24]
and dword [eax + ecx], 0xfffffffd
cmp byte [ebp + 0xc], 0
mov eax, dword [edi]
jne 0x100810a8
mov byte [eax + 6], 0
and dword [esi + 0x30], 0xfffff9e5
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
jmp 0x10081124
movd xmm0, dword [ebp - 0x20]
sub esp, 8
mov byte [eax + 6], 1
mov eax, dword [edi + 8]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
mulss xmm0, dword [eax]
mov eax, dword [edi + 4]
addss xmm0, dword [eax + 4]
subss xmm0, dword [0x103a2968]
movss dword [ebp - 0x2c], xmm0
divss xmm0, dword [0x103a28c0]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm1, dword [ebp - 0x2c]
add esp, 8
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x103a28c0]
subss xmm1, xmm0
subss xmm1, dword [0x103a28a8]
movss dword [esi + 0x10], xmm1
push esi
push dword [0x103c5d14]
mov ecx, 0x103cb200
call fcn.1009d120
push dword [0x103c5d14]
mov ecx, 0x103cb200
call fcn.1009d8b0
test byte [0x103cb228], 1
jne 0x1008130e
fld dword [0x103cb208]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
xorps xmm1, xmm1
add esp, 4
comiss xmm0, xmm1
jae 0x1008130e
mov eax, dword [0x103c5d14]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x103caa1c]
cmp eax, dword [ebx]
jle 0x100811d2
push 0x103caa1c
call fcn.101239ff
add esp, 4
cmp dword [0x103caa1c], 0xffffffff
jne 0x100811d2
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x1c], 0x394634f0
call fcn.1009a3f0
push 0x103caa1c
mov eax, dword [eax + 4]
mov dword [0x103ca988], eax
mov dword [ebp - 4], 0xffffffff
call fcn.101239b5
add esp, 4
mov eax, dword [0x103ca988]
mov ecx, dword [ebp - 0x2c]
test byte [eax + ecx], 1
jne 0x1008130e
mov edi, dword fs:[0x2c]
mov edx, dword [0x103ca804]
mov eax, dword [0x103cb1f4]
mov ebx, dword [0x103c5d14]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x34]
cmp eax, dword [ecx + 4]
jle 0x10081254
push 0x103cb1f4
call fcn.101239ff
add esp, 4
cmp dword [0x103cb1f4], 0xffffffff
jne 0x10081254
mov dword [ebp - 4], 3
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x44]
call eax
push 0x90bccc1c
push eax
call fcn.1009a300
push 0x103cb1f4
mov dword [0x103cb244], eax
mov dword [ebp - 4], 0xffffffff
call fcn.101239b5
add esp, 4
mov eax, dword [0x103cb244]
cmp dword [eax + ebx], 9
je 0x1008130e
mov ecx, dword [edi]
cmp byte [ecx + 4], 0
jne 0x10081271
push esi
call fcn.10082a90
mov ecx, dword [edi]
cmp byte [ecx + 4], 0
jne 0x10081296
cmp byte [ecx + 5], 0
jne 0x10081290
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ebx, dword [ebp - 0x20]
inc ebx
jmp 0x10080f2d
mov byte [ecx + 5], 0
jmp 0x10081314
movsx eax, word [esi + 0x44]
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x18], xmm0
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
inc ecx
cmp byte [ebp + 8], 0
mov dword [eax + 0x1c], ecx
mov eax, dword [0x103ca94c]
mov ecx, dword [edi]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x20], eax
mov eax, dword [edi]
je 0x100812d0
mov ecx, 1
jmp 0x100812d2
xor ecx, ecx
cmp byte [ebp + 0xc], 0
mov dword [eax], ecx
je 0x100812fa
mov eax, dword [edi + 0x10]
mov ecx, dword [edi]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov eax, dword [eax]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
jmp 0x10081314
mov eax, dword [edi]
mov dword [eax + 0x10], 0
mov eax, dword [edi]
mov dword [eax + 0x14], 0
jmp 0x10081314
mov eax, dword [edi]
mov byte [eax + 4], 0
push dword [0x103c5d10]
mov ecx, 0x103cb200
push dword [0x103c5d14]
call fcn.1009d120
push dword [0x103c5d14]
mov ecx, 0x103cb200
call fcn.1009d8b0
mov eax, dword [0x103ca918]
mov eax, dword [eax + 0x1c]
dec eax
push eax
call fcn.1009dc20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101238be
mov esp, ebp
pop ebp
ret 8