Function at 0x7c6f4c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x7c739a
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
or esi, 0xffffffff
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, dword [0x882e8c]
mov eax, dword [eax]
call fcn.00426fa4
mov eax, dword [0x883a5c]
mov eax, dword [eax]
dec eax
je 0x7c6fb3
dec eax
je 0x7c703d
jmp case.default.0x7c722f
mov eax, dword [0x8835dc]
mov eax, dword [eax]
sub eax, 0xa
jb 0x7c6fcb
sub eax, 0x50
jb 0x7c6ff7
je 0x7c7036
jmp case.default.0x7c722f
mov eax, dword [ebp - 4]
mov edx, 0x7c73b8
call fcn.0040ce1c
je 0x7c6fe9
mov eax, dword [ebp - 4]
mov edx, 0x7c73c8
call fcn.0040ce1c
jne 0x7c6ff0
mov bl, 2
jmp case.default.0x7c722f
mov bl, 1
jmp case.default.0x7c722f
cmp dword [0x90be40], 0x4005a
jne 0x7c700a
mov bl, 5
jmp case.default.0x7c722f
mov eax, dword [ebp - 4]
mov edx, 0x7c73d8
call fcn.0040ce1c
je 0x7c7028
mov eax, dword [ebp - 4]
mov edx, 0x7c73b8
call fcn.0040ce1c
jne 0x7c702f
mov bl, 4
jmp case.default.0x7c722f
mov bl, 3
jmp case.default.0x7c722f
mov bl, 5
jmp case.default.0x7c722f
mov eax, dword [0x882f10]
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 7
ja case.default.0x7c722f
jmp dword [eax*4 + 0x7c7057]
mov eax, dword [0x8835dc]
mov eax, dword [eax]
dec eax
je 0x7c7090
sub eax, 4
je 0x7c7097
sub eax, 0x2e
je 0x7c709e
jmp case.default.0x7c722f
mov bl, 6
jmp case.default.0x7c722f
mov bl, 7
jmp case.default.0x7c722f
mov bl, 8
jmp case.default.0x7c722f
mov bl, 9
jmp case.default.0x7c722f
mov eax, dword [0x8835dc]
mov eax, dword [eax]
sub eax, 1
jb 0x7c70c2
je 0x7c70c9
dec eax
je 0x7c70d0
jmp case.default.0x7c722f
mov bl, 0xa
jmp case.default.0x7c722f
mov bl, 0xb
jmp case.default.0x7c722f
mov dword [ebp - 0x148], 0x11c
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
call fcn.007c786c
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x7c70f9
mov bl, 0xe
jmp case.default.0x7c722f
cmp word [ebp - 0x2c], 0
je 0x7c711d
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c711d
cmp byte [ebp - 0x2e], 1
jne 0x7c711d
mov bl, 0xd
jmp case.default.0x7c722f
mov bl, 0xc
jmp case.default.0x7c722f
mov eax, dword [0x8835dc]
cmp dword [eax], 2
jne 0x7c721c
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x7c73e8
mov edx, 0x7c740c
mov eax, 0x80000002
call fcn.007c1f54
lea edx, [ebp - 0x14c]
mov eax, dword [0x8834f4]
call fcn.00411e50
mov eax, dword [ebp - 0x14c]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040d064
dec eax
je 0x7c7198
lea edx, [ebp - 0x150]
mov eax, dword [0x8835ec]
call fcn.00411e50
mov eax, dword [ebp - 0x150]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040d064
dec eax
jne 0x7c71a2
mov esi, 3
jmp 0x7c7224
lea edx, [ebp - 0x154]
mov eax, dword [0x8838dc]
call fcn.00411e50
mov eax, dword [ebp - 0x154]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040d064
dec eax
je 0x7c71ee
lea edx, [ebp - 0x158]
mov eax, dword [0x88394c]
call fcn.00411e50
mov eax, dword [ebp - 0x158]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040d064
dec eax
jne 0x7c71f5
mov esi, 2
jmp 0x7c7224
call fcn.007c7468
mov edi, eax
cmp edi, 6
jne 0x7c7208
mov esi, 4
jmp 0x7c7224
cmp edi, 0xa
jne 0x7c7212
or esi, 0xffffffff
jmp 0x7c7224
mov esi, dword [0x8835dc]
mov esi, dword [esi]
jmp 0x7c7224
mov esi, dword [0x8835dc]
mov esi, dword [esi]
mov eax, esi
cmp eax, 4
ja case.default.0x7c722f
jmp dword [eax*4 + 0x7c7236]
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c7271
cmp byte [ebp - 0x2e], 1
jne 0x7c7271
mov bl, 0xf
jmp case.default.0x7c722f
mov bl, 0x10
jmp case.default.0x7c722f
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c729f
cmp byte [ebp - 0x2e], 1
jne 0x7c729f
mov bl, 0x11
jmp case.default.0x7c722f
mov bl, 0x12
jmp case.default.0x7c722f
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c72ca
cmp byte [ebp - 0x2e], 1
jne 0x7c72ca
mov bl, 0x13
jmp case.default.0x7c722f
mov bl, 0x15
jmp case.default.0x7c722f
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c72f2
cmp byte [ebp - 0x2e], 1
jne 0x7c72f2
mov bl, 0x16
jmp case.default.0x7c722f
mov bl, 0x18
jmp case.default.0x7c722f
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c731a
cmp byte [ebp - 0x2e], 1
jne 0x7c731a
mov bl, 0x19
jmp case.default.0x7c722f
mov bl, 0x1a
jmp case.default.0x7c722f
mov edi, dword [0x882f10]
mov edi, dword [edi]
mov esi, dword [0x8835dc]
mov esi, dword [esi]
cmp edi, 0xa
jl 0x7c736f
sub edi, 0xa
jne 0x7c736f
cmp esi, 0xffffffff
jne 0x7c7344
call fcn.007c7664
mov esi, eax
sub esi, 1
jae 0x7c736f
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x7c736d
cmp byte [ebp - 0x2e], 1
jne 0x7c736d
mov bl, 0x19
jmp 0x7c736f
mov bl, 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c73a1
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.0040b9c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b9c4
ret