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

Disassembly:
mov eax, 0x1838
call fcn.00455cd0
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x1834], eax
mov eax, dword [esp + 0x183c]
cmp dword [eax + 0x14], 2
mov dword [esp + 0x14], eax
jae 0x4033b0
xor al, al
mov ecx, dword [esp + 0x1834]
xor ecx, esp
call fcn.0044f9f6
add esp, 0x1838
ret
push ebx
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push SysReAllocStringLen
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 0x403402
xor al, al
pop ebx
mov ecx, dword [esp + 0x1834]
xor ecx, esp
call fcn.0044f9f6
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 0x403540
lea ecx, [esp + 0x844]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea edx, [esp + 0x104c]
push 0x47dc9c
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 SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40354d
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 0x403540
lea eax, [esp + 0x44]
push eax
push 0x47dd28
call fcn.00450981
mov eax, dword [esp + 0x2c]
add esp, 8
call fcn.00401380
lea ecx, [esp + 0x44]
jmp 0x4034d0
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4034f6
cmp dx, bx
je 0x4034f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4034f6
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x4034d0
xor eax, eax
jmp 0x4034fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x403535
cmp byte [esp + 0x1850], bl
je 0x403565
lea edx, [esp + 0x844]
lea eax, [esp + 0x28]
call fcn.00401300
lea ecx, [esp + 0x28]
push ecx
mov edx, str.InstallShield
call fcn.004035c0
cmp eax, 0xffffffff
lea esi, [esp + 0x28]
jne 0x40356c
call fcn.00408e10
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 1
cmp edi, ebx
je 0x403407
jmp 0x403576
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 0x4035a0
mov byte [esp + 0x13], 1
jmp 0x403576
mov byte [esp + 0x13], 1
call fcn.00408e10
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x13], bl
je 0x40359e
lea eax, [esp + 0x1044]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x403561
mov al, 1
mov ecx, dword [esp + 0x1844]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044f9f6
add esp, 0x1838
ret