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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x5116c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push ecx
push esi
push str.SOFTWARE_s_s
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x404]
push 0x200
push eax
mov dword [ebp - 0x80c], esi
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x810], ebx
call fcn.00404890
lea eax, [ebp - 0x404]
mov edi, SysStringLen
push eax
push edi
call fcn.0040435e
lea eax, [ebp - 0x404]
push eax
push 0x80000001
call fcn.0040435e
push esi
push str.SOFTWARE_s
mov esi, 0x200
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.00404890
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.004042e1
lea eax, [ebp - 0x404]
push eax
push 0x80000001
call fcn.004042e1
add esp, 0x44
lea eax, [ebp - 0x404]
push ebx
push str.SOFTWAREClassesApplications_s
push esi
push eax
call fcn.00404890
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.0040435e
add esp, 0x18
lea eax, [ebp - 0x404]
xor ebx, ebx
push esi
push eax
push ebx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4045ca
lea eax, [ebp - 0x808]
inc ebx
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x404]
push eax
push SysStringLen
call edi
test eax, eax
jne 0x4045b2
push dword [ebp - 0x814]
lea eax, [ebp - 0x804]
push dword [ebp - 0x80c]
push str.SOFTWARE_s_s
push 0x200
push eax
call fcn.00404890
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call fcn.0040435e
push dword [ebp - 0x80c]
lea eax, [ebp - 0x804]
push str.SOFTWARE_s
push 0x200
push eax
call fcn.00404890
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call fcn.004042e1
push dword [ebp - 0x810]
lea eax, [ebp - 0x804]
push str.SOFTWAREClassesApplications_s
push 0x200
push eax
call fcn.00404890
add esp, 0x44
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call fcn.0040435e
pop ecx
pop ecx
push dword [ebp - 0x808]
call esi
push 0x200
lea eax, [ebp - 0x404]
push eax
push ebx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4044f0
push str.HS9.Document
mov ebx, 0x80000000
push ebx
call fcn.0040435e
push 0x4d46a0
push ebx
call fcn.0040435e
push str.HyperSnap9.License
push ebx
call fcn.0040435e
push str.HyperSnap.9
push ebx
call fcn.0040435e
add esp, 0x20
lea eax, [ebp - 0x808]
xor ebx, ebx
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push SysStringLen
call edi
test eax, eax
jne 0x40463f
push dword [ebp - 0x818]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
push SysStringLen
call edi
test eax, eax
jne 0x404677
push dword [ebp - 0x810]
push dword [ebp - 0x808]
call fcn.0040435e
pop ecx
pop ecx
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0xf003f
push ebx
push str.SOFTWARERegisteredApplications
push SysStringLen
call edi
test eax, eax
jne 0x4046ad
push str.HyperSnap.9
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
call fcn.004078f8
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0xf003f
push eax
push ebx
push str.SOFTWAREMozillaNativeMessagingHosts
push SysStringLen
call edi
test eax, eax
jne 0x4046f3
push str.snapff
push dword [ebp - 0x808]
call fcn.0040435e
pop ecx
pop ecx
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
call fcn.004078f8
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0xf003f
push eax
push ebx
push str.SOFTWAREMozillaNativeMessagingHosts
push 0x80000001
call edi
test eax, eax
jne 0x404739
push str.snapff
push dword [ebp - 0x808]
call fcn.0040435e
pop ecx
pop ecx
push dword [ebp - 0x808]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418035
leave
ret