Function at 0x41dfae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x41dfd4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
push 0
push dword [ebp - 0x2c]
call fcn.00422494
pop ecx
pop ecx
jmp 0x41e1e6
lea eax, [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x41e04f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x41e039
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41e037
push 0
push 0
push 0x74e3
push 0x568
push 1
push 1
push 0x978
call fcn.0041dfae
add esp, 0x1c
jmp 0x41e04a
push 0
push 0x2287
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
jmp 0x41e1e6
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x41e1d5
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
mov esi, eax
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
mov esi, dword [esi]
imul esi, dword [eax]
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
cmp esi, dword [eax]
jle 0x41e0b9
mov dword [ebp - 0xc], 1
jmp 0x41e0bd
and dword [ebp - 0xc], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.00438351
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
jne 0x41e1c4
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
cmp dword [eax], 0
jle 0x41e0ea
mov dword [ebp - 0x10], 1
jmp 0x41e0ee
and dword [ebp - 0x10], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
je 0x41e114
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
cmp dword [eax], 0
jne 0x41e114
and dword [ebp - 0x14], 0
jmp 0x41e11b
mov dword [ebp - 0x14], 1
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jge 0x41e135
mov dword [ebp - 0x18], 1
jmp 0x41e139
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
add eax, 0x856d
cmp eax, 5
jle 0x41e14f
mov dword [ebp - 0x1c], 1
jmp 0x41e153
and dword [ebp - 0x1c], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jg 0x41e16d
mov dword [ebp - 0x20], 1
jmp 0x41e171
and dword [ebp - 0x20], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.00438351
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jne 0x41e18b
mov dword [ebp - 0x24], 1
jmp 0x41e18f
and dword [ebp - 0x24], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.00438351
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x41e1a9
mov dword [ebp - 0x5c], 1
jmp 0x41e1ad
and dword [ebp - 0x5c], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.00438351
imul eax, dword [eax], 0xfffffffd
test eax, eax
jne 0x41e1c4
and dword [ebp - 0x28], 0
jmp 0x41e1cb
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x41e1e6
mov byte [ebp - 2], 0
push 0
lea eax, [ebp - 2]
push eax
call fcn.0042e759
pop ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret