Function at 0x1006bdc0
Capabilities:
Check os version

Disassembly:
sub esp, 0xb4
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xbc]
push ebp
mov ebp, dword [esp + 0xd0]
push esi
mov esi, dword [esp + 0xc0]
push edi
mov edi, dword [esp + 0xe0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xcc]
push 0x90
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call fcn.1012e060
add esp, 0xc
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, 2
sete cl
mov dword [esi], ecx
test edi, edi
je 0x1006be88
mov dword [edi], 0
cmp eax, 2
jne 0x1006be88
cmp edx, 6
jne 0x1006be80
cmp dword [esp + 0x30], eax
jae 0x1006be82
jmp 0x1006be88
jbe 0x1006be88
mov dword [edi], 1
test ebp, ebp
je 0x1006beab
mov dword [ebp], 0
cmp eax, 2
jne 0x1006beab
cmp edx, 6
jne 0x1006beab
cmp dword [esp + 0x30], 1
jne 0x1006beab
mov dword [ebp], 1
test ebx, ebx
je 0x1006becc
mov dword [ebx], 0
cmp eax, 2
jne 0x1006becc
cmp edx, 6
jne 0x1006becc
cmp dword [esp + 0x30], 0
jne 0x1006becc
mov dword [ebx], 1
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1006bf1b
mov dword [esi], 0
cmp eax, 2
jne 0x1006bf1b
cmp edx, 6
jne 0x1006bf1b
call fcn.100677f0
cmp eax, 2
jle 0x1006bf13
mov dword [esi], 1
test ebx, ebx
je 0x1006befe
mov dword [ebx], 0
test ebp, ebp
je 0x1006bf09
mov dword [ebp], 0
test edi, edi
je 0x1006bf13
mov dword [edi], 0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1006bf51
mov dword [esi], 0
cmp eax, 2
jne 0x1006bf51
cmp edx, 5
jne 0x1006bf51
cmp dword [esp + 0x30], eax
jne 0x1006bf51
call fcn.100677f0
mov edx, dword [esp + 0x2c]
cmp eax, 2
mov eax, dword [esp + 0x38]
jle 0x1006bf51
mov dword [esi], 1
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1006bf8e
mov dword [esi], 0
cmp eax, 2
jne 0x1006bf8e
cmp edx, 5
jne 0x1006bf8e
mov ecx, dword [esp + 0x30]
cmp ecx, 1
je 0x1006bf88
cmp ecx, eax
jne 0x1006bf8e
call fcn.100677f0
mov edx, dword [esp + 0x2c]
cmp eax, 2
mov eax, dword [esp + 0x38]
jg 0x1006bf8e
mov dword [esi], 1
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1006bfb6
mov dword [ecx], 0
cmp eax, 2
jne 0x1006bfb6
cmp edx, 5
jne 0x1006bfb6
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x1006bfba
mov dword [ecx], 1
jmp 0x1006bfba
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1006bfd9
mov dword [ecx], 0
cmp eax, 1
jne 0x1006bfd9
cmp edx, 4
jne 0x1006bfd9
cmp esi, 0xa
jne 0x1006bfd9
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1006bff8
mov dword [ecx], 0
cmp eax, 1
jne 0x1006bff8
cmp edx, 4
jne 0x1006bff8
cmp esi, 0x5a
jne 0x1006bff8
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1006c016
mov dword [ecx], 0
cmp eax, 1
jne 0x1006c016
cmp edx, 4
jne 0x1006c016
test esi, esi
jne 0x1006c016
mov dword [ecx], eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10127db1
add esp, 0xb4
ret