Function at 0x427900
Capabilities:
Check if file exists
Check os version
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x554
mov eax, dword [0x5ef220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x104
push eax
push 0x104
lea eax, [esi + 0xc]
mov dword [ebp - 0x54c], edi
push eax
call fcn.0055b494
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42796d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MSG:_Install_the_runtime_fails__the_configuration_file_does_not_exist__code_d
call fcn.0042abd0
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557f7f
mov esp, ebp
pop ebp
ret 8
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
mov eax, 1
movdqu xmmword [ebp - 0x16], xmm0
mov dword [ebp - 0x550], eax
push ebx
jmp 0x427990
push 0xa
push 0xa
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0055b552
add esp, 0x10
lea eax, [ebp - 0x18]
push edi
push 0
push str.checkType
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp edi, 2
je 0x4279d2
cmp edi, 3
je 0x4279d2
cmp edi, 1
je 0x4279d2
cmp edi, 4
je 0x4279d2
cmp edi, 5
jne 0x427c44
push 0xa30
call fcn.00430e8a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4279f7
push 0xa30
push 0
push ebx
call fcn.0055c960
add esp, 0xc
jmp 0x4279f9
xor ebx, ebx
mov dword [ebx], edi
lea eax, [ebx + 0x620]
mov edi, dword [ebp - 0x54c]
push edi
push 0xa28
push eax
push 0x5c52ec
push str.checkPath
lea eax, [ebp - 0x18]
mov dword [ebp - 0x548], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebx + 0x828]
push eax
push 0x5c52ec
push str.checkVerion
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebx + 8]
push eax
push 0x5c52ec
push str.instName
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebx + 0x210]
push eax
push 0x5c52ec
push str.instFile
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebx + 0x418]
push eax
push 0x5c52ec
push str.instParam
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x11c
lea eax, [ebp - 0x544]
push 0
push eax
call fcn.0055c960
add esp, 0xc
mov dword [ebp - 0x544], 0x11c
lea eax, [ebp - 0x544]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x534], 2
jne 0x427af5
cmp dword [ebp - 0x540], 6
jb 0x427af5
cmp dword [ebp - 0x53c], 1
jb 0x427af5
mov al, 1
jmp 0x427af7
xor al, al
test al, al
je 0x427bd1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0055c960
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.0055c960
add esp, 0x18
lea eax, [ebp - 0x220]
push edi
push 0x104
push eax
push 0x5c52ec
push str.instFileWin7
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x5c52ec
push str.instParamWin7
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427b83
sub eax, edx
sar eax, 1
je 0x427bd1
push 0x104
lea eax, [ebp - 0x220]
push eax
lea eax, [ebx + 0x210]
push 0x104
push eax
call fcn.0055b494
push 0x104
lea eax, [ebp - 0x428]
push eax
lea eax, [ebx + 0x418]
push 0x104
push eax
call fcn.0055b494
add esp, 0x20
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x548]
cmp ecx, eax
jae 0x427c14
mov ecx, dword [esi]
lea edx, [ebp - 0x548]
cmp ecx, edx
ja 0x427c14
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x427bfe
push ecx
mov ecx, esi
call fcn.00415310
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x427c0c
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
mov edi, dword [ebp - 0x54c]
jmp 0x427c2a
cmp eax, dword [esi + 8]
jne 0x427c21
push ecx
mov ecx, esi
call fcn.00415310
mov eax, dword [esi + 4]
test eax, eax
je 0x427c2a
mov dword [eax], ebx
mov eax, dword [ebp - 0x550]
add dword [esi + 4], 4
inc eax
mov dword [ebp - 0x550], eax
cmp eax, 0x1e
jl 0x427990
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00557f7f
mov esp, ebp
pop ebp
ret 8