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

Disassembly:
mov eax, 0x34c0
call fcn.00512b50
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 0x4be250
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 0x4be245
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 0x52fe38
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 0x4be243
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 0x4be1b5
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.004bb500
add esp, 4
test eax, eax
je 0x4be3aa
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x238]
push eax
push ecx
call fcn.004bb0b0
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.004bb140
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call fcn.004bb1f0
add esp, 0x40
test eax, eax
je 0x4be36d
lea eax, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x444]
push eax
push ecx
push SysReAllocStringLen
call fcn.004bb3c0
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.004bb3c0
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.004bb3c0
add esp, 0x40
lea edx, [esp + 0x440]
push edx
push SysReAllocStringLen
call ebp
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4be384
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 0x4be3aa
push ebx
push eax
lea eax, [esp + 0x38]
push eax
push SysReAllocStringLen
call fcn.004bb3c0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00512b1a
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4be3c1
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