Function at 0x101d4520
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f8aa0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 0x30]
mov edi, dword [eax]
test edi, edi
je 0x101d45ae
mov ecx, dword [edi + 0xb8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x67
push eax
add ecx, 0x40
call fcn.100188a0
mov ecx, dword [edi + 0xb8]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x40]
je 0x101d459d
mov edi, dword [eax + 0x14]
test edi, edi
jne 0x101d45ab
mov eax, dword [esi + 0x30]
push 0x67
mov ecx, dword [eax]
call fcn.10017810
mov edi, eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x101d45bb
xor esi, esi
jmp 0x101d4600
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x64
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [eax + 0xb8]
add ecx, 0x40
call fcn.100188a0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ecx + 0xb8]
cmp eax, dword [ecx + 0x40]
je 0x101d45f2
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x101d4600
mov esi, dword [ebp - 0x38]
mov eax, dword [esi + 0x30]
push 0x64
mov ecx, dword [eax]
call fcn.10017810
mov esi, eax
test edi, edi
je 0x101d479e
test esi, esi
je 0x101d479e
movups xmm0, xmmword [edi + 0x90]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
psrldq xmm0, 8
movd eax, xmm0
push eax
lea eax, [ebp - 0x34]
push str.0_0__d__0
push eax
call fcn.10086e60
add esp, 0xc
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x54]
call fcn.1008c150
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [ecx + 0x14], 0x10
jb 0x101d4670
mov ecx, dword [ecx]
mov eax, dword [esi]
push 1
push ecx
push 0x1021633c
mov ecx, esi
call dword [eax + 0x10]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x101d46b7
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101d46ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d47be
push edx
push ecx
call fcn.101b37a2
add esp, 8
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call dword [eax + 0x24]
mov edi, dword [ebp - 0x38]
mov eax, dword [edi + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x101d474d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x68
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [eax + 0xb8]
add ecx, 0x40
call fcn.100188a0
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ecx + 0xb8]
cmp eax, dword [ecx + 0x40]
je 0x101d4713
mov edx, dword [eax + 0x14]
test edx, edx
jne 0x101d4725
mov eax, dword [edi + 0x30]
push 0x68
mov ecx, dword [eax]
call fcn.10017810
mov edx, eax
test edx, edx
je 0x101d474d
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [edx]
psrldq xmm0, 8
movd ecx, xmm0
add ecx, 0xf
cmp dword [edx + 0x90], ecx
mov ecx, edx
jge 0x101d4748
push 0
jmp 0x101d474a
push 1
call dword [eax + 0x34]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x101d478a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101d4780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101d47c3
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.101b7ad8
call fcn.101b7ad8
int3