Function at 0x140017920
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
push rbp
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.140024ac0
sub rsp, rax
mov rax, qword [0x14005a318]
xor rax, rsp
mov qword [rbp + 0x1050], rax
movups xmm0, xmmword [0x1400511b0]
movups xmmword [rbp + 0x30], xmm0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x40]
call fcn.140026d60
xor edx, edx
mov r8d, 0x80e
lea rcx, [rbp + 0x840]
call fcn.140026d60
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [r14 + 1]
mov r8d, 0xf003f
lea rcx, [rbp + 0x30]
call qword [sym.imp.SETUPAPI.dll_CM_Open_Class_KeyW]
test eax, eax
jne 0x140017d83
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140017d83
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.UpperFilters
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140017d78
lea rax, [rsp + 0x48]
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x58]
mov qword [rbp], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
xor r8d, r8d
lea rdx, [0x14004df6c]
lea rcx, [rsp + 0x48]
call fcn.14000cfd0
nop
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
xor r8d, r8d
lea rdx, [0x14004df6c]
lea rcx, [rsp + 0x68]
call fcn.14000cfd0
nop
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
xor r8d, r8d
lea rdx, [0x14004df6c]
lea rcx, [rbp - 0x78]
call fcn.14000cfd0
nop
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r14w
xor r8d, r8d
lea rdx, [0x14004df6c]
lea rcx, [rbp - 0x58]
call fcn.14000cfd0
nop
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r14w
lea r8d, [r14 + 5]
lea rdx, str.SynTP
lea rcx, [rbp - 0x38]
call fcn.14000cfd0
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x10]
call fcn.14001fca0
lea r8, [rbp + 0x40]
movsxd r10, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x10]
cmp word [rbp + 0x40], r14w
je 0x140017b9b
nop word [rax + rax]
lea rcx, [rbp + 0x40]
mov rax, r8
sub rax, rcx
sar rax, 1
cmp rax, r10
jge 0x140017b9b
lea r9, [rbp + 0x10]
cmp rbx, 8
cmovae r9, rdi
mov rax, r8
sub r9, r8
movzx edx, word [rax]
movzx ecx, word [rax + r9]
sub edx, ecx
jne 0x140017b68
add rax, 2
test ecx, ecx
jne 0x140017b54
test edx, edx
je 0x140017ca4
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r8 + rax*2], 0
jne 0x140017b80
lea r8, [r8 + rax*2]
add r8, 2
cmp word [r8], 0
jne 0x140017b30
lea rcx, [rbp + 0x10]
cmp rbx, 8
cmovae rcx, rdi
lea rdx, [rbp + 0x840]
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140017bc0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x840]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140017be2
lea r8, [rbp + 0x842]
lea r8, [r8 + rax*2]
cmp word [rbp + 0x40], 0
je 0x140017cf8
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp + 0x40]
mov rcx, rdx
sub rcx, rax
sar rcx, 1
movsxd rax, r10d
cmp rcx, rax
jge 0x140017cf8
mov rax, rdx
mov r9, r8
sub r9, rdx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rax + r9], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140017c40
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rdx + rax*2], 0
jne 0x140017c60
lea rdx, [rdx + rax*2]
add rdx, 2
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r8 + rax*2], 0
jne 0x140017c80
lea r8, [r8 + rax*2]
add r8, 2
cmp word [rdx], 0
je 0x140017cf8
mov r10d, dword [rsp + 0x30]
jmp 0x140017c10
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140017d83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017cee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017dab
call fcn.1400243b8
jmp 0x140017d83
mov word [r8], r14w
lea rax, [rbp + 0x840]
sub r8, rax
sar r8, 1
lea eax, [r8*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x840]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
lea rdx, str.UpperFilters
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140017d78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017dab
call fcn.1400243b8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.140023ea0
lea r11, [rsp + 0x1160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400303f4
int3