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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x18002f010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, r8
mov rbx, rdx
mov qword [rbp - 9], rdx
xor edi, edi
mov esi, edi
mov r14d, edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
lea r8d, [rdi + 0x2d]
lea rdx, str.SystemCurrentControlSetServiceskernelquick
lea rcx, [rbp + 0xf]
call fcn.180009af0
nop
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x18000980d
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000993f
mov rax, qword [r12]
mov rdx, qword [r12 + 8]
cmp rax, rdx
je 0x180009914
nop
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18000982f
lea esi, [rsi + rcx*2]
add esi, 2
add rax, 0x20
cmp rax, rdx
jne 0x180009820
test esi, esi
je 0x180009914
mov ecx, esi
call fcn.18000bff8
mov r13, rax
mov qword [rbp - 1], rax
mov ecx, 0x18
call fcn.18000bfbc
mov r15, rax
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_unsigned_char_.0
mov qword [r15], rax
mov qword [r15 + 0x10], r13
mov edx, 1
xor ecx, ecx
call fcn.18000bf88
mov qword [rbp - 0x11], r15
mov r8d, esi
xor edx, edx
mov rcx, r13
call fcn.18000dc30
mov rbx, qword [r12]
cmp rbx, qword [r12 + 8]
je 0x1800098eb
nop dword [rax]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1800098de
lea edi, [rax*2 + 2]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800098cd
mov rdx, qword [rbx]
mov r8d, edi
mov ecx, r14d
add rcx, r13
call fcn.18000d580
add r14d, edi
add rbx, 0x20
cmp rbx, qword [r12 + 8]
jne 0x1800098b0
xor edi, edi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r13
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x180009943
mov sil, 1
jmp 0x180009946
mov word [rbp - 0x29], di
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r15, qword [rbp - 0x11]
xor sil, sil
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x180009982
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000997d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800099fa
call fcn.18000bf88
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
test r15, r15
je 0x1800099c9
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1800099c9
mov rbx, qword [rbp - 0x11]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800099c9
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rcx]
call qword [rdx + htons]
movzx eax, sil
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18000b980
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800107a0
nop
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x180009a5b
mov rdx, qword [rbx + 8]
call fcn.18000a4f0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x180009a49
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180009a61
mov rcx, r8
call fcn.18000bf88
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
call fcn.1800107a0
int3