Function at 0x6b6cc740
Capabilities:
Query or enumerate registry value

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, 0x258
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x220], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x21c], eax
test byte [0x6b6d7080], 8
jne 0x6b6cc978
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x6b6ccb4a
mov edx, dword [sym.imp.ole32.dll_StringFromGUID2]
lea esi, [ebp - 0x204]
mov dword [esp], edi
lea edi, [ebp - 0x1b6]
mov dword [esp + 4], esi
mov dword [ebp - 0x224], edx
mov dword [esp + 8], 0x27
call edx
mov edx, dword [ebp - 0x224]
sub esp, 0xc
mov dword [esp + 4], edi
mov dword [esp], ebx
lea ebx, [ebp - 0x168]
mov dword [esp + 8], 0x27
call edx
movzx eax, word [ebp - 0x220]
sub esp, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x20c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.LanguageProfile
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp + 8], str._s_s_s0x_08x_s
mov dword [esp + 4], 0xa8
mov dword [esp], ebx
call sym._swprintf_1
mov dword [esp + 0x10], esi
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000001
call edi
sub esp, 0x14
test eax, eax
je 0x6b6cc890
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call edi
sub esp, 0x14
test eax, eax
je 0x6b6cc910
lea esp, [ebp - 0x10]
mov eax, 0x80004005
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea eax, [ebp - 0x208]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x208], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20c]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Enable
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x20c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
sub esp, 4
test eax, eax
jne 0x6b6cc847
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea eax, [ebp - 0x208]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x208], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20c]
mov dword [esp + 8], 0
mov dword [esp + 4], str.Enable
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
mov eax, dword [ebp - 0x20c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
je 0x6b6cc8fe
jmp 0x6b6cc873
test ebx, ebx
je 0x6b6ccb40
mov eax, ebx
shr eax, 0x10
je 0x6b6ccad8
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x6b6da770
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov ecx, eax
movzx edx, word [ebp - 0x220]
test edi, edi
je 0x6b6ccb28
mov eax, edi
mov dword [ebp - 0x22c], ecx
shr eax, 0x10
mov dword [ebp - 0x228], edx
je 0x6b6ccaf8
movzx eax, byte [edi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 0x6b6da770
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x21c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x224]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___s___i___s___p_n
mov dword [esp + 8], str.InputProcessorProfiles_IsEnabledLanguageProfile
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6b6cc77e
movzx eax, bx
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov ecx, eax
jmp 0x6b6cc9ef
movzx eax, di
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edx, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x224], eax
jmp 0x6b6cca89
mov dword [ebp - 0x224], 0x6b6da87a
jmp 0x6b6cca89
mov ecx, 0x6b6da87a
jmp 0x6b6cc9ef
mov eax, 0x80070057
jmp 0x6b6cc900