Function at 0x4281d3
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x664e94]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x84
mov eax, 0x5bb8e6
call fcn.0058f985
mov edi, dword [ebp + 0x214]
mov esi, ecx
mov dword [ebp - 0x90], edi
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040141e
and dword [ebp - 4], 0
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x30]
call fcn.0040141e
mov byte [ebp - 4], 1
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x74]
call fcn.0040141e
mov byte [ebp - 4], 2
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040141e
mov byte [ebp - 4], 3
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040141e
mov byte [ebp - 4], 4
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040141e
mov byte [ebp - 4], 5
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x34]
call fcn.0040141e
mov byte [ebp - 4], 6
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040141e
mov byte [ebp - 4], 7
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040141e
mov byte [ebp - 4], 8
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x48]
call fcn.0040141e
mov byte [ebp - 4], 9
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040141e
mov byte [ebp - 4], 0xa
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x44]
call fcn.0040141e
mov byte [ebp - 4], 0xb
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x24]
call fcn.0040141e
mov byte [ebp - 4], 0xc
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x50]
call fcn.0040141e
mov byte [ebp - 4], 0xd
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x60]
call fcn.0040141e
mov byte [ebp - 4], 0xe
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x54]
call fcn.0040141e
mov byte [ebp - 4], 0xf
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x58]
call fcn.0040141e
mov byte [ebp - 4], 0x10
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x10]
call fcn.0040141e
mov ecx, dword [esi + 0xdc]
mov byte [ebp - 4], 0x11
call fcn.00561a95
cmp eax, 8
je 0x428393
mov ecx, dword [esi + 0xdc]
call fcn.00561a95
cmp eax, 7
je 0x428393
mov ecx, dword [esi + 0xdc]
call fcn.00561a95
cmp eax, 5
je 0x428393
mov ecx, dword [esi + 0xdc]
call fcn.00561a95
mov byte [ebp - 0x11], 0
cmp eax, 6
jne 0x428397
mov byte [ebp - 0x11], 1
cmp dword [esi + 0x158], 0
jne 0x428496
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401019
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0058f976
add ebp, 0x20c
leave
ret 4
cmp byte [esi + 0x16d], 1
jne 0x4284a7
xor esi, esi
inc esi
jmp 0x4283a6
push 0x2ba1
lea ecx, [ebp - 0x54]
call fcn.004014f8
push 0x2bcb
lea ecx, [ebp - 0x50]
call fcn.004014f8
push 0x2bcc
lea ecx, [ebp - 0x60]
call fcn.004014f8
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040227d
mov edi, dword [edi + 4]
mov dword [ebp - 0x38], edi
test edi, edi
je 0x42892a
mov edi, 0x5d45c0
mov ebx, 0x5e1590
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x38]
push eax
call fcn.00401b20
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040227d
push 0x5d4ea4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041b45f
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x12
call fcn.0040227d
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.00401019
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push str.IncompatibleSuite._s
push eax
call fcn.00401518
add esp, 0xc
push edi
lea ecx, [ebp - 0x7c]
call fcn.004039d7
push str.UUID
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x13
call fcn.004039d7
mov ecx, dword [esi + 0x158]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x14
call fcn.004583d0
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.00401019
push edi
lea ecx, [ebp - 0x68]
call fcn.004039d7
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.004039d7
mov ecx, dword [esi + 0x158]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x16
call fcn.004583d0
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.00401019
push edi
lea ecx, [ebp - 0x80]
call fcn.004039d7
push str.BUILDNUM
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x17
call fcn.004039d7
mov ecx, dword [esi + 0x158]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x18
call fcn.004583d0
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.00401019
lea ecx, [ebp - 0x2c]
call fcn.0040116b
push edi
lea ecx, [ebp - 0x70]
call fcn.004039d7
push str.Action
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.004039d7
mov ecx, dword [esi + 0x158]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004583d0
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.00401019
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x4286e4
mov eax, dword [esi + 0xd8]
push dword [eax + 0xe4]
lea ecx, [ebp - 0x2c]
push str.DLL_
call fcn.00405d13
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00401db5
call fcn.004057c1
pop ecx
push dword [ebp - 0x34]
lea eax, [ebp - 0x58]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.00401518
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push dword [ebp - 0x58]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x428904
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp]
push ecx
push eax
push eax
push str.UninstallString
push dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428743
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push 0
push 0
push str.DisplayName
push dword [ebp - 0x28]
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x3c]
test eax, eax
jne 0x428776
lea eax, [ebp]
push eax
call fcn.00401287
jmp 0x42877f
lea eax, [ebp - 0x1c]
push eax
call fcn.0040227d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push 0
push 0
push str.DisplayVersion
push dword [ebp - 0x28]
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4287b0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401287
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x28]
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4287dd
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401287
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push 0
push 0
push str.BuildNumber
push dword [ebp - 0x28]
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42880e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401287
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], 0
je 0x428830
cmp dword [ebp - 0x20], 0
je 0x428830
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00401bc4
test eax, eax
je 0x428830
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], 0
je 0x428852
cmp dword [ebp - 0x20], 0
je 0x428852
push dword [ebp - 0x48]
lea ecx, [ebp - 0x4c]
call fcn.00401bc4
test eax, eax
je 0x428852
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 1
jne 0x4288f9
push str.An_incompatible_suite_was_found_on_this_system.
call fcn.004437b6
push dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
push str.___DisplayName_is:__s
push eax
call fcn.00401518
push dword [ebp - 0x10]
call fcn.004437b6
push dword [ebp - 0x5c]
lea eax, [ebp - 0x10]
push str.___DisplayVersion_is:__s
push eax
call fcn.00401518
push dword [ebp - 0x10]
call fcn.004437b6
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
push str.___SKU_is:__s
push eax
call fcn.00401518
push dword [ebp - 0x10]
call fcn.004437b6
push dword [ebp - 0x44]
lea eax, [ebp - 0x10]
push str.___BuildNumber_is:__s
push eax
call fcn.00401518
add esp, 0x40
push dword [ebp - 0x10]
call fcn.004437b6
pop ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x9c]
call fcn.00497110
push 0x5e3760
lea ecx, [ebp - 0x24]
call fcn.004022ca
mov eax, dword [ebp - 0x3c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x24]
push eax
call fcn.0040202a
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x428920
push dword [ebp - 0x34]
lea eax, [ebp - 0x10]
push str.Could_not_find_incompatible_suite_information_for__s
push eax
call fcn.00401518
push dword [ebp - 0x10]
call fcn.004437b6
add esp, 0x10
cmp dword [ebp - 0x38], 0
jne 0x4284f2
cmp dword [esi + 0xa8], 0
jne 0x428943
push str.There_were_no_incompatible_suites_found_in_the_system.
call fcn.004437b6
pop ecx
jmp 0x42849f
cmp byte [ebp - 0x11], 0
jne 0x4289aa
push 0x5dd3ac
lea ecx, [ebp - 0x24]
call fcn.004022ca
mov eax, dword [ebp - 0x60]
push dword [eax - 0xc]
lea ecx, [ebp - 0x24]
push eax
call fcn.0040202a
push str.Presenting_the_Incompatible_Suite_dialog_to_the_user
call fcn.004437b6
mov eax, dword [esi + 0xd4]
mov dword [esp], 0x10034
push dword [ebp - 0x54]
push dword [ebp - 0x24]
push dword [eax + 0x20]
call fcn.00409adc
cmp eax, 7
jne 0x42899f
push str.___The_user_chose_No_setup_will_now_exit
call fcn.004437b6
pop ecx
jmp 0x4283a4
push str.___The_user_chose_Yes__the_suites_will_be_marked_for_removal
call fcn.004437b6
pop ecx
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x42849f
lea ebx, [esi + 0x9c]
lea eax, [ebp - 0x38]
push eax
mov ecx, ebx
call fcn.00401b20
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040227d
push 0x60
call fcn.00495997
pop ecx
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x4289f3
mov ecx, eax
call fcn.0043bfbd
mov edi, eax
jmp 0x4289f5
xor edi, edi
push dword [ebp - 0x1c]
lea ecx, [edi + 4]
mov byte [ebp - 4], 0x11
call fcn.00401287
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
add edi, 0x28
call fcn.00401db5
push edi
mov ecx, esi
call fcn.0041f26c
cmp dword [ebp - 0x38], 0
jne 0x4289c1
jmp 0x42849f