Function at 0x1400161f0
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 [0x14004b008]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov r12, qword [0x14004bbd0]
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 0x14001624f
mov rcx, qword [rcx]
mov qword [rsp + 0xa0], 7
mov qword [rsp + 0x98], r13
mov word [rsp + 0x88], r13w
cmp word [rcx], 0
jne 0x140016277
mov r8, r13
jmp 0x14001628b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x140016280
mov rdx, rcx
lea rcx, [rsp + 0x88]
call fcn.14000c490
nop
lea r8, [rsp + 0x88]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14000b090
nop
mov rax, qword [rsp + 0xa0]
cmp rax, 8
jb 0x14001632d
inc rax
mov rcx, qword [rsp + 0x88]
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
jbe 0x1400162e0
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016328
test byte [rsp + 0x88], 0x1f
je 0x1400162fb
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001630a
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016319
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016325
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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 0x140016535
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.14000ca30
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.14000b2b0
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
sub rax, rbx
sar rax, 5
cmp rax, 3
je 0x1400163e1
lea rcx, [rsp + 0x88]
call fcn.1400180d0
nop
lea rcx, [rsp + 0x38]
call fcn.1400180d0
jmp 0x14001654e
mov qword [0x14004bbd0], 0xffffffff80000002
add rbx, 0x40
mov rdi, qword [rbx + 0x10]
cmp rdi, 1
ja 0x140016413
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x14001640a
mov rax, qword [rbx]
jmp 0x14001640d
mov rax, rbx
mov word [rax], r13w
jmp 0x14001644d
cmp qword [rbx + 0x18], 8
jb 0x14001641f
mov rcx, qword [rbx]
jmp 0x140016422
mov rcx, rbx
sub rdi, 1
je 0x140016435
lea r8, [rdi + rdi]
lea rdx, [rcx + 2]
call fcn.14001baa0
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140016445
mov rax, qword [rbx]
jmp 0x140016448
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 0x140016469
lea rcx, str.invalid_string_position
call fcn.140019214
sub rax, rcx
cmp rax, 1
ja 0x14001648c
mov qword [rbx + 0x10], rcx
cmp qword [rbx + 0x18], 8
jb 0x140016482
mov rax, qword [rbx]
jmp 0x140016485
mov rax, rbx
mov word [rax + rcx*2], r13w
jmp 0x1400164d1
cmp qword [rbx + 0x18], 8
jb 0x140016498
mov rax, qword [rbx]
jmp 0x14001649b
mov rax, rbx
lea r9, [rax + rcx*2]
dec rdi
mov r8, rdi
sub r8, rcx
je 0x1400164b9
add r8, r8
lea rdx, [r9 + 2]
mov rcx, r9
call fcn.14001baa0
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x1400164c9
mov rax, qword [rbx]
jmp 0x1400164cc
mov rax, rbx
mov word [rax + rdi*2], r13w
cmp qword [rbx + 0x18], 8
jb 0x1400164db
mov rbx, qword [rbx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x14004bbc8]
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesBTHPORTParametersUnsupportedServices
mov rcx, qword [0x14004bbd0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016521
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.1400180d0
inc esi
jmp 0x140016340
lea rcx, [rsp + 0x38]
call fcn.1400180d0
nop
jmp 0x140016547
mov qword [0x14004bbd0], r12
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140019260
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