Function at 0x115ec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0x2c
call fcn.000150ae
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x88
call fcn.000150ae
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x182a6
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
push 0xc
call fcn.000150ae
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, str.RtlGetVersion
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00011975
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1168b
push ebx
call fcn.000150a8
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x116b2
lea eax, [ebp - 8]
push eax
call fcn.00011ca2
push eax
push dword [ebp - 4]
call fcn.00011cbe
jmp 0x1175c
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esp
mov eax, dword [ebp - 0xc]
push eax
push 8
call fcn.000150ae
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.ntoskrnl.exe_PsGetVersion
cmp dword [ebp - 0x1c], esp
je 0x1172b
push 6
call fcn.000150b4
add esp, 4
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov edi, dword [ebp - 0x24]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000150a8
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 4
jne 0x1178d
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x1178d
mov eax, 1
jmp 0x1178f
xor eax, eax
test eax, eax
je 0x117a6
mov eax, 0
jmp 0x11947
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x117d7
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x117d7
mov eax, 1
jmp 0x117d9
xor eax, eax
test eax, eax
je 0x117f0
mov eax, 1
jmp 0x11947
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x11821
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x11821
mov eax, 1
jmp 0x11823
xor eax, eax
test eax, eax
je 0x1183a
mov eax, 2
jmp 0x11947
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x1186b
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 2
jne 0x1186b
mov eax, 1
jmp 0x1186d
xor eax, eax
test eax, eax
je 0x118a9
mov ebx, dword [ebp - 8]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp word [ebx], 0
jne 0x1189a
mov eax, 3
jmp 0x11947
mov eax, 4
jmp 0x11947
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 6
jne 0x118da
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x118da
mov eax, 1
jmp 0x118dc
xor eax, eax
test eax, eax
je 0x118f3
mov eax, 5
jmp 0x11947
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 6
jne 0x11924
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x11924
mov eax, 1
jmp 0x11926
xor eax, eax
test eax, eax
je 0x1193d
mov eax, 6
jmp 0x11947
mov eax, 0xffffffff
jmp 0x11947
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.000150a8
add esp, 4
pop ebx
call fcn.000150a8
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.000150a8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret