Function at 0x140044ad0
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
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
movzx r13d, r8b
mov byte [rsp + 0x40], dl
mov rbx, rcx
xor r14d, r14d
call fcn.140048db0
inc rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov rcx, qword [rbx + 0x10]
cmp rcx, rax
jb 0x140044ef8
sub rcx, rax
mov r8, 0xffffffffffffffff
cmp rcx, r8
cmovb r8, rcx
cmp qword [rbx + 0x18], 8
jb 0x140044b56
mov rbx, qword [rbx]
lea rdx, [rbx + rax*2]
lea rcx, [rsp + 0x78]
call fcn.140049b80
nop
lea rdi, [rsp + 0x78]
mov r8, qword [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdi, r8
lea rcx, [rsp + 0x78]
cmovae rcx, r8
mov rax, qword [rbp - 0x78]
lea rsi, [rcx + rax*2]
lea rbx, [rsp + 0x78]
cmovae rbx, r8
cmp rbx, rsi
je 0x140044bb6
sub rdi, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, rsi
jne 0x140044ba0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044e60
mov r12d, r14d
mov dword [rsp + 0x50], 0x800
xor edx, edx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140044e53
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140044c40
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140049b80
nop
lea r14, [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 8
setae al
mov rdi, qword [rsp + 0x58]
cmovae r14, rdi
lea rcx, [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
test al, al
je 0x140044c8b
mov rbx, rdi
lea r15, [rdi + rdx*2]
jmp 0x140044c94
lea r15, [rcx + rdx*2]
lea rbx, [rsp + 0x58]
cmp rbx, r15
je 0x140044cc6
sub r14, rbx
nop dword [rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x140044ca0
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r9, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp rsi, 8
cmovae rcx, rdi
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
call fcn.140049710
cmp rax, 0xffffffffffffffff
je 0x140044dff
cmp byte [rsp + 0x40], 0
jne 0x140044d40
test r13b, r13b
jne 0x140044d40
lea rdx, str.Regedit_trace_found:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140049400
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.140049400
lea rdx, [0x1400495e0]
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]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
cmp byte [0x1400b40dd], 0
je 0x140044dff
test r13b, r13b
je 0x140044dff
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044de9
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140044dd0
lea rdx, str.Regedit_trace_deleted:_SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140049400
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.140049400
lea rdx, [0x1400495e0]
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]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140044df5
lea rcx, str.Error_when_deleting_regedit_trace.
call fcn.140006190
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140044df5
lea rcx, str.Unable_to_access_regedits.
call fcn.140006190
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
inc r12d
mov dword [rsp + 0x50], 0x800
cmp rsi, 8
jb 0x140044e41
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140044e39
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140044e4c
mov rcx, rdi
call fcn.14004af44
xor r14d, r14d
mov edx, r12d
jmp 0x140044bf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140044e84
lea rdx, str.Failed_to_open_registry_key
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140049400
lea rdx, [0x1400495e0]
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 - 0x70]
cmp rdx, 8
jb 0x140044ec8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044ec3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044ec3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004af44
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.14004ab70
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400490b0
int3