Function at 0x140016cb0
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140053008]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov r12, qword [0x140053bd0]
mov qword [rsp + 0x50], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor r13d, r13d
mov qword [rsp + 0x48], r13
cmp qword [rcx + 0x18], 8
jb 0x140016d0f
mov rcx, qword [rcx]
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
cmp word [rcx], 0
jne 0x140016d37
mov r8, r13
jmp 0x140016d4b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x140016d40
mov rdx, rcx
lea rcx, [rsp + 0x88]
call fcn.14000cb70
nop
lea r8, [rsp + 0x88]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14000b770
nop
mov rax, qword [rsp + 0xa0]
cmp rax, 8
jb 0x140016ded
inc rax
mov rcx, qword [rsp + 0x88]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x140016da0
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016de8
test byte [rsp + 0x88], 0x1f
je 0x140016dbb
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016dca
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016dd9
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140016de5
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov esi, r13d
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
nop word [rax + rax]
mov rax, r15
sub rax, r14
sar rax, 5
mov edx, esi
cmp rdx, rax
jae 0x140016ff5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r13
shl rdx, 5
add rdx, r14
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.14000d110
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.14000b990
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
sub rax, rbx
sar rax, 5
cmp rax, 3
je 0x140016ea1
lea rcx, [rsp + 0x88]
call fcn.140018b90
nop
lea rcx, [rsp + 0x38]
call fcn.140018b90
jmp 0x14001700e
mov qword [0x140053bd0], 0xffffffff80000002
add rbx, 0x40
mov rdi, qword [rbx + 0x10]
cmp rdi, 1
ja 0x140016ed3
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x140016eca
mov rax, qword [rbx]
jmp 0x140016ecd
mov rax, rbx
mov word [rax], r13w
jmp 0x140016f0d
cmp qword [rbx + 0x18], 8
jb 0x140016edf
mov rcx, qword [rbx]
jmp 0x140016ee2
mov rcx, rbx
sub rdi, 1
je 0x140016ef5
lea r8, [rdi + rdi]
lea rdx, [rcx + 2]
call fcn.14001c560
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140016f05
mov rax, qword [rbx]
jmp 0x140016f08
mov rax, rbx
mov word [rax + rdi*2], r13w
mov rax, qword [rbx + 0x10]
lea rcx, [rax - 1]
mov rdi, rax
cmp rax, rcx
jae 0x140016f29
lea rcx, str.invalid_string_position
call fcn.140019c90
sub rax, rcx
cmp rax, 1
ja 0x140016f4c
mov qword [rbx + 0x10], rcx
cmp qword [rbx + 0x18], 8
jb 0x140016f42
mov rax, qword [rbx]
jmp 0x140016f45
mov rax, rbx
mov word [rax + rcx*2], r13w
jmp 0x140016f91
cmp qword [rbx + 0x18], 8
jb 0x140016f58
mov rax, qword [rbx]
jmp 0x140016f5b
mov rax, rbx
lea r9, [rax + rcx*2]
dec rdi
mov r8, rdi
sub r8, rcx
je 0x140016f79
add r8, r8
lea rdx, [r9 + 2]
mov rcx, r9
call fcn.14001c560
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140016f89
mov rax, qword [rbx]
jmp 0x140016f8c
mov rax, rbx
mov word [rax + rdi*2], r13w
cmp qword [rbx + 0x18], 8
jb 0x140016f9b
mov rbx, qword [rbx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x140053bc8]
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesBTHPORTParametersUnsupportedServices
mov rcx, qword [0x140053bd0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016fe1
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x88]
call fcn.140018b90
inc esi
jmp 0x140016e00
lea rcx, [rsp + 0x38]
call fcn.140018b90
nop
jmp 0x140017007
mov qword [0x140053bd0], r12
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140019ce0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret