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

Disassembly:
mov eax, 0x1838
call fcn.00457330
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x1834], eax
mov eax, dword [esp + 0x183c]
cmp dword [eax + 0x14], 2
mov dword [esp + 0x14], eax
jae 0x403440
xor al, al
mov ecx, dword [esp + 0x1834]
xor ecx, esp
call fcn.00451053
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 0x403492
xor al, al
pop ebx
mov ecx, dword [esp + 0x1834]
xor ecx, esp
call fcn.00451053
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 0x4035d0
lea ecx, [esp + 0x844]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea edx, [esp + 0x104c]
push 0x47fc9c
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 0x4035dd
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 0x4035d0
lea eax, [esp + 0x44]
push eax
push 0x47fd28
call fcn.00451fde
mov eax, dword [esp + 0x2c]
add esp, 8
call fcn.00401710
lea ecx, [esp + 0x44]
jmp 0x403560
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x403586
cmp dx, bx
je 0x403582
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x403586
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x403560
xor eax, eax
jmp 0x40358b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4035c5
cmp byte [esp + 0x1850], bl
je 0x4035f5
lea edx, [esp + 0x844]
lea eax, [esp + 0x28]
call fcn.00401360
lea ecx, [esp + 0x28]
push ecx
mov edx, str.InstallShield
call fcn.00403650
cmp eax, 0xffffffff
lea esi, [esp + 0x28]
jne 0x4035fc
call fcn.00408e80
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 1
cmp edi, ebx
je 0x403497
jmp 0x403606
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 0x403630
mov byte [esp + 0x13], 1
jmp 0x403606
mov byte [esp + 0x13], 1
call fcn.00408e80
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x13], bl
je 0x40362e
lea eax, [esp + 0x1044]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4035f1
mov al, 1
mov ecx, dword [esp + 0x1844]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00451053
add esp, 0x1838
ret