Function at 0x10002750
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a4318
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x102184e0]
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 ebx, ebx
mov esi, ecx
mov dword [ebp - 0x150], ebx
push 5
push str.other
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10003330
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x149]
lea edi, [ebp - 0x154]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x149], bl
call fcn.100029a0
add esp, 4
test al, al
jne 0x1000283f
push 0x11c
lea ecx, [ebp - 0x148]
push ebx
push ecx
call fcn.100b52f0
add esp, 0xc
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10002815
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x140]
mov al, byte [ebp - 0x2e]
jmp 0x10002851
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.10002ff0
cmp dword [ebp - 0x18], 0x10
jb 0x10002979
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x10002971
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x150]
mov al, byte [ebp - 0x149]
cmp al, 3
setne al
cmp ecx, 0xa
jne 0x1000288e
mov edx, str.Win10
cmp al, bl
jne 0x10002869
mov edx, str.WinServer2016
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002870
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003330
mov esi, dword [ebp - 0x158]
jmp 0x10002950
cmp ecx, 6
jne 0x10002910
cmp edx, 3
jne 0x100028ce
mov edx, str.Win8.1
cmp al, bl
jne 0x100028a6
mov edx, str.WinServer2012R2
mov eax, edx
lea esi, [eax + 1]
jmp 0x100028b0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100028b0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003330
mov esi, dword [ebp - 0x158]
jmp 0x10002950
cmp edx, 2
jne 0x100028e3
mov edx, str.Win8
cmp al, bl
jne 0x10002947
mov edx, str.WinServer2012
jmp 0x10002947
cmp edx, 1
jne 0x100028fc
mov edx, str.Win7
cmp al, bl
jne 0x100028f6
mov edx, str.WinServer2008R2
lea ecx, [ebp - 0x2c]
push ecx
jmp 0x1000294b
cmp edx, ebx
jne 0x10002950
mov edx, str.WinVista
cmp al, bl
jne 0x10002947
mov edx, str.WinServer2008
jmp 0x10002947
cmp ecx, 5
jne 0x10002950
cmp edx, 2
jne 0x1000292e
mov edx, str.WinXPPro
cmp al, bl
jne 0x10002928
mov edx, str.WinServer2003
lea ecx, [ebp - 0x2c]
push ecx
jmp 0x1000294b
cmp edx, 1
jne 0x1000293e
lea edx, [ebp - 0x2c]
push edx
mov edx, str.WinXP
jmp 0x1000294b
cmp edx, ebx
jne 0x10002950
mov edx, str.Win2000
lea eax, [ebp - 0x2c]
push eax
call fcn.10002f70
lea ecx, [ebp - 0x2c]
push ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.10002ff0
cmp dword [ebp - 0x18], 0x10
jb 0x10002979
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b1971
add esp, 4
mov eax, esi
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.100b197c
mov esp, ebp
pop ebp
ret