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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fc38
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x1008a748]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], 0
push 0x1007e1ba
lea ecx, [ebp - 0x28]
call fcn.10005270
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x168], 0x11c
push str.unknown_OperatingSystem.
lea ecx, [ebp - 0x28]
call fcn.100117c0
lea ecx, [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1001bc0b
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x178], edx
cmp dword [ebp - 0x178], 4
je 0x1001ba63
cmp dword [ebp - 0x178], 5
je 0x1001badd
cmp dword [ebp - 0x178], 6
je 0x1001bb7e
jmp 0x1001bc0b
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x1001ba8c
cmp dword [ebp - 0x170], 0xa
je 0x1001babc
cmp dword [ebp - 0x170], 0x5a
je 0x1001bacb
jmp 0x1001bad8
cmp dword [ebp - 0x158], 2
jne 0x1001baa4
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001baba
cmp dword [ebp - 0x158], 1
jne 0x1001baba
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bad8
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bad8
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bc0b
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x174], ecx
cmp dword [ebp - 0x174], 0
je 0x1001bb06
cmp dword [ebp - 0x174], 1
je 0x1001bb15
cmp dword [ebp - 0x174], 2
je 0x1001bb24
jmp 0x1001bb79
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bb79
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bb79
movzx edx, byte [ebp - 0x4e]
cmp edx, 1
jne 0x1001bb45
movzx eax, word [ebp - 0x4c]
cmp eax, 9
jne 0x1001bb45
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bb79
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1001bb60
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bb79
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1001bb79
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bc0b
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x16c], ecx
cmp dword [ebp - 0x16c], 0
je 0x1001bba7
cmp dword [ebp - 0x16c], 1
je 0x1001bbce
cmp dword [ebp - 0x16c], 2
je 0x1001bbf5
jmp 0x1001bc0b
movzx edx, byte [ebp - 0x4e]
cmp edx, 1
jne 0x1001bbbf
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bbcc
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bc0b
movzx eax, byte [ebp - 0x4e]
cmp eax, 1
jne 0x1001bbe6
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bbf3
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.100117c0
jmp 0x1001bc0b
movzx ecx, byte [ebp - 0x4e]
cmp ecx, 1
jne 0x1001bc0b
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x28]
call fcn.100117c0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.100052b0
mov eax, dword [ebp - 0x17c]
or eax, 1
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005300
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fec6
mov esp, ebp
pop ebp
ret