Function at 0x10014180
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007852d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10091628]
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 eax, ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
push ecx
add eax, 0x30
push 0xa
push eax
call fcn.100187d0
mov edi, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x50]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x58], 0
imul ecx
add esp, 0xc
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x44], ebx
test ebx, ebx
jle 0x10014454
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
nop dword [eax]
nop word [eax + eax]
cmp dword [ebx + esi + 0x10], 0
lea edi, [ebx + esi]
je 0x1001443c
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x1001423a
mov eax, dword [edi]
cmp byte [eax], 0x23
je 0x10014439
mov eax, edi
cmp ecx, 0x10
jb 0x1001424c
mov eax, dword [edi]
push 0x3d
push eax
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x10014436
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1001426d
mov ecx, dword [edi]
mov edi, ecx
mov eax, esi
mov dword [ebp - 0x40], 0
sub eax, ecx
mov dword [ebp - 0x30], 0
push eax
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10006dc0
inc esi
mov dword [ebp - 0x28], 0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100142b7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10006dc0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.10018ae0
lea eax, [ebp - 0x28]
push eax
call fcn.10018ae0
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
add esp, 8
add esi, 0x48
mov ecx, esi
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10013840
mov edi, dword [ebp - 0x68]
cmp byte [edi + 0xd], 0
jne 0x10014318
lea eax, [edi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100035f0
test al, al
je 0x10014399
cmp dword [esi + 4], 0x3ffffff
je 0x1001450c
mov ebx, dword [esi]
mov dword [ebp - 0x64], esi
push 0x40
mov byte [ebp - 4], 3
mov dword [ebp - 0x60], 0
call fcn.10075d2f
mov edi, eax
add esp, 4
mov dword [ebp - 0x60], edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x10]
call fcn.100026f0
mov ecx, dword [ebp - 0x54]
push edi
push dword [ebp - 0x6c]
mov dword [edi + 0x28], 0
push dword [ebp - 0x70]
mov dword [edi + 0x38], 0
lea ecx, [ecx + 0x48]
mov dword [edi + 0x3c], 0xf
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], 0
call fcn.10006870
mov ebx, dword [ebp - 0x5c]
mov edi, eax
lea ecx, [edi + 0x28]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x100143b4
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006dc0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100143ec
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100143e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144e0
push edx
push ecx
call fcn.10075d5f
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10014436
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001442c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144e0
push edx
push ecx
call fcn.10075d5f
add esp, 8
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x58]
add ebx, 0x18
inc edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], edi
cmp edi, eax
jl 0x10014220
mov edi, dword [ebp - 0x4c]
test esi, esi
je 0x100144f0
cmp esi, edi
je 0x100144aa
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1001448f
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10014485
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144e0
mov eax, edx
push ecx
push eax
call fcn.10075d5f
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x10014460
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x100144e6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100144e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10075d5f
add esp, 8
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.10075d21
mov esp, ebp
pop ebp
ret
call fcn.10006aa0
int3