Function at 0x41d960
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bbe48
push 0x455920
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4c3aa8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x210], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x20c], 0x9c
push 0x98
push ebx
lea ecx, [ebp - 0x208]
push ecx
call fcn.004553e0
mov byte [ebp - 0x16c], bl
push 0x104
push ebx
lea edx, [ebp - 0x16b]
push edx
call fcn.004553e0
mov byte [ebp - 0x64], bl
push 0x3f
push ebx
lea eax, [ebp - 0x63]
push eax
call fcn.004553e0
add esp, 0x24
cmp edi, ebx
jne 0x41d9fb
lea eax, [ebx + 0x57]
jmp 0x41dc9e
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20c]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
call esi
test eax, eax
jne 0x41da58
mov dword [ebp - 0x20c], 0x94
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
jne 0x41da58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
push str.GetVersionEx__
push eax
push 2
push 0x71a
push str..YWAssistant.c
push str.W_GetVersionDescription
call fcn.0041e6d0
add esp, 0x18
jmp 0x41dc8c
mov ecx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x204]
cmp ecx, 5
jne 0x41daa0
cmp eax, ebx
jne 0x41da77
mov esi, str.Windows_2000
jmp 0x41db17
cmp ecx, 5
jne 0x41daa0
cmp eax, 2
jne 0x41da8b
mov esi, str.Windows_2003
jmp 0x41db17
cmp ecx, 5
jne 0x41daa0
mov edx, 1
cmp eax, edx
jne 0x41daa5
mov esi, str.Windows_XP
jmp 0x41db17
mov edx, 1
cmp ecx, 6
jne 0x41db08
cmp eax, ebx
jne 0x41dac4
cmp byte [ebp - 0x172], dl
jne 0x41dabd
mov esi, str.Windows_Vista
jmp 0x41db17
mov esi, str.Windows_2008
jmp 0x41db17
cmp ecx, 6
jne 0x41db08
cmp eax, edx
jne 0x41dae3
cmp byte [ebp - 0x172], dl
jne 0x41dadc
mov esi, str.Windows_7
jmp 0x41db17
mov esi, str.WINDOWS_2008_R2
jmp 0x41db17
cmp ecx, 6
jne 0x41db08
cmp eax, 2
je 0x41daf2
cmp eax, 3
jne 0x41db08
cmp byte [ebp - 0x172], dl
jne 0x41db01
mov esi, str.Windows_8
jmp 0x41db17
mov esi, str.Windows_Server_2012
jmp 0x41db17
cmp ecx, 0xa
mov esi, str.Windows_10
je 0x41db17
mov esi, 0x4b1c64
mov edx, dword [ebp - 0x200]
push edx
movzx edx, word [ebp - 0x176]
push edx
movzx edx, word [ebp - 0x178]
push edx
push eax
push ecx
push str._d._d._d._d._d
push 0x3f
lea eax, [ebp - 0x64]
push eax
call fcn.0044f65a
add esp, 0x20
mov ecx, str.6.2.0.0.9200
lea eax, [ebp - 0x64]
jmp 0x41db50
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41db70
cmp dl, bl
je 0x41db6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41db70
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x41db50
xor eax, eax
jmp 0x41db75
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41db7e
mov esi, str.Windows_10
mov ecx, dword [ebp - 0x200]
push ecx
movzx edx, word [ebp - 0x176]
push edx
movzx eax, word [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x208]
push edx
push esi
push str._s.___d._d._d._d._d_
push 0x104
lea eax, [ebp - 0x16c]
push eax
call fcn.0044f65a
add esp, 0x24
call fcn.0041d920
test eax, eax
lea eax, [ebp - 0x16c]
je 0x41dbf6
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41dbd0
mov ecx, dword [str.__64_bit_]
mov dword [eax], ecx
mov edx, dword [0x4b1cbc]
mov dword [eax + 4], edx
mov cx, word [0x4b1cc0]
mov word [eax + 8], cx
jmp 0x41dc1b
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41dbf7
mov edx, dword [str.__32_bit_]
mov dword [eax], edx
mov ecx, dword [0x4b1cc8]
mov dword [eax + 4], ecx
mov dx, word [0x4b1ccc]
mov word [eax + 8], dx
cmp dword [ebp - 0x210], ebx
je 0x41dc72
mov edx, dword [edi]
cmp edx, ebx
jbe 0x41dc72
lea eax, [ebp - 0x16c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dc32
sub eax, esi
inc eax
cmp eax, edx
jbe 0x41dc44
mov eax, edx
jmp 0x41dc5a
lea eax, [ebp - 0x16c]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dc50
sub eax, esi
inc eax
push eax
lea eax, [ebp - 0x16c]
push eax
push edx
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.004511d0
add esp, 0x10
lea eax, [ebp - 0x16c]
lea edx, [eax + 1]
jmp 0x41dc80
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dc80
sub eax, edx
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041dcba
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret