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

Disassembly:
mov eax, 0x34c0
call fcn.004d4ce0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerIntelliForms
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x4905b0
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 0x4905a5
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 0x4ed130
push 0x823
push edx
stosw word es:[edi], ax
call ebx
add esp, 0x14
lea eax, [esp + 0x2488]
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call ebp
test eax, eax
jne 0x4905a3
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 0x490515
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.00490030
add esp, 4
test eax, eax
je 0x49070a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x238]
push eax
push ecx
call fcn.0048fbe0
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 reloc.DSOUND.dll_DirectSoundCreate
call fcn.0048fc70
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call fcn.0048fd20
add esp, 0x40
test eax, eax
je 0x4906cd
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x444]
push eax
push ecx
push reloc.DSOUND.dll_DirectSoundCreate
call fcn.0048fef0
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 reloc.DSOUND.dll_DirectSoundCreate
call fcn.0048fef0
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 reloc.DSOUND.dll_DirectSoundCreate
call fcn.0048fef0
add esp, 0x40
lea edx, [esp + 0x440]
push edx
push reloc.DSOUND.dll_DirectSoundCreate
call ebp
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4906e4
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 0x49070a
push ebx
push eax
lea eax, [esp + 0x38]
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call fcn.0048fef0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004d4cc1
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x490721
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