Function at 0x42fa23
Capabilities:
Check os version
Contain obfuscated stackstrings
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x476e39
call fcn.00444d58
sub esp, 0x4d4
push ebx
xor ebx, ebx
cmp byte [0x498990], bl
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], ebx
jne 0x42fa4d
cmp byte [0x49bca8], bl
je 0x42fabc
lea eax, [ebp - 0x15]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x74]
call fcn.0040175f
mov eax, str.Running_setup_prerequisites...
mov dword [ebp - 4], ebx
mov ecx, eax
mov dword [ebp - 0x4c], 0x47b560
test ecx, ecx
mov dword [ebp - 0x2c], 0x47b558
jne 0x42fa81
mov eax, 0x498d9c
lea ecx, [ebp - 0x13]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408d40
lea eax, [ebp - 0x74]
push 0x361
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.0046a430
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401bc2
push 0x64c
push 0x3eb
push dword [0x498df0]
call fcn.00441609
add esp, 0xc
lea eax, [ebp - 0x13]
mov edi, 0x47b598
lea ecx, [ebp - 0xc4]
push ebx
push eax
mov dword [ebp - 0xc4], 0x47b5a0
mov dword [ebp - 0xa4], edi
call fcn.00402b2c
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [ebp - 4], 2
call fcn.004328fd
mov eax, dword [eax + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x42fb1b
mov eax, 0x47b5bc
push eax
lea eax, [ebp - 0xc4]
push str.__IS_PREREQ____s
push eax
call fcn.00414f6e
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401f95
lea eax, [ebp - 0x15]
push ebx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x47b5a0
mov dword [ebp - 0x7c], edi
call fcn.00402b2c
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.004328fd
mov eax, dword [eax + 8]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x42fb78
mov eax, 0x47b5bc
push eax
lea eax, [ebp - 0x9c]
push str.__IS_PREREQF____s
push eax
call fcn.00414f6e
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00401f95
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x24]
mov byte [ebp - 4], 6
cmp eax, ebx
mov dword [ebp - 0x1c], ebx
jne 0x42fd20
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42fbdd
lea ecx, [ebp - 0x10]
call fcn.0040d722
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [ecx + 0xc], ebx
jne 0x42fca8
cmp eax, ebx
jne 0x42fca8
lea eax, [ebp - 0x12]
push ebx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x47b5a0
mov dword [ebp - 0x54], edi
call fcn.00402b2c
lea eax, [ebp - 0x74]
push 0x104
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.0040305e
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004423f2
add esp, 0x10
test eax, eax
jne 0x42fc9c
lea eax, [ebp - 0x74]
push ebx
push eax
push 0x14
mov ecx, esi
call fcn.0040833f
lea ecx, [ebp - 0x9c]
call fcn.0040305e
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x42fc9c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.00401f95
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040d722
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401f95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401f95
xor eax, eax
jmp 0x4300bd
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.00401f95
lea eax, [ebp - 0x12]
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x47b5a0
mov dword [ebp - 0x2c], edi
call fcn.00402b2c
lea eax, [ebp - 0x4c]
push 0x104
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.0040305e
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004423f2
add esp, 0x10
test eax, eax
jne 0x42fd14
lea eax, [ebp - 0x20]
push 0xa
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417ddf
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xc4]
mov dword [esi + 0x1d8], eax
call fcn.0040305e
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00401f95
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x14]
push eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x20], esp
push 1
push dword [ebp + 0xc]
call fcn.0040e12e
mov ecx, esi
call fcn.004300ce
cmp al, bl
je 0x430024
mov eax, dword [esi + 0x24]
cmp eax, 1
jne 0x42fe7f
push 0x10
mov ecx, esi
call fcn.00408397
test al, al
je 0x42fe7f
mov eax, dword [esi + 8]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp + 8], ecx
je 0x430024
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x4e0]
call fcn.00436692
lea eax, [ebp + 0xf]
push ebx
push eax
push 0x498d9c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x4c], 0x47b560
mov dword [ebp - 0x2c], 0x47b558
call fcn.00408d40
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0x14]
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.0040198d
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00436bce
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00401bc2
push esi
lea ecx, [ebp - 0x164]
call fcn.00411929
lea eax, [ebp - 0x1b4]
push 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.004083bc
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00414f27
push ebx
push eax
lea eax, [ebp - 0x4e0]
lea ecx, [ebp - 0x164]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0xd
call fcn.00413b69
lea ecx, [ebp - 0x74]
call fcn.00401bc2
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xc
call fcn.00401bc2
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xb
call fcn.00401f95
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 9
call fcn.004119f6
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 6
call fcn.00436ae7
lea ecx, [ebp + 8]
call fcn.004155b2
mov eax, dword [esi + 8]
cmp dword [ebp + 8], eax
jne 0x42fd76
jmp 0x430024
cmp dword [esi + 0x24], ebx
jne 0x43008b
push esi
lea ecx, [ebp - 0x164]
call fcn.00411929
mov eax, dword [ebp + 8]
cmp dword [esi + 0x1e8], 6
mov dword [ebp - 0x12c], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 4], 0xe
mov byte [ebp - 0x128], al
jb 0x42fecd
cmp byte [ebp - 0x14], bl
je 0x42fecd
call fcn.00461b42
test al, al
jne 0x42fecd
mov byte [ebp - 0x127], 1
jmp 0x42ffa0
cmp byte [ebp - 0x11], bl
mov byte [ebp - 0x127], bl
jne 0x42ffa0
push 0x13
mov ecx, esi
call fcn.00408397
test al, al
jne 0x42ffa0
mov ecx, esi
call fcn.0042f142
test eax, eax
jne 0x42ff1f
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.004119f6
cmp dword [ebp - 0x10], ebx
je 0x42ff18
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 2
jmp 0x42ffec
cmp byte [0x498990], bl
jne 0x42ff2f
cmp byte [0x49bca8], bl
je 0x42ffa0
lea eax, [ebp + 0xb]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x74]
call fcn.0040175f
mov eax, str.Showing_initialization_dialog_for_prerequisites.
mov byte [ebp - 4], 0xf
mov ecx, eax
mov dword [ebp - 0x4c], 0x47b560
test ecx, ecx
mov dword [ebp - 0x2c], 0x47b558
jne 0x42ff64
mov eax, 0x498d9c
lea ecx, [ebp - 0x12]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408d40
lea eax, [ebp - 0x74]
push 0x3a7
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0046a430
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.00401bc2
cmp byte [ebp - 0x11], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
sete al
push eax
push dword [ebp + 0xc]
push dword [esi + 0x614]
call fcn.00411a4a
push 2
pop ecx
sub eax, ecx
je 0x430012
sub eax, 5
jne 0x430015
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.004119f6
cmp dword [ebp - 0x10], ebx
je 0x42ffea
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 7
pop esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401f95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401f95
mov eax, esi
jmp 0x4300bd
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.004119f6
cmp dword [esi + 0x24], ebx
jne 0x43008b
cmp dword [ebp - 0x1c], ebx
jne 0x430056
lea ecx, [ebp - 0xc4]
call fcn.0040305e
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x9c]
call fcn.0040305e
push eax
push dword [ebp - 0x10]
call esi
cmp byte [ebp + 0x10], bl
je 0x43008b
mov dword [ebp + 0x10], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysFreeString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.00417ceb
test eax, eax
jne 0x43008b
push str.__ISSetupPrerequisistes
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x10], ebx
je 0x43009c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401f95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401f95
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10