Function at 0x430376
Capabilities:
Check os version
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x478eb9
call fcn.004461a8
sub esp, 0x5d4
push ebx
xor ebx, ebx
cmp byte [0x49c838], bl
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], ebx
jne 0x4303a0
cmp byte [0x4a22e0], bl
je 0x43040f
lea eax, [ebp - 0x15]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x74]
call fcn.00401764
mov eax, str.Running_setup_prerequisites...
mov dword [ebp - 4], ebx
mov ecx, eax
mov dword [ebp - 0x4c], 0x47e5a0
test ecx, ecx
mov dword [ebp - 0x2c], 0x47e598
jne 0x4303d4
mov eax, 0x49cc4c
lea ecx, [ebp - 0x13]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408d43
lea eax, [ebp - 0x74]
push 0x361
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.0046c800
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401bc7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401bc7
push 0x64c
push 0x3eb
push dword [0x49cca0]
call fcn.0044255d
add esp, 0xc
lea eax, [ebp - 0x13]
mov edi, 0x47e5d8
lea ecx, [ebp - 0xc4]
push ebx
push eax
mov dword [ebp - 0xc4], 0x47e5e0
mov dword [ebp - 0xa4], edi
call fcn.004029f5
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [ebp - 4], 2
call fcn.00433442
mov eax, dword [eax + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x43046e
mov eax, 0x47e608
push eax
lea eax, [ebp - 0xc4]
push str.__IS_PREREQ____s
push eax
call fcn.00414bf6
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401f6c
lea eax, [ebp - 0x15]
push ebx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x47e5e0
mov dword [ebp - 0x7c], edi
call fcn.004029f5
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.00433442
mov eax, dword [eax + 8]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x4304cb
mov eax, 0x47e608
push eax
lea eax, [ebp - 0x9c]
push str.__IS_PREREQF____s
push eax
call fcn.00414bf6
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00401f6c
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x24]
mov byte [ebp - 4], 6
cmp eax, ebx
mov dword [ebp - 0x1c], ebx
jne 0x430684
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x430530
lea ecx, [ebp - 0x10]
call fcn.0040d2f9
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 0x430603
cmp eax, ebx
jne 0x430603
lea eax, [ebp - 0x12]
push ebx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x47e5e0
mov dword [ebp - 0x54], edi
call fcn.004029f5
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 7
cmp eax, ebx
jne 0x430571
mov eax, 0x47e608
lea ecx, [ebp - 0x74]
push 0x104
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00443512
add esp, 0x10
test eax, eax
jne 0x4305f7
lea eax, [ebp - 0x74]
push ebx
push eax
push 0x14
mov ecx, esi
call fcn.004082ae
mov eax, dword [ebp - 0x94]
cmp eax, ebx
jne 0x4305a8
mov eax, 0x47e608
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x4305f7
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.00401f6c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040d2f9
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401f6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401f6c
xor eax, eax
jmp 0x430a2c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call fcn.00401f6c
lea eax, [ebp - 0x12]
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x47e5e0
mov dword [ebp - 0x2c], edi
call fcn.004029f5
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 8
cmp eax, ebx
mov edi, 0x47e608
jne 0x43062f
mov eax, edi
lea ecx, [ebp - 0x4c]
push 0x104
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00443512
add esp, 0x10
test eax, eax
jne 0x430676
lea eax, [ebp - 0x20]
push 0xa
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417e04
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x2dc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
jne 0x43066c
mov eax, edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00401f6c
jmp 0x430689
mov edi, 0x47e608
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.0040dd14
mov ecx, esi
call fcn.00430a3d
cmp al, bl
je 0x430991
mov eax, dword [esi + 0x24]
cmp eax, 1
jne 0x4307ec
push 0x10
mov ecx, esi
call fcn.00408306
test al, al
je 0x4307ec
mov eax, dword [esi + 8]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp + 8], ecx
je 0x430991
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x5e0]
call fcn.00437520
lea eax, [ebp + 0xf]
push ebx
push eax
push 0x49cc4c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x4c], 0x47e5a0
mov dword [ebp - 0x2c], 0x47e598
call fcn.00408d43
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 0x1c]
cmp eax, ebx
jne 0x430724
mov eax, 0x47e5b8
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x5e0]
call fcn.00437a5c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00401bc7
push esi
lea ecx, [ebp - 0x164]
call fcn.004114e0
lea eax, [ebp - 0x1b4]
push 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0040832b
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00414baf
push ebx
push eax
lea eax, [ebp - 0x5e0]
lea ecx, [ebp - 0x164]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0xd
call fcn.00413794
lea ecx, [ebp - 0x74]
call fcn.00401bc7
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xc
call fcn.00401bc7
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xb
call fcn.00401f6c
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 9
call fcn.004115ad
lea ecx, [ebp - 0x5e0]
mov byte [ebp - 4], 6
call fcn.00437975
lea ecx, [ebp + 8]
call fcn.0041522a
mov eax, dword [esi + 8]
cmp dword [ebp + 8], eax
jne 0x4306df
jmp 0x430991
cmp dword [esi + 0x24], ebx
jne 0x4309fa
push esi
lea ecx, [ebp - 0x164]
call fcn.004114e0
mov eax, dword [ebp + 8]
cmp dword [esi + 0x2ec], 6
mov dword [ebp - 0x12c], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 4], 0xe
mov byte [ebp - 0x128], al
jb 0x43083a
cmp byte [ebp - 0x14], bl
je 0x43083a
call fcn.00463dcf
test al, al
jne 0x43083a
mov byte [ebp - 0x127], 1
jmp 0x43090d
cmp byte [ebp - 0x11], bl
mov byte [ebp - 0x127], bl
jne 0x43090d
push 0x13
mov ecx, esi
call fcn.00408306
test al, al
jne 0x43090d
mov ecx, esi
call fcn.0042f9a5
test eax, eax
jne 0x43088c
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.004115ad
cmp dword [ebp - 0x10], ebx
je 0x430885
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
push 2
jmp 0x430959
cmp byte [0x49c838], bl
jne 0x43089c
cmp byte [0x4a22e0], bl
je 0x43090d
lea eax, [ebp + 0xb]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetup_session.cpp
lea ecx, [ebp - 0x74]
call fcn.00401764
mov eax, str.Showing_initialization_dialog_for_prerequisites.
mov byte [ebp - 4], 0xf
mov ecx, eax
mov dword [ebp - 0x4c], 0x47e5a0
test ecx, ecx
mov dword [ebp - 0x2c], 0x47e598
jne 0x4308d1
mov eax, 0x49cc4c
lea ecx, [ebp - 0x12]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408d43
lea eax, [ebp - 0x74]
push 0x3a7
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0046c800
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00401bc7
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.00401bc7
cmp byte [ebp - 0x11], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
sete al
push eax
push dword [ebp + 0xc]
push dword [esi + 0xb18]
call fcn.00411601
push 2
pop ecx
sub eax, ecx
je 0x43097f
sub eax, 5
jne 0x430982
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.004115ad
cmp dword [ebp - 0x10], ebx
je 0x430957
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.00401f6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401f6c
mov eax, esi
jmp 0x430a2c
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.004115ad
cmp dword [esi + 0x24], ebx
jne 0x4309fa
cmp dword [ebp - 0x1c], ebx
jne 0x4309c5
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
jne 0x4309a7
mov eax, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x94]
cmp eax, ebx
jne 0x4309bf
mov eax, edi
push eax
push dword [ebp - 0x10]
call esi
cmp byte [ebp + 0x10], bl
je 0x4309fa
mov dword [ebp + 0x10], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.00417d10
test eax, eax
jne 0x4309fa
push str.__ISSetupPrerequisistes
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x10], ebx
je 0x430a0b
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.00401f6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401f6c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10