Function at 0x140001860
Capabilities:
Print debug messages

Disassembly:
push r12
push r14
push r15
mov eax, 0x1110
call fcn.140004b20
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1130], rbx
mov qword [rsp + 0x1140], rsi
mov qword [rsp + 0x1148], rdi
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_COleCntrFrameWndEx::EnableAutoHidePanes], rax
mov rbx, rdx
lea rdx, [0x140005c00]
lea rcx, [0x140005c00]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400018c6
movaps xmm0, xmmword [rbx]
jmp 0x1400018f0
mov dword [rsp + 0x40], 0x10
lea r9, [rsp + 0x40]
mov r8d, 0x10
lea rdx, [rsp + 0x60]
lea rcx, [0x140005c00]
call qword [sym.imp.SETUPAPI.dll_SetupDiClassGuidsFromNameW]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001e45
mov dword [rsp + 0x80], 0x20
xor r12d, r12d
mov edi, r12d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
movzx ebx, word [0x140005c00]
mov word [rsp + 0xaf0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xaf2]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0xd00], bx
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0xd02]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0x2b0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2b2]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0x8e0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x8e2]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + CMFCBaseAccessibleObject::accLocation], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x6d2]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0x4c0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x4c2]
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0xa0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xa2]
call sub.VCRUNTIME140.dll_memset
lea r14d, [r12 + 1]
lea r15, vtable.StringRegHelper.0
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x80]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x140001a9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x140001a64
lea rcx, str._DeviceIO__other_error
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
jmp 0x140001e47
mov r8d, edi
lea rdx, str._DeviceIO__No_more_device___count_:__d
lea rcx, [0x14000ae40]
call fcn.140002ea0
lea rcx, [0x14000ae40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
jmp 0x140001e47
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xaf0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xd00]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x8e0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x6d0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0xaf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x200
lea rax, [rsp + 0xd00]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r14d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea rdx, str.ACPIVEN_ASUSDEV_9001
lea rcx, [rsp + 0xd00]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov ecx, dword [0x14000aaa0]
test eax, eax
cmove ecx, r14d
mov dword [0x14000aaa0], ecx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass_
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.1400016c0
mov ecx, 0x510
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
test rax, rax
je 0x140001c69
mov qword [rax], r15
mov qword [rax + 8], 0xffffffff80000002
lea rcx, [rax + 0x10]
lea r8, [rsp + 0xa0]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x410]
lea r8, str.DriverVersion
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rsp + 0x8e0]
mov rcx, rbx
call fcn.140003560
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass_
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.1400016c0
mov ecx, 0x510
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
test rax, rax
je 0x140001cff
mov qword [rax], r15
mov qword [rax + 8], 0xffffffff80000002
lea rcx, [rax + 0x10]
lea r8, [rsp + 0xa0]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x410]
lea r8, str.DriverDate
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rsp + 0x6d0]
mov rcx, rbx
call fcn.140003560
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass_
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0xa0]
call fcn.1400016c0
mov ecx, 0x510
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
test rax, rax
je 0x140001d95
mov qword [rax], r15
mov qword [rax + 8], 0xffffffff80000002
lea rcx, [rax + 0x10]
lea r8, [rsp + 0xa0]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x410]
lea r8, str.ProviderName
mov edx, 0x80
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rsp + 0x4c0]
mov rcx, rbx
call fcn.140003560
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x6d0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x8e0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd00]
lea r8, [rsp + 0xaf0]
lea rdx, str.Friendly_Name_:__s_nHID_:__s_nGUID_:__s_nVersion_:__s_nDate_:__s_nProvider_:__s_n
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rax, [rsp + 0x4c0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6d0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x8e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd00]
lea r8, [rsp + 0xaf0]
lea rdx, str._s____s____s____s____s
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov rdx, qword [rsp + 0x40]
call fcn.140001e80
inc edi
jmp 0x140001a20
xor eax, eax
mov rcx, qword [rsp + reloc.mfc140u.dll_COleCntrFrameWndEx::EnableAutoHidePanes]
xor rcx, rsp
call fcn.140003c50
lea r11, [rsp + 0x1110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret