Function at 0x6b6cb800
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
mov ebx, ecx
push ecx
sub esp, 0x238
movzx eax, word [ecx + 8]
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x20c], eax
test byte [0x6b6d7080], 8
jne 0x6b6cb960
mov ecx, dword [sym.imp.ole32.dll_StringFromGUID2]
lea edi, [ebp - 0x204]
mov dword [esp], edx
mov dword [esp + 8], 0x27
mov dword [ebp - 0x210], ecx
mov dword [esp + 4], edi
call ecx
lea edx, [ebp - 0x1b6]
mov ecx, dword [ebp - 0x210]
sub esp, 0xc
mov dword [esp + 4], edx
mov dword [esp], esi
lea esi, [ebp - 0x168]
mov dword [esp + 8], 0x27
call ecx
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x1b6]
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.LanguageProfile
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp + 8], str._s_s_s0x_08x_s
mov dword [esp + 4], 0xa8
call sym._swprintf_1
lea eax, [ebp - 0x208]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
mov esi, eax
test eax, eax
jne 0x6b6cbb40
mov eax, dword [ebp - 0x208]
add ebx, 0x10
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Enable
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x208]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x210], eax
test esi, esi
je 0x6b6cbb30
mov eax, esi
mov dword [ebp - 0x214], edx
shr eax, 0x10
je 0x6b6cbad0
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x6b6da770
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edx, dword [ebp - 0x214]
mov ecx, eax
test edx, edx
je 0x6b6cbb20
mov eax, edx
mov dword [ebp - 0x218], ecx
shr eax, 0x10
je 0x6b6cbaf0
movzx eax, byte [edx + 0xf]
mov dword [ebp - 0x214], edx
mov dword [esp + 0x2c], eax
movzx eax, byte [edx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edx + 4]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp], 0x6b6da770
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x214], edx
mov edx, dword [ebp - 0x210]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x20c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___s__x__s__i_n
mov dword [esp + 8], str.InputProcessorProfiles_EnableLanguageProfile
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x214]
jmp 0x6b6cb838
movzx eax, si
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edx, dword [ebp - 0x214]
mov ecx, eax
jmp 0x6b6cb9ec
movzx eax, dx
mov dword [esp], 0x6b6da760
mov dword [esp + 4], eax
mov dword [ebp - 0x214], edx
call sym._wine_dbg_sprintf_5
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
jmp 0x6b6cba79
mov eax, 0x6b6da87a
jmp 0x6b6cba79
mov ecx, 0x6b6da87a
jmp 0x6b6cb9ec
mov esi, 0x80004005
jmp 0x6b6cb947