Function at 0x6b6c1730
Capabilities:
Query or enumerate registry key

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1e8
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1d0], ebx
mov ebx, dword [ecx + 0x10]
test byte [0x6b6d7018], 8
jne 0x6b6c1958
mov eax, dword [ebp - 0x1d0]
test eax, eax
je 0x6b6c1991
test ebx, ebx
je 0x6b6c1782
test esi, esi
je 0x6b6c1991
lea edi, [ebp - 0x1a4]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x27
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x108]
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp + 8], str._s_sCategoryItem_s
mov dword [esp + 4], 0x78
mov dword [esp], edi
call sym._swprintf
mov edx, dword [ebp - 0x1d0]
mov eax, dword [0x6b6e3788]
mov dword [edx], eax
mov eax, dword [0x6b6e378c]
mov dword [edx + 4], eax
mov eax, dword [0x6b6e3790]
mov dword [edx + 8], eax
mov eax, dword [0x6b6e3794]
mov dword [edx + 0xc], eax
lea eax, [ebp - 0x1bc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1d4], eax
sub esp, 0x14
test eax, eax
jne 0x6b6c1948
mov dword [ebp - 0x1cc], 0
lea edi, [ebp - 0x1b4]
lea eax, [ebp - 0x1b8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x156]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1b8], 0x27
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x6b6c18a8
cmp eax, 0xea
jne 0x6b6c1948
lea eax, [ebp - 0x156]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
sub esp, 8
test eax, eax
js 0x6b6c1938
test ebx, ebx
je 0x6b6c18f6
xor eax, eax
jmp 0x6b6c18d5
inc eax
cmp ebx, eax
je 0x6b6c1938
mov edx, dword [esi + eax*4]
mov ecx, dword [edx]
cmp dword [edi], ecx
jne 0x6b6c18d0
mov ecx, dword [edx + 4]
cmp dword [edi + 4], ecx
jne 0x6b6c18d0
mov ecx, dword [edx + 8]
cmp dword [edi + 8], ecx
jne 0x6b6c18d0
mov ecx, dword [edx + 0xc]
cmp dword [edi + 0xc], ecx
jne 0x6b6c18d0
mov esi, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1b4]
mov dword [esi], eax
mov eax, dword [ebp - 0x1b0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1ac]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1d4]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
inc dword [ebp - 0x1cc]
jmp 0x6b6c183f
mov dword [ebp - 0x1d4], 1
jmp 0x6b6c191f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6d901a
mov dword [esp + 8], str.CategoryMgr_FindClosestCategory
mov dword [esp + 4], 0x6b6d7018
mov dword [esp], 3
mov dword [ebp - 0x1cc], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x1cc]
jmp 0x6b6c1768
mov dword [ebp - 0x1d4], 0x80070057
jmp 0x6b6c191f