Function at 0x14003fd36
Capabilities:
Persist via windows service
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov rsi, r8
lea rax, [rsp + 0x68]
and qword [rax], 0
mov rdi, rdx
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov rdx, rax
call qword [r8 + 0x40]
lea r8, [rsp + 0x48]
and qword [r8], 0
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x14003ffc9
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
lea rbx, [rsp + 0x174]
mov r8d, 0x104
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
mov r8d, 0x104
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov ebp, 1
mov r13, qword [sym.imp.advapi32.dll_RegEnumKeyA]
lea rsi, [rsp + 0x44]
lea rdi, [rsp + 0x50]
lea r12, [rsp + 0x54]
lea r15, str.NetLuidIndex
mov r14, qword [sym.imp.advapi32.dll_RegGetValueA]
cmp ebp, 0xffff
je 0x14003ffbe
mov rcx, qword [rsp + 0x48]
mov edx, ebp
mov r8, rbx
mov r9d, 0x104
call r13
test eax, eax
jne 0x14003ffbe
and dword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x104
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x54], 0
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
mov rdx, rbx
mov r8, r15
mov r9d, 0x10
call r14
test eax, eax
jne 0x14003ff23
mov eax, dword [rsp + 0x6a]
mov ecx, 0xffffff
and eax, ecx
cmp dword [rsp + 0x50], eax
jne 0x14003ff23
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x44], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rdx, rbx
lea r8, str.ComponentId
mov r9d, 2
call r14
test eax, eax
jne 0x14003ff23
cmp dword [rsp + 0x40], 7
jne 0x14003ff23
movzx eax, byte [rsp + 0x76]
shl eax, 0x10
movzx ecx, word [rsp + 0x74]
or ecx, eax
shl rcx, 0x20
mov eax, dword [rsp + 0x70]
or rax, rcx
movabs rcx, 0xffffffffffffff
and rax, rcx
movabs rcx, 0x6e75746e6977
cmp rax, rcx
jne 0x14003ff23
mov dword [rsp + 0x40], 0x104
mov rcx, qword [rsp + 0x48]
and dword [rsp + 0x44], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rdx, rbx
lea r8, str.NetCfgInstanceId
mov r9d, 2
call r14
test eax, eax
je 0x14003ff2a
inc ebp
jmp 0x14003fde9
mov r9d, dword [rsp + 0x40]
lea rax, [0x1400f4040]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x3e
lea rbx, [rsp + 0x70]
mov edx, 0x104
mov rcx, rbx
xor r8d, r8d
call fcn.140073ccb
lea r8, [0x1400f4058]
mov edx, 0x3e
mov rcx, rbx
call fcn.1400096ec
lea rcx, [0x1400f4070]
mov qword [rsp + 0x20], rcx
lea r8, str.SYSTEMCurrentControlSet_services_tcpipParametersInterfaces_
mov r9d, 0x3e
mov rcx, rax
call fcn.140044db2
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, str.NameServer
mov rcx, 0xffffffff80000002
mov rdx, rbx
mov r9d, 1
call qword [sym.imp.advapi32.dll_RegSetKeyValueA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret