Function at 0x1000b3d0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000fb96
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x10016018]
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
xor esi, esi
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0xac], 0
push 0x9c
lea eax, [ebp - 0x168]
push esi
push eax
mov dword [ebp - 4], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x168]
push ecx
mov dword [ebp - 0x168], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x28c]
push edx
push 0x64
push esi
mov dword [ebp - 0x28c], esi
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
lea ebx, [esi + 3]
test eax, eax
jne 0x1000b484
mov eax, dword [ebp - 0x28c]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], edi
jmp 0x1000b4e7
cmp dword [ebp - 0x164], 6
jne 0x1000b4e7
cmp dword [ebp - 0x160], 2
jne 0x1000b4e7
push 1
push 1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 0x11c
mov esi, eax
lea eax, [ebp - 0x288]
push 0
push eax
mov edi, edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push esi
push 1
lea ecx, [ebp - 0x288]
push ecx
mov dword [ebp - 0x288], 0x11c
mov dword [ebp - 0x280], ebx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x1000b4e7
mov dword [ebp - 0x160], ebx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1000b507
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea edx, [ebp - 0x2b0]
push edx
call eax
mov edi, 0xa
cmp dword [ebp - 0x164], edi
jne 0x1000b56a
cmp byte [ebp - 0xce], 1
je 0x1000b553
push str.Windows_10_Server
lea esi, [edi + 7]
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b380
cmp dword [ebp - 0x164], edi
jne 0x1000b56a
cmp byte [ebp - 0xce], 1
jne 0x1000b76a
push str.Windows_10
mov esi, edi
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b380
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], ebx
jne 0x1000b5eb
cmp byte [ebp - 0xce], 1
je 0x1000b5c4
push str.Windows_Server_2012_R2
mov esi, 0x16
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b380
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], ebx
jne 0x1000b5eb
cmp byte [ebp - 0xce], 1
jne 0x1000b76a
push str.Windows_8.1
mov esi, 0xb
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b380
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], 2
jne 0x1000b661
cmp byte [ebp - 0xce], 1
je 0x1000b63a
push str.Windows_Server_2012
mov esi, 0x13
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b380
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], 2
jne 0x1000b661
cmp byte [ebp - 0xce], 1
jne 0x1000b76a
push str.Windows_8
mov esi, 9
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b380
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], 1
jne 0x1000b6d3
cmp byte [ebp - 0xce], 1
je 0x1000b6b0
push str.Windows_Server_2008_R2
mov esi, 0x16
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b330
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], 1
jne 0x1000b6d3
cmp byte [ebp - 0xce], 1
jne 0x1000b76a
push str.Windows_7
mov esi, 9
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b330
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], 0
jne 0x1000b76a
cmp byte [ebp - 0xce], 1
je 0x1000b71e
push str.Windows_Server_2008
mov esi, 0x13
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b330
cmp dword [ebp - 0x164], 6
jne 0x1000b738
cmp dword [ebp - 0x160], 0
jne 0x1000b76a
cmp byte [ebp - 0xce], 1
jne 0x1000b76a
push str.Windows_Vista
mov esi, 0xd
lea eax, [ebp - 0xac]
call fcn.1000d650
call fcn.1000b330
cmp dword [ebp - 0x164], 5
jae 0x1000b76a
push str.unknown
mov esi, 7
lea eax, [ebp - 0xac]
call fcn.1000d650
push 0
push 0x100113e4
push str.Unknown
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp word [ebp - 0xd4], 0
mov ebx, 0x10
je 0x1000b83e
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
push 0x7f
lea eax, [ebp - 0x8f]
push 0
mov byte [ebp - 4], 1
push eax
mov byte [ebp - 0x90], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push str._Service_Pack
lea esi, [ebx - 2]
lea eax, [ebp - 0xc8]
call fcn.1000d650
movzx ecx, word [ebp - 0xd4]
push ecx
push 0x10013c14
lea edx, [ebp - 0x90]
push 0x80
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x90]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b7f4
sub eax, edx
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc8]
call fcn.1000d310
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xc8]
push ecx
lea edi, [ebp - 0xac]
call fcn.1000d5a0
cmp dword [ebp - 0xb4], ebx
jb 0x1000b83e
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x98], ebx
jb 0x1000b856
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1000eefe
mov esp, ebp
pop ebp
ret