Function at 0x14003d3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r13, r9
mov rsi, r8
mov r14d, edx
mov rdi, rcx
cmp edx, 0x2e0
jne 0x14003d4c3
call fcn.140061a40
mov rcx, qword [rdi + 0xec8]
test rcx, rcx
je 0x14003d405
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CWindowWnd::Center2ParentWindow_void____ptr64]
mov rcx, qword [rdi + 0xed0]
test rcx, rcx
je 0x14003d417
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CWindowWnd::Center2ParentWindow_void____ptr64]
mov rcx, qword [rdi + 0xed8]
test rcx, rcx
je 0x14003d429
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CWindowWnd::Center2ParentWindow_void____ptr64]
mov rcx, qword [rdi + 0xee0]
test rcx, rcx
je 0x14003d43b
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CWindowWnd::Center2ParentWindow_void____ptr64]
mov rcx, qword [rdi + 0xee8]
test rcx, rcx
je 0x14003d44d
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CWindowWnd::Center2ParentWindow_void____ptr64]
cmp byte [rdi + 0xe68], 0
je 0x14003d9c0
lea eax, [r14 - 0x100]
test eax, 0xfffffffb
jne 0x14003d9c0
lea rax, [rsi - 0x10]
cmp rax, 2
jbe 0x14003d9c0
lea rax, [rsi - 0x70]
cmp rax, 0xb
jbe 0x14003d80e
lea rax, [rsi - 0x30]
cmp rax, 0x2a
jbe 0x14003d80e
mov rdx, qword [0x140113a28]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x14003d9c0
nop
cmp qword [rax + 0x20], rsi
jae 0x14003d7eb
mov rax, qword [rax + 0x10]
jmp 0x14003d7f1
cmp r14d, 5
jne 0x14003d5fd
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____ptr64___cdecl_DuiLib::CResourceManager::GetInstance_void_]
mov rcx, rax
mov r8d, 0x34a
lea rdx, [rdi + 0x78]
call qword [sym.imp.DuiLib.dll_public:_int___cdecl_DuiLib::CResourceManager::Scale_class_DuiLib::CPaintManagerUI_const____ptr64__int____ptr64]
mov r15d, eax
call qword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____ptr64___cdecl_DuiLib::CResourceManager::GetInstance_void_]
mov rcx, rax
mov r8d, 0x20a
lea rdx, [rdi + 0x78]
call qword [sym.imp.DuiLib.dll_public:_int___cdecl_DuiLib::CResourceManager::Scale_class_DuiLib::CPaintManagerUI_const____ptr64__int____ptr64]
mov r12d, eax
mov ecx, dword [rsp + 0x70]
sub ecx, dword [rsp + 0x68]
cmp r15d, ecx
je 0x14003d44d
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rbx, [rsp + 0x58]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x14003d5a3
test r15d, r15d
je 0x14003d44d
mov eax, dword [rsp + 0x60]
add eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
mov ecx, r8d
sub ecx, eax
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x4c], ecx
add eax, r8d
mov dword [rsp + 0x50], eax
lea eax, [r12 + rcx]
mov dword [rsp + 0x54], eax
lea rbx, [rsp + 0x48]
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx]
mov ecx, dword [rbx + 0xc]
sub ecx, r9d
mov eax, dword [rbx + 8]
sub eax, r8d
mov dword [rsp + 0x30], 0x14
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x260]
test rcx, rcx
je 0x14003d5e4
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CControlUI::NeedUpdate_void____ptr64]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xf]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14003d44d
cmp r14d, 0x7e
jne 0x14003d6d6
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
jne 0x14003d625
mov rcx, rdi
jmp 0x14003d447
mov dword [rbp - 0x70], 0x68
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x14003d44d
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14003d44d
mov edx, dword [rbp - 0x54]
mov r11d, dword [rsp + 0x50]
sub edx, r11d
mov ecx, dword [rsp + 0x48]
add edx, ecx
mov eax, ecx
cmp edx, ecx
cmovl eax, edx
mov r10d, dword [rbp - 0x5c]
cmp eax, r10d
jle 0x14003d682
mov r10d, ecx
cmp edx, ecx
cmovl r10d, edx
mov r9d, dword [rbp - 0x50]
mov ebx, dword [rsp + 0x54]
sub r9d, ebx
mov edx, dword [rsp + 0x4c]
add r9d, edx
mov eax, edx
cmp r9d, edx
cmovl eax, r9d
mov r8d, dword [rbp - 0x58]
cmp eax, r8d
jle 0x14003d6b0
mov r8d, edx
cmp r9d, edx
cmovl r8d, r9d
sub ebx, edx
sub r11d, ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
mov r9d, r11d
mov edx, r10d
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_MoveWindow]
jmp 0x14003d44d
cmp r14d, 0x82a
jne 0x14003d44d
lea rcx, [rbp - 0x70]
call fcn.1400124e0
nop
lea rdx, str.HwSettings_recive_restor_msg
lea rcx, [rbp - 0x60]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::HwSettingWnd::HandleMessage
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 - 0x70]
mov edx, 3
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 - 0x70]
call fcn.14000e840
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
mov rcx, rdi
test eax, eax
jne 0x14003d788
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov rcx, rdi
test eax, eax
jne 0x14003d788
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov edx, 1
jmp 0x14003d793
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov edx, 9
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetLastActivePopup]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CWindowWnd::GetHWND_void_const___ptr64]
mov rcx, rax
mov dword [rsp + 0x30], 3
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [rbx + 1]
jmp 0x14003d9d2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003d4b0
cmp rcx, rdx
je 0x14003d9c0
cmp rsi, qword [rcx + 0x20]
jb 0x14003d9c0
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x78], xmm0
xor ebx, ebx
mov word [rsp + 0x68], bx
lea rdx, str.seting_dfssearch_shortcutkey_localname
lea rcx, [rsp + 0x68]
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 [rdi + 0xe70], ebx
mov qword [rdi + 0xe78], rsi
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
mov r15d, 0x8000
test r15w, ax
je 0x14003d85e
or dword [rdi + 0xe70], 2
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test r15w, ax
je 0x14003d876
or dword [rdi + 0xe70], 4
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test r15w, ax
je 0x14003d88e
or dword [rdi + 0xe70], 1
mov eax, dword [rdi + 0xe70]
test eax, eax
jne 0x14003d8ab
cmp rsi, 8
je 0x14003d8a4
cmp rsi, 0x2e
jne 0x14003d8ab
mov qword [rdi + 0xe78], rbx
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rcx, [rdi + 0x78]
call qword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_wchar_t_const____ptr64_const___ptr64]
mov r15, rax
test rax, rax
jne 0x14003d943
lea rcx, [rbp + 0x90]
call fcn.1400124e0
nop
lea rdx, str.shortcutKeyNameUI_is_null_return
lea rcx, [rbp + 0xa0]
call fcn.140013a90
mov rcx, rax
lea rdx, [0x1400b7d10]
call fcn.1400138a0
mov rcx, rax
lea rdx, str.Hwa::Ux::HwSettingWnd::DisplayeShortcutKeyToUI
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 + 0x90]
lea edx, [r15 + 3]
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 + 0x90]
call fcn.14000e840
jmp 0x14003d97c
lea rcx, [rbp - 0x70]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::constructor_void____ptr64]
nop
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400604f0
mov rbx, qword [r15]
lea rcx, [rbp - 0x70]
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, r15
call qword [rbx + 0x58]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.DuiLib.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14003d9c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d9bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d9bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
mov r9, r13
mov r8, rsi
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.DuiLib.dll_public_virtual:_long_long___int64____cdecl_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_long_long_unsigned___int64___long_long___int64_____ptr64]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140093940
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret