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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rcx, [rbp - 0x20]
call fcn.7ff65c596d20
lea rax, [rbp + 0x10]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlComputerNameComputerName
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea rbx, [0x7ff65c63e512]
test eax, eax
jne 0x7ff65c598b58
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.ComputerName
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.ActiveComputerName
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x10]
lea rdx, str.ComputerNamePhysicalDnsDomain
mov r9d, 1
mov dword [rsp + 0x28], 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rbp + 0x10]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlComputerNameActiveComputerName
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff65c598c23
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.ComputerName
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.ActiveComputerName
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x10]
lea rdx, str.ComputerNamePhysicalDnsDomain
mov r9d, 1
mov dword [rsp + 0x28], 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rbp + 0x10]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff65c598cc3
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.Hostname
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.NV_Hostname
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rax, [rbp + 0x10]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7ff65c598d63
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.Hostname
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
inc eax
lea rdx, str.NV_Hostname
cmp qword [rbp - 8], 0xf
mov r9d, 1
mov dword [rsp + 0x28], eax
cmova rcx, qword [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rcx, [rbp - 0x20]
call fcn.7ff65c4f3490
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret