Function at 0x14002ceb0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rsi, rdx
lea rdx, str.delete_silence_space
mov rcx, qword [rcx + 0x210]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
mov rdi, rax
test rax, rax
je 0x14002d536
lea rdx, str.opt_silence_space
mov rcx, rbx
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14002d3a7
mov rbx, qword [rsi + 0x110]
test rbx, rbx
je 0x14002d536
mov rcx, rbx
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::COptionUI::IsSelected_void_const___ptr64]
xor esi, esi
test al, al
je 0x14002d09c
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
movabs rcx, 0x1792f8648000
add rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x2f], rdx
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
lea rdx, str.SilentSpaceTipsTime
lea rcx, [rbp - 0x19]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
lea rdx, str.SOFTWAREHuaweiPCManagerSilentSpace
lea rcx, [rbp + 0xf]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 8
lea r9, [rbp + 0x2f]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0xf]
mov rcx, 0xffffffff80000001
call qword [sym.imp.HwFileUtil.dll_public:_static_bool___cdecl_DE::Registry::SetValue_struct_HKEY______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__void____ptr64__int__unsigned_long_int_]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002d025
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d020
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14002d079
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d074
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d074
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
lea rcx, str.C:ProgramDataCommsPCManagerSilentSpace
call qword [sym.imp.HwFileUtil.dll_bool___cdecl_DE::DirectoryExists_char_const____ptr64_]
mov rcx, rdi
test al, al
mov rax, qword [rdi]
je 0x14002d094
mov dl, 1
jmp 0x14002d096
xor edx, edx
call qword [rax + 0x268]
mov rcx, rbx
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::COptionUI::IsSelected_void_const___ptr64]
mov ecx, esi
test al, al
sete cl
mov dword [rbp + 0x2f], ecx
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
lea rdx, str.SilentSpaceStatus
lea rcx, [rbp - 0x19]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
lea rdx, str.SOFTWAREHuaweiPCManagerSilentSpace
lea rcx, [rbp + 0xf]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
mov dword [rsp + 0x20], 0xf003f
lea r9, [rbp + 0x2f]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0xf]
mov rcx, 0xffffffff80000001
call qword [sym.imp.HwFileUtil.dll_public:_static_bool___cdecl_DE::Registry::SetValue_struct_HKEY______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__int_const____ptr64__unsigned_long_int_]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002d158
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d153
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d153
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14002d1ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d1a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d1a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
mov rcx, rbx
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::COptionUI::IsSelected_void_const___ptr64]
lea rcx, [rbp - 0x19]
test al, al
je 0x14002d230
movdqa xmm0, xmmword [0x1400cbd40]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov r8d, 8
lea rdx, str.Inactive
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea rcx, [rbp - 0x19]
call fcn.14002cd30
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14002d536
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rbp + 0x2f], 1
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], si
lea rdx, str.SilentSpacePrivacyStatus
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
lea rdx, str.SOFTWAREHuaweiPCManagerSilentSpace
lea rcx, [rbp + 0xf]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
mov dword [rsp + 0x20], 0xf003f
lea r9, [rbp + 0x2f]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0xf]
mov rcx, 0xffffffff80000001
call qword [sym.imp.HwFileUtil.dll_public:_static_bool___cdecl_DE::Registry::SetValue_struct_HKEY______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__int_const____ptr64__unsigned_long_int_]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002d2dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d2d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d2d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], si
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14002d330
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d32b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d32b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movdqa xmm0, xmmword [0x1400cbd40]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov r8d, 6
lea rdx, str.Avtive
lea rcx, [rbp - 0x19]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea rcx, [rbp - 0x19]
call fcn.14002cd30
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14002d536
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.delete_silence_space
mov rcx, rbx
call qword [sym.imp.DuiLib.dll_public:_bool___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14002d536
lea rcx, str.PROGRAMDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14002d4ab
movdqa xmm0, xmmword [0x1400cbd40]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002d3f0
mov rdx, rax
lea rcx, [rbp + 0xf]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea rcx, [rbp + 0xf]
mov rbx, qword [rbp + 0xf]
mov rsi, qword [rbp + 0x27]
cmp rsi, 0x10
cmovae rcx, rbx
mov qword [rsp + 0x20], 0xb
lea r9, str.ProgramData
xor r8d, r8d
mov rdx, qword [rbp + 0x1f]
call fcn.140021610
cmp rax, 0xffffffffffffffff
je 0x14002d46f
mov r8d, 0x1c
lea rdx, str.CommsPCManagerSilentSpace
lea rcx, [rbp + 0xf]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.HwFileUtil.dll_int___cdecl_DE::DeleteDeepDirectory_char_const____ptr64_]
mov rsi, qword [rbp + 0x27]
mov rbx, qword [rbp + 0xf]
cmp rsi, 0x10
jb 0x14002d4b8
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002d4a1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d4a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140093ce8
jmp 0x14002d4b8
lea rcx, str.C:ProgramDataCommsPCManagerSilentSpace
call qword [sym.imp.HwFileUtil.dll_int___cdecl_DE::DeleteDeepDirectory_char_const____ptr64_]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x268]
movdqa xmm0, xmmword [0x1400cbd40]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov r8d, 6
lea rdx, str.Delete
lea rcx, [rbp - 0x19]
call sym.HwSettings.exe_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
lea rcx, [rbp - 0x19]
call fcn.14002cd30
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14002d536
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140093940
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret