Function at 0x1000c0e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1f0
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x1c8], eax
test byte [0x10015080], 8
jne 0x1000c360
test ebx, ebx
je 0x1000c4f0
test esi, esi
je 0x1000c4f0
lea eax, [ebp - 0x1c0]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym._CategoryMgr_Constructor
mov edx, eax
test eax, eax
js 0x1000c301
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1bc]
mov edx, dword [eax]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x10015068
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x14
test eax, eax
mov eax, dword [ebp - 0x1c0]
mov edx, dword [eax]
jne 0x1000c310
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov ecx, dword [sym.imp.ole32.dll_StringFromGUID2]
lea edi, [ebp - 0x1aa]
lea eax, [ebp - 0x1bc]
mov dword [esp + 8], 0x27
mov dword [esp + 4], edi
mov dword [ebp - 0x1cc], ecx
mov dword [esp], eax
call ecx
movzx eax, word [ebp - 0x1c8]
lea edx, [ebp - 0x15c]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 0x18], edi
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 - 0x1c4]
lea edx, [ebp - 0x15c]
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 - 0x1c8], eax
jne 0x1000c352
mov ecx, dword [ebp - 0x1cc]
mov dword [esp], ebx
mov dword [esp + 8], 0x27
mov dword [esp + 4], edi
call ecx
mov eax, dword [ebp - 0x1c4]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0xc
mov dword [esp + 0x14], 0x4e
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Default
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x1cc]
sub esp, 0x18
mov dword [esp + 8], 0x27
mov dword [esp + 4], edi
mov dword [esp], esi
call ecx
mov eax, dword [ebp - 0x1c4]
sub esp, 0xc
mov dword [esp + 0x14], 0x4e
mov dword [esp + 0x10], edi
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 - 0x1c4]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea edi, [ebp - 0x1bc]
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x1c0]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test edi, edi
jns 0x1000c180
mov edx, 0x80004005
jmp 0x1000c301
test esi, esi
je 0x1000c4e0
mov eax, esi
shr eax, 0x10
je 0x1000c490
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], 0x10018788
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edi, eax
test ebx, ebx
je 0x1000c4d0
mov eax, ebx
shr eax, 0x10
je 0x1000c4b0
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], 0x10018788
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov dword [esp + 0x18], eax
movzx eax, word [ebp - 0x1c8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str._p___x__s__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.InputProcessorProfiles_SetDefaultLanguageProfile
mov dword [esp + 4], 0x10015080
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x1000c108
movzx eax, si
mov dword [esp], 0x10018777
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
mov edi, eax
jmp 0x1000c3d7
movzx eax, bx
mov dword [esp], 0x10018777
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_5
jmp 0x1000c44c
mov eax, 0x10018760
jmp 0x1000c44c
mov edi, 0x10018760
jmp 0x1000c3d7
mov edx, 0x80070057
jmp 0x1000c301