Function at 0x1400fae00
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov qword [rbp + 0x1b0], 0xfffffffffffffffe
mov qword [rsp + 0x568], rbx
mov edi, edx
mov rbx, rcx
xor r15d, r15d
mov dword [rbp + 0x460], r15d
mov qword [rcx + 0x468], r15
xor r8d, r8d
add rcx, 0x430
call fcn.14004b620
cmp eax, 0x80004005
jne 0x1400fae8b
mov r8d, edi
lea rdx, str.Unable_to_open_device__d_n
lea rcx, [rbp + 0x220]
call fcn.14012161c
lea r8, [0x140165848]
lea rdx, [rbp + 0x220]
mov rcx, rbx
call fcn.1400fd410
jmp 0x1400fceb5
lea rdi, [rbx + 0x438]
mov esi, r15d
mov dword [rbp + 0x94], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400faebc
mov rax, qword [rcx]
lea r8, [rbp + 0x94]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov esi, dword [rbp + 0x94]
mov edx, r15d
mov dword [rsp + 0x3c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400faedf
mov rax, qword [rcx]
lea r8, [rsp + 0x3c]
mov edx, 0x10000102
call qword [rax + 0x18]
mov edx, dword [rsp + 0x3c]
mov r8d, esi
mov rcx, rbx
call fcn.1400fec20
mov r8, rax
lea rdx, str.Device_Type_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x24], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400faf1c
mov rax, qword [rcx]
lea r8, [rbp + 0x24]
mov edx, 0x10000171
call qword [rax + 0x18]
mov eax, dword [rbp + 0x24]
lea rcx, str.Disabled
lea r8, str.Enabled
test eax, eax
cmovne r8, rcx
lea rdx, str.Device_State_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r15d
mov dword [rsp + 0x44], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400faf63
mov rax, qword [rcx]
lea r8, [rsp + 0x44]
mov edx, 0x1000323
call qword [rax + 0x18]
mov esi, dword [rsp + 0x44]
lea rax, [0x14019ddd0]
lea r8, [0x14019ddd8]
cmp esi, 0xffffffff
cmove r8, rax
lea rdx, str.Master_Device_t
mov rcx, rbx
call fcn.1400fd410
mov r8d, 0x10000602
lea rdx, [rbp + 0x128]
mov rcx, rdi
call fcn.14003dee0
mov rcx, qword [rax]
test rcx, rcx
je 0x1400fafa9
mov rcx, qword [rcx]
jmp 0x1400fafac
mov rcx, r15
lea rdx, [rbp + 0x220]
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400fafc0
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x1400fafe1
call fcn.14003ff40
lea rcx, [rbp + 0x220]
or r12, 0xffffffffffffffff
mov rax, r12
nop
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400faff0
lea r13, [0x140169238]
lea r8, [rbp + 0x220]
test rax, rax
cmove r8, r13
lea rdx, str.Plug_and_Play_ID_t
mov rcx, rbx
call fcn.1400fd410
lea rdx, [rbp + 0x1b8]
mov rcx, rbx
call fcn.1400fd910
nop
cmp qword [rax + 0x18], 8
jb 0x1400fb038
mov rax, qword [rax]
mov r8, rax
lea rdx, str.Board_Number_t
mov rcx, rbx
call fcn.1400fd410
nop
cmp qword [rbp + 0x1d0], 8
jb 0x1400fb061
mov rcx, qword [rbp + 0x1b8]
call fcn.14011f898
mov dword [rbp + 0xcc], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb089
mov rax, qword [rcx]
lea r8, [rbp + 0xcc]
mov edx, 0x10000cd
call qword [rax + 0x18]
mov r15d, dword [rbp + 0xcc]
cmp esi, 0xffffffff
je 0x1400fb1d7
lea rdx, str.SynCom.PointingDevice
lea rcx, [rbp + 0xd8]
call fcn.14003b460
lea rax, vtable.CDummySynDevice.0
mov qword [rbp + 0xf0], rax
xor r15d, r15d
mov dword [rbp + 0xf8], r15d
mov qword [rbp + 0xe8], r15
lea rax, vtable.SynDeviceEx.0
mov qword [rbp + 0xd0], rax
lea rax, vtable.SynDeviceEx.1.0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x100], r12d
mov dword [rbp + 0x104], r15d
lea rcx, [rbp + 0xf0]
mov rax, qword [rbp + 0xd8]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x78]
test eax, eax
jne 0x1400fb140
lea rcx, [rbp + 0xf0]
mov rax, qword [rbp + 0xd8]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x88]
mov ecx, dword [rbp + 0x100]
test eax, eax
cmove ecx, esi
mov dword [rbp + 0x100], ecx
mov dword [rsp + 0x4c], r15d
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1400fb16d
mov rax, qword [rcx]
lea r8, [rsp + 0x4c]
mov edx, 0x10000cd
call qword [rax + 0x18]
mov rcx, qword [rbp + 0xd8]
mov r15d, dword [rsp + 0x4c]
lea rax, vtable.SynDevice.0
mov qword [rbp + 0xd0], rax
lea rax, vtable.SynDevice.1.0
mov qword [rbp + 0xe0], rax
mov rdx, qword [rbp + 0xe8]
test rdx, rdx
je 0x1400fb1b0
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbp + 0xe8], 0
mov rcx, qword [rbp + 0xd8]
lea rax, vtable.CDummySynDevice.0
mov qword [rbp + 0xf0], rax
lea rax, vtable.SynWrapEvents_class_SynDevice__struct_ISynDevice__struct__ISynDeviceEvents_.0
mov qword [rbp + 0xd0], rax
test rcx, rcx
je 0x1400fb1d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12d, r15d
and r12d, 0xffff0000
cmp r12d, 0x200000
jne 0x1400fb228
lea rdx, [rbp + 0x118]
mov rcx, rbx
call fcn.1400fda10
nop
mov r8, qword [rax]
lea rdx, str.ProductID_Version_t
mov rcx, rbx
call fcn.1400fd410
nop
mov rdx, qword [rbp + 0x118]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400fb228
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp + 0x478], 6
mov rcx, qword [rbx + 0x438]
test rcx, rcx
jne 0x1400fb245
lea rcx, [rbx + 0x450]
mov rax, qword [rcx]
lea r8, [rbp + 0x478]
mov edx, 0x10000e3
call qword [rax + 0x18]
mov r14d, dword [rbp + 0x478]
and r14d, 0xfff
mov dword [rbp + 0x478], 7
mov rcx, qword [rbx + 0x438]
test rcx, rcx
jne 0x1400fb282
lea rcx, [rbx + 0x450]
mov rax, qword [rcx]
lea r8, [rbp + 0x478]
mov edx, 0x10000e3
call qword [rax + 0x18]
mov ecx, dword [rbp + 0x478]
movzx r9d, cl
shl r9d, 0xc
mov eax, ecx
and eax, 0xf00
or r9d, eax
shl r9d, 4
sar ecx, 0x10
and ecx, 0xfff
or r9d, ecx
test r14d, r14d
jne 0x1400fb2cf
test r9d, r9d
jne 0x1400fb2cf
lea rsi, str.Unserialized
jmp 0x1400fb2e6
lea rsi, [rbx + 0x30]
mov r8d, r14d
lea rdx, str.0x_03X_06X
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, rsi
lea rdx, str.Serial_Number_t
mov rcx, rbx
call fcn.1400fd410
lea rdx, [rbp + 0x1d8]
mov rcx, rbx
call fcn.1400fd760
nop
cmp qword [rax + 0x18], 8
jb 0x1400fb312
mov rax, qword [rax]
mov r8, rax
lea rdx, str.OEM________t
mov rcx, rbx
call fcn.1400fd410
nop
cmp qword [rbp + 0x1f0], 8
jb 0x1400fb33b
mov rcx, qword [rbp + 0x1d8]
call fcn.14011f898
mov r8d, 0x10000603
lea rdx, [rbp + 0x120]
mov rcx, rdi
call fcn.14003dee0
mov rcx, qword [rax]
test rcx, rcx
je 0x1400fb35b
mov rcx, qword [rcx]
lea rdx, [rbp + 0x220]
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400fb370
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x1400fb391
call fcn.14003ff40
lea rcx, [rbp + 0x220]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400fb3a0
lea r8, [rbp + 0x220]
test rax, rax
cmove r8, r13
lea rdx, str.Config_Key_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r15d
mov rcx, rbx
call fcn.1400feee0
mov r8, rax
lea rdx, str.Port_t
mov rcx, rbx
call fcn.1400fd410
cmp r12d, 0x20000
jne 0x1400fb42c
xor r12d, r12d
mov edx, r12d
mov dword [rbp + 0x2c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb410
mov rax, qword [rcx]
lea r8, [rbp + 0x2c]
mov edx, 0x10000d6
call qword [rax + 0x18]
mov edx, dword [rbp + 0x2c]
mov rcx, rbx
call fcn.1400fefc0
mov r8, rax
lea rdx, str.Keyboard_controller_t
mov rcx, rbx
call fcn.1400fd410
jmp 0x1400fb42f
xor r12d, r12d
mov edx, r12d
mov dword [rsp + 0x54], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb452
mov rax, qword [rcx]
lea r8, [rsp + 0x54]
mov edx, 0x10000135
call qword [rax + 0x18]
mov edx, dword [rsp + 0x54]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Left_Button_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rbp + 0xa0], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb495
mov rax, qword [rcx]
lea r8, [rbp + 0xa0]
mov edx, 0x10000136
call qword [rax + 0x18]
mov edx, dword [rbp + 0xa0]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Right_Button_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rsp + 0x5c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb4d2
mov rax, qword [rcx]
lea r8, [rsp + 0x5c]
mov edx, 0x10000138
call qword [rax + 0x18]
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Middle_Button_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rbp + 0x34], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb50c
mov rax, qword [rcx]
lea r8, [rbp + 0x34]
mov edx, 0x1000015b
call qword [rax + 0x18]
mov edx, dword [rbp + 0x34]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Fourth_Button_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rsp + 0x64], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb549
mov rax, qword [rcx]
lea r8, [rsp + 0x64]
mov edx, 0x1000015c
call qword [rax + 0x18]
mov edx, dword [rsp + 0x64]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Fifth_Button_Action_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rbp + 0x9c], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fceb5
mov rax, qword [rcx]
lea r8, [rbp + 0x9c]
mov edx, 0x10000102
call qword [rax + 0x18]
mov eax, dword [rbp + 0x9c]
cmp eax, 9
ja 0x1400fceb5
mov ecx, 0x324
bt ecx, eax
jae 0x1400fceb5
mov edx, r12d
mov dword [rsp + 0x6c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb5c8
mov rax, qword [rcx]
lea r8, [rsp + 0x6c]
mov edx, 0x10000104
call qword [rax + 0x18]
mov edx, dword [rsp + 0x6c]
mov r8d, r15d
mov rcx, rbx
call fcn.1400ff0f0
mov r8, rax
lea rdx, str.Firmware_Revision_t
mov rcx, rbx
call fcn.1400fd410
mov r15d, r12d
mov dword [rbp + 0x3c], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb607
mov rax, qword [rcx]
lea r8, [rbp + 0x3c]
mov edx, 0x1000014f
call qword [rax + 0x18]
mov r15d, dword [rbp + 0x3c]
mov r14d, r12d
mov dword [rsp + 0x74], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb62c
mov rax, qword [rcx]
lea r8, [rsp + 0x74]
mov edx, 0x1000014e
call qword [rax + 0x18]
mov r14d, dword [rsp + 0x74]
mov esi, r12d
mov dword [rbp + 0xb8], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb656
mov rax, qword [rcx]
lea r8, [rbp + 0xb8]
mov edx, 0x1000014d
call qword [rax + 0x18]
mov esi, dword [rbp + 0xb8]
mov edx, r12d
mov dword [rsp + 0x7c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb679
mov rax, qword [rcx]
lea r8, [rsp + 0x7c]
mov edx, 0x1000010e
call qword [rax + 0x18]
mov edx, dword [rsp + 0x7c]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, esi
mov rcx, rbx
call fcn.1400ff1e0
mov r8, rax
lea rdx, str.Gestures_Enabled_t
mov rcx, rbx
call fcn.1400fd410
lea rsi, [0x14019e1b8]
lea r14, [rbx + 0x430]
cmp dword [r14 + 0x30], 0xffffffff
je 0x1400fbcdb
mov edx, r12d
mov dword [rbp + 0x44], edx
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400fb6d8
mov rax, qword [rcx]
lea r8, [rbp + 0x44]
mov edx, 0x10000102
call qword [rax + 0x18]
mov edx, dword [rbp + 0x44]
mov eax, r12d
cmp edx, 2
sete al
test eax, eax
je 0x1400fbcdb
mov eax, r12d
mov dword [rbp - 0x7c], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb709
mov rax, qword [rcx]
lea r8, [rbp - 0x7c]
mov edx, 0x10000146
call qword [rax + 0x18]
mov eax, dword [rbp - 0x7c]
lea r15, [0x14019ddd8]
mov r8, r15
test eax, eax
lea rax, [0x14019ddd0]
cmovne r8, rax
lea rdx, str.MultiFinger_Gestures_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0xa8], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb758
mov rax, qword [rcx]
lea r8, [rbp + 0xa8]
mov edx, 0x10000177
call qword [rax + 0x18]
mov eax, dword [rbp + 0xa8]
mov r8, r15
test eax, eax
lea rax, [0x14019ddd0]
cmovne r8, rax
lea rdx, str.MultiFinger_Report_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp - 0x74], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb797
mov rax, qword [rcx]
lea r8, [rbp - 0x74]
mov edx, 0x1000379
call qword [rax + 0x18]
mov eax, dword [rbp - 0x74]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Max_Number_Finger_Report_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0x4c], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb7dd
mov rax, qword [rcx]
lea r8, [rbp + 0x4c]
mov edx, 0x1000017a
call qword [rax + 0x18]
mov eax, dword [rbp + 0x4c]
mov r8, r15
test eax, eax
lea rax, [0x14019ddd0]
cmovne r8, rax
lea rdx, str.MultiFinger_PacketGroups_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp - 0x6c], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb81c
mov rax, qword [rcx]
lea r8, [rbp - 0x6c]
mov edx, 0x10000189
call qword [rax + 0x18]
mov eax, dword [rbp - 0x6c]
mov r8, r15
test eax, eax
lea rax, [0x14019ddd0]
cmovne r8, rax
lea rdx, str.Cover_Gesture_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0xc8], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb864
mov rax, qword [rcx]
lea r8, [rbp + 0xc8]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0xc8]
bt eax, 0x11
mov r8, r15
lea rax, [0x14019ddd0]
cmovb r8, rax
lea rdx, str.Supports_W_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp - 0x64], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb8a5
mov rax, qword [rcx]
lea r8, [rbp - 0x64]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp - 0x64]
bt eax, 0xb
mov r8, r15
lea rax, [0x14019ddd0]
cmovb r8, rax
lea rdx, str.Imaging_Sensor_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0x54], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb8e6
mov rax, qword [rcx]
lea r8, [rbp + 0x54]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x54]
bt eax, 9
mov r8, r15
lea rax, [0x14019ddd0]
cmovb r8, rax
lea rdx, str.Report_V_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp - 0x5c], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb927
mov rax, qword [rcx]
lea r8, [rbp - 0x5c]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp - 0x5c]
bt eax, 0xd
lea r8, [0x14019ddd0]
cmovb r8, r15
lea rdx, str.1:1_FW_Filter_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0xb0], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb96e
mov rax, qword [rcx]
lea r8, [rbp + 0xb0]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0xb0]
bt eax, 0xc
mov r8, r15
lea rax, [0x14019ddd0]
cmovb r8, rax
lea rdx, str.RMI_Backdoor_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp - 0x54], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb9af
mov rax, qword [rcx]
lea r8, [rbp - 0x54]
mov edx, 0x10000150
call qword [rax + 0x18]
mov eax, dword [rbp - 0x54]
lea rcx, [0x14019e1ac]
mov r8, rsi
test eax, eax
cmovne r8, rcx
lea rdx, str.Taps_Zones_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rbp + 0x5c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fb9ee
mov rax, qword [rcx]
lea r8, [rbp + 0x5c]
mov edx, 0x10000131
call qword [rax + 0x18]
mov edx, dword [rbp + 0x5c]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Top_Left_Corner_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rbp - 0x4c], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fba28
mov rax, qword [rcx]
lea r8, [rbp - 0x4c]
mov edx, 0x10000132
call qword [rax + 0x18]
mov edx, dword [rbp - 0x4c]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Top_Right_Corner_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rbp + 0xc0], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fba6b
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
mov edx, 0x10000134
call qword [rax + 0x18]
mov edx, dword [rbp + 0xc0]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Bottom_Left_Corner_Action_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r12d
mov dword [rbp - 0x44], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbaa5
mov rax, qword [rcx]
lea r8, [rbp - 0x44]
mov edx, 0x10000133
call qword [rax + 0x18]
mov edx, dword [rbp - 0x44]
mov rcx, rbx
call fcn.1400ffe20
mov r8, rax
lea rdx, str.Bottom_Right_Corner_Action_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rbp + 0x64], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbae9
mov rax, qword [rcx]
lea r8, [rbp + 0x64]
mov edx, 0x10000153
call qword [rax + 0x18]
cmp dword [rbp + 0x64], 0
je 0x1400fbae9
lea r8, str.Always
jmp 0x1400fbb1d
mov eax, r12d
mov dword [rbp - 0x3c], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbb09
mov rax, qword [rcx]
lea r8, [rbp - 0x3c]
mov edx, 0x10000152
call qword [rax + 0x18]
mov eax, dword [rbp - 0x3c]
lea rcx, str.When_Dragging
lea r8, str.None
test eax, eax
cmovne r8, rcx
lea rdx, str.Edge_Motion_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0x98], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbb55
mov rax, qword [rcx]
lea r8, [rbp + 0x98]
mov edx, 0x10000111
call qword [rax + 0x18]
mov eax, dword [rbp + 0x98]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Edge_Motion_Speed_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp - 0x34], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbb9b
mov rax, qword [rcx]
lea r8, [rbp - 0x34]
mov edx, 0x10000159
call qword [rax + 0x18]
mov eax, dword [rbp - 0x34]
mov r8, r15
test eax, eax
lea rax, [0x14019ddd0]
cmovne r8, rax
lea rdx, str.Pressure_Edge_Motion_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rsp + 0x30], r12d
mov rcx, qword [r14 + 8]
test rcx, rcx
jne 0x1400fbbcc
lea rcx, [r14 + 0x20]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 0x100015e
call qword [rax + 0x18]
test eax, eax
jne 0x1400fbbee
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.1400ff9d0
jmp 0x1400fbbf1
mov rax, r13
mov r8, rax
lea rdx, str.Slow_Motion_Key_t
mov rcx, rbx
call fcn.1400fd410
mov rcx, qword [r14 + 8]
test rcx, rcx
jne 0x1400fbc10
lea rcx, [r14 + 0x20]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 0x100015f
call qword [rax + 0x18]
test eax, eax
jne 0x1400fbc32
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.1400ff9d0
jmp 0x1400fbc35
mov rax, r13
mov r8, rax
lea rdx, str.Constrained_Motion_Key_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rbp + 0x6c], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbc7d
mov rax, qword [rcx]
lea r8, [rbp + 0x6c]
mov edx, 0x1000131
call qword [rax + 0x18]
mov ecx, dword [rbp + 0x6c]
test ecx, ecx
je 0x1400fbc7d
mov r8d, 0xa
lea rdx, [rbp + 0x220]
call fcn.140120bc4
jmp 0x1400fbc80
mov rax, r13
mov r8, rax
lea rdx, str.Slow_Cursor_Speed_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rbp - 0x2c], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbcc9
mov rax, qword [rcx]
lea r8, [rbp - 0x2c]
mov edx, 0x100013b
call qword [rax + 0x18]
mov ecx, dword [rbp - 0x2c]
test ecx, ecx
je 0x1400fbcc9
mov r8d, 0xa
lea rdx, [rbp + 0x220]
call fcn.140120bc4
mov r13, rax
mov r8, r13
lea rdx, str.Tapping_Speed_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0xa4], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbd04
mov rax, qword [rcx]
lea r8, [rbp + 0xa4]
mov edx, 0x10000128
call qword [rax + 0x18]
mov eax, dword [rbp + 0xa4]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Touch_Threshold_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rbp - 0x24], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbd61
mov rax, qword [rcx]
lea r8, [rbp - 0x24]
mov edx, 0x1000132
call qword [rax + 0x18]
mov ecx, dword [rbp - 0x24]
test ecx, ecx
je 0x1400fbd61
mov r8d, 0xa
lea rdx, [rbp + 0x220]
call fcn.140120bc4
mov rsi, rax
mov r8, rsi
lea rdx, str.PalmCheck_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r12d
mov dword [rbp + 0x74], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbd93
mov rax, qword [rcx]
lea r8, [rbp + 0x74]
mov edx, 0x10000127
call qword [rax + 0x18]
mov eax, dword [rbp + 0x74]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Maximum_Z_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r12d
mov dword [rbp - 0x1c], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbdda
mov rax, qword [rcx]
lea r8, [rbp - 0x1c]
mov edx, 0x10000114
call qword [rax + 0x18]
mov esi, dword [rbp - 0x1c]
mov r8d, r12d
mov dword [rbp + 0xac], r12d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbe05
mov rax, qword [rcx]
lea r8, [rbp + 0xac]
mov edx, 0x10000113
call qword [rax + 0x18]
mov r8d, dword [rbp + 0xac]
mov r9d, esi
lea rdx, str.__d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Resolution__DPI__t
mov rcx, rbx
call fcn.1400fd410
xor r15d, r15d
mov dword [rbp - 0x14], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbe4e
mov rax, qword [rcx]
lea r8, [rbp - 0x14]
mov edx, 0x10000118
call qword [rax + 0x18]
mov r15d, dword [rbp - 0x14]
xor r14d, r14d
mov dword [rbp + 0x7c], r14d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbe70
mov rax, qword [rcx]
lea r8, [rbp + 0x7c]
mov edx, 0x10000117
call qword [rax + 0x18]
mov r14d, dword [rbp + 0x7c]
xor esi, esi
mov dword [rbp - 0xc], esi
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbe8f
mov rax, qword [rcx]
lea r8, [rbp - 0xc]
mov edx, 0x10000116
call qword [rax + 0x18]
mov esi, dword [rbp - 0xc]
xor r8d, r8d
mov dword [rbp + 0xb4], r8d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbeba
mov rax, qword [rcx]
lea r8, [rbp + 0xb4]
mov edx, 0x10000115
call qword [rax + 0x18]
mov r8d, dword [rbp + 0xb4]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9d, esi
lea rdx, str.__d___d____d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Sensor_Rectangle_t
mov rcx, rbx
call fcn.1400fd410
lea r13, [rbx + 0x430]
xor r15d, r15d
cmp dword [r13 + 0x30], 0xffffffff
je 0x1400fc5f5
mov edx, r15d
mov dword [rbp - 4], edx
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400fbf21
mov rax, qword [rcx]
lea r8, [rbp - 4]
mov edx, 0x10000102
call qword [rax + 0x18]
mov edx, dword [rbp - 4]
mov eax, r15d
cmp edx, 2
sete al
test eax, eax
je 0x1400fc5f5
mov dword [rbp + 0x84], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbf5a
mov rax, qword [rcx]
lea r8, [rbp + 0x84]
mov edx, 0x100001e8
call qword [rax + 0x18]
mov r15d, dword [rbp + 0x84]
xor r14d, r14d
mov dword [rbp + 4], r14d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbf7c
mov rax, qword [rcx]
lea r8, [rbp + 4]
mov edx, 0x100001e7
call qword [rax + 0x18]
mov r14d, dword [rbp + 4]
xor esi, esi
mov dword [rbp + 0xbc], esi
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbfa4
mov rax, qword [rcx]
lea r8, [rbp + 0xbc]
mov edx, 0x100001e6
call qword [rax + 0x18]
mov esi, dword [rbp + 0xbc]
xor r8d, r8d
mov dword [rbp + 0xc], r8d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fbfc6
mov rax, qword [rcx]
lea r8, [rbp + 0xc]
mov edx, 0x100001e5
call qword [rax + 0x18]
mov r8d, dword [rbp + 0xc]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9d, esi
lea rdx, str.__d___d____d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Sensor_FW_Coords_t
mov rcx, rbx
call fcn.1400fd410
xor r15d, r15d
mov dword [rbp + 0x8c], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc022
mov rax, qword [rcx]
lea r8, [rbp + 0x8c]
mov edx, 0x1000011c
call qword [rax + 0x18]
mov r15d, dword [rbp + 0x8c]
xor r14d, r14d
mov dword [rbp + 0x14], r14d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc044
mov rax, qword [rcx]
lea r8, [rbp + 0x14]
mov edx, 0x1000011b
call qword [rax + 0x18]
mov r14d, dword [rbp + 0x14]
xor esi, esi
mov dword [rbp + 0xc4], esi
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc06c
mov rax, qword [rcx]
lea r8, [rbp + 0xc4]
mov edx, 0x1000011a
call qword [rax + 0x18]
mov esi, dword [rbp + 0xc4]
xor r8d, r8d
mov dword [rbp + 0x1c], r8d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc08e
mov rax, qword [rcx]
lea r8, [rbp + 0x1c]
mov edx, 0x10000119
call qword [rax + 0x18]
mov r8d, dword [rbp + 0x1c]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9d, esi
lea rdx, str.__d___d____d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Bezel_Rectangle_t
mov rcx, rbx
call fcn.1400fd410
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc0e4
mov rax, qword [rcx]
lea r8, [rsp + 0x34]
mov edx, 0x10000120
call qword [rax + 0x18]
mov r15d, dword [rsp + 0x34]
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc109
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov edx, 0x1000011f
call qword [rax + 0x18]
mov r14d, dword [rsp + 0x38]
xor esi, esi
mov dword [rsp + 0x40], esi
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc12b
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 0x1000011e
call qword [rax + 0x18]
mov esi, dword [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x48], r8d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc150
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov edx, 0x1000011d
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9d, esi
lea rdx, str.__d___d____d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Edge_Motion_Rectangle_t
mov rcx, rbx
call fcn.1400fd410
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc1a6
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, 0x10000126
call qword [rax + 0x18]
mov r15d, dword [rsp + 0x50]
xor r14d, r14d
mov dword [rsp + 0x58], r14d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc1cb
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000125
call qword [rax + 0x18]
mov r14d, dword [rsp + 0x58]
xor esi, esi
mov dword [rsp + 0x60], esi
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc1ed
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov edx, 0x10000124
call qword [rax + 0x18]
mov esi, dword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x68], r8d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc212
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x10000123
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x68]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9d, esi
lea rdx, str.__d___d____d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Wide_Border_Rectangle_t
mov rcx, rbx
call fcn.1400fd410
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x70], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc26a
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 0x1000012a
call qword [rax + 0x18]
mov esi, dword [rsp + 0x70]
mov r8d, r15d
mov dword [rsp + 0x78], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc28f
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
mov edx, 0x10000129
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x78]
mov r9d, esi
lea rdx, str.__d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Top_Left_Corner_Zone_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r15d
mov dword [rbp - 0x80], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc2d7
mov rax, qword [rcx]
lea r8, [rbp - 0x80]
mov edx, 0x1000012c
call qword [rax + 0x18]
mov esi, dword [rbp - 0x80]
mov r8d, r15d
mov dword [rbp - 0x78], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc2f9
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
mov edx, 0x1000012b
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x78]
mov r9d, esi
lea rdx, str.__d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Top_Right_Corner_Zone_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r15d
mov dword [rbp - 0x70], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc341
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
mov edx, 0x10000130
call qword [rax + 0x18]
mov esi, dword [rbp - 0x70]
mov r8d, r15d
mov dword [rbp - 0x68], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc363
mov rax, qword [rcx]
lea r8, [rbp - 0x68]
mov edx, 0x1000012f
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x68]
mov r9d, esi
lea rdx, str.__d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Bottom_Left_Corner_Zone_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r15d
mov dword [rbp - 0x60], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc3ab
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
mov edx, 0x1000012e
call qword [rax + 0x18]
mov esi, dword [rbp - 0x60]
mov r8d, r15d
mov dword [rbp - 0x58], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc3cd
mov rax, qword [rcx]
lea r8, [rbp - 0x58]
mov edx, 0x1000012d
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x58]
mov r9d, esi
lea rdx, str.__d___d_
lea rcx, [rbx + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbx + 0x30]
lea rdx, str.Bottom_Right_Corner_Zone_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r15d
mov dword [rbp - 0x50], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc414
mov rax, qword [rcx]
lea r8, [rbp - 0x50]
mov edx, 0x10000105
call qword [rax + 0x18]
mov edx, dword [rbp - 0x50]
mov rcx, rbx
call fcn.1400ffb50
mov r8, rax
lea rdx, str.Bezel_Geometry_t
mov rcx, rbx
call fcn.1400fd410
cmp dword [r13 + 0x30], 0xffffffff
je 0x1400fc45b
mov dword [rbp - 0x48], r15d
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400fc45b
mov rax, qword [rcx]
lea r8, [rbp - 0x48]
mov edx, 0x10000103
call qword [rax + 0x18]
cmp dword [rbp - 0x48], 2
je 0x1400fc573
mov eax, r15d
mov dword [rbp - 0x40], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc47b
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
mov edx, 0x100001e1
call qword [rax + 0x18]
mov eax, dword [rbp - 0x40]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Transmitter_Pitch_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp - 0x38], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc4c1
mov rax, qword [rcx]
lea r8, [rbp - 0x38]
mov edx, 0x100001e2
call qword [rax + 0x18]
mov eax, dword [rbp - 0x38]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Receiver_Pitch_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp - 0x30], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc507
mov rax, qword [rcx]
lea r8, [rbp - 0x30]
mov edx, 0x100001e3
call qword [rax + 0x18]
mov eax, dword [rbp - 0x30]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Number_of_Transmitters_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp - 0x28], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc54d
mov rax, qword [rcx]
lea r8, [rbp - 0x28]
mov edx, 0x100001e4
call qword [rax + 0x18]
mov eax, dword [rbp - 0x28]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Number_of_Receivers_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp - 0x20], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc593
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
mov edx, 0x10000179
call qword [rax + 0x18]
mov eax, dword [rbp - 0x20]
lea r14, [0x14019ddd8]
mov r8, r14
test eax, eax
lea rsi, [0x14019ddd0]
cmovne r8, rsi
lea rdx, str.ClearPad_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp - 0x18], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc5d9
mov rax, qword [rcx]
lea r8, [rbp - 0x18]
mov edx, 0x10000170
call qword [rax + 0x18]
mov eax, dword [rbp - 0x18]
bt eax, 0x17
mov r8, r14
cmovb r8, rsi
lea rdx, str.New_Absolute_Packet_t
mov rcx, rbx
call fcn.1400fd410
jmp 0x1400fc5fc
lea r14, [0x14019ddd8]
mov esi, r15d
mov dword [rbp - 0x10], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc61d
mov rax, qword [rcx]
lea r8, [rbp - 0x10]
mov edx, 0x10000145
call qword [rax + 0x18]
mov esi, dword [rbp - 0x10]
mov edx, r15d
mov dword [rbp - 8], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc63d
mov rax, qword [rcx]
lea r8, [rbp - 8]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov edx, dword [rbp - 8]
mov r8d, esi
mov rcx, rbx
call fcn.1400ffd20
mov r8, rax
lea rdx, str.Buttons_t
mov rcx, rbx
call fcn.1400fd410
mov dword [rbp], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc6a0
mov rax, qword [rcx]
lea r8, [rbp]
mov edx, 0x10000143
call qword [rax + 0x18]
mov ecx, dword [rbp]
test ecx, ecx
jle 0x1400fc6a0
mov r8d, 0xa
lea rdx, [rbp + 0x220]
call fcn.140120bc4
mov r8, rax
lea rdx, str.Extended_Buttons_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 8], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc6c0
mov rax, qword [rcx]
lea r8, [rbp + 8]
mov edx, 0x10000147
call qword [rax + 0x18]
mov eax, dword [rbp + 8]
mov r8, r14
test eax, eax
lea rax, [0x14019ddd0]
cmovne r8, rax
lea rdx, str.Stylus_Input_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x10], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc6ff
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x10]
bt eax, 0x14
lea rax, str.Type_1
lea rsi, str.None
mov r8, rsi
cmovb r8, rax
lea rdx, str.Secure_Key_t
mov rcx, rbx
call fcn.1400fd410
mov edx, r15d
mov dword [rbp + 0x18], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc747
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
mov edx, 0x10000d4
call qword [rax + 0x18]
mov edx, dword [rbp + 0x18]
dec edx
je 0x1400fc765
dec edx
je 0x1400fc75c
dec edx
jne 0x1400fc76c
lea rsi, [0x14019d8b4]
jmp 0x1400fc76c
lea rsi, [0x14017433c]
jmp 0x1400fc76c
lea rsi, [0x14019d8b0]
mov r8, rsi
lea rdx, str.Lock_Type_t
mov rcx, rbx
call fcn.1400fd410
mov r8d, 0x100001eb
lea rdx, [rbp + 0x108]
mov rcx, rdi
call fcn.14003dee0
mov rsi, qword [rax]
test rsi, rsi
je 0x1400fc7a0
mov rsi, qword [rsi]
jmp 0x1400fc7a3
mov rsi, r15
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x1400fc7bb
call fcn.14003ff40
mov qword [rbp + 0x108], r15
mov rdx, rsi
lea rcx, [rbp + 0x110]
call fcn.140010c50
nop
mov r8, qword [rbp + 0x110]
cmp dword [r8 - 0x10], 0
jne 0x1400fc804
mov edx, r15d
mov dword [rbp + 0x20], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc7f9
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
mov edx, 0x10000109
call qword [rax + 0x18]
mov edx, dword [rbp + 0x20]
mov rcx, rbx
call fcn.1400ff280
mov r8, rax
lea rdx, str.ASIC_Type_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r15d
mov dword [rbp + 0x28], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc834
mov rax, qword [rcx]
lea r8, [rbp + 0x28]
mov edx, 0x10000102
call qword [rax + 0x18]
mov esi, dword [rbp + 0x28]
mov edx, r15d
mov dword [rbp + 0x30], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc854
mov rax, qword [rcx]
lea r8, [rbp + 0x30]
mov edx, 0x10000106
call qword [rax + 0x18]
mov edx, dword [rbp + 0x30]
mov r8d, esi
mov rcx, rbx
call fcn.1400ff380
mov r8, rax
lea rdx, str.Sensor_Type_t
mov rcx, rbx
call fcn.1400fd410
mov esi, r15d
mov dword [rbp + 0x38], r15d
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc892
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
mov edx, 0x10000102
call qword [rax + 0x18]
mov esi, dword [rbp + 0x38]
mov edx, r15d
mov dword [rbp + 0x40], edx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc8b2
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
mov edx, 0x10000107
call qword [rax + 0x18]
mov edx, dword [rbp + 0x40]
mov r8d, esi
mov rcx, rbx
call fcn.1400ff820
mov r8, rax
lea rdx, str.Product_Type_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x48], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc8ef
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x48]
test al, 0x80
mov r8, r14
lea rsi, [0x14019ddd0]
cmovne r8, rsi
lea rdx, str.PS2_Passthrough_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x50], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc92e
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x50]
test al, 0x40
cmovne r14, rsi
mov r8, r14
lea rdx, str.PS2_Glasspass_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x58], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc966
mov rax, qword [rcx]
lea r8, [rbp + 0x58]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x58]
mov r8d, 0x10
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Capabilities_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x60], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fc9ac
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov edx, 0x10000fd
call qword [rax + 0x18]
mov eax, dword [rbp + 0x60]
mov r8d, 0x10
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.RMI4_Capabilities_t
mov rcx, rbx
call fcn.1400fd410
mov ecx, r15d
mov dword [rbp + 0x68], ecx
mov r9, qword [rdi]
test r9, r9
je 0x1400fc9f5
mov rax, qword [r9]
lea r8, [rbp + 0x68]
mov edx, 0x10000d5
mov rcx, r9
call qword [rax + 0x18]
mov ecx, dword [rbp + 0x68]
shr ecx, 0x15
and ecx, 1
mov r8d, 0xa
lea rdx, [rbp + 0x220]
call fcn.140120bc4
mov r8, rax
lea rdx, str.Peak_Detect_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x70], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fca3f
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
mov edx, 0x1000134
call qword [rax + 0x18]
mov eax, dword [rbp + 0x70]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Rotation_Angle_t
mov rcx, rbx
call fcn.1400fd410
cmp dword [r13 + 0x30], 0xffffffff
je 0x1400fcb43
mov r8d, r15d
mov dword [rbp + 0x78], r15d
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400fca93
mov rax, qword [rcx]
lea r8, [rbp + 0x78]
mov edx, 0x10000102
call qword [rax + 0x18]
mov r8d, dword [rbp + 0x78]
mov eax, r15d
cmp r8d, 5
sete al
test eax, eax
je 0x1400fcb43
mov eax, r15d
mov dword [rbp + 0x80], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fcace
mov rax, qword [rcx]
lea r8, [rbp + 0x80]
mov edx, 0x1000325
call qword [rax + 0x18]
mov eax, dword [rbp + 0x80]
mov r8d, 0xa
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Ballistics_Algorithm_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x88], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fcb1d
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
mov edx, 0x1000297
call qword [rax + 0x18]
mov eax, dword [rbp + 0x88]
mov r8d, 0x10
lea rdx, [rbp + 0x220]
mov ecx, eax
call fcn.140120bc4
mov r8, rax
lea rdx, str.Manufacturer_Info_t
mov rcx, rbx
call fcn.1400fd410
mov rcx, r13
call fcn.14010abd0
test eax, eax
je 0x1400fcb6d
mov rcx, r13
call fcn.14010abd0
mov ecx, eax
mov r8d, 0xa
lea rdx, [rbp + 0x220]
call fcn.140120bc4
jmp 0x1400fcb74
lea rax, str.Not_Supported
mov r8, rax
lea rdx, str.Report_Rate_t
mov rcx, rbx
call fcn.1400fd410
mov eax, r15d
mov dword [rbp + 0x90], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400fcbaf
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x90]
mov rcx, rbx
bt eax, 0x12
jae 0x1400fce28
lea rdx, [rbp + 0x1f8]
call fcn.1400fd910
nop
mov edi, 1
mov dword [rbp + 0x460], edi
cmp qword [rax + 0x18], 8
jb 0x1400fcbde
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.3383_001
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400fcce2
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.1400fd910
nop
mov edi, 3
mov dword [rbp + 0x460], edi
cmp qword [rax + 0x18], 8
jb 0x1400fcc1b
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.3383_011
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400fcce2
lea rdx, [rbp + 0x130]
mov rcx, rbx
call fcn.1400fd910
nop
mov edi, 7
mov dword [rbp + 0x460], edi
cmp qword [rax + 0x18], 8
jb 0x1400fcc58
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.3383_021
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400fcce2
lea rdx, [rbp + 0x170]
mov rcx, rbx
call fcn.1400fd910
nop
mov edi, 0xf
mov dword [rbp + 0x460], edi
cmp qword [rax + 0x18], 8
jb 0x1400fcc91
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.3383_031
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400fcce2
lea rdx, [rbp + 0x150]
mov rcx, rbx
call fcn.1400fd910
mov edi, SafeArrayAllocDescriptor
mov dword [rbp + 0x460], edi
cmp qword [rax + 0x18], 8
jb 0x1400fccc9
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.3383_041
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400fcce2
xor sil, sil
jmp 0x1400fcce5
mov sil, 1
test dil, 0x10
je 0x1400fcd24
and edi, 0xffffffef
mov dword [rbp + 0x460], edi
cmp qword [rbp + 0x168], 8
jb 0x1400fcd0a
mov rcx, qword [rbp + 0x150]
call fcn.14011f898
mov qword [rbp + 0x168], 7
mov qword [rbp + 0x160], r15
mov word [rbp + 0x150], r15w
test dil, 8
je 0x1400fcd63
and edi, 0xfffffff7
mov dword [rbp + 0x460], edi
cmp qword [rbp + 0x188], 8
jb 0x1400fcd49
mov rcx, qword [rbp + 0x170]
call fcn.14011f898
mov qword [rbp + 0x188], 7
mov qword [rbp + 0x180], r15
mov word [rbp + 0x170], r15w
test dil, 4
je 0x1400fcda2
and edi, 0xfffffffb
mov dword [rbp + 0x460], edi
cmp qword [rbp + 0x148], 8
jb 0x1400fcd88
mov rcx, qword [rbp + 0x130]
call fcn.14011f898
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], r15
mov word [rbp + 0x130], r15w
test dil, 2
je 0x1400fcde1
and edi, 0xfffffffd
mov dword [rbp + 0x460], edi
cmp qword [rbp + 0x1a8], 8
jb 0x1400fcdc7
mov rcx, qword [rbp + 0x190]
call fcn.14011f898
mov qword [rbp + 0x1a8], 7
mov qword [rbp + 0x1a0], r15
mov word [rbp + 0x190], r15w
test dil, 1
je 0x1400fcdfd
cmp qword [rbp + 0x210], 8
jb 0x1400fcdfd
mov rcx, qword [rbp + 0x1f8]
call fcn.14011f898
test sil, sil
je 0x1400fce0e
lea r8, [0x14019da98]
mov rcx, rbx
jmp 0x1400fce2f
mov rcx, r13
call fcn.14010ab90
mov edx, eax
mov rcx, rbx
call fcn.140100010
mov r8, rax
mov rcx, rbx
jmp 0x1400fce34
lea r8, [0x140169130]
mov word [rbx + 0x30], r15w
lea rdx, str.ACM_t
call fcn.1400fd410
mov rcx, rbx
call fcn.1400fd5b0
mov edx, eax
mov rcx, rbx
call fcn.140100120
mov rcx, r13
call fcn.14010ad40
test eax, eax
je 0x1400fce66
mov rcx, rbx
call fcn.1400fdb10
mov r8d, dword [rbx + 0x470]
lea rdx, str.StoreDeviceDetails_buffer_size_is__d_n
lea rcx, [rbp + 0x220]
call fcn.14012161c
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rbx + 0x468]
mov rdx, qword [rbp + 0x110]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400fceb0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
jmp 0x1400fcebc
mov rax, qword [rbx + 0x468]
mov rbx, qword [rsp + 0x568]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret