Function at 0x140054340
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x438], rbx
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rdi, r8
mov qword [rsp + 0x60], rdx
mov rbx, rcx
mov qword [rbp - 0x30], r8
xor esi, esi
mov dword [rsp + 0x38], esi
lea rcx, [rbp + 0x170]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDialogBuilder::constructor_void____ptr64]
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.layout_bound_device_item.xml
lea rcx, [rbp + 0x170]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const____ptr64__class_DuiLib::IDialogBuilderCallback____ptr64__class_DuiLib::CPaintManagerUI____ptr64__class_DuiLib::CControlUI____ptr64____ptr64]
mov r13, rax
test rax, rax
jne 0x14005442e
lea rcx, [rbp - 0x20]
call fcn.1400124e0
nop
lea rdx, str.create_item_failed.
lea rcx, [rbp - 0x10]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::HwSettingWnd::AddDeviceItem
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x20]
lea edx, [rsi + 4]
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
jmp 0x140054a28
mov rsi, r13
mov qword [rsp + 0x30], r13
lea rcx, [rbx + 0xe80]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x140054451
mov qword [rdx], r13
add qword [rcx + 8], 8
jmp 0x140054460
lea r8, [rsp + 0x30]
call fcn.14006acc0
mov rsi, qword [rsp + 0x30]
lea rdx, str.device_name
mov rcx, rsi
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CContainerUI::FindSubControl_wchar_t_const____ptr64____ptr64]
mov r15, rax
lea rdx, str.device_conn_state
mov rcx, rsi
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CContainerUI::FindSubControl_wchar_t_const____ptr64____ptr64]
mov r14, rax
lea rdx, str.connect_state_icon
mov rcx, rsi
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CContainerUI::FindSubControl_wchar_t_const____ptr64____ptr64]
mov r12, rax
lea rdx, str.phone_icon
mov rcx, rsi
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CContainerUI::FindSubControl_wchar_t_const____ptr64____ptr64]
mov qword [rsp + 0x30], rax
test r15, r15
je 0x1400549c8
test r14, r14
je 0x1400549c8
test rax, rax
je 0x1400549c8
test r12, r12
je 0x1400549c8
lea rdx, [rdi + 8]
cmp qword [rdx + 0x18], 8
jb 0x1400544e0
mov rdx, qword [rdx]
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp - 0x48], xmm0
xor ebx, ebx
mov word [rbp - 0x58], bx
lea rcx, [rbp - 0x58]
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 [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
lea rdx, [0x1400c2c60]
lea rcx, [rsp + 0x40]
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
mov dword [rsp + 0x38], 1
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], bx
lea rdx, [0x1400b93d8]
lea rcx, [rbp - 0x78]
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
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140091010
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x14005459b
lea rcx, [rsp + 0x40]
call sym.HwSettings.exe_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400545df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400545da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400545da
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 [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140054637
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054632
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x58]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140054697
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054692
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 [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400546ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400546e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400546e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CDuiString_const____ptr64___cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const____ptr64____ptr64]
nop
cmp byte [rdi + 0x28], 0
je 0x14005474f
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::UICulture____ptr64___cdecl_DuiLib::UICulture::GetInstance_void_]
mov r9, qword [rax]
lea r8, str.IDS_SETTINGS_DEVICE_CONNECT
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [r9 + 0x20]
nop
mov rbx, qword [r14]
mov rcx, rax
call qword [sym.imp.DuiLib.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::GetData_void_const___ptr64]
mov rdx, rax
mov rcx, r14
call qword [rbx + 0x58]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
lea rdx, str.drawable_settingconnected_2x.png
jmp 0x140054792
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::UICulture____ptr64___cdecl_DuiLib::UICulture::GetInstance_void_]
mov r9, qword [rax]
lea r8, str.IDS_SETTINGS_DEVICE_DISCONNECT
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [r9 + 0x20]
nop
mov rbx, qword [r14]
mov rcx, rax
call qword [sym.imp.DuiLib.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::GetData_void_const___ptr64]
mov rdx, rax
mov rcx, r14
call qword [rbx + 0x58]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
lea rdx, str.drawable_settingunconnected_2x.png
mov rcx, r12
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CControlUI::SetBkImage_wchar_t_const____ptr64____ptr64]
movzx ecx, byte [rdi]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rdi + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rdi + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rdi + 3]
xor rcx, rax
imul rcx, rdx
and rcx, qword [0x140113870]
mov rax, rcx
add rax, rax
mov r8, qword [0x140113858]
mov rax, qword [r8 + rax*8]
add rcx, rcx
lea r10, [rcx*8 + 8]
mov r9, qword [r8 + rcx*8]
mov rdx, qword [0x140113848]
cmp r9, rdx
jne 0x140054812
mov rcx, rdx
jmp 0x140054819
mov rcx, qword [r8 + r10]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400549ba
mov ecx, dword [rdi]
cmp dword [rax + 0x10], ecx
je 0x14005482e
mov rax, qword [rax]
jmp 0x140054808
cmp rax, rdx
je 0x1400549ba
lea rdx, [rax + 0x18]
cmp qword [rdx + 0x18], 8
jb 0x140054845
mov rdx, qword [rdx]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::Append_wchar_t_const____ptr64____ptr64]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.DuiLib.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CControlUI::SetBkImage_wchar_t_const____ptr64____ptr64]
lea rcx, [0x1401137b0]
call qword [sym.imp.DuiLib.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CContainerUI::FindSubControl_wchar_t_const____ptr64____ptr64]
mov rbx, rax
test rax, rax
jne 0x140054908
lea rcx, [rbp - 0x20]
call fcn.1400124e0
nop
lea rdx, str.find_boundDeviceSetBtn_item_failed.
lea rcx, [rbp - 0x10]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::HwSettingWnd::AddDeviceItem
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x20]
lea edx, [rbx + 4]
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.14000e840
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
jmp 0x140054a32
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400917e0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140054923
mov rdx, qword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x230]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140054974
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005496f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005496f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14005498f
lea rcx, [rax + 0x9a0]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x20]
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x170]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDialogBuilder::destructor_void____ptr64]
nop
mov rcx, rdi
call fcn.140038dd0
mov al, 1
jmp 0x140054a4a
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
lea rcx, [rbp - 0x20]
call fcn.1400124e0
nop
lea rdx, str.find_deviceName_or_deviceConnState_or_phoneIcon_item_failed.
lea rcx, [rbp - 0x10]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::HwSettingWnd::AddDeviceItem
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d0c]
call fcn.1400138a0
call qword [sym.imp.LogHelper.dll_public:_static_class_HwLogger____ptr64___cdecl_HwLogger::GetInstance_void_]
mov rcx, rax
lea r8, [rbp - 0x20]
mov edx, 4
call qword [sym.imp.LogHelper.dll_public:_void___cdecl_HwLogger::Log_enum_LOG_MESSAGE_LEVEL__class_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.14000e840
nop
lea rcx, [rbp + 0x170]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDialogBuilder::destructor_void____ptr64]
nop
mov rcx, rdi
call fcn.140038dd0
xor al, al
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140093940
mov rbx, qword [rsp + 0x438]
add rsp, 0x3e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret