Function at 0x43a9af
Capabilities:
Check os version
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x49d145
call fcn.0047d43c
sub esp, 0x5f8
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov eax, dword [eax + 8]
push edi
cmp eax, ebx
mov esi, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], 0x4a368c
je 0x43a9dd
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x11]
pop edi
lea ecx, [ebp - 0x68]
push edi
push eax
push str.C:CodeBasesisdev_srcRuntimeSharedSetupSetupPrereqMgr.cpp
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x43aa01
mov eax, 0x4a368c
push dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x36
push str.Running_setup_prerequisites___s_...
push eax
call fcn.0040a47f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.00401093
lea eax, [ebp - 0x114]
push 0x64c
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040eeb2
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], edi
call fcn.004042dd
push eax
push ebx
push 0xc
push 0x3eb
push dword [0x4c6f10]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea eax, [ebp - 0x2d]
mov edi, 0x4a36b0
push ebx
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x4a36b8
mov dword [ebp - 0xa4], edi
call fcn.00403cd9
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
mov eax, dword [esi]
mov byte [ebp - 4], 2
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040f2ac
mov eax, dword [eax + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x43aab3
mov eax, 0x4a36e0
push eax
lea eax, [ebp - 0xc4]
push str.__IS_PREREQ____s
push eax
call fcn.0040f4b6
add esp, 0xc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00402438
lea eax, [ebp - 0x11]
push ebx
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], 0x4a36b8
mov dword [ebp - 0xcc], edi
call fcn.00403cd9
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
mov eax, dword [esi]
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040f2ac
mov eax, dword [eax + 8]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x43ab1a
mov eax, 0x4a36e0
push eax
lea eax, [ebp - 0xec]
push str.__IS_PREREQF____s
push eax
call fcn.0040f4b6
add esp, 0xc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00402438
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], ebx
call dword [eax]
test eax, eax
jne 0x43adcf
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x43ab82
lea ecx, [ebp - 0x10]
call fcn.00410d42
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ecx + 0xc], ebx
jne 0x43ad0f
cmp eax, ebx
jne 0x43ad0f
lea eax, [ebp - 0x13]
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x4a36b8
mov dword [ebp - 0x70], edi
call fcn.00403cd9
lea eax, [ebp - 0x9c]
push 0x105
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
mov dword [ebp - 0x2c], 0x104
call fcn.00402f01
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 8
call fcn.004042dd
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xec]
call fcn.004042dd
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
push ecx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
call fcn.00403013
cmp dword [ebp - 0x20], ebx
jne 0x43ad00
mov eax, dword [esi]
lea ecx, [ebp - 0x90]
push ebx
push ecx
push 0x11
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0xec]
call fcn.004042dd
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x43ad00
lea eax, [ebp + 0x13]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeSharedSetupSetupPrereqMgr.cpp
lea ecx, [ebp - 0x13c]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 9
cmp eax, ebx
jne 0x43ac86
mov eax, 0x4a368c
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x24]
push str.Prerequisites_returning__d
push eax
mov dword [ebp - 0x20], 0x56
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 7
call fcn.00401093
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00402438
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00410d42
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00402438
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00402438
xor eax, eax
jmp 0x43b2ce
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.00402438
lea eax, [ebp - 0x13]
push ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x4a36b8
mov dword [ebp - 0x48], edi
call fcn.00403cd9
lea eax, [ebp - 0x9c]
push 0x105
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3c], 0x104
call fcn.00402f01
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 0xb
call fcn.004042dd
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x20], eax
mov dword [edi + 8], eax
call fcn.004042dd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
push ecx
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
lea ecx, [ebp - 0x9c]
sete byte [ebp - 0x11]
mov byte [ebp - 4], 0xa
call fcn.00403013
cmp byte [ebp - 0x11], bl
je 0x43adc3
lea eax, [ebp - 0x20]
push 0xa
push eax
lea ecx, [ebp - 0x68]
call fcn.0041ca4c
mov eax, dword [esi]
push dword [ebp - 0x20]
mov ecx, esi
call dword [eax + 0x20]
lea ecx, [ebp - 0xc4]
call fcn.004042dd
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00402438
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x19]
push eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 1
push dword [ebp + 0xc]
call fcn.0040a8d2
mov ecx, esi
call fcn.0043b2df
cmp al, bl
je 0x43b1ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp eax, 1
jne 0x43af40
mov eax, dword [esi]
push 0xe
mov ecx, esi
call dword [eax + 0x28]
test al, al
je 0x43af40
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp + 8], ecx
je 0x43b1ca
mov edi, 0x4a3668
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x604]
call fcn.0043cfce
lea eax, [ebp + 0xf]
push ebx
push eax
push 0x4c6e10
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x68], 0x4a3670
mov dword [ebp - 0x48], edi
call fcn.004011a9
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0x14]
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.00401a14
push eax
lea ecx, [ebp - 0x604]
call fcn.0043d513
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00401093
push esi
lea ecx, [ebp - 0x2d4]
call fcn.0041494c
mov eax, dword [esi]
lea ecx, [ebp - 0x164]
push 0xe
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xe
call dword [eax + 0x1c]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.004193c3
push ebx
push eax
lea eax, [ebp - 0x604]
lea ecx, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00417a1f
lea ecx, [ebp - 0x13c]
call fcn.00401093
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.00401093
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xe
call fcn.00402438
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0xc
call fcn.00414a63
lea ecx, [ebp - 0x604]
mov byte [ebp - 4], 6
call fcn.0043d42c
lea ecx, [ebp + 8]
call fcn.0041973d
mov eax, dword [esi + 0xc]
cmp dword [ebp + 8], eax
jne 0x43ae2d
jmp 0x43b1ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x43b1ca
push esi
lea ecx, [ebp - 0x2d4]
call fcn.0041494c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1d8], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x1d4], al
call fcn.0044f786
cmp eax, 6
mov edi, 0x4a3668
jb 0x43af99
cmp byte [ebp - 0x19], bl
je 0x43af99
call fcn.0045dceb
test al, al
jne 0x43af99
mov byte [ebp - 0x1d3], 1
jmp 0x43b09e
cmp byte [ebp - 0x12], bl
mov byte [ebp - 0x1d3], bl
jne 0x43b09e
mov eax, dword [esi]
push 0x10
mov ecx, esi
call dword [eax + 0x28]
test al, al
jne 0x43b09e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
test eax, eax
jne 0x43b018
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 6
call fcn.00414a63
cmp dword [ebp - 0x10], ebx
je 0x43afe4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00402438
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00402438
push 2
jmp 0x43b1b2
cmp byte [0x4c6914], bl
jne 0x43b028
cmp byte [0x4c9568], bl
je 0x43b09e
lea eax, [ebp + 0xb]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeSharedSetupSetupPrereqMgr.cpp
lea ecx, [ebp - 0x90]
call fcn.00401884
mov eax, str.Showing_initialization_dialog_for_prerequisites.
mov byte [ebp - 4], 0x12
mov ecx, eax
mov dword [ebp - 0x68], 0x4a3670
test ecx, ecx
mov dword [ebp - 0x48], edi
jne 0x43b05c
mov eax, 0x4c6e10
lea ecx, [ebp - 0x13]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp - 0x90]
push 0x85
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x13
call fcn.0048dff0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x12
call fcn.00401093
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00401093
cmp byte [ebp - 0x12], bl
push dword [ebp + 0x14]
mov ecx, esi
sete al
push eax
mov eax, dword [esi]
push dword [ebp + 0xc]
call dword [eax + 0x2c]
push dword [eax + 0x20]
lea ecx, [ebp - 0x2d4]
call fcn.00414ae9
push 2
pop ecx
sub eax, ecx
je 0x43b1b8
sub eax, 5
je 0x43b0dd
sub eax, ecx
je 0x43b1b8
jmp 0x43b1bb
cmp byte [0x4c6914], bl
jne 0x43b0ed
cmp byte [0x4c9568], bl
je 0x43b163
lea eax, [ebp + 0xf]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeSharedSetupSetupPrereqMgr.cpp
lea ecx, [ebp - 0x90]
call fcn.00401884
mov eax, str.Prerequisites_rebooting
mov byte [ebp - 4], 0x14
mov ecx, eax
mov dword [ebp - 0x68], 0x4a3670
test ecx, ecx
mov dword [ebp - 0x48], edi
jne 0x43b121
mov eax, 0x4c6e10
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp - 0x90]
push 0x8e
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x15
call fcn.0048dff0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x14
call fcn.00401093
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00401093
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 6
call fcn.00414a63
cmp dword [ebp - 0x10], ebx
je 0x43b183
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00402438
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00402438
push 7
pop eax
jmp 0x43b2ce
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 6
call fcn.00414a63
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x43b23a
cmp dword [ebp - 0x18], ebx
jne 0x43b201
lea ecx, [ebp - 0xc4]
call fcn.004042dd
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0xec]
call fcn.004042dd
push eax
push dword [ebp - 0x10]
call esi
cmp byte [ebp + 0x10], bl
je 0x43b23a
mov dword [ebp + 0x10], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x16
call fcn.00419f99
test eax, eax
jne 0x43b236
push str.__ISSetupPrerequisistes
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov byte [ebp - 4], 6
lea eax, [ebp + 0x17]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeSharedSetupSetupPrereqMgr.cpp
lea ecx, [ebp - 0x164]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x17
cmp eax, ebx
jne 0x43b260
mov eax, 0x4a368c
push dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0xab
push str.Prerequisites_returning__d
push eax
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.00401093
cmp dword [ebp - 0x10], ebx
je 0x43b29e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00402438
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00402438
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10