Function at 0x10081110
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10135085
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x103b0040]
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 0x10081589
mov eax, dword [0x103ca948]
mov eax, dword [eax + 0x1c]
dec eax
push eax
call fcn.1009cc00
mov eax, dword [edi + 4]
xor ebx, ebx
movss xmm0, dword [eax + 4]
movss dword [0x103cb05c], xmm0
mov eax, dword [0x103cbd40]
mov dword [ebp - 0x20], ebx
lea esi, [eax + eax*2]
shl esi, 4
add esi, 8
add esi, dword [0x103cc088]
je 0x100811a4
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x100811a4
add eax, 4
push 0x103c663c
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x100811a6
xor esi, esi
cmp ebx, dword [esi]
jg 0x10081554
push 0x64
call fcn.101240b3
add esp, 4
mov ecx, eax
push dword [0x103c5d78]
call fcn.100815b0
mov ecx, dword [0x103ca840]
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 0x10081259
or eax, 4
mov dword [esi + 0x30], eax
mov eax, dword [0x103c5d7c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x103caa48]
cmp eax, dword [ebx]
jle 0x1008124b
push 0x103caa48
call fcn.1012404f
add esp, 4
cmp dword [0x103caa48], 0xffffffff
jne 0x1008124b
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 0x394634f0
call fcn.10099750
push 0x103caa48
mov eax, dword [eax + 4]
mov dword [0x103ca9b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10123ffe
add esp, 4
mov eax, dword [0x103ca9b8]
mov ecx, dword [ebp - 0x24]
or dword [eax + ecx], 2
jmp 0x100812c5
and eax, 0xfffffffb
mov dword [esi + 0x30], eax
mov eax, dword [0x103c5d7c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x103caa48]
cmp eax, dword [ebx]
jle 0x100812b9
push 0x103caa48
call fcn.1012404f
add esp, 4
cmp dword [0x103caa48], 0xffffffff
jne 0x100812b9
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x394634f0
call fcn.10099750
push 0x103caa48
mov eax, dword [eax + 4]
mov dword [0x103ca9b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10123ffe
add esp, 4
mov eax, dword [0x103ca9b8]
mov ecx, dword [ebp - 0x24]
and dword [eax + ecx], 0xfffffffd
cmp byte [ebp + 0xc], 0
mov eax, dword [edi]
jne 0x100812e8
mov byte [eax + 6], 0
and dword [esi + 0x30], 0xfffff9e5
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
jmp 0x10081364
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 [0x103a3bac]
movss dword [ebp - 0x2c], xmm0
divss xmm0, dword [0x103a3b14]
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 [0x103a3b14]
subss xmm1, xmm0
subss xmm1, dword [0x103a3afc]
movss dword [esi + 0x10], xmm1
push esi
push dword [0x103c5d7c]
mov ecx, 0x103cb238
call fcn.1009c100
push dword [0x103c5d7c]
mov ecx, 0x103cb238
call fcn.1009c890
test byte [0x103cb260], 1
jne 0x1008154e
fld dword [0x103cb240]
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 0x1008154e
mov eax, dword [0x103c5d7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x103caa48]
cmp eax, dword [ebx]
jle 0x10081412
push 0x103caa48
call fcn.1012404f
add esp, 4
cmp dword [0x103caa48], 0xffffffff
jne 0x10081412
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x1c], 0x394634f0
call fcn.10099750
push 0x103caa48
mov eax, dword [eax + 4]
mov dword [0x103ca9b8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10123ffe
add esp, 4
mov eax, dword [0x103ca9b8]
mov ecx, dword [ebp - 0x2c]
test byte [eax + ecx], 1
jne 0x1008154e
mov edi, dword fs:[0x2c]
mov edx, dword [0x103ca840]
mov eax, dword [0x103cb22c]
mov ebx, dword [0x103c5d7c]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x34]
cmp eax, dword [ecx + 4]
jle 0x10081494
push 0x103cb22c
call fcn.1012404f
add esp, 4
cmp dword [0x103cb22c], 0xffffffff
jne 0x10081494
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.10099660
push 0x103cb22c
mov dword [0x103cb220], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10123ffe
add esp, 4
mov eax, dword [0x103cb220]
cmp dword [eax + ebx], 9
je 0x1008154e
mov ecx, dword [edi]
cmp byte [ecx + 4], 0
jne 0x100814b1
push esi
call fcn.10082cd0
mov ecx, dword [edi]
cmp byte [ecx + 4], 0
jne 0x100814d6
cmp byte [ecx + 5], 0
jne 0x100814d0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ebx, dword [ebp - 0x20]
inc ebx
jmp 0x1008116d
mov byte [ecx + 5], 0
jmp 0x10081554
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 [0x103ca97c]
mov ecx, dword [edi]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x20], eax
mov eax, dword [edi]
je 0x10081510
mov ecx, 1
jmp 0x10081512
xor ecx, ecx
cmp byte [ebp + 0xc], 0
mov dword [eax], ecx
je 0x1008153a
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 0x10081554
mov eax, dword [edi]
mov dword [eax + 0x10], 0
mov eax, dword [edi]
mov dword [eax + 0x14], 0
jmp 0x10081554
mov eax, dword [edi]
mov byte [eax + 4], 0
push dword [0x103c5d78]
mov ecx, 0x103cb238
push dword [0x103c5d7c]
call fcn.1009c100
push dword [0x103c5d7c]
mov ecx, 0x103cb238
call fcn.1009c890
mov eax, dword [0x103ca948]
mov eax, dword [eax + 0x1c]
dec eax
push eax
call fcn.1009cc00
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.10123fc5
mov esp, ebp
pop ebp
ret 8