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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x102641aa
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
cmp ebx, 1
je 0x101c1787
cmp ebx, 2
jne 0x101c1928
mov eax, dword [edi + 0xe8]
push ecx
push 0x1029bb68
mov dword [esp + 0x20], eax
call fcn.10227e44
mov esi, eax
xor eax, eax
test esi, esi
pop ecx
setne al
mov dword [esp + 0x24], eax
pop ecx
test eax, eax
je 0x101c17c9
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x101c17c9
push 0x1029b9c4
call fcn.10227e27
test eax, eax
je 0x101c17c9
xor ecx, ecx
inc ecx
jmp 0x101c17cb
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
sete al
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
je 0x101c18e1
test ecx, ecx
jne 0x101c18e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test eax, eax
je 0x101c18dd
mov eax, dword [esi + 0x8c]
and dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
test eax, eax
je 0x101c18dd
push dword [eax + 0x20]
call dword [0x102abad8]
test eax, eax
jne 0x101c1831
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xedc], 0
je 0x101c18dd
mov eax, dword [edi + 0xe4]
lea ecx, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax + 0x314]
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.10278c5d
and eax, 0x400000
cmp dword [edi + 0x150], 0
je 0x101c18dd
test eax, eax
jne 0x101c18dd
cmp dword [0x1029b090], eax
je 0x101c18dd
cmp dword [0x102a6b4c], eax
jne 0x101c18dd
call fcn.1008b6ce
cmp dword [eax + 0x1ac], 8
jle 0x101c18dd
call fcn.1008b6ce
mov ecx, eax
call fcn.100a1f62
test eax, eax
jne 0x101c18dd
cmp dword [esi + 0xed8], eax
jne 0x101c18dd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], 0x1000bf6c
mov dword [esp + 0x24], eax
push 1
xor eax, eax
lea esi, [ebp + 0x10]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x24]
push dword [edi + 0xa8]
push eax
push eax
push 0x4b
push 0x64
push dword [edi + 0x7c]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100c4b8c
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esi + 0x24]
and edx, 0x10000
dec ebx
je 0x101c193d
dec ebx
jne 0x101c1928
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], 0
je 0x101c1919
test edx, edx
je 0x101c1919
test dword [esi + 0x24], 0x800000
je 0x101c1915
mov eax, dword [edi + 0xd4]
inc ecx
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
push eax
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10276364
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test eax, eax
je 0x101c18f7
mov esi, dword [edi + 0xd4]
cmp esi, 0xffffffff
je 0x101c196f
test edx, edx
jne 0x101c1969
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
cmp eax, 5
jle 0x101c1969
mov eax, ecx
sub eax, dword [ebp + 0x14]
cmp eax, 5
jle 0x101c1969
mov eax, esi
jmp 0x101c1973
mov esi, dword [esp + 0x1c]
jmp 0x101c18f7
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x101c18fb