Function at 0x428886
Capabilities:
Check os version

Disassembly:
mov eax, 0x465900
call fcn.004341ac
sub esp, 0x628
push ebx
push esi
push edi
mov esi, ecx
call fcn.00427998
test eax, eax
je 0x428d0f
mov ecx, esi
call fcn.004284fe
and dword [ebp - 0x20], 0
mov dword [esi + 0x60c], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4854e0]
call fcn.00430b49
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push 1
lea ecx, [ebp - 0x48]
pop ebx
push ebx
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
call fcn.00401a6d
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
jne 0x4288ef
mov eax, 0x469558
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x2cc
push dword [0x4854e0]
push str.Default_language:__d__got_code_page__d
push eax
call fcn.004086b0
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.00401306
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x42895e
lea eax, [ebp - 0x234]
push eax
push dword [0x4854e0]
call fcn.00430dc8
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x4863c8], eax
lea ecx, [ebp - 0x234]
push ecx
push eax
call fcn.0042f792
pop ecx
pop ecx
jmp 0x428d0f
cmp dword [esi + 0x44], ebx
jbe 0x428ced
mov eax, dword [esi + 0x14]
cmp eax, 5
je 0x428ced
mov edi, 0x400
lea eax, [ebp - 0x634]
push edi
push 0
push eax
call fcn.00434af0
lea eax, [ebp - 0x634]
push 0xa
push eax
push dword [esi + 0x50]
call fcn.004367e5
add esp, 0x18
mov ecx, 0x485ac8
call fcn.00401c5e
push eax
lea eax, [ebp - 0x634]
push eax
call fcn.004341e0
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push ebx
push eax
lea eax, [ebp - 0x634]
lea ecx, [ebp - 0x48]
push eax
call fcn.00401a6d
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00401c5e
push eax
mov ecx, esi
call fcn.00428f2d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], eax
call fcn.00401306
cmp dword [ebp - 0x14], 0
je 0x428b15
cmp byte [0x483528], 0
jne 0x428a05
cmp byte [0x4869c8], 0
je 0x428a79
lea eax, [ebp - 0xd]
push ebx
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x48]
call fcn.00401a6d
mov eax, str.Language_transforms_in_stream
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x7c], 0x46953c
test ecx, ecx
mov dword [ebp - 0x5c], 0x469534
jne 0x428a3c
mov eax, 0x483918
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004010c6
lea eax, [ebp - 0x48]
push 0x2e1
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 3
call fcn.004596c0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.00401306
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401306
lea eax, [ebp - 0x54]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x14], 7
call fcn.00408df1
mov ecx, eax
call fcn.004025f2
mov edi, eax
mov ecx, dword [edi]
mov dword [ebp - 4], 4
call fcn.0040316b
lea ecx, [ebp - 0x634]
mov dword [edi + 8], eax
push ecx
push 0x485fc8
push eax
call fcn.004301d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00402704
mov ecx, esi
call fcn.00429446
test eax, eax
je 0x428d0f
lea eax, [ebp - 0x48]
push 7
push eax
mov ecx, esi
call fcn.004085a4
push ebx
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.0040316b
push eax
push str._LangTransform
mov ecx, esi
call fcn.004299c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004020a2
mov dword [esi + 0x3c], ebx
jmp 0x428ced
cmp byte [esi + 0x16c], 0
je 0x428bb0
lea eax, [ebp - 0xe]
push ebx
push eax
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402dbc
lea eax, [ebp - 0xd]
push ebx
push eax
lea eax, [esi + 0x61]
push eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 6
call fcn.00402dbc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.0040e53a
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xa
call fcn.004020a2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.004020a2
lea eax, [ebp - 0x7c]
push 0
push eax
push 7
mov ecx, esi
call fcn.00408527
push ebx
lea ecx, [ebp - 0x7c]
call fcn.0040316b
push eax
push str._LangTransform
mov ecx, esi
call fcn.004299c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
jmp 0x428c46
mov ecx, esi
call fcn.00428e8d
test al, al
je 0x428c15
mov ecx, esi
call fcn.00428e24
test al, al
je 0x428c15
lea eax, [ebp - 0x54]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x14], 7
call fcn.00408df1
mov ecx, eax
call fcn.004025f2
mov edi, eax
mov ecx, dword [edi]
mov dword [ebp - 4], 0xb
call fcn.0040316b
mov dword [edi + 8], eax
push eax
lea eax, [ebp - 0x634]
mov ecx, esi
push eax
call fcn.00428d6f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00402704
jmp 0x428c4b
lea eax, [ebp - 0xe]
push ebx
push eax
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x48]
call fcn.00402dbc
lea eax, [ebp - 0x48]
push 0
push eax
push 7
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.00408527
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004020a2
cmp byte [0x483528], 0
jne 0x428c61
cmp byte [0x4869c8], 0
je 0x428ced
lea eax, [ebp - 0x1a]
push ebx
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0xcc]
call fcn.00401a6d
mov eax, str.Using_language_transforms_from_setup.exe_location
mov dword [ebp - 4], 0xd
mov ecx, eax
mov dword [ebp - 0xa4], 0x46953c
test ecx, ecx
mov dword [ebp - 0x84], 0x469534
jne 0x428ca1
mov eax, 0x483918
lea ecx, [ebp - 0x19]
push 0
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.004010c6
lea eax, [ebp - 0xcc]
push 0x308
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 0xe
call fcn.004596c0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xd
call fcn.00401306
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00401306
mov ecx, esi
call fcn.00428634
test eax, eax
je 0x428d0f
push 0x44f
mov ecx, esi
call fcn.00428eb6
mov ecx, esi
call fcn.00429890
test eax, eax
jne 0x428d13
xor eax, eax
jmp 0x428d60
push esi
push 0x451
lea ecx, [ebp - 0x108]
call fcn.004168a6
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0xf
call fcn.00419871
test eax, eax
jne 0x428d3e
xor ebx, ebx
jmp 0x428d4f
mov eax, dword [ebp - 0xfc]
mov dword [esi + 0x614], eax
call fcn.0041401a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.004168fb
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret