Function at 0x140033770
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, rcx
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x60], 0
call fcn.1400c2840
lea rcx, [rsp + 0x261]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x260], 0
call fcn.1400c2840
mov r11, qword [rbx]
mov rcx, qword [r11 + 0x298]
cmp byte [rcx + 0xb70], 0
je 0x140033818
lea rdx, [rsp + 0x260]
add rcx, 0x22cc
mov r8d, 0x200
call fcn.1400b31f0
lea rdx, str.CLSID_s
lea rcx, [rsp + 0x60]
mov r8, rax
call fcn.1400c2cf0
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.1400b3940
mov rax, qword [rbx]
lea rdx, str.SOFTWAREClassesCLSID6A6A1EAE_13E1_4dc7_8014_B7677EF6D47A
mov rcx, qword [rax + 0x298]
mov qword [rcx + 0x21c0], 0xffffffff80000002
mov rax, qword [rbx]
mov rcx, qword [rax + 0x298]
mov rax, qword [str.SOFTWAREClassesCLSID6A6A1EAE_13E1_4dc7_8014_B7677EF6D47A]
mov qword [rcx + 0x21c8], rax
mov rax, qword [0x1400ee558]
mov qword [rcx + 0x21d0], rax
mov rax, qword [0x1400ee560]
mov qword [rcx + 0x21d8], rax
mov rax, qword [0x1400ee568]
mov qword [rcx + 0x21e0], rax
mov rax, qword [0x1400ee570]
mov qword [rcx + 0x21e8], rax
mov rax, qword [0x1400ee578]
mov qword [rcx + 0x21f0], rax
mov rax, qword [0x1400ee580]
mov qword [rcx + 0x21f8], rax
mov eax, dword [0x1400ee588]
mov dword [rcx + 0x2200], eax
movzx eax, word [0x1400ee58c]
mov word [rcx + 0x2204], ax
mov rcx, 0xffffffff80000002
call fcn.1400b3940
lea rdx, [rsp + 0x260]
lea rcx, [0x1400ee1d0]
mov r8d, 0x200
call fcn.1400b31f0
lea rdx, str.CLSID_s
lea rcx, [rsp + 0x60]
mov r8, rax
call fcn.1400c2cf0
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.1400b3940
mov edx, 4
lea rcx, str.shell32.dll
lea r8d, [rdx + 0x43]
call fcn.1400b36e0
xor edi, edi
cmp eax, 1
jne 0x14003399d
lea rax, [rsp + 0x58]
lea rdx, [0x1400ee1e0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14003399d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rax + 0x298]
add rdx, 0x22dc
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
lea rdx, str.XmLdrLocation
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x260]
lea rcx, [0x1400ee238]
mov r8d, 0x200
call fcn.1400b31f0
lea rdx, str.CLSID_s
lea rcx, [rsp + 0x60]
mov r8, rax
call fcn.1400c2cf0
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call fcn.1400b3940
lea r11, [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400ee248]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140033a3c
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400ee278]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerShellExecuteHooks
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140033ab2
lea rdx, [rsp + 0x260]
lea rcx, [0x1400ee1d0]
mov r8d, 0x200
call fcn.1400b31f0
mov rcx, qword [rsp + 0x50]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140033b28
lea rdx, [rsp + 0x260]
lea rcx, [0x1400ee1d0]
mov r8d, 0x200
call fcn.1400b31f0
mov rcx, qword [rsp + 0x50]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400335a0
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret