Function at 0x140016d50
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140040468]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, qword [0x1400416c8]
mov qword [0x1400416c8], 0xffffffff80000002
xor r13d, r13d
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
lea r8d, [r13 + 0x26]
lea rdx, str.00001104_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x140016e0e
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140016e26
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.00001105_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
movabs r14, 0x6666666666666667
mov rdi, qword [rbp - 0x39]
cmp rax, rbx
jae 0x140016ee1
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x140016ee1
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
mov rsi, qword [rbp - 0x29]
cmp rbx, rsi
jne 0x140016eaa
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140016edf
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x140016f30
mov rsi, qword [rbp - 0x29]
cmp rbx, rsi
jne 0x140016eff
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140016f30
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140016f48
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.00001106_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
cmp rax, rbx
jae 0x140016ff1
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x140016ff1
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rbx, rsi
jne 0x140016fba
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140016fef
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x14001703c
cmp rbx, rsi
jne 0x14001700b
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14001703c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140017054
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.00001108_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
cmp rax, rbx
jae 0x1400170fd
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x1400170fd
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rbx, rsi
jne 0x1400170c6
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x1400170fb
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x140017148
cmp rbx, rsi
jne 0x140017117
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140017148
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140017160
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.0000110c_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
cmp rax, rbx
jae 0x140017209
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x140017209
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rbx, rsi
jne 0x1400171d2
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140017207
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x140017254
cmp rbx, rsi
jne 0x140017223
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140017254
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x14001726c
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.00001111_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
cmp rax, rbx
jae 0x140017315
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x140017315
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rbx, rsi
jne 0x1400172de
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140017313
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x140017360
cmp rbx, rsi
jne 0x14001732f
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140017360
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140017378
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.00001118_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
cmp rax, rbx
jae 0x140017421
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x140017421
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rbx, rsi
jne 0x1400173ea
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14001741f
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x14001746c
cmp rbx, rsi
jne 0x14001743b
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14001746c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140017484
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.00001123_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rax, [rbp - 1]
cmp rax, rbx
jae 0x140017529
lea rax, [rbp - 1]
cmp rdi, rax
ja 0x140017529
lea rcx, [rbp - 1]
sub rcx, rdi
mov rax, r14
imul rcx
mov r12, rdx
sar r12, 4
mov rax, r12
shr rax, 0x3f
add r12, rax
cmp rbx, rsi
jne 0x1400174f2
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x39]
lea rax, [r12 + r12*4]
lea rdx, [rdi + rax*8]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140017527
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000c9d0
nop
jmp 0x14001756c
cmp rbx, rsi
jne 0x14001753b
lea rcx, [rbp - 0x39]
call fcn.14000cb00
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14001756c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14000c9d0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x17], 8
jb 0x140017584
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.0000110a_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.14000c850
nop
cmp qword [rbp + 0x17], 8
jb 0x1400175ca
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.0000111f_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.14000c850
nop
cmp qword [rbp + 0x17], 8
jb 0x140017610
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.0000112d_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.14000c850
nop
cmp qword [rbp + 0x17], 8
jb 0x140017656
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.0000112e_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.14000c850
nop
cmp qword [rbp + 0x17], 8
jb 0x14001769c
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov r8d, 0x26
lea rdx, str.0000112f_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 1]
call fcn.14000ce60
nop
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.14000c850
nop
cmp qword [rbp + 0x17], 8
jb 0x1400176e2
mov rcx, qword [rbp - 1]
call fcn.14001a248
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r13
mov word [rbp - 1], r13w
mov esi, r13d
mov r13, qword [rbp - 0x31]
mov rcx, r13
mov r12, qword [rbp - 0x39]
sub rcx, r12
mov rax, r14
imul rcx
mov r14, rdx
sar r14, 4
mov rax, r14
shr rax, 0x3f
add r14, rax
je 0x14001777e
mov rbx, r12
cmp qword [rbx + 0x18], 8
jb 0x14001772c
mov rdi, qword [rbx]
jmp 0x14001772f
mov rdi, rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x1400418d8]
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesBTHPORTParametersUnsupportedServices
mov rcx, qword [0x1400416c8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017771
mov rdx, rdi
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
add rbx, 0x28
mov eax, esi
cmp rax, r14
jb 0x140017720
mov qword [0x1400416c8], r15
test r12, r12
je 0x1400177c3
mov rbx, r12
cmp r12, r13
je 0x1400177bb
xor edi, edi
cmp qword [rbx + 0x18], 8
jb 0x1400177a3
mov rcx, qword [rbx]
call fcn.14001a248
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
add rbx, 0x28
cmp rbx, r13
jne 0x140017794
mov rcx, r12
call fcn.14001a248
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140019650
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret