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

Disassembly:
push ebp
sub esp, 0x114
lea ebp, [esp - 4]
mov eax, dword [0x461de0]
xor eax, ebp
mov dword [ebp + 0x114], eax
push 0x18
mov eax, 0x449c23
call fcn.004336a9
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x44]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x41240d
xor eax, eax
inc eax
jmp 0x4126e4
push 0x454a40
lea ecx, [ebp - 0x14]
call fcn.00401555
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00409258
mov byte [ebp - 4], 1
mov dword [ebp], 0x114
mov ebx, 0x110
push ebx
push 0
lea eax, [ebp + 4]
push eax
call fcn.0042f1e0
add esp, 0xc
lea eax, [ebp]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call esi
cmp dword [ebp + 4], 6
jne 0x4125fb
cmp dword [ebp + 8], 0
jne 0x4125fb
lea eax, [ebp - 0x18]
push eax
push 0x454cf0
mov ecx, 0x4666bc
call fcn.00422ee7
test eax, eax
je 0x4125fb
push 0x454cf0
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov esi, 0x4666bc
call fcn.0040ae17
test al, al
je 0x4124b9
lea eax, [ebp - 0x18]
push eax
mov ebx, str.x64MsiUrl
push ebx
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x4124b9
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call ebx
cmp ax, 0x407
jne 0x4124e8
lea eax, [ebp - 0x18]
push eax
push 0x454d28
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x4124e8
push 0x454d28
lea ecx, [ebp - 0x14]
call fcn.0040165e
call ebx
cmp ax, 0x40c
jne 0x412511
lea eax, [ebp - 0x18]
push eax
push 0x454d3c
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x412511
push 0x454d3c
lea ecx, [ebp - 0x14]
call fcn.0040165e
call ebx
cmp ax, 0x411
jne 0x41253d
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x454d50
push ebx
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x412537
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call ebx
cmp ax, 0x40a
je 0x41254d
call ebx
cmp ax, 0xc0a
jne 0x41256b
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x454d64
push ebx
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x41256b
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
push str.2.2.21642.48889
mov ecx, 0x466600
call fcn.00401e8b
test eax, eax
jne 0x41259c
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x454d78
push ebx
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x41259c
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
mov byte [ebp - 4], 2
lea esi, [edi + 0x5c]
cmp dword [esi], 0
jne 0x4125ef
and dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0x64
push 0xbb9
push edi
push 0x19
pop ebx
call fcn.004130d6
push 1
push esi
push 0x454d8c
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00411942
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x44]
call fcn.00401ad8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00409282
mov dword [ebp - 4], 1
jmp 0x4126bb
mov dword [ebp], 0x114
push ebx
push 0
lea eax, [ebp + 4]
push eax
call fcn.0042f1e0
add esp, 0xc
lea eax, [ebp]
push eax
call esi
cmp dword [ebp + 4], 6
jne 0x412644
cmp dword [ebp + 8], 1
jne 0x412644
lea eax, [ebp - 0x18]
push eax
push str.7MsiUrl
mov ecx, 0x4666bc
call fcn.00422ee7
test eax, eax
je 0x412644
push str.7MsiUrl
jmp 0x412485
mov dword [ebp], 0x114
push ebx
push 0
lea eax, [ebp + 4]
push eax
call fcn.0042f1e0
add esp, 0xc
lea eax, [ebp]
push eax
call esi
cmp dword [ebp + 4], 6
jne 0x41248d
cmp dword [ebp + 8], 2
jne 0x41248d
lea eax, [ebp - 0x18]
push eax
mov ebx, str.8MsiUrl
push ebx
mov esi, 0x4666bc
mov ecx, esi
call fcn.00422ee7
test eax, eax
je 0x412492
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040165e
jmp 0x412492
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.00409282
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00409282
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.0042f1cb
add ebp, 0x118
leave
ret