Function at 0x42fc2f
Capabilities:
Check os version

Disassembly:
mov eax, 0x478ddf
call fcn.004461a8
sub esp, 0xb24
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042ecfc
test eax, eax
je 0x4301d5
mov ecx, esi
call fcn.0042f858
and dword [ebp - 0x20], 0
mov dword [esi + 0xb20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4a0208]
call fcn.004423a1
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x9c]
call fcn.00401764
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
mov ebx, 0x47e5b8
jne 0x42fc9b
mov eax, ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x2ce
push dword [0x4a0208]
push str.Default_language:__d__got_code_page__d
push eax
call fcn.00408437
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x9c]
call fcn.00401bc7
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x42fd0d
lea eax, [ebp - 0xb30]
push eax
push dword [0x4a0208]
call fcn.00442627
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x4a1c0c], eax
lea ecx, [ebp - 0xb30]
push ecx
push eax
call fcn.00440f54
pop ecx
pop ecx
jmp 0x4301d5
cmp dword [esi + 0x54], 1
jbe 0x430137
mov eax, dword [esi + 0x24]
cmp eax, 5
je 0x430137
mov edi, 0x400
lea eax, [ebp - 0x928]
push edi
push 0
push eax
call fcn.00446a10
lea eax, [ebp - 0x928]
push 0xa
push eax
push dword [esi + 0x60]
call fcn.00447671
mov eax, dword [0x4a0b38]
add esp, 0x18
test eax, eax
jne 0x42fd56
mov eax, ebx
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.00446a9d
lea eax, [ebp - 0x928]
pop ecx
mov ebx, 0x47e598
pop ecx
test eax, eax
mov dword [ebp - 0x74], 0x47e5a0
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x928]
jne 0x42fd89
mov eax, 0x49cc4c
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00408d43
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
call fcn.00401992
push eax
mov ecx, esi
call fcn.004314f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], eax
call fcn.00401bc7
cmp dword [ebp - 0x14], 0
je 0x42ff05
cmp byte [0x49c838], 0
jne 0x42fdda
cmp byte [0x4a22e0], 0
je 0x42fe54
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x9c]
call fcn.00401764
mov eax, str.Language_transforms_in_stream
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x74], 0x47e5a0
test ecx, ecx
mov dword [ebp - 0x54], ebx
jne 0x42fe11
mov eax, 0x49cc4c
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00408d43
lea eax, [ebp - 0x9c]
push 0x2e3
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 3
call fcn.0046c800
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401bc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00401bc7
lea eax, [ebp - 0xa8]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x14], 7
call fcn.00408c0c
mov ecx, eax
call fcn.004023dd
mov ecx, dword [eax]
mov dword [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.00402a6a
mov eax, dword [eax]
lea ecx, [ebp - 0x928]
push ecx
push 0x4a140c
push eax
call fcn.004419d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004024ef
mov ecx, esi
call fcn.00431a51
test eax, eax
je 0x4301d5
lea eax, [ebp - 0x9c]
push 7
push eax
mov ecx, esi
call fcn.0040832b
mov eax, dword [eax + 8]
mov dword [ebp - 4], 5
test eax, eax
jne 0x42fedd
mov eax, 0x47e608
push 1
mov ecx, esi
pop edi
push edi
push eax
push str._LangTransform
call fcn.0043201b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00401f6c
mov dword [esi + 0x4c], edi
jmp 0x43013c
cmp byte [esi + 0x280], 0
je 0x42ffe6
lea eax, [ebp - 0x928]
mov ebx, 0x47e5e0
mov edi, 0x47e5d8
mov dword [ebp - 0x4c], ebx
test eax, eax
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x928]
jne 0x42ff37
mov eax, 0x49cc4c
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403c0d
lea eax, [esi + 0x72]
mov dword [ebp - 4], 6
test eax, eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
jne 0x42ff5f
mov eax, 0x49cc4c
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403c0d
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x74]
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 7
call fcn.0040e001
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.00401f6c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00401f6c
lea eax, [ebp - 0x9c]
push 0
push eax
push 7
mov ecx, esi
call fcn.004082ae
mov eax, dword [ebp - 0x94]
test eax, eax
jne 0x42ffbe
mov eax, 0x47e608
push 1
push eax
push str._LangTransform
mov ecx, esi
call fcn.0043201b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00401f6c
mov ebx, 0x47e598
jmp 0x4300a5
mov ecx, esi
call fcn.00430364
test al, al
je 0x430051
mov ecx, esi
call fcn.004302f6
test al, al
je 0x430051
lea eax, [ebp - 0xa8]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x14], 7
call fcn.00408c0c
mov ecx, eax
call fcn.004023dd
mov ecx, dword [eax]
mov dword [ebp - 4], 0xb
mov byte [eax + 4], 1
call fcn.00402a6a
push dword [eax]
lea eax, [ebp - 0x928]
mov ecx, esi
push eax
call fcn.00430238
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004024ef
jmp 0x4300a5
lea eax, [ebp - 0x928]
mov dword [ebp - 0x4c], 0x47e5e0
test eax, eax
mov dword [ebp - 0x2c], 0x47e5d8
lea eax, [ebp - 0x928]
jne 0x430074
mov eax, 0x49cc4c
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403c0d
lea eax, [ebp - 0x4c]
push 0
push eax
push 7
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.004082ae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401f6c
cmp byte [0x49c838], 0
jne 0x4300bb
cmp byte [0x4a22e0], 0
je 0x43013c
lea eax, [ebp - 0xe]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x9c]
call fcn.00401764
mov eax, str.Using_language_transforms_from_setup.exe_location
mov dword [ebp - 4], 0xd
mov ecx, eax
mov dword [ebp - 0x4c], 0x47e5a0
test ecx, ecx
mov dword [ebp - 0x2c], ebx
jne 0x4300f2
mov eax, 0x49cc4c
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408d43
lea eax, [ebp - 0x9c]
push 0x30a
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0046c800
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00401bc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00401bc7
jmp 0x43013c
mov ebx, 0x47e598
xor edi, edi
lea eax, [ebp - 0x21]
push edi
push eax
push 0x49cc4c
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x47e5a0
mov dword [ebp - 0xb0], ebx
call fcn.00408d43
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0xd0]
push 1
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.00430376
test eax, eax
setne bl
cmp dword [ebp - 0x1c], edi
je 0x430199
push dword [ebp - 0x1c]
call fcn.0044526c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00401bc7
test bl, bl
je 0x4301b3
call fcn.004182b7
jmp 0x4301d5
mov ecx, esi
call fcn.0042f9a5
test eax, eax
je 0x4301d5
push 0x44f
mov ecx, esi
call fcn.0043147a
mov ecx, esi
call fcn.00431eed
test eax, eax
jne 0x4301d9
xor eax, eax
jmp 0x430229
push esi
push 0x451
lea ecx, [ebp - 0x128]
call fcn.0041a989
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0x11
call fcn.0041dcdd
test eax, eax
jne 0x430204
xor esi, esi
jmp 0x430218
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0xb28], eax
call fcn.004182b7
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0041a9de
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret