Function at 0x140016580
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 [0x14004b008]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, qword [0x14004bbd0]
mov qword [0x14004bbd0], 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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
movabs rbx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016676
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x14001662d
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016671
test byte [rbp - 0x28], 0x1f
je 0x140016644
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016653
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016662
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x14001666e
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016710
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400166c7
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x14001670b
test byte [rbp - 0x28], 0x1f
je 0x1400166de
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400166ed
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400166fc
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016708
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x1400167aa
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016761
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400167a5
test byte [rbp - 0x28], 0x1f
je 0x140016778
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016787
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016796
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x1400167a2
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016844
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400167fb
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x14001683f
test byte [rbp - 0x28], 0x1f
je 0x140016812
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016821
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016830
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x14001683c
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x1400168de
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016895
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x1400168d9
test byte [rbp - 0x28], 0x1f
je 0x1400168ac
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400168bb
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400168ca
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x1400168d6
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016978
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x14001692f
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016973
test byte [rbp - 0x28], 0x1f
je 0x140016946
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016955
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016964
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016970
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016a12
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x1400169c9
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016a0d
test byte [rbp - 0x28], 0x1f
je 0x1400169e0
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400169ef
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400169fe
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016a0a
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016aac
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016a63
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016aa7
test byte [rbp - 0x28], 0x1f
je 0x140016a7a
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016a89
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016a98
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016aa4
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016b46
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016afd
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016b41
test byte [rbp - 0x28], 0x1f
je 0x140016b14
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016b23
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016b32
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016b3e
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016be0
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016b97
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016bdb
test byte [rbp - 0x28], 0x1f
je 0x140016bae
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016bbd
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016bcc
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016bd8
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016c7a
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016c31
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016c75
test byte [rbp - 0x28], 0x1f
je 0x140016c48
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016c57
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016c66
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016c72
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016d14
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016ccb
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016d0f
test byte [rbp - 0x28], 0x1f
je 0x140016ce2
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016cf1
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016d00
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016d0c
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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.14000c490
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.14000c120
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x140016dae
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rbx
jbe 0x140016d65
call fcn.140022518
int3
add rax, rax
cmp rax, 0x1000
jb 0x140016da9
test byte [rbp - 0x28], 0x1f
je 0x140016d7c
call fcn.140022518
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016d8b
call fcn.140022518
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016d9a
call fcn.140022518
int3
cmp rcx, 0x27
jbe 0x140016da6
call fcn.140022518
int3
mov rcx, rax
call fcn.140019294
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 0x140016e3c
mov rbx, rdi
nop word [rax + rax]
shl rbx, 5
add rbx, r14
cmp qword [rbx + 0x18], 8
jb 0x140016df1
mov rbx, qword [rbx]
lea rax, [rbp - 0x38]
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 0x140016e33
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 0x140016de0
mov qword [0x14004bbd0], r15
lea rcx, [rbp - 0x50]
call fcn.1400180d0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019260
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