Function at 0x14003bba5
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, [0x1400e669e]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x14003be22
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
lea rbx, [rsp + 0x174]
mov r8d, 0x104
mov rcx, rbx
xor edx, edx
call fcn.1400d42a0
lea rcx, [rsp + 0x70]
mov r8d, 0x104
xor edx, edx
call fcn.1400d42a0
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 0x14003be17
mov rcx, qword [rsp + 0x48]
mov edx, ebp
mov r8, rbx
mov r9d, 0x104
call r13
test eax, eax
jne 0x14003be17
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 0x14003bd92
mov eax, dword [rsp + 0x6a]
mov ecx, 0xffffff
and eax, ecx
cmp dword [rsp + 0x50], eax
jne 0x14003bd92
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 0x14003bd92
cmp dword [rsp + 0x40], 7
jne 0x14003bd92
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 0x14003bd92
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 0x14003bd99
inc ebp
jmp 0x14003bc58
mov r9d, dword [rsp + 0x40]
mov qword [rsp + 0x20], 0x3e
lea rbx, [rsp + 0x70]
mov edx, 0x104
mov rcx, rbx
xor r8d, r8d
call fcn.140065731
movups xmm0, xmmword [0x1400e6744]
movups xmmword [rbx + 0x2e], xmm0
movups xmm0, xmmword [0x1400e6736]
movaps xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [0x1400e6726]
movaps xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [str.SYSTEMCurrentControlSet_services_tcpipParametersInterfacesNameServer]
movaps xmmword [rbx], xmm0
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [0x1400e6754]
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