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

Disassembly:
mov eax, 0x34c0
call fcn.0051d7f0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerIntelliForms
push SysReAllocStringLen
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x4c4ab0
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 0x4c4aa5
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 0x53c0b0
push 0x823
push edx
stosw word es:[edi], ax
call ebx
add esp, 0x14
lea eax, [esp + 0x2488]
push eax
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x4c4aa3
mov ecx, 0x412
lea edi, [esp + 0x1440]
rep stosd dword es:[edi], eax
dec esi
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
inc esi
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
test eax, eax
je 0x4c4a15
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.004c1cd0
add esp, 4
test eax, eax
je 0x4c4c0a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x238]
push eax
push ecx
call fcn.004c1880
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 SysReAllocStringLen
call fcn.004c1910
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call fcn.004c19c0
add esp, 0x40
test eax, eax
je 0x4c4bcd
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x444]
push eax
push ecx
push SysReAllocStringLen
call fcn.004c1b90
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 SysReAllocStringLen
call fcn.004c1b90
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 SysReAllocStringLen
call fcn.004c1b90
add esp, 0x40
lea edx, [esp + 0x440]
push edx
push SysReAllocStringLen
call ebp
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4c4be4
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 0x4c4c0a
push ebx
push eax
lea eax, [esp + 0x38]
push eax
push SysReAllocStringLen
call fcn.004c1b90
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0051d79a
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4c4c21
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