Function at 0x140017040
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140053008]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, qword [0x140053bd0]
mov qword [0x140053bd0], 0xffffffff80000002
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
lea r8d, [rdi + 0x26]
lea rdx, str.00001104_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
movabs rbx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140017136
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400170ed
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017131
test byte [rbp - 0x28], 0x1f
je 0x140017104
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140017113
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x140017122
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x14001712e
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.00001105_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x1400171d0
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017187
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400171cb
test byte [rbp - 0x28], 0x1f
je 0x14001719e
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400171ad
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400171bc
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x1400171c8
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.00001106_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14001726a
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017221
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017265
test byte [rbp - 0x28], 0x1f
je 0x140017238
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140017247
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x140017256
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017262
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.00001108_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140017304
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400172bb
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400172ff
test byte [rbp - 0x28], 0x1f
je 0x1400172d2
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400172e1
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400172f0
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x1400172fc
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.0000110c_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14001739e
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017355
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017399
test byte [rbp - 0x28], 0x1f
je 0x14001736c
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001737b
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001738a
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017396
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.00001111_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140017438
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400173ef
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017433
test byte [rbp - 0x28], 0x1f
je 0x140017406
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140017415
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x140017424
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017430
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.00001118_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x1400174d2
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017489
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400174cd
test byte [rbp - 0x28], 0x1f
je 0x1400174a0
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400174af
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400174be
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x1400174ca
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.00001123_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14001756c
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017523
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017567
test byte [rbp - 0x28], 0x1f
je 0x14001753a
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140017549
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x140017558
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017564
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.0000110a_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140017606
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400175bd
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017601
test byte [rbp - 0x28], 0x1f
je 0x1400175d4
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400175e3
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400175f2
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x1400175fe
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.0000111f_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x1400176a0
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017657
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x14001769b
test byte [rbp - 0x28], 0x1f
je 0x14001766e
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001767d
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001768c
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017698
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.0000112d_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14001773a
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400176f1
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017735
test byte [rbp - 0x28], 0x1f
je 0x140017708
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140017717
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x140017726
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017732
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.0000112e_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x1400177d4
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x14001778b
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400177cf
test byte [rbp - 0x28], 0x1f
je 0x1400177a2
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400177b1
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400177c0
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x1400177cc
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov r8d, 0x26
lea rdx, str.0000112f_0000_1000_8000_00805f9b34fb
lea rcx, [rbp - 0x28]
call fcn.14000cb70
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c800
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14001786e
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140017825
call fcn.140029838
int3
add rax, rax
cmp rax, 0x1000
jb 0x140017869
test byte [rbp - 0x28], 0x1f
je 0x14001783c
call fcn.140029838
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001784b
call fcn.140029838
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001785a
call fcn.140029838
int3
cmp rcx, 0x27
jbe 0x140017866
call fcn.140029838
int3
mov rcx, rax
call fcn.140019d14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
mov rsi, qword [rbp - 0x48]
mov r14, qword [rbp - 0x50]
sub rsi, r14
sar rsi, 5
test rsi, rsi
je 0x1400178fc
mov rbx, rdi
nop word [rax + rax]
shl rbx, 5
add rbx, r14
cmp qword [rbx + 0x18], 8
jb 0x1400178b1
mov rbx, qword [rbx]
lea rax, [rbp - 0x38]
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 0x1400178f3
mov rdx, rbx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
mov ebx, edi
cmp rbx, rsi
jb 0x1400178a0
mov qword [0x140053bd0], r15
lea rcx, [rbp - 0x50]
call fcn.140018b90
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019ce0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret