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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rdx
mov r13, qword [0x140052d00]
mov qword [rsp + 0x78], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor esi, esi
mov qword [rsp + 0x70], rsi
cmp qword [rcx + 0x18], 8
jb 0x140015a25
mov rcx, qword [rcx]
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], si
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x140015a50
mov rdx, rcx
lea rcx, [rsp + 0xa8]
call fcn.14000c9b0
nop
lea r8, [rsp + 0xa8]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14000bab0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140015aca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015ac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dd1
call fcn.1400198f4
mov r15d, esi
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
nop word [rax + rax]
mov rax, r12
sub rax, rdi
sar rax, 5
mov edx, r15d
cmp rdx, rax
jae 0x140015d50
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rsi
shl rdx, 5
add rdx, rdi
lea rcx, [rsp + 0x88]
call fcn.14000d500
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.14000bca0
mov r14, qword [rsp + 0xb0]
mov rax, r14
mov rbx, qword [rsp + 0xa8]
sub rax, rbx
sar rax, 5
cmp rax, 5
je 0x140015bed
test rbx, rbx
je 0x140015b9f
mov rdx, r14
mov rcx, rbx
call fcn.14000d240
mov rdx, qword [rsp + 0xb8]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140015b96
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015de3
mov rcx, rbx
call fcn.1400198f4
nop
test rdi, rdi
je 0x140015be8
mov rdx, r12
mov rcx, rdi
call fcn.14000d240
mov rdx, qword [rsp + 0x70]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140015be0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015dd7
mov rcx, rdi
call fcn.1400198f4
jmp 0x140015da4
lea rcx, [rbx + 0x80]
cmp qword [rcx + 0x18], 8
jb 0x140015bfe
mov rcx, qword [rcx]
call fcn.140026d3c
mov dword [rsp + 0x50], eax
mov qword [0x140052d00], 0xffffffff80000002
lea rsi, [rbx + 0x40]
mov r8, qword [rsi + 0x10]
mov eax, 1
cmp r8, rax
cmovb rax, r8
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140015c33
mov rcx, qword [rsi]
sub r8, rax
mov qword [rsi + 0x10], r8
lea r8, [r8*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.14001bf40
mov rax, qword [rsi + 0x10]
lea rdx, [rax - 1]
cmp rax, rdx
jb 0x140015ddd
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140015c69
mov rcx, qword [rsi]
dec rax
mov qword [rsi + 0x10], rax
movzx eax, word [rcx + rdx*2 + 2]
mov word [rcx + rdx*2], ax
cmp qword [rsi + 0x18], 8
jb 0x140015c83
mov rsi, qword [rsi]
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov eax, dword [0x140052cf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesBTHPORTParametersSupportedServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140015cfa
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x140015d46
mov rdx, r14
mov rcx, rbx
call fcn.14000d240
mov rdx, qword [rsp + 0xb8]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140015d3e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015de3
mov rcx, rbx
call fcn.1400198f4
inc r15d
xor esi, esi
jmp 0x140015ae0
test rdi, rdi
je 0x140015d96
mov rdx, r12
mov rcx, rdi
call fcn.14000d240
mov rdx, qword [rsp + 0x70]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140015d8d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015de9
mov rcx, rdi
call fcn.1400198f4
nop
jmp 0x140015d9d
mov qword [0x140052d00], r13
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400198d0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14002589c
nop
call fcn.14002589c
nop
call fcn.140018be0
nop
call fcn.14002589c
nop
call fcn.14002589c
int3