Function at 0x140020220
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
sub rsp, 0x320
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401c4080]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdi, rcx
mov byte [0x140204828], 1
call fcn.1400114b0
call fcn.140011dd0
call fcn.140012000
call fcn.140010a60
call fcn.1400111e0
movabs rax, 0xfe41b578b85bcc82
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp], rax
movabs rax, 0x4d086a0dc47aad95
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 8], rax
movabs rax, 0xde6316ea54f308d9
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x10], rax
movabs rax, 0x6923bb4a2aa9e819
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x18], rax
movabs rax, 0xac7a0618e9885c1
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x20], rax
movabs rax, 0xe05828f954a7fc
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x28], rax
movabs rax, 0xb6a86a027ac89d39
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x30], rax
movabs rcx, 0x12d175cf6431af7e
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x38], rax
movabs rax, 0xfe29b508b82bcce3
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x60], rax
movabs rax, 0x4d266a7dc416adf0
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x68], rax
movabs rax, 0xde4f1686549f08bd
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x70], rax
movabs rax, 0x694ebb232ac1e84a
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x78], rax
movabs rax, 0xab4a0148ef48587
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x80], rax
movabs rax, 0x835849f917a794
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x88], rax
movabs rax, 0xb6a86a027aad9d51
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x98], rax
vmovdqu ymm0, ymmword [rbp]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp], ymm1
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x20], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x60], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x70], xmm1
lea rax, [rbp]
mov r8, 0xffffffffffffffff
vzeroupper
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140020420
lea rdx, [rbp]
lea rcx, [rbp + 0x60]
call fcn.140005a70
nop
lea rcx, [rbp + 0x60]
call fcn.140010ea0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140020486
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020481
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020481
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012edf4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020596
xor esi, esi
mov ebx, esi
mov dword [rbp + 0x50], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x50]
lea r8, [rbp + 0xa0]
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14002058c
lea rdx, str.DeviceHarddiskVolume3WindowsResourcesThemes_aero_aeroShell.exe
lea rcx, [rbp + 0xa0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140020550
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020550
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
mov dword [rbp + 0x50], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x50]
lea r8, [rbp + 0xa0]
mov edx, ebx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1400204f2
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400102a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.C:ProgramDataKeyAuth
lea rcx, [rbp + 0x60]
call fcn.140005a70
nop
lea rcx, [rbp + 0x60]
call fcn.140012cc0
test al, al
je 0x1400205e3
lea rdx, str.Pasta_removida_com_sucesso_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140023ce0
jmp 0x14002060a
lea rdx, str.Falha_ao_remover_a_pasta._C
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140023ce0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140023ec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14002065e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012edf4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi]
mov byte [rax + 0x76], 0
mov rax, qword [rdi]
mov byte [rax + 0x79], 0
mov rax, qword [rdi]
mov byte [rax + 0x79], 0
mov byte [0x140204828], 0
mov rax, qword [rdi]
mov byte [rax + 0x77], 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.14012ed90
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret