Function at 0x3ecbf2c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x40
push 0
push 0
dec ecx
jne 0x3ecbf34
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x3ecc2f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x170], 0x114
lea eax, [ebp - 0x170]
push eax
call sub.kernel32.dll_GetVersionExW
cmp bl, 1
jne 0x3ecbf78
cmp dword [ebp - 0x16c], 6
jb 0x3ecc236
lea edx, [ebp - 0x174]
mov eax, 0x3ecc314
call fcn.03d9cccc
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x18]
call fcn.03ce535c
push 0
push 0
lea eax, [ebp - 0x188]
push eax
mov eax, 0x3ecc358
mov dword [ebp - 0x198], eax
mov byte [ebp - 0x194], 0x11
cmp dword [ebp - 0x16c], 6
setae al
and eax, 0x7f
mov eax, dword [eax*4 + 0x3f2a9e8]
mov dword [ebp - 0x190], eax
mov byte [ebp - 0x18c], 0x11
lea edx, [ebp - 0x198]
mov ecx, 1
mov eax, 0x3ecc370
call fcn.03cd41a8
mov eax, dword [ebp - 0x188]
push eax
push 0x3ecc388
push 0x3ecc39c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.03cdf8e4
add esp, 0x1c
lea edx, [ebp - 0x184]
lea eax, [ebp - 0x28]
call fcn.03ce5444
push 0
push 0x3ecc3c0
lea eax, [ebp - 0x1ac]
push eax
movzx eax, bl
mov eax, dword [eax*4 + 0x3f2a9dc]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x1b0], 0x11
lea edx, [ebp - 0x1b4]
xor ecx, ecx
mov eax, 0x3ecc3d4
call fcn.03cd41a8
mov eax, dword [ebp - 0x1ac]
push eax
push 0x3ecc3f8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.03cdf8e4
add esp, 0x18
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x38]
call fcn.03ce5444
push 0x3ecc408
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c8]
push eax
call fcn.03cdf8e4
add esp, 0xc
lea edx, [ebp - 0x1c8]
lea eax, [ebp - 0x1b8]
call fcn.03ce4e30
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 4]
mov ecx, 0x3ecc414
call fcn.03cbba18
jmp 0x3ecc21b
cmp dword [ebp - 0x16c], 6
jb 0x3ecc131
mov eax, dword [esi]
push dword [eax + 4]
lea eax, [ebp - 0x1cc]
push eax
push 0x3ecc424
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.03cdf8e4
add esp, 0xc
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x1b0], 0xd
lea edx, [ebp - 0x1b4]
xor ecx, ecx
mov eax, 0x3ecc440
call fcn.03cd41a8
push dword [ebp - 0x1cc]
push 0x3ecc454
mov eax, dword [esi]
add eax, 4
mov edx, 3
call fcn.03cb9074
jmp 0x3ecc208
mov eax, ebx
sub al, 1
jb 0x3ecc140
dec al
je 0x3ecc1a5
jmp 0x3ecc208
mov eax, dword [esi]
push dword [eax + 4]
lea eax, [ebp - 0x1e0]
push eax
push 0x3ecc424
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.03cdf8e4
add esp, 0xc
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x1b0], 0xd
lea edx, [ebp - 0x1b4]
xor ecx, ecx
mov eax, 0x3ecc468
call fcn.03cd41a8
push dword [ebp - 0x1e0]
push 0x3ecc47c
mov eax, dword [esi]
add eax, 4
mov edx, 3
call fcn.03cb9074
jmp 0x3ecc208
mov eax, dword [esi]
push dword [eax + 4]
lea eax, [ebp - 0x1f4]
push eax
push 0x3ecc424
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.03cdf8e4
add esp, 0xc
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 0x1b0], 0xd
lea edx, [ebp - 0x1b4]
xor ecx, ecx
mov eax, 0x3ecc490
call fcn.03cd41a8
push dword [ebp - 0x1f4]
push 0x3ecc4a4
mov eax, dword [esi]
add eax, 4
mov edx, 3
call fcn.03cb9074
lea eax, [ebp - 0x58]
call fcn.03cdf7e8
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x58]
call fcn.03ce5444
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x3ecc0c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ecc300
lea eax, [ebp - 0x204]
call fcn.03cdf7fc
lea eax, [ebp - 0x1f4]
call fcn.03cb7e50
lea eax, [ebp - 0x1f0]
call fcn.03cdf7fc
lea eax, [ebp - 0x1e0]
call fcn.03cb7e50
lea eax, [ebp - 0x1dc]
call fcn.03cdf7fc
lea eax, [ebp - 0x1cc]
call fcn.03cb7e50
lea eax, [ebp - 0x1c8]
call fcn.03cdf7fc
lea eax, [ebp - 0x1b8]
call fcn.03cbb9d4
lea eax, [ebp - 0x1ac]
call fcn.03cb7e50
lea eax, [ebp - 0x1a8]
call fcn.03cdf7fc
lea eax, [ebp - 0x188]
call fcn.03cb7e50
lea eax, [ebp - 0x184]
call fcn.03cdf7fc
lea eax, [ebp - 0x174]
call fcn.03cbb9d4
lea eax, [ebp - 0x58]
call fcn.03cdf7fc
lea eax, [ebp - 0x48]
mov edx, dword [0x3cb1300]
mov ecx, 4
call fcn.03cb97c4
lea eax, [ebp - 4]
call fcn.03cbb9d4
ret