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

Disassembly:
push 0x780
mov eax, 0x4a2a69
call fcn.0045a829
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x770], eax
lea eax, [esi + 4]
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x758], esi
mov dword [ebp - 0x780], ebx
jb 0x427968
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x760]
push str.Running_setup_prerequisites___s_...
push eax
mov dword [ebp - 0x760], 0x4af4d0
mov dword [ebp - 0x75c], 0x36
call fcn.0040e537
add esp, 0xc
lea eax, [ebp - 0x100]
push 0x64c
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d135
cmp dword [ebp - 0xe8], 8
lea eax, [ebp - 0xfc]
cmovae eax, dword [ebp - 0xfc]
push eax
push ebx
push 0xc
push 0x3eb
push dword [0x4d650c]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push ebx
lea eax, [ebp - 0x751]
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x4c13f0
mov dword [ebp - 0xa8], 0x4c1390
call fcn.00404200
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d08e
add eax, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x427a23
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xd0]
push str.__IS_PREREQ____s
push eax
call fcn.0040dc31
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00401b80
push ebx
lea eax, [ebp - 0x751]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x4c13f0
mov dword [ebp - 0x78], 0x4c1390
call fcn.00404200
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d08e
add eax, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x427a89
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xa0]
push str.__IS_PREREQF____s
push eax
call fcn.0040dc31
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00401b80
mov dword [ebp - 0x76c], ebx
mov dword [ebp - 0x768], ebx
mov dword [ebp - 0x764], ebx
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x77c], ebx
call dword [eax]
test eax, eax
jne 0x427cea
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysFreeString
lea ecx, [ebp - 0x76c]
call fcn.004018f0
mov dword [ebp - 0x77c], eax
cmp dword [esi + 0x14], ebx
jne 0x427c0c
test eax, eax
jne 0x427c0c
push ebx
lea eax, [ebp - 0x751]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4c13f0
mov dword [ebp - 0x48], 0x4c1390
call fcn.00404200
push 0x105
lea eax, [ebp - 0x78c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
mov dword [ebp - 0x75c], 0x104
call fcn.0040a14b
mov ecx, dword [eax]
mov byte [ebp - 4], 7
mov byte [eax + 4], 1
call fcn.0040a0f0
cmp dword [ebp - 0x88], 8
lea edx, [ebp - 0x75c]
push edx
push dword [eax]
lea ecx, [ebp - 0x9c]
cmovae ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x76c]
call fcn.004019e0
lea ecx, [ebp - 0x78c]
mov esi, eax
mov byte [ebp - 4], 6
call fcn.00409574
test esi, esi
jne 0x427bfe
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x70]
push ecx
push 0x11
mov ecx, edi
call dword [eax + 0x18]
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
push dword [ebp - 0x76c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [ebp - 0x758]
cmp dword [esi + 0x14], ebx
jne 0x427c04
push ebx
lea eax, [ebp - 0x774]
push str.Prerequisites_returning__d
push eax
mov dword [ebp - 0x774], 0x4af4d0
mov dword [ebp - 0x770], 0x5a
call fcn.0040e537
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00401b80
jmp 0x42809d
mov esi, dword [ebp - 0x758]
lea ecx, [ebp - 0x70]
call fcn.00401b80
push ebx
lea eax, [ebp - 0x751]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4c13f0
mov dword [ebp - 0x18], 0x4c1390
call fcn.00404200
push 0x105
lea eax, [ebp - 0x78c]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
mov dword [ebp - 0x75c], 0x104
call fcn.0040a14b
mov ecx, dword [eax]
mov byte [ebp - 4], 9
mov byte [eax + 4], 1
call fcn.0040a0f0
cmp dword [ebp - 0xb8], 8
lea edx, [ebp - 0x75c]
push edx
push dword [eax]
lea ecx, [ebp - 0xcc]
cmovae ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x76c]
call fcn.004019e0
mov ebx, eax
neg ebx
lea ecx, [ebp - 0x78c]
sbb bl, bl
mov byte [ebp - 4], 8
call fcn.00409574
inc bl
je 0x427cdc
push 0xa
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00428acd
mov eax, dword [edi]
push dword [ebp - 0x75c]
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push eax
push dword [ebp - 0x76c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00401b80
xor ebx, ebx
lea eax, [ebp - 0x752]
push eax
lea eax, [ebp - 0x751]
push eax
sub esp, 0x30
mov ecx, esp
push ebx
push esi
mov dword [ecx], 0x4c13a0
mov dword [ecx + 0x28], 0x4c18a4
call fcn.004053a0
mov ecx, edi
call fcn.0042713d
test al, al
je 0x427fc8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
cmp eax, 1
jne 0x427e5f
mov eax, dword [edi]
push 0xe
mov ecx, edi
call dword [eax + 0x28]
test al, al
je 0x427e5f
mov eax, dword [edi + 8]
mov esi, dword [eax]
mov dword [ebp - 0x758], esi
cmp esi, eax
je 0x427fc8
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x2c]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x750]
call fcn.0042ab55
push ebx
lea eax, [ebp - 0x751]
push eax
push 0x4c11c8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x40], 0x4c13a0
mov dword [ebp - 0x18], 0x4c18a4
call fcn.00403fb0
add esi, 0x1c
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
jb 0x427d9f
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
push ebx
push esi
lea ecx, [ebp - 0x750]
call fcn.00430bbd
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.00401ac0
push edi
lea ecx, [ebp - 0x2d8]
call fcn.0040e2b4
mov eax, dword [edi]
push 0xe
lea ecx, [ebp - 0x130]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xc
call dword [eax + 0x1c]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.004128c7
push ebx
push eax
lea eax, [ebp - 0x750]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xe
call fcn.0040f377
lea ecx, [ebp - 0x40]
call fcn.00401ac0
lea ecx, [ebp - 0x70]
call fcn.00401ac0
lea ecx, [ebp - 0x130]
call fcn.00401b80
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xa
call fcn.0040e3e0
lea ecx, [ebp - 0x750]
mov byte [ebp - 4], 5
call fcn.0042b231
lea ecx, [ebp - 0x758]
call fcn.0040e4fd
mov esi, dword [ebp - 0x758]
cmp esi, dword [edi + 8]
jne 0x427d53
jmp 0x427fc8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
jne 0x427fc8
push edi
lea ecx, [ebp - 0x2d8]
call fcn.0040e2b4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b4], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 4], 0xf
mov byte [ebp - 0x1b0], al
call fcn.0044436f
cmp eax, 6
jb 0x427eb7
cmp byte [ebp - 0x751], 0
je 0x427eb7
call fcn.004500ab
test al, al
jne 0x427eb7
mov byte [ebp - 0x1af], 1
jmp 0x427f74
mov al, byte [ebp - 0x752]
mov byte [ebp - 0x1af], bl
test al, al
jne 0x427f7a
mov eax, dword [edi]
push 0x10
mov ecx, edi
call dword [eax + 0x28]
test al, al
jne 0x427f74
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
jne 0x427eee
push 2
jmp 0x428151
cmp byte [0x4d6418], 0
jne 0x427f00
cmp byte [0x4d7b08], 0
je 0x427f74
push ebx
lea eax, [ebp - 0x751]
push eax
push 0x4af4d0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4c13a0
mov dword [ebp - 0x48], 0x4c18a4
call fcn.00403fb0
push ebx
lea eax, [ebp - 0x751]
push eax
push str.Showing_initialization_dialog_for_prerequisites.
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x40], 0x4c13a0
mov dword [ebp - 0x18], 0x4c18a4
call fcn.00403fb0
push 0x8d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x11
call fcn.00402980
lea ecx, [ebp - 0x40]
call fcn.00401ac0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.00401ac0
mov al, byte [ebp - 0x752]
push dword [ebp - 0x770]
test al, al
sete al
movzx eax, al
push eax
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x2d8]
push dword [eax + 0x20]
call fcn.0040e7e4
push 2
pop ecx
sub eax, ecx
je 0x427fb3
sub eax, 5
je 0x4280d3
sub eax, ecx
jne 0x427fb9
mov dword [ebp - 0x780], ecx
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 5
call fcn.0040e3e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
jne 0x42806e
cmp dword [ebp - 0x77c], eax
jne 0x42801c
cmp dword [ebp - 0xb8], 8
mov esi, dword [ebp - 0x76c]
lea eax, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xcc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [ebp + 0x10], 0
je 0x42806e
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysFreeString
lea ecx, [ebp - 0x76c]
mov dword [ebp - 0x778], ebx
mov dword [ebp - 0x774], ebx
mov dword [ebp - 0x770], ebx
call fcn.004018f0
test eax, eax
jne 0x428063
push str.__ISSetupPrerequisistes
push dword [ebp - 0x76c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x778]
call fcn.004018c0
mov ebx, dword [ebp - 0x780]
push ebx
lea eax, [ebp - 0x774]
push str.Prerequisites_returning__d
push eax
mov dword [ebp - 0x774], 0x4af4d0
mov dword [ebp - 0x770], 0xb3
call fcn.0040e537
add esp, 0xc
lea ecx, [ebp - 0x76c]
call fcn.004018c0
lea ecx, [ebp - 0xa0]
call fcn.00401b80
lea ecx, [ebp - 0xd0]
call fcn.00401b80
lea ecx, [ebp - 0x100]
call fcn.00401b80
mov eax, ebx
call fcn.0045a7d8
ret 0x10
cmp byte [0x4d6418], 0
jne 0x4280e5
cmp byte [0x4d7b08], 0
je 0x42814f
push ebx
lea eax, [ebp - 0x751]
push eax
mov esi, 0x4c13a0
mov edi, 0x4c18a4
push 0x4af4d0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x48], edi
call fcn.00403fb0
push ebx
lea eax, [ebp - 0x751]
push eax
push str.Prerequisites_rebooting
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], edi
call fcn.00403fb0
push 0x96
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402980
lea ecx, [ebp - 0x40]
call fcn.00401ac0
lea ecx, [ebp - 0x70]
call fcn.00401ac0
push 7
pop ebx
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 5
call fcn.0040e3e0
jmp 0x42809d