Function at 0x10013f60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007833d
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.100185b0
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 0x10014234
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 0x1001421c
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x1001401a
mov eax, dword [edi]
cmp byte [eax], 0x23
je 0x10014219
mov eax, edi
cmp ecx, 0x10
jb 0x1001402c
mov eax, dword [edi]
push 0x3d
push eax
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x10014216
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1001404d
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.10006d70
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 0x10014097
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10006d70
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.100188c0
lea eax, [ebp - 0x28]
push eax
call fcn.100188c0
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.10013620
mov edi, dword [ebp - 0x68]
cmp byte [edi + 0xd], 0
jne 0x100140f8
lea eax, [edi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100035d0
test al, al
je 0x10014179
cmp dword [esi + 4], 0x3ffffff
je 0x100142ec
mov ebx, dword [esi]
mov dword [ebp - 0x64], esi
push 0x40
mov byte [ebp - 4], 3
mov dword [ebp - 0x60], 0
call fcn.10075b4f
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.100026d0
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.10006820
mov ebx, dword [ebp - 0x5c]
mov edi, eax
lea ecx, [edi + 0x28]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x10014194
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006d70
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100141cc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100141c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142c0
push edx
push ecx
call fcn.10075b7f
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 0x10014216
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001420c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142c0
push edx
push ecx
call fcn.10075b7f
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 0x10014000
mov edi, dword [ebp - 0x4c]
test esi, esi
je 0x100142d0
cmp esi, edi
je 0x1001428a
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1001426f
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10014265
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142c0
mov eax, edx
push ecx
push eax
call fcn.10075b7f
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x10014240
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 0x100142c6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100142c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10075b7f
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.10075b41
mov esp, ebp
pop ebp
ret
call fcn.10006a50
int3