Function at 0x1000b1e0
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push ebx
push ebp
push esi
push edi
push 0x11c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1000d3b0
mov eax, dword fs:[0x18]
lea edi, [esp + 0x30]
mov ecx, 0xff
xor ebp, ebp
add esp, 0xc
mov ebx, dword [eax + 0x30]
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xa8]
mov dword [esp + 0x18], eax
movzx eax, word [ebx + 0xac]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xb0]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xaf]
mov word [esp + 0x124], ax
movzx eax, word [ebx + 0xae]
and ax, cx
mov ecx, 0x100
mov word [esp + 0x126], ax
movzx eax, word [0x7ffe02d0]
mov word [esp + 0x128], ax
mov al, byte [0x7ffe0264]
mov byte [esp + 0x12a], al
xor al, al
mov byte [esp + 0x12b], 0
rep stosb byte es:[edi], al
cmp word [ebx + 0x1f0], bp
je 0x1000b31d
mov esi, dword [ebx + 0x1f4]
test esi, esi
je 0x1000b31d
cmp word [esi], bp
je 0x1000b31d
push 0x1825
push 0x570e576c
lea edx, [ebp + 0x6a]
lea ecx, [ebp + 1]
call fcn.10002800
add esp, 8
push esi
call eax
cmp eax, 0x7f
jae 0x1000b2ef
mov esi, dword [ebx + 0x1f4]
lea edx, [ebp + 0x6a]
push 0x1825
push 0x570e576c
lea ecx, [ebp + 1]
call fcn.10002800
add esp, 8
push esi
call eax
mov ebp, eax
jmp 0x1000b2f4
mov ebp, 0x7f
mov esi, dword [ebx + 0x1f4]
mov edx, 0x73
push 0xbec
push 0x5b3d5753
lea ecx, [edx - 0x69]
call fcn.10002800
add esp, 8
lea ecx, [esp + 0x24]
push ebp
push esi
push ecx
call eax
xor eax, eax
mov word [esp + ebp*2 + 0x24], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, 5
jne 0x1000b338
cmp ecx, 1
jb 0x1000b33a
jmp 0x1000b39a
jae 0x1000b398
mov eax, dword [0x10055ee4]
test eax, eax
jne 0x1000b389
push 0xc8
call fcn.1000b190
add esp, 4
test eax, eax
je 0x1000b382
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
mov dword [0x10055ee4], eax
mov dword [eax + 0xc], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [0x10055ee4], eax
mov dword [eax + 0xc], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jne 0x1000b3d0
cmp ecx, 1
jne 0x1000b3b3
call fcn.10002210
mov dword [eax + 0xc], 0x33
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jne 0x1000b489
call fcn.10002210
mov dword [eax + 0xc], 0x34
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x1000b43c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1000b3f1
call fcn.10002210
mov dword [eax + 0xc], 0x3c
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1000b40a
call fcn.10002210
mov dword [eax + 0xc], 0x3d
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1000b423
call fcn.10002210
mov dword [eax + 0xc], 0x3e
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x1000b489
call fcn.10002210
mov dword [eax + 0xc], 0x3f
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x1000b47b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1000b47d
cmp dword [esp + 0x1c], 0x55ec
jae 0x1000b467
call fcn.10002210
mov dword [eax + 0xc], 0x64
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10002210
mov dword [eax + 0xc], 0x6e
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jbe 0x1000b489
call fcn.10002210
mov dword [eax + 0xc], 0x7fffffff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret