Function at 0x1400541c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x428]
sub rsp, 0x520
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1400c8010]
xor rax, rsp
mov qword [rbp + 0x410], rax
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_DE::Registry::constructor_void____ptr64]
nop
mov rdx, 0xffffffff80000001
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_void___cdecl_DE::Registry::SetRootKey_struct_HKEY______ptr64____ptr64]
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
xor ebx, ebx
mov word [rbp - 0x80], bx
lea rdx, str.SOFTWAREHuaweiPCManager_setting
lea rcx, [rbp - 0x80]
call sym.PCManager.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
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::KeyExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
test al, al
sete dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14005429a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054295
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054295
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
test dil, dil
je 0x140054313
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.SOFTWAREHuaweiPCManager_setting
lea rcx, [rbp - 0x80]
call sym.PCManager.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
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::CreateKey_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140054313
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005430e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005430e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.SOFTWAREHuaweiPCManager_setting
lea rcx, [rbp - 0x80]
call sym.PCManager.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 r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::OpenKey_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__bool____ptr64]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14005438a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054385
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.autostart
lea rcx, [rbp - 0x80]
call sym.PCManager.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
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::ValueExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
test al, al
sete dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140054403
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400543fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400543fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
test dil, dil
je 0x14005451a
mov dword [rsp + 0x78], 1
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.autostart
lea rcx, [rbp - 0x80]
call sym.PCManager.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 [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
lea rdx, [0x140090e40]
lea rcx, [rsp + 0x30]
call sym.PCManager.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, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
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 [rsp + 0x48]
cmp rdx, 8
jb 0x1400544c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400544bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400544bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14005451a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054515
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054515
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.minclose
lea rcx, [rbp - 0x80]
call sym.PCManager.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
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::ValueExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
test al, al
sete dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140054593
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005458e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005458e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
test dil, dil
je 0x1400546aa
mov dword [rsp + 0x78], 1
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.minclose
lea rcx, [rbp - 0x80]
call sym.PCManager.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 [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
lea rdx, [0x140090e40]
lea rcx, [rsp + 0x30]
call sym.PCManager.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, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
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 [rsp + 0x48]
cmp rdx, 8
jb 0x140054654
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005464f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005464f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400546aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400546a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400546a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.autoconnect
lea rcx, [rbp - 0x80]
call sym.PCManager.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
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::ValueExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
test al, al
sete dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140054723
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005471e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005471e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
test dil, dil
je 0x14005483a
mov dword [rsp + 0x78], 1
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.autoconnect
lea rcx, [rbp - 0x80]
call sym.PCManager.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 [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
lea rdx, [0x140090e40]
lea rcx, [rsp + 0x30]
call sym.PCManager.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, [rsp + 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
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 [rsp + 0x48]
cmp rdx, 8
jb 0x1400547e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400547df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400547df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14005483a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054835
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054835
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.hishare
lea rcx, [rbp - 0x80]
call sym.PCManager.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
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::ValueExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
test al, al
sete dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400548b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400548ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400548ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
test dil, dil
je 0x140054aa6
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rbp + 0x200]
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x78]
lea edx, [rax + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140054922
lea rdx, [rbp - 0x10]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
jne 0x140054922
mov r8d, 0x104
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call sym.PCManager.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 r8d, 8
lea rdx, str.HwShare
lea rcx, [rbp - 0x80]
call sym.PCManager.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__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rdx, str.hishare
lea rcx, [rsp + 0x50]
call sym.PCManager.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 [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
lea rdx, [0x140090e40]
lea rcx, [rsp + 0x30]
call sym.PCManager.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 - 0x80]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
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__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__unsigned_long_int_]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140054a0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054a05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054a05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140054a63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054a5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140054aa6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054aa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rdx, str.wifiauto
lea rcx, [rsp + 0x50]
call sym.PCManager.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
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public:_bool___cdecl_DE::Registry::ValueExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
test al, al
sete dil
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140054b25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054b20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054b20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
test dil, dil
je 0x140054c43
mov dword [rsp + 0x78], 1
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rdx, str.wifiauto
lea rcx, [rsp + 0x50]
call sym.PCManager.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 [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
lea rdx, [0x140090e40]
lea rcx, [rsp + 0x30]
call sym.PCManager.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, [rsp + 0x78]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
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 [rsp + 0x48]
cmp rdx, 8
jb 0x140054bea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054be5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054be5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
movdqa xmm0, xmmword [0x1400973f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140054c43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054c3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054c3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ba9c
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.HwFileUtil.dll_public_virtual:_void___cdecl_DE::Registry::destructor_void____ptr64]
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14006b6b0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret