Function at 0x1000b1f0
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100229a8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push 0x10033a8c
lea ecx, [esi + 0x34]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x38]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x3c]
call fcn.10021ee4
xor ebp, ebp
push 0x10033a8c
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], ebp
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x48]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x4c]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x50]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x54]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x58]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x5c]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x60]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x64]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x68]
call fcn.10021ee4
push 0x10033a8c
lea ecx, [esi + 0x78]
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], ebp
call fcn.10021ee4
mov ebx, dword [esp + 0x28]
mov edx, 1
cmp ebx, ebp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov byte [esi + 0x88], 0
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], ebp
mov word [esi + 0x9c], bp
mov word [esi + 0x9e], bp
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
je 0x1000b4ee
push edi
jmp 0x1000b338
mov edx, 1
mov cl, byte [ebx + 4]
cmp cl, 0xe0
jne 0x1000b36e
cmp dword [ebx + 0xc], 5
jb 0x1000b36e
mov eax, dword [ebx + 0x10]
cmp byte [eax], 0x4a
jne 0x1000b36e
cmp byte [eax + 1], 0x46
jne 0x1000b36e
cmp byte [eax + 2], 0x49
jne 0x1000b36e
cmp byte [eax + 3], 0x46
jne 0x1000b36e
cmp byte [eax + 4], 0
jne 0x1000b36e
mov dword [esi + 0x20], edx
jmp 0x1000b4e3
cmp cl, 0xe1
jne 0x1000b502
cmp dword [ebx + 0xc], 8
jb 0x1000b502
mov eax, dword [ebx + 0x10]
cmp byte [eax], 0x45
jne 0x1000b502
cmp byte [eax + 1], 0x78
jne 0x1000b502
cmp byte [eax + 2], 0x69
jne 0x1000b502
cmp byte [eax + 3], 0x66
jne 0x1000b502
cmp byte [eax + 4], 0
jne 0x1000b502
cmp byte [eax + 5], 0
jne 0x1000b502
mov dword [esi + 0x24], edx
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
add eax, 0xfffffffa
add edi, 6
cmp eax, 0xc
mov dword [esi + 0x28], eax
jb 0x1000b4e3
mov al, byte [edi]
cmp al, 0x49
jne 0x1000b3ea
cmp byte [edi + 1], al
jne 0x1000b3ea
mov dword [esi + 8], ebp
jmp 0x1000b403
cmp al, 0x4d
jne 0x1000b4e3
cmp byte [edi + 1], 0x4d
jne 0x1000b4e3
mov dword [esi + 8], 1
lea eax, [edi + 2]
mov ecx, esi
push eax
call fcn.1000cbb0
cmp ax, 0x2a
jne 0x1000b4e3
lea ecx, [edi + 4]
push ecx
mov ecx, esi
call fcn.1000cbe0
mov edx, dword [esi + 0x28]
mov dword [esp + 0x14], eax
sub edx, 2
cmp eax, edx
ja 0x1000b4e3
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
lea ebp, [esi + 0x2c]
lea ecx, [esp + 0x10]
push ebp
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.1000b540
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000b465
push eax
push edi
mov ecx, esi
call fcn.1000b6d0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000b476
push eax
push edi
mov ecx, esi
call fcn.1000c140
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp]
sub ecx, 4
cmp eax, ecx
jbe 0x1000b48c
mov dword [ebp], 0
jmp 0x1000b4b9
test eax, eax
je 0x1000b4b9
mov edx, dword [ebx + 0x10]
mov ecx, esi
add edx, eax
push edx
call fcn.1000cbe0
mov ebp, eax
mov eax, dword [esi + 0x28]
sub eax, 2
cmp ebp, eax
ja 0x1000b4b9
test ebp, ebp
je 0x1000b4b9
push ebp
push edi
mov ecx, esi
call fcn.1000c5a0
mov dword [esi + 0x30], ebp
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x28]
add edx, edi
push ecx
push edx
mov ecx, esi
call fcn.1000c6b0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000b4e1
mov ecx, dword [esi + 0x28]
add eax, edi
push ecx
push eax
mov ecx, esi
call fcn.1000c6b0
xor ebp, ebp
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x1000b333
pop edi
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
cmp cl, 0xfe
jne 0x1000b4e3
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.10021ede
push eax
lea ecx, [esi + 0x34]
mov dword [esp + 0x28], ebp
call fcn.10021ec0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.10021e9c
jmp 0x1000b4e3