Function at 0x403430
Capabilities:
Delete registry key
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1838
call fcn.0045b250
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0x1834], eax
mov eax, dword [esp + 0x183c]
cmp dword [eax + 0x14], 2
mov dword [esp + 0x14], eax
jae 0x403470
xor al, al
mov ecx, dword [esp + 0x1834]
xor ecx, esp
call fcn.00454f77
add esp, 0x1838
ret
push ebx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push SysReAllocString
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 0xf003f
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1b], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4034c2
xor al, al
pop ebx
mov ecx, dword [esp + 0x1834]
xor ecx, esp
call fcn.00454f77
add esp, 0x1838
ret
push ebp
push esi
xor ebp, ebp
push edi
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x858]
push edx
push ebp
mov esi, 0x800
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x403600
lea ecx, [esp + 0x844]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea edx, [esp + 0x104c]
push 0x483c9c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x1050]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40360d
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.DisplayName
push edx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403600
lea eax, [esp + 0x44]
push eax
push 0x483d28
call fcn.00455f02
mov eax, dword [esp + 0x2c]
add esp, 8
call fcn.00401740
lea ecx, [esp + 0x44]
jmp 0x403590
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4035b6
cmp dx, bx
je 0x4035b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4035b6
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x403590
xor eax, eax
jmp 0x4035bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4035f5
cmp byte [esp + 0x1850], bl
je 0x403625
lea edx, [esp + 0x844]
lea eax, [esp + 0x28]
call fcn.00401360
lea ecx, [esp + 0x28]
push ecx
mov edx, str.InstallShield
call fcn.00403680
cmp eax, 0xffffffff
lea esi, [esp + 0x28]
jne 0x40362c
call fcn.004013a0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 1
cmp edi, ebx
je 0x4034c7
jmp 0x403636
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
xor al, al
jmp 0x403660
mov byte [esp + 0x13], 1
jmp 0x403636
mov byte [esp + 0x13], 1
call fcn.004013a0
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x13], bl
je 0x40365e
lea eax, [esp + 0x1044]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x403621
mov al, 1
mov ecx, dword [esp + 0x1844]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454f77
add esp, 0x1838
ret