Function at 0x42f3ac
Capabilities:
Check os version

Disassembly:
mov eax, 0x476d61
call fcn.00444d58
sub esp, 0x604
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042e4a6
test eax, eax
je 0x42f893
mov ecx, esi
call fcn.0042f00c
and dword [ebp - 0x1c], 0
mov dword [esi + 0x61c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x49a8e8]
call fcn.00441452
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push 1
lea ecx, [ebp - 0x4c]
pop edi
push edi
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
call fcn.0040175f
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
jne 0x42f415
mov eax, 0x47b578
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x2ce
push dword [0x49a8e8]
push str.Default_language:__d__got_code_page__d
push eax
call fcn.004084c8
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.00401bc2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x42f484
lea eax, [ebp - 0x210]
push eax
push dword [0x49a8e8]
call fcn.004416d1
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x49b6ec], eax
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00440087
pop ecx
pop ecx
jmp 0x42f893
cmp dword [esi + 0x54], edi
jbe 0x42f7f7
mov eax, dword [esi + 0x24]
cmp eax, 5
je 0x42f7f7
mov ebx, 0x400
lea eax, [ebp - 0x610]
push ebx
push 0
push eax
call fcn.004455c0
lea eax, [ebp - 0x610]
push 0xa
push eax
push dword [esi + 0x60]
call fcn.004476fa
add esp, 0x18
mov ecx, 0x49ae10
call fcn.0040198d
push eax
lea eax, [ebp - 0x610]
push eax
call fcn.00444880
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push edi
push eax
lea eax, [ebp - 0x610]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0040175f
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0040198d
push eax
mov ecx, esi
call fcn.00430b36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], eax
call fcn.00401bc2
cmp dword [ebp - 0x14], 0
je 0x42f63b
cmp byte [0x498990], 0
jne 0x42f52b
cmp byte [0x49bca8], 0
je 0x42f59f
lea eax, [ebp - 0xd]
push edi
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x4c]
call fcn.0040175f
mov eax, str.Language_transforms_in_stream
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x74], 0x47b560
test ecx, ecx
mov dword [ebp - 0x54], 0x47b558
jne 0x42f562
mov eax, 0x498d9c
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00408d40
lea eax, [ebp - 0x4c]
push 0x2e3
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 3
call fcn.0046a430
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401bc2
lea eax, [ebp - 0x80]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x14], 7
call fcn.00408c09
mov ecx, eax
call fcn.004024e5
mov ebx, eax
mov ecx, dword [ebx]
mov dword [ebp - 4], 4
call fcn.0040305e
lea ecx, [ebp - 0x610]
mov dword [ebx + 8], eax
push ecx
push 0x49b2ec
push eax
call fcn.00440ae2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004025f7
mov ecx, esi
call fcn.00431065
test eax, eax
je 0x42f893
lea eax, [ebp - 0x4c]
push 7
push eax
mov ecx, esi
call fcn.004083bc
push edi
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.0040305e
push eax
push str._LangTransform
mov ecx, esi
call fcn.004315f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401f95
mov dword [esi + 0x4c], edi
jmp 0x42f7f7
cmp byte [esi + 0x17c], 0
je 0x42f6d6
lea eax, [ebp - 0xe]
push edi
push eax
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402caf
lea eax, [ebp - 0xd]
push edi
push eax
lea eax, [esi + 0x71]
push eax
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 6
call fcn.00402caf
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.0040e41b
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xa
call fcn.00401f95
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00401f95
lea eax, [ebp - 0x74]
push 0
push eax
push 7
mov ecx, esi
call fcn.0040833f
push edi
lea ecx, [ebp - 0x74]
call fcn.0040305e
push eax
push str._LangTransform
mov ecx, esi
call fcn.004315f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
jmp 0x42f76c
mov ecx, esi
call fcn.0042fa11
test al, al
je 0x42f73b
mov ecx, esi
call fcn.0042f9a8
test al, al
je 0x42f73b
lea eax, [ebp - 0x80]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x14], 7
call fcn.00408c09
mov ecx, eax
call fcn.004024e5
mov ebx, eax
mov ecx, dword [ebx]
mov dword [ebp - 4], 0xb
call fcn.0040305e
mov dword [ebx + 8], eax
push eax
lea eax, [ebp - 0x610]
mov ecx, esi
push eax
call fcn.0042f8f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004025f7
jmp 0x42f771
lea eax, [ebp - 0xe]
push edi
push eax
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402caf
lea eax, [ebp - 0x4c]
push 0
push eax
push 7
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.0040833f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401f95
cmp byte [0x498990], 0
jne 0x42f783
cmp byte [0x49bca8], 0
je 0x42f7f7
lea eax, [ebp - 0xe]
push edi
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x4c]
call fcn.0040175f
mov eax, str.Using_language_transforms_from_setup.exe_location
mov dword [ebp - 4], 0xd
mov ecx, eax
mov dword [ebp - 0x74], 0x47b560
test ecx, ecx
mov dword [ebp - 0x54], 0x47b558
jne 0x42f7ba
mov eax, 0x498d9c
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00408d40
lea eax, [ebp - 0x4c]
push 0x30a
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0xe
call fcn.0046a430
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xd
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401bc2
lea eax, [ebp - 0x1d]
push 0
push eax
push 0x498d9c
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x47b560
mov dword [ebp - 0x88], 0x47b558
call fcn.00408d40
and dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0xa8]
push edi
push eax
push edi
mov byte [ebp - 4], 0x10
call fcn.0042fa23
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x42f857
push dword [ebp - 0x24]
call fcn.0044413c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00401bc2
test bl, bl
je 0x42f871
call fcn.0041821d
jmp 0x42f893
mov ecx, esi
call fcn.0042f142
test eax, eax
je 0x42f893
push 0x44f
mov ecx, esi
call fcn.00430abf
mov ecx, esi
call fcn.004314bf
test eax, eax
jne 0x42f897
xor eax, eax
jmp 0x42f8e4
push esi
push 0x451
lea ecx, [ebp - 0xe4]
call fcn.0041a902
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0x11
call fcn.0041d8dc
test eax, eax
jne 0x42f8c2
xor edi, edi
jmp 0x42f8d3
mov eax, dword [ebp - 0xd8]
mov dword [esi + 0x624], eax
call fcn.0041821d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0041a957
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret