Function at 0x180036a90
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800af040]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SYSTEMMountedDevices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180036b81
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x180036b76
nop word [rax + rax]
lea rdx, [0x1800a6240]
lea rcx, [rsp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x180036b47
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc ebx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x180036b20
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SYSTEMControlSet001ControlSession_ManagerAppCompatCache
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SOFTWAREClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SOFTWAREMicrosoftWindowsShellBagMRU
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x25
lea rdx, str.REG_DELETE_HKCUSOFTWAREAMDHKIDs__f
lea rcx, [rsp + 0x40]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180036c2e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036c29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036d03
call fcn.18003d700
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1f
lea rdx, str.REG_ADD_HKCUSOFTWAREAMDHKIDs
lea rcx, [rsp + 0x40]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180036c9b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036c96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036d03
call fcn.18003d700
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x57
lea rdx, str.REG_DELETE__HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_SearchVolumeInfoCacheH:___F
lea rcx, [rsp + 0x40]
call fcn.1800381a0
nop
lea rcx, [rsp + 0x40]
call fcn.1800368d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180036d0f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036d0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036d0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003d700
mov rax, qword [0x1800ce930]
cmp rax, 0x10
jb 0x180036d55
lea rbx, [0x1800ce918]
cmp rax, 0xf
cmova rbx, qword [0x1800ce918]
mov qword [0x1800ce928], 0x10
mov r8d, 0x10
lea rdx, str.Registry_Cleaned
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
jmp 0x180036d66
lea r9, str.Registry_Cleaned
mov edx, 0x10
call fcn.18003c160
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18003d610
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret