Function at 0x6b6ccea0
Capabilities:
Set 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, 0x208
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1dc], eax
test byte [0x6b6d7080], 8
jne 0x6b6cd128
test ebx, ebx
je 0x6b6cd2c0
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x6b6cd2c0
lea eax, [ebp - 0x1cc]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym._CategoryMgr_Constructor
mov edx, eax
test eax, eax
js 0x6b6cd0c8
mov eax, dword [ebp - 0x1cc]
lea edi, [ebp - 0x1c8]
mov edx, dword [eax]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x6b6d7068
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x14
test eax, eax
mov eax, dword [ebp - 0x1cc]
mov edx, dword [eax]
jne 0x6b6cd0e0
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esi, [ebp - 0x1b6]
mov dword [esp], edi
mov edi, dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [esp + 8], 0x27
mov dword [esp + 4], esi
call edi
movzx eax, word [ebp - 0x1e0]
lea edx, [ebp - 0x168]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.Assemblies
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTF
mov dword [esp + 8], str._s_s0x_08x_s
mov dword [esp + 4], 0xa8
call sym._swprintf_1
lea eax, [ebp - 0x1d0]
lea edx, [ebp - 0x168]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
mov dword [ebp - 0x1e0], eax
jne 0x6b6cd11c
mov dword [esp], ebx
mov dword [esp + 8], 0x27
mov dword [esp + 4], esi
call edi
mov eax, dword [ebp - 0x1d0]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0xc
mov dword [esp + 0x14], 0x4e
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Default
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x1dc]
sub esp, 0x18
mov dword [esp + 8], 0x27
mov dword [esp + 4], esi
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x1d0]
sub esp, 0xc
mov dword [esp + 0x14], 0x4e
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Profile
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x1d0]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1e0]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
mov esi, eax
mov eax, dword [ebp - 0x1cc]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
jns 0x6b6ccf59
mov edx, 0x80004005
jmp 0x6b6cd0c8
test eax, eax
je 0x6b6cd2b0
shr eax, 0x10
je 0x6b6cd260
mov edi, dword [ebp - 0x1dc]
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 edi, eax
test ebx, ebx
je 0x6b6cd2a0
mov eax, ebx
shr eax, 0x10
je 0x6b6cd280
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 dword [esp + 0x18], eax
movzx eax, word [ebp - 0x1e0]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p___x__s__s_n
mov dword [esp + 8], str.InputProcessorProfiles_SetDefaultLanguageProfile
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x6b6ccedb
movzx eax, word [ebp - 0x1dc]
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edi, eax
jmp 0x6b6cd1a3
movzx eax, bx
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
jmp 0x6b6cd218
mov eax, 0x6b6da87a
jmp 0x6b6cd218
mov edi, 0x6b6da87a
jmp 0x6b6cd1a3
mov edx, 0x80070057
jmp 0x6b6cd0c8