Function at 0x1400c57e0
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.1400c3a90
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, [0x14017275a]
test eax, eax
jne 0x1400c58c8
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 0x1400c5993
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 0x1400c5a33
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 0x1400c5ad3
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.14001f100
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret