Function at 0x10014230
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083889
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x100a5c90]
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 dword [ebp - 0xe4], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
test al, al
je 0x10014290
cmp dword [ebp + 0x1c], 8
jb 0x10014286
mov eax, dword [ebp + 8]
push eax
call fcn.10066b10
add esp, 4
mov eax, 0x4002
jmp 0x1001457a
mov eax, 0xf
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x90], bl
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xc8], bl
lea ecx, [ebp - 0xc8]
push ecx
sub esp, 0x1c
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.10003850
call fcn.10020cd0
add esp, 0x20
lea ecx, [ebp - 0xac]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xe0], esp
mov byte [ecx], bl
push edx
or eax, 0xffffffff
xor ebx, ebx
lea esi, [ebp - 0x90]
lea edi, [ebp - 0xe0]
call fcn.10003ca0
mov edx, esi
mov ecx, edi
call fcn.100060e0
cmp eax, ebx
jne 0x100143e3
mov edi, 0x10
cmp dword [ebp - 0xb4], edi
jb 0x10014367
mov eax, dword [ebp - 0xc8]
push eax
call fcn.10066b10
add esp, 4
mov esi, 0xf
mov byte [ebp - 0xc8], bl
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], esi
cmp dword [ebp - 0x7c], edi
jb 0x10014392
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.10066b10
add esp, 4
mov byte [ebp - 0x90], bl
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x98], edi
jb 0x100143b5
mov edx, dword [ebp - 0xac]
push edx
call fcn.10066b10
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
jb 0x100143d9
mov eax, dword [ebp + 8]
push eax
call fcn.10066b10
add esp, 4
mov eax, 0x4004
jmp 0x1001457a
push 0x64
lea ecx, [ebp - 0x74]
push ebx
push ecx
call fcn.1006b580
mov eax, dword [ebp - 0xac]
add esp, 0xc
cmp dword [ebp - 0x98], 0x10
jae 0x10014407
lea eax, [ebp - 0xac]
lea edx, [ebp - 0x74]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10014410
mov esi, dword [ebp - 0xe4]
lea edi, [esi + 8]
push edi
lea edx, [ebp - 0x74]
push edx
push 1
call fcn.1005f07c
add esp, 0xc
test eax, eax
jne 0x1001434b
cmp dword [ebp - 0x7c], 0x10
mov eax, dword [ebp - 0x90]
jae 0x1001444c
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x74]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10014451
mov eax, dword [ebp - 0xe0]
sub eax, ebx
mov ecx, dword [edi]
je 0x100144b7
dec eax
je 0x100144a8
push ecx
call fcn.1005f186
add esp, 4
lea esi, [ebp - 0xc8]
mov dword [edi], ebx
call fcn.10003670
lea esi, [ebp - 0x90]
call fcn.10003670
lea esi, [ebp - 0xac]
call fcn.10003670
lea ecx, [ebp + 8]
call fcn.10003710
mov eax, 0x4004
jmp 0x1001457a
lea edx, [ebp - 0xd9]
push edx
lea eax, [ebp - 0x74]
push eax
push 1
jmp 0x100144c4
lea edx, [ebp - 0xd9]
push edx
lea eax, [ebp - 0x74]
push eax
push 2
push ecx
call fcn.1005f1c1
add esp, 0x10
cmp eax, ebx
je 0x1001450e
mov edx, dword [edi]
push edx
call fcn.1005f186
add esp, 4
lea esi, [ebp - 0xc8]
mov dword [edi], ebx
call fcn.10003670
lea esi, [ebp - 0x90]
call fcn.10003670
lea esi, [ebp - 0xac]
call fcn.10003670
lea ecx, [ebp + 8]
call fcn.10003710
mov eax, 0x4005
jmp 0x1001457a
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ebp - 0xe0], ebx
mov ecx, esi
sete al
mov dword [esi + 0x10], eax
lea eax, [esi + 4]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esi + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x14], eax
lea esi, [ebp - 0xc8]
call fcn.10003670
lea esi, [ebp - 0x90]
call fcn.10003670
lea esi, [ebp - 0xac]
call fcn.10003670
lea ecx, [ebp + 8]
call fcn.10003710
xor eax, eax
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.10066b1b
mov esp, ebp
pop ebp
ret 0x1c