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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x7ff69902b080]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rdx, [0x7ff699056220]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff698f4b430
lea rcx, [rsp + 0x70]
call fcn.7ff698f3fda0
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
add r8, rdx
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.7ff698f45b30
nop
lea rcx, [rsp + 0x70]
call fcn.7ff698f3d390
nop
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, 0x22
jb 0x7ff698f4b769
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, [0x7ff69900f120]
lea rcx, [rbp - 0x30]
call fcn.7ff698f48420
nop
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x7ff698f4b76f
cmp qword [rbx + 0x18], 7
jbe 0x7ff698f4b4f4
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, [0x7ff69900f168]
lea rcx, [rbp - 0x70]
call fcn.7ff698f48420
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegCreateKeyW]
test eax, eax
je 0x7ff698f4b545
lea rdx, [0x7ff69900f178]
jmp 0x7ff698f4b591
mov eax, dword [rbp - 0x60]
add eax, eax
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [0x7ff69900f198]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.advapi32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x7ff698f4b5f5
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff69900f1b0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45c80
lea rdx, [0x7ff698f45af0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
lea rcx, [rbp - 0x70]
call fcn.7ff698f457e0
nop
lea rcx, [rbp - 0x30]
call fcn.7ff698f457e0
nop
lea rcx, [rsp + 0x50]
call fcn.7ff698f457e0
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.7ff698fe98c0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x28], 4
lea rax, [0x7ff69900f38c]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [0x7ff69900f1e0]
xor edx, edx
call qword [sym.imp.advapi32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x7ff698f4b639
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff69900f1f0]
jmp 0x7ff698f4b591
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [0x7ff69900c628]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x7ff698f4b5ad
lea rdx, [0x7ff69900f218]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rbx, rax
lea rdx, [0x7ff69900f230]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
jns 0x7ff698f4b69e
lea rdx, [0x7ff69900f240]
jmp 0x7ff698f4b591
mov rcx, qword [rsp + 0x60]
sub rdi, rcx
cmp rdi, 0x34
jb 0x7ff698f4b763
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, [0x7ff69900f2b0]
lea rcx, [rbp - 0x50]
call fcn.7ff698f48420
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x10]
call rsi
mov ebx, eax
lea rdx, [0x7ff69900f320]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.7ff698f45c80
lea rdx, [0x7ff698f41410]
mov rcx, rax
call qword [0x7ff698fef540]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x7ff698f45af0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp ebx, 0xc000010e
jne 0x7ff698f4b74f
mov bl, 1
jmp 0x7ff698f4b755
shr ebx, 0x1f
xor bl, 1
lea rcx, [rbp - 0x50]
call fcn.7ff698f457e0
jmp 0x7ff698f4b5af
call fcn.7ff698f30240
nop
call fcn.7ff698f30240
nop
call fcn.7ff698f30240
int3