Function at 0x14001febc
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
lea rbp, [rax - 0x3a8]
sub rsp, 0x4a0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x390], rax
xor esi, esi
mov dword [rsp + 0x28], 0xa
lea rax, [rsp + 0x50]
mov r13, 0xffffffff80000001
lea r8, str.Flags
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelAccessibilityHighContrast
mov rcx, r13
lea r9d, [rsi + 2]
mov edi, esi
call fcn.14008e8b8
test eax, eax
js 0x14001ff3d
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrToIntW]
nop dword [rax + rax]
mov edi, eax
xor r9d, r9d
mov dword [rsp + 0x38], reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x38]
lea edx, [r9 + 0x10]
lea ecx, [rdx + 0x32]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14001ffdf
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x104
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, str.InstallHighContrast
mov rcx, r13
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemes
call fcn.14008e8b8
test eax, eax
jns 0x14016f826
test byte [rsp + 0x3c], 1
jne 0x14016f941
mov eax, esi
mov word [rsp + 0x70], ax
test ax, ax
jne 0x14016f831
mov bl, byte [rsp + 0x3c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x31]
and bl, 1
and edi, 1
call fcn.140020014
test eax, eax
jns 0x14016fa51
cmp dil, bl
jne 0x14016fa5c
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r13, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp word [rsp + 0x70], si
je 0x14001ff9a
test byte [rsp + 0x3c], 1
je 0x14016f898
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14016f898
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpIW]
nop dword [rax + rax]
test eax, eax
je 0x14016f8c5
xor r9d, r9d
lea rdx, [rbp + 0x180]
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_string_l2_1_1.dll_SHLoadIndirectString]
nop dword [rax + rax]
test eax, eax
js 0x14016f898
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpIW]
nop dword [rax + rax]
test eax, eax
je 0x14016f8c5
or dword [rsp + 0x3c], 1
lea rax, [rsp + 0x70]
mov r9d, 3
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
lea edx, [r9 + 0xd]
lea ecx, [rdx + 0x33]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
lea r8, str.InstallHighContrast
mov rcx, r13
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemes
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHDeleteValueW]
nop dword [rax + rax]
xor edx, edx
lea rax, [rsp + 0x48]
lea r9, [0x1403362d0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1403452e0]
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
test eax, eax
js 0x14001ffdf
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14006b68f.0]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
nop
jmp 0x14001ffdf
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x104
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, str.Current
mov rcx, r13
lea rdx, str.Control_PanelAppearance
call fcn.14008e8b8
test eax, eax
js 0x14001ffa5
cmp word [rsp + 0x70], si
je 0x14001ffa5
lea rdx, str._themeui.dll__850
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14001ffa5
lea rdx, str._themeui.dll__851
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14001ffa5
lea rbx, str._themeui.dll__852
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14001ffa5
lea rdx, str._themeui.dll__853
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14001ffa5
lea rax, [rsp + 0x70]
mov edx, 0x104
sub rbx, rax
lea rcx, [rsp + 0x70]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14016fa39
movzx eax, word [rbx + rcx]
test ax, ax
je 0x14016fa39
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14016fa17
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], si
movzx eax, word [rsp + 0x70]
jmp 0x14001ffac
cmp bl, byte [rsp + 0x30]
je 0x14016fa5c
xor dword [rsp + 0x3c], 1
mov r9d, 3
lea r8, [rsp + 0x38]
lea edx, [r9 + 0xd]
lea ecx, [rdx + 0x33]
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_SystemParametersInfoW]
nop dword [rax + rax]
nop
jmp 0x14001ffdf