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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x54c
mov dword [ebp - 0x540], eax
call sym._UIINSERTOBJECTDLG_FreeObjectTypes
lea eax, [ebp - 0x534]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.CLSID
mov dword [esp], 0x80000000
mov dword [ebp - 0x53c], eax
call eax
sub esp, 0x14
lea esi, [esi]
lea eax, [ebp - 0x51c]
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x534]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x10003910
lea eax, [ebp - 0x530]
mov dword [esp + 0xc], 0x20019
lea edi, [ebp - 0x214]
inc ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x51c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x534]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x53c]
call eax
lea eax, [ebp - 0x538]
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueW]
mov dword [ebp - 0x538], 0x208
sub esp, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x530]
mov dword [esp + 8], edi
mov dword [esp + 4], str.Insertable
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jne 0x100036c8
lea eax, [ebp - 0x538]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x538], 0x208
mov dword [esp + 4], str.NotInsertable
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
je 0x100036c8
lea eax, [ebp - 0x51c]
lea edi, [ebp - 0x52c]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x540]
sub esp, 8
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x10003826
mov dword [ebp - 0x544], esi
mov eax, dword [eax + 0x40]
xor edx, edx
jmp 0x100037f0
inc edx
add eax, 0x10
cmp edx, ecx
je 0x10003820
mov esi, dword [edi]
cmp dword [eax], esi
jne 0x100037e8
mov esi, dword [edi + 4]
cmp dword [eax + 4], esi
jne 0x100037e8
mov esi, dword [edi + 8]
cmp dword [eax + 8], esi
jne 0x100037e8
mov esi, dword [edi + 0xc]
cmp dword [eax + 0xc], esi
je 0x100036c8
inc edx
add eax, 0x10
cmp edx, ecx
jne 0x100037f0
lea esi, [esi]
mov esi, dword [ebp - 0x544]
lea eax, [ebp - 0x538]
lea edi, [ebp - 0x41c]
mov dword [ebp - 0x538], 0x208
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x530]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jne 0x100036c8
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
mov eax, dword [ebp - 0x52c]
sub esp, 0xc
mov dword [esi], eax
mov eax, dword [ebp - 0x528]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x524]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x520]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x540]
mov dword [esp + 0xc], edi
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x180
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [ebp - 0x538], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x540]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x19a
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call edi
sub esp, 0x10
jmp 0x100036c8
cmp eax, 0x103
mov ecx, dword [ebp - 0x540]
sete al
movzx eax, al
mov dword [ecx + 4], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret