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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
mov rbx, rcx
xor r14d, r14d
lea rcx, [rbp - 0x59]
call fcn.7ff7b081ce20
nop
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rbp - 0x49]
sub rax, rcx
cmp rax, 0x22
jb 0x7ff7b0825280
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 7
cmova rax, qword [rbp - 0x59]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, [0x7ff7b0841820]
lea rcx, [rbp + 7]
call fcn.7ff7b0822c90
nop
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x7ff7b0825286
cmp qword [rbx + 0x18], 7
jbe 0x7ff7b0824f7c
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, [0x7ff7b0841868]
lea rcx, [rbp - 0x39]
call fcn.7ff7b0822c90
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
lea r8, [rbp + 0x77]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegCreateKeyW]
movdqa xmm6, xmmword [0x7ff7b0841b00]
test eax, eax
jne 0x7ff7b082516b
mov eax, dword [rbp - 0x29]
add eax, eax
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [0x7ff7b0841878]
xor edx, edx
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.advapi32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x77]
test eax, eax
jne 0x7ff7b0825165
mov dword [rsp + 0x28], 4
lea rax, [0x7ff7b0841950]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [0x7ff7b0841890]
xor edx, edx
call qword [sym.imp.advapi32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x77]
test eax, eax
jne 0x7ff7b0825165
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [0x7ff7b08373d0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x7ff7b082516b
lea rdx, [0x7ff7b08418a0]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rbx, rax
lea rdx, [0x7ff7b08418b8]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rbp + 0x6f]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
js 0x7ff7b082516b
mov rcx, qword [rbp - 0x49]
sub rdi, rcx
cmp rdi, 0x34
jb 0x7ff7b082527a
lea rax, [rbp - 0x59]
cmp qword [rbp - 0x41], 7
cmova rax, qword [rbp - 0x59]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, [0x7ff7b08418d0]
lea rcx, [rbp - 0x19]
call fcn.7ff7b0822c90
nop
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
lea rcx, [rbp + 0x27]
call qword [0x7ff7b0836870]
lea rcx, [rbp + 0x27]
call rsi
mov ebx, eax
cmp eax, 0xc000010e
jne 0x7ff7b0825110
mov bl, 1
jmp 0x7ff7b0825116
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x7ff7b0825159
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7b0825154
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7b0825154
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b0
movdqu xmmword [rbp - 9], xmm6
mov word [rbp - 0x19], r14w
jmp 0x7ff7b082516d
call qword [sym.imp.advapi32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x7ff7b08251b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7b08251ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7b08251ab
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b0
movdqa xmm6, xmmword [0x7ff7b0841b00]
movdqu xmmword [rbp - 0x29], xmm6
mov word [rbp - 0x39], r14w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x7ff7b082520d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7b0825200
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7b0825200
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b0
movdqa xmm6, xmmword [0x7ff7b0841b00]
movdqu xmmword [rbp + 0x17], xmm6
mov word [rbp + 7], r14w
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x7ff7b082525a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7b0825255
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7b0825255
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b0
movzx eax, bl
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.7ff7b07fe2b0
nop
call fcn.7ff7b07fe2b0
nop
call fcn.7ff7b07fe2b0
int3