Function at 0x43004b
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 0x50
mov eax, 0x5bc84f
call fcn.0058f985
mov esi, ecx
mov dword [ebp - 0x30], esi
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040141e
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x34]
call fcn.0040141e
mov eax, dword [esi + 0xd8]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401db5
mov byte [ebp - 4], 2
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x14]
call fcn.0040141e
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], ebx
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x20]
call fcn.0040141e
mov byte [ebp - 4], 4
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040141e
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp dword [edi - 0xc], ebx
jne 0x430126
push str.No_install_path_specified__aborting_command_line_addition
call fcn.004437b6
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [edi - 0x10]
jmp 0x4304d6
lea eax, [ebp - 0x48]
push eax
push dword [0x659af0]
lea ecx, [esi + 0x2c]
call fcn.004a5820
test eax, eax
je 0x4300fd
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ded
mov ebx, 0x5d4dc0
push ebx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00401ba2
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401019
cmp byte [ebp - 0xd], 0
je 0x430182
push ebx
lea ecx, [ebp - 0x28]
call fcn.004022ca
mov edi, dword [ebp - 0x28]
mov eax, dword [edi - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401f0b
mov edi, dword [eax]
add esi, 0x174
push str.SuiteInstallDir
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004a2b74
push edi
mov ecx, eax
call fcn.00401287
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401019
lea eax, [ebp - 0x20]
push eax
push str.ProgramFilesFolder
mov ecx, esi
call fcn.004a29f8
lea eax, [ebp - 0x1c]
push eax
push str.ProgramFilesFolder64
mov ecx, esi
call fcn.004a29f8
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x4301f7
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040227d
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.00403ded
push ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00401ba2
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401019
cmp byte [ebp - 0xd], 0
je 0x430235
push ebx
lea ecx, [ebp - 0x20]
call fcn.004022ca
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403ded
push ebx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00401ba2
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401019
cmp byte [ebp - 0xd], 0
je 0x430273
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004022ca
mov eax, dword [ebp - 0x48]
mov esi, dword [eax + 4]
test esi, esi
je 0x4304af
jmp 0x430286
mov esi, dword [ebp - 0x18]
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401db5
mov byte [ebp - 4], 0xa
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x38]
call fcn.0040141e
mov ecx, dword [esi]
mov eax, esi
mov esi, dword [eax + 8]
push dword [esi + 8]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.00401287
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xd8]
mov ecx, dword [eax + 0x1f0]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x2c]
call fcn.0041b076
test eax, eax
je 0x43048b
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x43048b
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.0041b0d3
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov ecx, dword [ebp - 0x4c]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp - 0xd], 0
je 0x43036e
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
call fcn.0041b0d3
push dword [eax]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00426cdb
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0040227d
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xb
call fcn.00401019
push 0x5d61fc
lea ecx, [ebp - 0x24]
call fcn.00401bc4
test eax, eax
je 0x43048b
call fcn.00446344
test eax, eax
je 0x43038b
cmp byte [edi + 0x50], 0
je 0x43038b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.00405d13
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040227d
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp dword [eax + 0x124], ecx
je 0x4303ca
lea eax, [edi + 0x24]
mov edx, dword [eax]
cmp dword [edx - 0xc], ecx
jne 0x4303b8
lea eax, [edi + 0x20]
mov edx, dword [eax]
cmp dword [edx - 0xc], ecx
je 0x4303ca
push eax
lea ecx, [ebp - 0x14]
call fcn.00402301
push ebx
lea ecx, [ebp - 0x14]
call fcn.004022ca
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xdc]
call fcn.00401b44
cmp eax, 2
jne 0x430481
add edi, 0xc
push edi
lea ecx, [ebp - 0x50]
call fcn.00401db5
mov byte [ebp - 4], 0xe
call fcn.00496dcd
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040141e
mov edi, dword [ebp - 0x50]
and dword [ebp - 0x40], 0
push edi
lea eax, [ebp - 0x3c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x54], 0x104
call fcn.00401518
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0x20019
push 0
push dword [ebp - 0x3c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43046a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp]
push eax
push 0
push 0
push str.InstallLocation
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43046a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401287
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00401019
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00406ec5
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401019
cmp dword [ebp - 0x18], 0
jne 0x430283
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401019
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