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

Disassembly:
push rbp
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.140024110
sub rsp, rax
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x1170], rbx
mov qword [rsp + 0x1178], rdi
mov qword [rsp + 0x1180], r14
mov rax, qword [0x14004e2d0]
xor rax, rsp
mov qword [rbp + 0x1050], rax
movups xmm0, xmmword [0x140041560]
movups xmmword [rbp + 0x30], xmm0
xor r14d, r14d
mov word [rbp + 0x40], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x42]
call fcn.140023b30
xor edx, edx
mov r8d, 0x80e
lea rcx, [rbp + 0x840]
call fcn.140023b30
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 0x140016780
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140016780
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 0x140016775
lea rax, [rsp + 0x68]
mov qword [rbp], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x48]
mov qword [rbp + 8], rax
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rsp + 0x68]
call fcn.14000e0d0
nop
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rbp - 0x58]
call fcn.14000e0d0
nop
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rbp - 0x78]
call fcn.14000e0d0
nop
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
xor r8d, r8d
lea rdx, [0x14003f74c]
lea rcx, [rsp + 0x48]
call fcn.14000e0d0
nop
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
lea r8d, [r14 + 5]
lea rdx, str.SynTP
lea rcx, [rbp - 0x38]
call fcn.14000e0d0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x10]
call fcn.14001e200
lea r9, [rbp + 0x40]
movsxd r10, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x10]
cmp word [rbp + 0x40], r14w
je 0x140016651
lea rcx, [rbp + 0x40]
mov rax, r9
sub rax, rcx
sar rax, 1
cmp rax, r10
jge 0x140016651
lea r8, [rbp + 0x10]
cmp rbx, 8
cmovae r8, rdi
mov rax, r9
sub r8, r9
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140016608
add rax, 2
test ecx, ecx
jne 0x1400165f4
test edx, edx
je 0x14001662d
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [r9 + rax*2], 0
jne 0x140016610
lea r9, [r9 + rax*2]
add r9, 2
cmp word [r9], 0
jne 0x1400165d0
jmp 0x140016651
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x28], 8
jb 0x140016780
mov rcx, qword [rbp + 0x10]
call fcn.140020a7c
jmp 0x140016780
lea rcx, [rbp + 0x10]
cmp rbx, 8
cmovae rcx, rdi
lea rdx, [rbp + 0x840]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x140016670
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x840]
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140016692
lea r8, [rbp + 0x842]
lea r8, [r8 + rax*2]
cmp word [rbp + 0x40], 0
je 0x140016721
nop
lea rax, [rbp + 0x40]
mov rcx, rdx
sub rcx, rax
sar rcx, 1
movsxd rax, r10d
cmp rcx, rax
jge 0x140016721
mov rax, rdx
mov r9, r8
sub r9, rdx
nop
movzx ecx, word [rax]
mov word [r9 + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x1400166d0
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdx + rax*2], 0
jne 0x1400166e5
lea rdx, [rdx + rax*2]
add rdx, 2
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [r8 + rax*2], 0
jne 0x140016700
lea r8, [r8 + rax*2]
add r8, 2
cmp word [rdx], 0
je 0x140016721
mov r10d, dword [rsp + 0x30]
jmp 0x1400166b0
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]
cmp qword [rbp + 0x28], 8
jb 0x140016775
mov rcx, qword [rbp + 0x10]
call fcn.140020a7c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.140020aa0
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