Function at 0x496550
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x34c0
call fcn.004d9670
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerIntelliForms
push SysReAllocString
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x496670
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1442]
mov word [esp + 0x1440], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1440]
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x24], 0x823
mov esi, 1
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
test eax, eax
jne 0x496665
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x248a]
mov word [esp + 0x2488], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1440]
lea edx, [esp + 0x2488]
push ecx
push str.SoftwareMicrosoftInternet_ExplorerIntelliForms
push 0x4f8944
push 0x823
push edx
stosw word es:[edi], ax
call ebx
add esp, 0x14
lea eax, [esp + 0x2488]
push eax
push SysReAllocString
call ebp
test eax, eax
jne 0x496663
xor ecx, ecx
dec esi
mov eax, 0x1048
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1440]
mov eax, esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], 0x823
lea edi, [esp + 0x1450]
inc esi
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
test eax, eax
je 0x4965d5
xor ebx, ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
mov dword [esp + 0x14], ebx
push edx
mov dword [esp + 0x14], ebx
call fcn.004940e0
add esp, 4
test eax, eax
je 0x4967ca
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x238]
push eax
push ecx
call fcn.00493c90
mov edi, dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x104
lea edx, [esp + 0x44c]
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
push edx
call edi
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [esp + 0x24c]
lea ecx, [esp + 0x454]
push eax
push ecx
call esi
lea edx, [esp + 0x45c]
push 0x104
lea eax, [esp + 0x50]
push edx
push eax
call edi
lea ecx, [esp + 0x40]
lea edx, [esp + 0x58]
push ecx
push edx
push SysReAllocString
call fcn.00493d20
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call fcn.00493dd0
add esp, 0x40
test eax, eax
je 0x49678d
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x444]
push eax
push ecx
push SysReAllocString
call fcn.00493fa0
lea edx, [esp + 0x450]
push str.Data
push edx
call esi
lea eax, [esp + 0x34]
push ebx
lea ecx, [esp + 0x45c]
push eax
push ecx
push SysReAllocString
call fcn.00493fa0
lea edx, [esp + 0x468]
push str.e161255a_37c3_11d2_bcaa_00c04fd929db
push edx
call esi
lea eax, [esp + 0x4c]
push 1
lea ecx, [esp + 0x474]
push eax
push ecx
push SysReAllocString
call fcn.00493fa0
add esp, 0x40
lea edx, [esp + 0x440]
push edx
push SysReAllocString
call ebp
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4967a4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4967ca
push ebx
push eax
lea eax, [esp + 0x38]
push eax
push SysReAllocString
call fcn.00493fa0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004d9644
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4967e1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34c0
ret