Function at 0x1006c00b
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x101711d5
call fcn.1016d10a
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x118
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x330]
push ebx
mov dword [ebp - 0x354], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.10064cf4
test al, al
je 0x1006c089
pop edx
push edx
pop eax
push edi
push edi
pop edx
push ecx
push edx
push edi
push esp
push ecx
pop esi
push esi
pop esp
pop esi
push ebx
pop ebx
pop eax
pop edi
push ebp
pop eax
pop esi
pop esp
push esi
pop ebp
pop edx
push ebp
pop esp
pop ecx
push eax
xor ebx, ebx
mov ecx, dword [ebp - 0x338]
push 0x101744f4
call fcn.10003560
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call fcn.10064b11
test al, al
je 0x1006c106
pop esi
push edi
pop ecx
pop eax
pop eax
push esp
push ecx
pop eax
push edi
pop esi
pop ebp
pop edi
pop esi
push eax
push edx
pop eax
pop ebx
pop edi
pop ecx
pop esp
call fcn.10064b11
test al, al
je 0x1006c125
pop ebp
push ecx
push edi
push ebp
pop ebx
pop edi
pop edx
push esp
pop ebp
push esp
push edi
pop edi
pop eax
push esi
push edi
pop edi
push edi
pop esi
pop ebp
pop edi
pop edi
pop eax
call fcn.10064dc3
test al, al
je 0x1006c14e
push edx
pop esp
pop ecx
pop esp
pop esi
pop ecx
pop edi
pop ebp
push edi
pop esi
pop eax
push eax
pop ebp
push ecx
push eax
push ebp
push ecx
push esi
pop eax
pop eax
push ecx
push ebp
push esi
push ebx
pop ebp
push ecx
push ebp
pop eax
pop esp
push esp
push esp
pop eax
push 0x10181ce8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1006c19a
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006c193
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1006492e
test al, al
je 0x1006c1bb
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
mov edi, dword [ebp - 0x34c]
cmp edi, 5
jne 0x1006c1ed
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x1006c2ae
cmp eax, 1
jne 0x1006c1e3
mov esi, str.WindowsXP
jmp 0x1006c29a
mov esi, str.WindowsServer2003
jmp 0x1006c29a
cmp edi, 6
jne 0x1006c2ae
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x1006c287
sub eax, 1
je 0x1006c280
sub eax, 1
jne 0x1006c2ae
mov ecx, dword [ebp - 0x350]
cmp ecx, 0x1ebb
jne 0x1006c228
mov esi, str.Windows8
jmp 0x1006c29a
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x1006c221
cmp ecx, 0x1f13
je 0x1006c221
cmp dword [ebp - 0x340], 0xa
jne 0x1006c267
cmp dword [ebp - 0x344], 0
jne 0x1006c2ae
cmp dword [ebp - 0x33c], 0x4e20
jae 0x1006c260
mov esi, str.Windows10
jmp 0x1006c29a
mov esi, str.Windows11
jmp 0x1006c29a
cmp dword [ebp - 0x340], 6
jne 0x1006c2ae
cmp dword [ebp - 0x344], 3
jne 0x1006c2ae
mov esi, str.Windows8.1
jmp 0x1006c29a
mov esi, str.Windows7
jmp 0x1006c29a
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x1006c29a
mov esi, str.WindowsServer2008
push esi
call fcn.10093843
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.10006830
call fcn.1006492e
test al, al
je 0x1006c2d5
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
mov edi, dword [ebp - 0x34c]
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x101744f4
call fcn.1006bfd5
test eax, eax
jne 0x1006c349
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10080190
push dword [ebp - 0x350]
lea eax, [ebp - 0x218]
push dword [ebp - 0x348]
push edi
push str.Windows_d._d._d
push eax
call fcn.10006d80
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x1006c32d
mov eax, esi
jmp 0x1006c33a
lea eax, [ebp - 0x218]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.10006830
call fcn.10064fa6
test al, al
je 0x1006c377
pop eax
pop ebx
push edx
pop ebx
pop ebp
push eax
pop esp
pop esp
pop ecx
pop esi
push edx
pop ecx
push esp
push edx
push ebx
pop ebx
pop ebp
push eax
pop edi
pop esp
push esp
pop ebp
pop esi
push eax
pop ecx
pop edi
push edx
pop edx
push esi
pop ebp
push edi
mov ebx, dword [ebp - 0x338]
cmp dword [ebp + 0xc], 0
je 0x1006c3a7
cmp word [ebp - 0x320], 0
jne 0x1006c38b
xor eax, eax
jmp 0x1006c398
lea eax, [ebp - 0x320]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.100065e0
mov eax, ebx
call fcn.1016d0c5
ret