Function at 0x140014f50
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14003e468]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, qword [0x14003f6c8]
mov qword [0x14003f6c8], 0xffffffff80000002
mov dword [rbp - 9], 1
xor r13d, r13d
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
lea r8d, [r13 + 0x26]
lea rdx, str.00001104_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rcx, [rbp - 0x39]
call fcn.14000c220
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x140015015
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x14001502d
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001105_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
movabs r14, 0x6666666666666667
mov rdi, qword [rbp - 0x39]
cmp rax, rbx
jae 0x1400150e8
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x1400150e8
lea rcx, [rbp + 7]
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 0x1400150b1
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x1400150e6
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.14000c0f0
nop
jmp 0x140015137
mov rsi, qword [rbp - 0x29]
cmp rbx, rsi
jne 0x140015106
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x140015137
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x14001514f
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001106_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
cmp rax, rbx
jae 0x1400151f8
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x1400151f8
lea rcx, [rbp + 7]
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 0x1400151c1
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x1400151f6
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.14000c0f0
nop
jmp 0x140015243
cmp rbx, rsi
jne 0x140015212
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x140015243
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x14001525b
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.0000110c_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
cmp rax, rbx
jae 0x140015304
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x140015304
lea rcx, [rbp + 7]
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 0x1400152cd
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x140015302
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.14000c0f0
nop
jmp 0x14001534f
cmp rbx, rsi
jne 0x14001531e
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x14001534f
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x140015367
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.0000110e_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
cmp rax, rbx
jae 0x140015410
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x140015410
lea rcx, [rbp + 7]
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 0x1400153d9
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x14001540e
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.14000c0f0
nop
jmp 0x14001545b
cmp rbx, rsi
jne 0x14001542a
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x14001545b
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x140015473
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001111_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
cmp rax, rbx
jae 0x14001551c
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x14001551c
lea rcx, [rbp + 7]
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 0x1400154e5
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x14001551a
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.14000c0f0
nop
jmp 0x140015567
cmp rbx, rsi
jne 0x140015536
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x140015567
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x14001557f
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001118_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
cmp rax, rbx
jae 0x140015628
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x140015628
lea rcx, [rbp + 7]
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 0x1400155f1
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x140015626
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.14000c0f0
nop
jmp 0x140015673
cmp rbx, rsi
jne 0x140015642
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x140015673
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x14001568b
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001123_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rax, [rbp + 7]
cmp rax, rbx
jae 0x140015730
lea rax, [rbp + 7]
cmp rdi, rax
ja 0x140015730
lea rcx, [rbp + 7]
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 0x1400156f9
lea rcx, [rbp - 0x39]
call fcn.14000c220
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 0x14001572e
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.14000c0f0
nop
jmp 0x140015773
cmp rbx, rsi
jne 0x140015742
lea rcx, [rbp - 0x39]
call fcn.14000c220
mov rbx, qword [rbp - 0x31]
mov qword [rbp - 0x11], rbx
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140015773
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.14000c0f0
nop
add rbx, 0x28
mov qword [rbp - 0x31], rbx
cmp qword [rbp + 0x1f], 8
jb 0x14001578b
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.0000110a_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x1400157d1
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001303_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x140015817
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001304_0000_1000_8000_00805F9B34FB
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x14001585d
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.00001112_0000_1000_8000_00805f9b34fb
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x1400158a3
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.0000112d_0000_1000_8000_00805f9b34fb
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x1400158e9
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.0000112e_0000_1000_8000_00805f9b34fb
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x14001592f
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov r8d, 0x26
lea rdx, str.0000112f_0000_1000_8000_00805f9b34fb
lea rcx, [rbp + 7]
call fcn.14000c580
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000bf70
nop
cmp qword [rbp + 0x1f], 8
jb 0x140015975
mov rcx, qword [rbp + 7]
call fcn.1400193d8
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
mov edi, r13d
mov r14, qword [rbp - 0x31]
mov rcx, r14
mov r12, qword [rbp - 0x39]
sub rcx, r12
movabs rax, 0x6666666666666667
imul rcx
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
je 0x140015a52
mov rbx, r12
nop
cmp qword [rbx + 0x18], 8
jb 0x1400159cc
mov rsi, qword [rbx]
jmp 0x1400159cf
mov rsi, rbx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov eax, dword [0x14003f8d8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesBTHPORTParametersSupportedServices
mov rcx, qword [0x14003f6c8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140015a41
mov dword [rsp + 0x28], 4
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
add rbx, 0x28
mov eax, edi
cmp rax, r13
jb 0x1400159c0
mov qword [0x14003f6c8], r15
test r12, r12
je 0x140015a71
mov rdx, r14
mov rcx, r12
call fcn.14000cad0
mov rcx, r12
call fcn.1400193d8
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400187e0
lea r11, [rsp + 0xc0]
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