Function at 0x411ba9
Capabilities:
Check os version
Identify system language via api

Disassembly:
push ebp
sub esp, 0x114
lea ebp, [esp - 4]
mov eax, dword [0x460df0]
xor eax, ebp
mov dword [ebp + 0x114], eax
push 0x18
mov eax, 0x449152
call fcn.00432cb3
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x44]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x411be4
xor eax, eax
inc eax
jmp 0x411ebb
push 0x453698
lea ecx, [ebp - 0x14]
call fcn.00401555
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401b22
mov byte [ebp - 4], 1
mov dword [ebp], 0x114
mov ebx, 0x110
push ebx
push 0
lea eax, [ebp + 4]
push eax
call fcn.0042e7a0
add esp, 0xc
lea eax, [ebp]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call esi
cmp dword [ebp + 4], 6
jne 0x411dd2
cmp dword [ebp + 8], 0
jne 0x411dd2
lea eax, [ebp - 0x18]
push eax
push 0x4538d0
mov ecx, 0x4656d8
call fcn.00422755
test eax, eax
je 0x411dd2
push 0x4538d0
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov esi, 0x4656d8
call fcn.0040aadd
test al, al
je 0x411c90
lea eax, [ebp - 0x18]
push eax
mov ebx, str.x64MsiUrl
push ebx
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411c90
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call ebx
cmp ax, 0x407
jne 0x411cbf
lea eax, [ebp - 0x18]
push eax
push 0x453908
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411cbf
push 0x453908
lea ecx, [ebp - 0x14]
call fcn.0040165e
call ebx
cmp ax, 0x40c
jne 0x411ce8
lea eax, [ebp - 0x18]
push eax
push 0x45391c
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411ce8
push 0x45391c
lea ecx, [ebp - 0x14]
call fcn.0040165e
call ebx
cmp ax, 0x411
jne 0x411d14
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x453930
push ebx
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411d0e
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call ebx
cmp ax, 0x40a
je 0x411d24
call ebx
cmp ax, 0xc0a
jne 0x411d42
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x453944
push ebx
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411d42
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
push str.2.2.21642.48889
mov ecx, 0x465620
call fcn.00401ea3
test eax, eax
jne 0x411d73
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x453958
push ebx
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411d73
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov byte [ebp - 4], 2
lea esi, [edi + 0x5c]
cmp dword [esi], 0
jne 0x411dc6
and dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0x64
push 0xbb9
push edi
push 0x19
pop ebx
call fcn.004126b7
push 1
push esi
push 0x45396c
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00411248
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x44]
call fcn.00401ac3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00401b59
mov dword [ebp - 4], 1
jmp 0x411e92
mov dword [ebp], 0x114
push ebx
push 0
lea eax, [ebp + 4]
push eax
call fcn.0042e7a0
add esp, 0xc
lea eax, [ebp]
push eax
call esi
cmp dword [ebp + 4], 6
jne 0x411e1b
cmp dword [ebp + 8], 1
jne 0x411e1b
lea eax, [ebp - 0x18]
push eax
push str.7MsiUrl
mov ecx, 0x4656d8
call fcn.00422755
test eax, eax
je 0x411e1b
push str.7MsiUrl
jmp 0x411c5c
mov dword [ebp], 0x114
push ebx
push 0
lea eax, [ebp + 4]
push eax
call fcn.0042e7a0
add esp, 0xc
lea eax, [ebp]
push eax
call esi
cmp dword [ebp + 4], 6
jne 0x411c64
cmp dword [ebp + 8], 2
jne 0x411c64
lea eax, [ebp - 0x18]
push eax
mov ebx, str.8MsiUrl
push ebx
mov esi, 0x4656d8
mov ecx, esi
call fcn.00422755
test eax, eax
je 0x411c69
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
jmp 0x411c69
mov eax, dword [edi + 0x44]
mov eax, dword [eax - 0xc]
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401b59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401b59
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.0042e0d5
add ebp, 0x118
leave
ret