Function at 0x10011abd
Capabilities:
Check os version

Disassembly:
push 0x164
mov eax, 0x1002d3bb
call fcn.1002b09b
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10002bcc
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmovae edx, dword [ebp - 0x28]
push edx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x160], edx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x160]
push ecx
push eax
mov dword [ebp - 0x160], ecx
call fcn.1001ca56
mov edi, 0x114
lea eax, [ebp - 0x154]
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
mov dword [ebp - 0x154], edi
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x10011b7a
cmp dword [ebp - 0x150], 5
jne 0x10011b7a
cmp dword [ebp - 0x14c], 1
jne 0x10011b7a
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10012378
test al, al
je 0x10011b7a
mov bl, 1
jmp 0x10011cb8
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.1001ca56
mov edi, dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x158], ecx
test al, al
je 0x10011c65
cmp dword [ebp - 0x15c], 8
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
cmovae edx, ecx
cmp edi, 8
mov dword [ebp - 0x168], edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x164], eax
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x160], ecx
cmp eax, esi
ja 0x10011c55
lfence
test eax, eax
je 0x10011c5d
movzx edx, word [edx]
sub esi, eax
inc esi
mov dword [ebp - 0x170], edx
lea eax, [ecx + esi*2]
mov dword [ebp - 0x16c], eax
sub eax, ecx
sar eax, 1
push eax
push edx
push ecx
jmp 0x10011c3b
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push esi
call fcn.1001ca56
add esp, 0xc
test eax, eax
je 0x10011c4b
mov eax, dword [ebp - 0x16c]
add esi, 2
sub eax, esi
sar eax, 1
push eax
push dword [ebp - 0x170]
push esi
call fcn.1001ca56
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10011c0d
jmp 0x10011c5f
sub esi, dword [ebp - 0x160]
sar esi, 1
jmp 0x10011c58
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x10011c5f
mov bl, 1
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x15c]
cmp eax, 8
jb 0x10011cbb
lea eax, [eax*2 + 2]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 2
cmp eax, 0x1000
jb 0x10011caf
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1001ca56
mov eax, dword [ebp - 0x15c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x158]
push eax
push ecx
call fcn.1001ca56
pop ecx
pop ecx
mov edi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x10011d12
mov ecx, dword [ebp - 0x28]
lea eax, [edi*2 + 2]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 4], 3
cmp eax, 0x1000
jb 0x10011d09
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.1001ca56
mov eax, dword [ebp - 0x15c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x158]
push eax
push ecx
call fcn.1001ca56
pop ecx
pop ecx
mov al, bl
call fcn.1002b045
ret 4