Function at 0x78501700
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x520]
push ebx
xor ebx, ebx
sub esp, 0x554
mov dword [ebp - 0x544], eax
add eax, 0x10
call sym._UIINSERTOBJECTDLG_FreeObjectTypes.isra.2
lea eax, [ebp - 0x538]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.CLSID
mov dword [esp], 0x80000000
call sym._RegOpenKeyExW_20
sub esp, 0x14
mov eax, dword [ebp - 0x538]
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._RegEnumKeyW_16
sub esp, 0x10
test eax, eax
jne 0x78501893
lea eax, [ebp - 0x534]
mov dword [esp + 0xc], 0x20019
lea edi, [ebp - 0x218]
add ebx, 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x538]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._RegOpenKeyExW_20
lea eax, [ebp - 0x53c]
mov dword [ebp - 0x53c], 0x208
sub esp, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x534]
mov dword [esp + 8], edi
mov dword [esp + 4], str.Insertable
mov dword [esp], eax
call sym._RegQueryValueW_16
sub esp, 0x10
test eax, eax
jne 0x78501753
lea eax, [ebp - 0x53c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x534]
mov dword [esp + 4], str.NotInsertable
mov dword [esp], eax
mov dword [ebp - 0x53c], 0x208
call sym._RegQueryValueW_16
sub esp, 0x10
test eax, eax
je 0x78501753
lea edi, [ebp - 0x530]
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._CLSIDFromString_8
mov eax, dword [ebp - 0x544]
sub esp, 8
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x785018b6
mov eax, dword [eax + 0x40]
xor edx, edx
mov dword [ebp - 0x548], ebx
jmp 0x7850186a
add edx, 1
add eax, 0x10
cmp edx, ecx
je 0x785018b0
mov ebx, dword [edi]
cmp dword [eax], ebx
jne 0x78501860
mov ebx, dword [edi + 4]
cmp dword [eax + 4], ebx
jne 0x78501860
mov ebx, dword [edi + 8]
cmp dword [eax + 8], ebx
jne 0x78501860
mov ebx, dword [edi + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x78501860
mov ebx, dword [ebp - 0x548]
jmp 0x78501753
cmp eax, 0x103
mov ecx, dword [ebp - 0x544]
sete al
movzx eax, al
mov dword [ecx + 4], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x548]
lea eax, [ebp - 0x53c]
lea edi, [ebp - 0x420]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x534]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [ebp - 0x53c], 0x208
call sym._RegQueryValueW_16
sub esp, 0x10
test eax, eax
jne 0x78501753
call sym._GetProcessHeap_0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
mov edx, eax
mov eax, dword [ebp - 0x530]
sub esp, 0xc
mov dword [ebp - 0x548], edx
mov dword [edx], eax
mov eax, dword [ebp - 0x52c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x528]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x524]
mov dword [edx + 0xc], eax
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x544]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x180
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._SendMessageW_16
mov edx, dword [ebp - 0x548]
sub esp, 0x10
mov dword [ebp - 0x53c], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x19a
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x78501753