Function at 0x14000f210
Capabilities:
Delete registry key
Query or enumerate registry key
Set registry value

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x9e8]
sub rsp, 0xae8
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0x3a2]
mov r8d, 0x206
call fcn.140017c40
xor edx, edx
lea rcx, [rbp + 0x5b0]
mov r8d, 0x208
call fcn.140017c40
movaps xmm0, xmmword [str.SoftwareMicrosoftCTFSortOrderAssemblyItem_]
lea r8, [rsp + 0x58]
movaps xmm1, xmmword [0x140036050]
lea rdx, [rbp + 0x3a0]
mov eax, dword [0x140036098]
mov rcx, 0xffffffff80000001
movaps xmmword [rbp + 0x3a0], xmm0
movaps xmm0, xmmword [0x140036060]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmm1, xmmword [0x140036070]
movaps xmmword [rbp + 0x3c0], xmm0
movaps xmm0, xmmword [0x140036080]
movaps xmmword [rbp + 0x3d0], xmm1
movsd xmm1, qword [0x140036090]
mov dword [rbp + 0x3f8], eax
movzx eax, word [0x14003609c]
movaps xmmword [rbp + 0x3e0], xmm0
movsd qword [rbp + 0x3f0], xmm1
mov dword [rsp + 0x40], 0x104
mov word [rbp + 0x3fc], ax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000f7e0
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x40]
mov qword [rsp + 0xae0], r15
lea r8, [rbp + 0x5b0]
xor r15d, r15d
xor edx, edx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x5b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f7d8
xor edx, edx
lea rcx, [rbp + 0x5b0]
mov r8d, 0x208
call fcn.140017c40
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x5b0]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x5b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f7d8
mov qword [rsp + 0xb00], rbx
mov ebx, r15d
mov qword [rsp + 0xb08], rsi
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x5b0]
mov r8d, 0x208
inc ebx
call fcn.140017c40
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x5b0]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000f459
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0x5b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp ebx, 0x2710
jl 0x14000f3f0
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x208
mov esi, r15d
call fcn.140017c40
xor edx, edx
lea rcx, [rbp + 0x7c0]
mov r8d, 0x208
call fcn.140017c40
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x208
call fcn.140017c40
mov rax, qword [r14 + 0x48]
mov rbx, qword [rax]
cmp rbx, qword [rax + 8]
je 0x14000f7c8
mov qword [rsp + 0xb10], rdi
mov qword [rsp + 0xb18], r12
lea r12, str.00000804
nop dword [rax]
mov rdi, qword [rbx]
lea rdx, str._.8d
mov r8d, esi
lea rcx, [rbp + 0x7c0]
call fcn.140008050
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x7c0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [0x1400360b8]
lea rcx, [rbp - 0x80]
movsd xmm0, qword [str.CLSID]
movaps xmm1, xmmword [0x1400360d0]
movsd qword [rbp + 0x190], xmm0
movaps xmm0, xmmword [str.00000000_0000_0000_0000_000000000000]
mov dword [rbp + 0x198], eax
mov eax, dword [0x140036108]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x1400360e0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14003610c]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x140036100]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x1400360f0]
mov word [rbp - 0x34], ax
or rax, 0xffffffffffffffff
movsd qword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm1
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000f561
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x190]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x140036128]
movups xmm0, xmmword [str.KeyboardLayout]
mov dword [rbp + 0x1a8], eax
movzx eax, word [0x14003612c]
movsd xmm1, qword [0x140036120]
mov word [rbp + 0x1ac], ax
xor eax, eax
mov qword [rsp + 0x69], rax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x71], rax
mov word [rsp + 0x79], ax
mov byte [rsp + 0x7b], al
movaps xmmword [rbp + 0x190], xmm0
movsd qword [rbp + 0x1a0], xmm1
mov byte [rsp + 0x68], r15b
nop dword [rax + rax]
movzx eax, word [rdi + rcx*2 + 2]
cmp ax, word [r12 + rcx*2 + 2]
jne 0x14000f616
add rcx, 2
cmp rcx, 9
je 0x14000f6a1
movzx eax, word [rdi + rcx*2]
cmp ax, word [r12 + rcx*2]
je 0x14000f5f0
mov qword [rsp + 0x38], r15
xor edx, edx
mov qword [rsp + 0x30], r15
or r9d, 0xffffffff
mov dword [rsp + 0x28], r15d
mov r8, rdi
mov qword [rsp + 0x20], r15
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], r15
xor edx, edx
mov qword [rsp + 0x30], r15
or r9d, 0xffffffff
mov dword [rsp + 0x28], eax
mov r8, rdi
lea rax, [rsp + 0x68]
lea ecx, [rdx + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x68]
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x14000f670
mov dword [rsp + 0x44], r15d
mov r10d, r15d
mov edi, r8d
test r8d, r8d
jle 0x14000f6df
movsxd r11, r8d
lea r9, [rsp + r11 + 0x67]
movzx eax, byte [r9]
cmp al, 0x39
movsx eax, al
jle 0x14000f6bc
sub eax, 0x37
jmp 0x14000f6bf
movsd xmm0, qword [str.08040804]
movzx eax, byte [0x140036150]
movsd qword [rsp + 0x68], xmm0
mov byte [rsp + 0x70], al
jmp 0x14000f666
sub eax, 0x30
movzx ecx, r8b
dec edi
sub cl, r11b
dec r9
shl cl, 2
dec r11
shl eax, cl
add r10d, eax
test edi, edi
jg 0x14000f691
mov dword [rsp + 0x44], r10d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], 4
lea rdx, [rbp + 0x190]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x140036108]
lea rcx, [rbp - 0x80]
movups xmm0, xmmword [str.Profile]
mov dword [rbp - 0x38], eax
movaps xmm1, xmmword [str.00000000_0000_0000_0000_000000000000]
movzx eax, word [0x14003610c]
movaps xmmword [rbp + 0x190], xmm0
movaps xmm0, xmmword [0x1400360d0]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm1, xmmword [0x1400360e0]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm0, xmmword [0x1400360f0]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm1, qword [0x140036100]
mov word [rbp - 0x34], ax
or rax, 0xffffffffffffffff
movaps xmmword [rbp - 0x50], xmm0
movsd qword [rbp - 0x40], xmm1
nop
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000f770
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x190]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [r14 + 0x48]
inc esi
add rbx, 8
cmp rbx, qword [rax + 8]
jne 0x14000f4c0
mov r12, qword [rsp + 0xb18]
mov rdi, qword [rsp + 0xb10]
mov rsi, qword [rsp + 0xb08]
mov rbx, qword [rsp + 0xb00]
mov r15, qword [rsp + 0xae0]
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.140013270
add rsp, 0xae8
pop r14
pop rbp
ret