Function at 0x1400cc050
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov qword [rbp + 0x110], 0xfffffffffffffffe
mov qword [rsp + 0x4a8], rbx
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov qword [rcx + 0x468], rbx
xor r8d, r8d
add rcx, 0x430
call fcn.14003db90
cmp eax, 0x80004005
jne 0x1400cc0d3
mov r8d, esi
lea rdx, str.Unable_to_open_device__d_n
lea rcx, [rbp + 0x160]
call fcn.1400e5d9c
lea r8, [0x1401226e8]
lea rdx, [rbp + 0x160]
mov rcx, rdi
call fcn.1400ce160
jmp 0x1400cdc10
lea rsi, [rdi + 0x438]
mov r14d, ebx
mov dword [rsp + 0x34], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc0fe
mov rax, qword [rcx]
lea r8, [rsp + 0x34]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov r14d, dword [rsp + 0x34]
mov edx, ebx
mov dword [rbp + 0xb0], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc126
mov rax, qword [rcx]
lea r8, [rbp + 0xb0]
mov edx, 0x10000102
call qword [rax + 0x18]
mov edx, dword [rbp + 0xb0]
mov r8d, r14d
mov rcx, rdi
call fcn.1400cf970
mov r8, rax
lea rdx, str.Device_Type_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rsp + 0x3c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc165
mov rax, qword [rcx]
lea r8, [rsp + 0x3c]
mov edx, 0x10000171
call qword [rax + 0x18]
mov eax, dword [rsp + 0x3c]
lea rcx, str.Disabled
lea r8, str.Enabled
test eax, eax
cmovne r8, rcx
lea rdx, str.Device_State_t
mov rcx, rdi
call fcn.1400ce160
mov r15d, ebx
mov dword [rbp + 0xc], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc1a9
mov rax, qword [rcx]
lea r8, [rbp + 0xc]
mov edx, 0x1000323
call qword [rax + 0x18]
mov r15d, dword [rbp + 0xc]
lea rax, [0x14013bc48]
lea r8, [0x14013bc50]
cmp r15d, 0xffffffff
cmove r8, rax
lea rdx, str.Master_Device_t
mov rcx, rdi
call fcn.1400ce160
mov r8d, 0x10000602
lea rdx, [rbp + 0x108]
mov rcx, rsi
call fcn.140031280
mov rcx, qword [rax]
test rcx, rcx
je 0x1400cc1f0
mov rcx, qword [rcx]
jmp 0x1400cc1f3
mov rcx, rbx
lea rdx, [rbp + 0x160]
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400cc200
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x1400cc221
call fcn.140033460
lea rcx, [rbp + 0x160]
or r14, 0xffffffffffffffff
mov rax, r14
nop
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400cc230
lea rcx, [0x140123d70]
lea r8, [rbp + 0x160]
test rax, rax
cmove r8, rcx
lea rdx, str.Plug_and_Play_ID_t
mov rcx, rdi
call fcn.1400ce160
lea rdx, [rbp + 0x118]
mov rcx, rdi
call fcn.1400ce660
nop
cmp qword [rax + 0x18], 8
jb 0x1400cc277
mov rax, qword [rax]
mov r8, rax
lea rdx, str.Board_Number_t
mov rcx, rdi
call fcn.1400ce160
nop
cmp qword [rbp + 0x130], 8
jb 0x1400cc2a0
mov rcx, qword [rbp + 0x118]
call fcn.1400e4058
mov r13d, ebx
mov dword [rsp + 0x44], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc2c4
mov rax, qword [rcx]
lea r8, [rsp + 0x44]
mov edx, 0x10000cd
call qword [rax + 0x18]
mov r13d, dword [rsp + 0x44]
cmp r15d, 0xffffffff
je 0x1400cc40b
lea rdx, str.SynCom.PointingDevice
lea rcx, [rbp + 0xc8]
call fcn.14002ed00
lea rax, vtable.CDummySynDevice.0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0xe8], ebx
mov qword [rbp + 0xd8], rbx
lea rax, vtable.SynDeviceEx.0
mov qword [rbp + 0xc0], rax
lea rax, vtable.SynDeviceEx.1.0
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xf0], r14d
mov dword [rbp + 0xf4], ebx
lea rcx, [rbp + 0xe0]
mov rax, qword [rbp + 0xc8]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
mov edx, r15d
call qword [rax + 0x78]
test eax, eax
jne 0x1400cc379
lea rcx, [rbp + 0xe0]
mov rax, qword [rbp + 0xc8]
test rax, rax
cmovne rcx, rax
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x88]
mov ecx, dword [rbp + 0xf0]
test eax, eax
cmove ecx, r15d
mov dword [rbp + 0xf0], ecx
mov r13d, ebx
mov dword [rbp + 0x74], ebx
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1400cc3a5
mov rax, qword [rcx]
lea r8, [rbp + 0x74]
mov edx, 0x10000cd
call qword [rax + 0x18]
mov rcx, qword [rbp + 0xc8]
mov r13d, dword [rbp + 0x74]
lea rax, vtable.SynDevice.0
mov qword [rbp + 0xc0], rax
lea rax, vtable.SynDevice.1.0
mov qword [rbp + 0xd0], rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x1400cc3e4
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbp + 0xd8], rbx
mov rcx, qword [rbp + 0xc8]
lea rax, vtable.CDummySynDevice.0
mov qword [rbp + 0xe0], rax
lea rax, vtable.SynWrapEvents_class_SynDevice__struct_ISynDevice__struct__ISynDeviceEvents_.0
mov qword [rbp + 0xc0], rax
test rcx, rcx
je 0x1400cc40b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r13d
and eax, 0xffff0000
mov dword [rbp + 0xb8], eax
cmp eax, 0x200000
jne 0x1400cc45e
lea rdx, [rbp + 0xf8]
mov rcx, rdi
call fcn.1400ce760
nop
mov r8, qword [rax]
lea rdx, str.ProductID_Version_t
mov rcx, rdi
call fcn.1400ce160
nop
mov rdx, qword [rbp + 0xf8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400cc45e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp + 0x3a0], 6
mov rcx, qword [rdi + 0x438]
test rcx, rcx
jne 0x1400cc47b
lea rcx, [rdi + 0x450]
mov rax, qword [rcx]
lea r8, [rbp + 0x3a0]
mov edx, 0x10000e3
call qword [rax + 0x18]
mov r12d, dword [rbp + 0x3a0]
and r12d, 0xfff
mov dword [rbp + 0x3a0], 7
mov rcx, qword [rdi + 0x438]
test rcx, rcx
jne 0x1400cc4b8
lea rcx, [rdi + 0x450]
mov rax, qword [rcx]
lea r8, [rbp + 0x3a0]
mov edx, 0x10000e3
call qword [rax + 0x18]
mov ecx, dword [rbp + 0x3a0]
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 r12d, r12d
jne 0x1400cc505
test r9d, r9d
jne 0x1400cc505
lea r15, str.Unserialized
jmp 0x1400cc51c
lea r15, [rdi + 0x30]
mov r8d, r12d
lea rdx, str.0x_03X_06X
mov rcx, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, r15
lea rdx, str.Serial_Number_t
mov rcx, rdi
call fcn.1400ce160
lea rdx, [rbp + 0x138]
mov rcx, rdi
call fcn.1400ce4b0
nop
cmp qword [rax + 0x18], 8
jb 0x1400cc548
mov rax, qword [rax]
mov r8, rax
lea rdx, str.OEM________t
mov rcx, rdi
call fcn.1400ce160
nop
cmp qword [rbp + 0x150], 8
jb 0x1400cc571
mov rcx, qword [rbp + 0x138]
call fcn.1400e4058
mov r8d, 0x10000603
lea rdx, [rbp + 0x100]
mov rcx, rsi
call fcn.140031280
mov rcx, qword [rax]
test rcx, rcx
je 0x1400cc593
mov rcx, qword [rcx]
jmp 0x1400cc596
mov rcx, rbx
lea rdx, [rbp + 0x160]
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400cc5a0
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x1400cc5c1
call fcn.140033460
lea rax, [rbp + 0x160]
nop dword [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400cc5d0
lea r8, [rbp + 0x160]
test r14, r14
lea rax, [0x140123d70]
cmove r8, rax
lea rdx, str.Config_Key_t
mov rcx, rdi
call fcn.1400ce160
mov edx, r13d
mov rcx, rdi
call fcn.1400cfc10
mov r8, rax
lea rdx, str.Port_t
mov rcx, rdi
call fcn.1400ce160
cmp dword [rbp + 0xb8], 0x20000
jne 0x1400cc664
mov edx, ebx
mov dword [rsp + 0x4c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc64a
mov rax, qword [rcx]
lea r8, [rsp + 0x4c]
mov edx, 0x10000d6
call qword [rax + 0x18]
mov edx, dword [rsp + 0x4c]
mov rcx, rdi
call fcn.1400cfce0
mov r8, rax
lea rdx, str.Keyboard_controller_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0x14], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc683
mov rax, qword [rcx]
lea r8, [rbp + 0x14]
mov edx, 0x10000135
call qword [rax + 0x18]
mov edx, dword [rbp + 0x14]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Left_Button_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rsp + 0x54], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc6bf
mov rax, qword [rcx]
lea r8, [rsp + 0x54]
mov edx, 0x10000136
call qword [rax + 0x18]
mov edx, dword [rsp + 0x54]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Right_Button_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0x98], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc701
mov rax, qword [rcx]
lea r8, [rbp + 0x98]
mov edx, 0x10000138
call qword [rax + 0x18]
mov edx, dword [rbp + 0x98]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Middle_Button_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rsp + 0x5c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc73d
mov rax, qword [rcx]
lea r8, [rsp + 0x5c]
mov edx, 0x1000015b
call qword [rax + 0x18]
mov edx, dword [rsp + 0x5c]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Fourth_Button_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0x1c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc776
mov rax, qword [rcx]
lea r8, [rbp + 0x1c]
mov edx, 0x1000015c
call qword [rax + 0x18]
mov edx, dword [rbp + 0x1c]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Fifth_Button_Action_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rsp + 0x64], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cdc10
mov rax, qword [rcx]
lea r8, [rsp + 0x64]
mov edx, 0x10000102
call qword [rax + 0x18]
mov eax, dword [rsp + 0x64]
cmp eax, 9
ja 0x1400cdc10
mov ecx, 0x324
bt ecx, eax
jae 0x1400cdc10
mov edx, ebx
mov dword [rbp + 0x7c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc7ea
mov rax, qword [rcx]
lea r8, [rbp + 0x7c]
mov edx, 0x10000104
call qword [rax + 0x18]
mov edx, dword [rbp + 0x7c]
mov r8d, r13d
mov rcx, rdi
call fcn.1400cfe10
mov r8, rax
lea rdx, str.Firmware_Revision_t
mov rcx, rdi
call fcn.1400ce160
mov r12d, ebx
mov dword [rsp + 0x6c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc82b
mov rax, qword [rcx]
lea r8, [rsp + 0x6c]
mov edx, 0x1000014f
call qword [rax + 0x18]
mov r12d, dword [rsp + 0x6c]
mov r15d, ebx
mov dword [rbp + 0x24], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc84c
mov rax, qword [rcx]
lea r8, [rbp + 0x24]
mov edx, 0x1000014e
call qword [rax + 0x18]
mov r15d, dword [rbp + 0x24]
mov r14d, ebx
mov dword [rsp + 0x74], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc870
mov rax, qword [rcx]
lea r8, [rsp + 0x74]
mov edx, 0x1000014d
call qword [rax + 0x18]
mov r14d, dword [rsp + 0x74]
mov edx, ebx
mov dword [rbp + 0x9c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc898
mov rax, qword [rcx]
lea r8, [rbp + 0x9c]
mov edx, 0x1000010e
call qword [rax + 0x18]
mov edx, dword [rbp + 0x9c]
mov dword [rsp + 0x20], r12d
mov r9d, r15d
mov r8d, r14d
mov rcx, rdi
call fcn.1400cff00
mov r8, rax
lea rdx, str.Gestures_Enabled_t
mov rcx, rdi
call fcn.1400ce160
lea r14, [0x14013c030]
lea r13, [rdi + 0x430]
cmp dword [r13 + 0x30], 0xffffffff
je 0x1400ccec1
mov edx, ebx
mov dword [rsp + 0x7c], ebx
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400cc8f9
mov rax, qword [rcx]
lea r8, [rsp + 0x7c]
mov edx, 0x10000102
call qword [rax + 0x18]
mov edx, dword [rsp + 0x7c]
mov eax, ebx
cmp edx, 2
sete al
test eax, eax
je 0x1400ccec1
mov eax, ebx
mov dword [rbp + 0x2c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc928
mov rax, qword [rcx]
lea r8, [rbp + 0x2c]
mov edx, 0x10000146
call qword [rax + 0x18]
mov eax, dword [rbp + 0x2c]
lea r15, [0x14013bc50]
mov r8, r15
test eax, eax
lea r12, [0x14013bc48]
cmovne r8, r12
lea rdx, str.MultiFinger_Gestures_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x7c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc96d
mov rax, qword [rcx]
lea r8, [rbp - 0x7c]
mov edx, 0x10000177
call qword [rax + 0x18]
mov eax, dword [rbp - 0x7c]
mov r8, r15
test eax, eax
cmovne r8, r12
lea rdx, str.MultiFinger_Report_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x84], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc9ad
mov rax, qword [rcx]
lea r8, [rbp + 0x84]
mov edx, 0x1000379
call qword [rax + 0x18]
mov eax, dword [rbp + 0x84]
mov r8d, 0xa
lea rdx, [rbp + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Max_Number_Finger_Report_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x74], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cc9f2
mov rax, qword [rcx]
lea r8, [rbp - 0x74]
mov edx, 0x1000017a
call qword [rax + 0x18]
mov eax, dword [rbp - 0x74]
mov r8, r15
test eax, eax
cmovne r8, r12
lea rdx, str.MultiFinger_PacketGroups_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x34], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cca29
mov rax, qword [rcx]
lea r8, [rbp + 0x34]
mov edx, 0x10000189
call qword [rax + 0x18]
mov eax, dword [rbp + 0x34]
mov r8, r15
test eax, eax
cmovne r8, r12
lea rdx, str.Cover_Gesture_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x6c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cca60
mov rax, qword [rcx]
lea r8, [rbp - 0x6c]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp - 0x6c]
bt eax, 0x11
mov r8, r15
cmovb r8, r12
lea rdx, str.Supports_W_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0xa4], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccaa2
mov rax, qword [rcx]
lea r8, [rbp + 0xa4]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0xa4]
bt eax, 0xb
mov r8, r15
cmovb r8, r12
lea rdx, str.Imaging_Sensor_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x64], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccadb
mov rax, qword [rcx]
lea r8, [rbp - 0x64]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp - 0x64]
bt eax, 9
mov r8, r15
cmovb r8, r12
lea rdx, str.Report_V_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x3c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccb14
mov rax, qword [rcx]
lea r8, [rbp + 0x3c]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x3c]
bt eax, 0xd
mov r8, r12
cmovb r8, r15
lea rdx, str.1:1_FW_Filter_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x5c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccb4d
mov rax, qword [rcx]
lea r8, [rbp - 0x5c]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp - 0x5c]
bt eax, 0xc
mov r8, r15
cmovb r8, r12
lea rdx, str.RMI_Backdoor_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x8c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccb8f
mov rax, qword [rcx]
lea r8, [rbp + 0x8c]
mov edx, 0x10000150
call qword [rax + 0x18]
mov eax, dword [rbp + 0x8c]
lea rcx, [0x14013c024]
mov r8, r14
test eax, eax
cmovne r8, rcx
lea rdx, str.Taps_Zones_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp - 0x54], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccbcd
mov rax, qword [rcx]
lea r8, [rbp - 0x54]
mov edx, 0x10000131
call qword [rax + 0x18]
mov edx, dword [rbp - 0x54]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Top_Left_Corner_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0x44], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccc06
mov rax, qword [rcx]
lea r8, [rbp + 0x44]
mov edx, 0x10000132
call qword [rax + 0x18]
mov edx, dword [rbp + 0x44]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Top_Right_Corner_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp - 0x4c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccc3f
mov rax, qword [rcx]
lea r8, [rbp - 0x4c]
mov edx, 0x10000134
call qword [rax + 0x18]
mov edx, dword [rbp - 0x4c]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Bottom_Left_Corner_Action_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0xac], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccc81
mov rax, qword [rcx]
lea r8, [rbp + 0xac]
mov edx, 0x10000133
call qword [rax + 0x18]
mov edx, dword [rbp + 0xac]
mov rcx, rdi
call fcn.1400d0b40
mov r8, rax
lea rdx, str.Bottom_Right_Corner_Action_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp - 0x44], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cccc4
mov rax, qword [rcx]
lea r8, [rbp - 0x44]
mov edx, 0x10000153
call qword [rax + 0x18]
cmp dword [rbp - 0x44], 0
je 0x1400cccc4
lea r8, str.Always
jmp 0x1400cccf7
mov eax, ebx
mov dword [rbp + 0x4c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccce3
mov rax, qword [rcx]
lea r8, [rbp + 0x4c]
mov edx, 0x10000152
call qword [rax + 0x18]
mov eax, dword [rbp + 0x4c]
lea rcx, str.When_Dragging
lea r8, str.None
test eax, eax
cmovne r8, rcx
lea rdx, str.Edge_Motion_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x3c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccd25
mov rax, qword [rcx]
lea r8, [rbp - 0x3c]
mov edx, 0x10000111
call qword [rax + 0x18]
mov eax, dword [rbp - 0x3c]
mov r8d, 0xa
lea rdx, [rbp + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Edge_Motion_Speed_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x94], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccd73
mov rax, qword [rcx]
lea r8, [rbp + 0x94]
mov edx, 0x10000159
call qword [rax + 0x18]
mov eax, dword [rbp + 0x94]
mov r8, r15
test eax, eax
cmovne r8, r12
lea rdx, str.Pressure_Edge_Motion_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp + 0x3b8], ebx
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x1400ccd9e
lea rcx, [r13 + 0x20]
mov rax, qword [rcx]
lea r8, [rbp + 0x3b8]
mov edx, 0x100015e
call qword [rax + 0x18]
test eax, eax
jne 0x1400ccdcb
mov edx, dword [rbp + 0x3b8]
mov rcx, rdi
call fcn.1400d06f0
lea r15, [0x140123d70]
jmp 0x1400ccdd5
lea r15, [0x140123d70]
mov rax, r15
mov r8, rax
lea rdx, str.Slow_Motion_Key_t
mov rcx, rdi
call fcn.1400ce160
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x1400ccdf4
lea rcx, [r13 + 0x20]
mov rax, qword [rcx]
lea r8, [rbp + 0x3b8]
mov edx, 0x100015f
call qword [rax + 0x18]
test eax, eax
jne 0x1400cce1a
mov edx, dword [rbp + 0x3b8]
mov rcx, rdi
call fcn.1400d06f0
jmp 0x1400cce1d
mov rax, r15
mov r8, rax
lea rdx, str.Constrained_Motion_Key_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp - 0x34], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cce64
mov rax, qword [rcx]
lea r8, [rbp - 0x34]
mov edx, 0x1000131
call qword [rax + 0x18]
mov ecx, dword [rbp - 0x34]
test ecx, ecx
je 0x1400cce64
mov r8d, 0xa
lea rdx, [rbp + 0x160]
call fcn.1400e5384
jmp 0x1400cce67
mov rax, r15
mov r8, rax
lea rdx, str.Slow_Cursor_Speed_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp + 0x54], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cceaf
mov rax, qword [rcx]
lea r8, [rbp + 0x54]
mov edx, 0x100013b
call qword [rax + 0x18]
mov ecx, dword [rbp + 0x54]
test ecx, ecx
je 0x1400cceaf
mov r8d, 0xa
lea rdx, [rbp + 0x160]
call fcn.1400e5384
mov r15, rax
mov r8, r15
lea rdx, str.Tapping_Speed_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x2c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccee0
mov rax, qword [rcx]
lea r8, [rbp - 0x2c]
mov edx, 0x10000128
call qword [rax + 0x18]
mov eax, dword [rbp - 0x2c]
mov r8d, 0xa
lea rdx, [rbp + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Touch_Threshold_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp + 0xb4], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccf45
mov rax, qword [rcx]
lea r8, [rbp + 0xb4]
mov edx, 0x1000132
call qword [rax + 0x18]
mov ecx, dword [rbp + 0xb4]
test ecx, ecx
je 0x1400ccf45
mov r8d, 0xa
lea rdx, [rbp + 0x160]
call fcn.1400e5384
mov r14, rax
mov r8, r14
lea rdx, str.PalmCheck_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x24], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccf76
mov rax, qword [rcx]
lea r8, [rbp - 0x24]
mov edx, 0x10000127
call qword [rax + 0x18]
mov eax, dword [rbp - 0x24]
mov r8d, 0xa
lea rdx, [rbp + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Maximum_Z_t
mov rcx, rdi
call fcn.1400ce160
mov r15d, ebx
mov dword [rbp + 0x5c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccfbd
mov rax, qword [rcx]
lea r8, [rbp + 0x5c]
mov edx, 0x10000114
call qword [rax + 0x18]
mov r15d, dword [rbp + 0x5c]
mov r8d, ebx
mov dword [rbp - 0x1c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ccfde
mov rax, qword [rcx]
lea r8, [rbp - 0x1c]
mov edx, 0x10000113
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x1c]
mov r9d, r15d
lea rdx, str.__d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Resolution__DPI__t
mov rcx, rdi
call fcn.1400ce160
mov r13d, ebx
mov dword [rbp + 0xa8], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd02f
mov rax, qword [rcx]
lea r8, [rbp + 0xa8]
mov edx, 0x10000118
call qword [rax + 0x18]
mov r13d, dword [rbp + 0xa8]
mov r12d, ebx
mov dword [rbp - 0x14], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd050
mov rax, qword [rcx]
lea r8, [rbp - 0x14]
mov edx, 0x10000117
call qword [rax + 0x18]
mov r12d, dword [rbp - 0x14]
mov r15d, ebx
mov dword [rbp + 0x64], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd071
mov rax, qword [rcx]
lea r8, [rbp + 0x64]
mov edx, 0x10000116
call qword [rax + 0x18]
mov r15d, dword [rbp + 0x64]
mov r8d, ebx
mov dword [rbp - 0xc], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd092
mov rax, qword [rcx]
lea r8, [rbp - 0xc]
mov edx, 0x10000115
call qword [rax + 0x18]
mov r8d, dword [rbp - 0xc]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
lea rdx, str.__d___d____d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Sensor_Rectangle_t
mov rcx, rdi
call fcn.1400ce160
lea r15, [rdi + 0x430]
cmp dword [r15 + 0x30], 0xffffffff
je 0x1400cd664
mov edx, ebx
mov dword [rbp + 0xa0], ebx
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400cd0fe
mov rax, qword [rcx]
lea r8, [rbp + 0xa0]
mov edx, 0x10000102
call qword [rax + 0x18]
mov edx, dword [rbp + 0xa0]
mov eax, ebx
cmp edx, 2
sete al
test eax, eax
je 0x1400cd664
mov r12d, ebx
mov dword [rbp - 4], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd12f
mov rax, qword [rcx]
lea r8, [rbp - 4]
mov edx, 0x1000206
call qword [rax + 0x18]
mov r12d, dword [rbp - 4]
mov r13d, ebx
mov dword [rbp + 0x6c], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd150
mov rax, qword [rcx]
lea r8, [rbp + 0x6c]
mov edx, 0x1000205
call qword [rax + 0x18]
mov r13d, dword [rbp + 0x6c]
mov r15d, ebx
mov dword [rbp + 4], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd171
mov rax, qword [rcx]
lea r8, [rbp + 4]
mov edx, 0x1000204
call qword [rax + 0x18]
mov r15d, dword [rbp + 4]
mov r8d, ebx
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd195
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 0x1000203
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
mov r9d, r15d
lea rdx, str.__d___d____d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Sensor_FW_Coords_t
mov rcx, rdi
call fcn.1400ce160
mov r13d, ebx
mov dword [rsp + 0x38], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd1ea
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov edx, 0x1000011c
call qword [rax + 0x18]
mov r13d, dword [rsp + 0x38]
mov r12d, ebx
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd20e
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 0x1000011b
call qword [rax + 0x18]
mov r12d, dword [rsp + 0x40]
mov r15d, ebx
mov dword [rsp + 0x48], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd232
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov edx, 0x1000011a
call qword [rax + 0x18]
mov r15d, dword [rsp + 0x48]
mov r8d, ebx
mov dword [rsp + 0x50], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd256
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov edx, 0x10000119
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
lea rdx, str.__d___d____d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Bezel_Rectangle_t
mov rcx, rdi
call fcn.1400ce160
mov r13d, ebx
mov dword [rsp + 0x58], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd2ab
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
mov edx, 0x10000120
call qword [rax + 0x18]
mov r13d, dword [rsp + 0x58]
mov r12d, ebx
mov dword [rsp + 0x60], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd2cf
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov edx, 0x1000011f
call qword [rax + 0x18]
mov r12d, dword [rsp + 0x60]
mov r15d, ebx
mov dword [rsp + 0x68], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd2f3
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x1000011e
call qword [rax + 0x18]
mov r15d, dword [rsp + 0x68]
mov r8d, ebx
mov dword [rsp + 0x70], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd317
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 0x1000011d
call qword [rax + 0x18]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
lea rdx, str.__d___d____d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Edge_Motion_Rectangle_t
mov rcx, rdi
call fcn.1400ce160
mov r13d, ebx
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd36c
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
mov edx, 0x10000126
call qword [rax + 0x18]
mov r13d, dword [rsp + 0x78]
mov r12d, ebx
mov dword [rbp - 0x80], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd38d
mov rax, qword [rcx]
lea r8, [rbp - 0x80]
mov edx, 0x10000125
call qword [rax + 0x18]
mov r12d, dword [rbp - 0x80]
mov r15d, ebx
mov dword [rbp - 0x78], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd3ae
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
mov edx, 0x10000124
call qword [rax + 0x18]
mov r15d, dword [rbp - 0x78]
mov r8d, ebx
mov dword [rbp - 0x70], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd3cf
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
mov edx, 0x10000123
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x70]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
lea rdx, str.__d___d____d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Wide_Border_Rectangle_t
mov rcx, rdi
call fcn.1400ce160
mov r15d, ebx
mov dword [rbp - 0x68], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd421
mov rax, qword [rcx]
lea r8, [rbp - 0x68]
mov edx, 0x1000012a
call qword [rax + 0x18]
mov r15d, dword [rbp - 0x68]
mov r8d, ebx
mov dword [rbp - 0x60], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd442
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
mov edx, 0x10000129
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x60]
mov r9d, r15d
lea rdx, str.__d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Top_Left_Corner_Zone_t
mov rcx, rdi
call fcn.1400ce160
mov r15d, ebx
mov dword [rbp - 0x58], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd48a
mov rax, qword [rcx]
lea r8, [rbp - 0x58]
mov edx, 0x1000012c
call qword [rax + 0x18]
mov r15d, dword [rbp - 0x58]
mov r8d, ebx
mov dword [rbp - 0x50], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd4ab
mov rax, qword [rcx]
lea r8, [rbp - 0x50]
mov edx, 0x1000012b
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x50]
mov r9d, r15d
lea rdx, str.__d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Top_Right_Corner_Zone_t
mov rcx, rdi
call fcn.1400ce160
mov r15d, ebx
mov dword [rbp - 0x48], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd4f3
mov rax, qword [rcx]
lea r8, [rbp - 0x48]
mov edx, 0x10000130
call qword [rax + 0x18]
mov r15d, dword [rbp - 0x48]
mov r8d, ebx
mov dword [rbp - 0x40], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd514
mov rax, qword [rcx]
lea r8, [rbp - 0x40]
mov edx, 0x1000012f
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x40]
mov r9d, r15d
lea rdx, str.__d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Bottom_Left_Corner_Zone_t
mov rcx, rdi
call fcn.1400ce160
mov r15d, ebx
mov dword [rbp - 0x38], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd55c
mov rax, qword [rcx]
lea r8, [rbp - 0x38]
mov edx, 0x1000012e
call qword [rax + 0x18]
mov r15d, dword [rbp - 0x38]
mov r8d, ebx
mov dword [rbp - 0x30], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd57d
mov rax, qword [rcx]
lea r8, [rbp - 0x30]
mov edx, 0x1000012d
call qword [rax + 0x18]
mov r8d, dword [rbp - 0x30]
mov r9d, r15d
lea rdx, str.__d___d_
lea rcx, [rdi + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rdi + 0x30]
lea rdx, str.Bottom_Right_Corner_Zone_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp - 0x28], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd5c3
mov rax, qword [rcx]
lea r8, [rbp - 0x28]
mov edx, 0x10000105
call qword [rax + 0x18]
mov edx, dword [rbp - 0x28]
mov rcx, rdi
call fcn.1400d0870
mov r8, rax
lea rdx, str.Bezel_Geometry_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x20], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd5fc
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
mov edx, 0x10000179
call qword [rax + 0x18]
mov eax, dword [rbp - 0x20]
lea r12, [0x14013bc50]
mov r8, r12
test eax, eax
lea r13, [0x14013bc48]
cmovne r8, r13
lea rdx, str.ClearPad_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp - 0x18], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd641
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, r12
cmovb r8, r13
lea rdx, str.New_Absolute_Packet_t
mov rcx, rdi
call fcn.1400ce160
lea r15, [rdi + 0x430]
jmp 0x1400cd672
lea r13, [0x14013bc48]
lea r12, [0x14013bc50]
mov r14d, ebx
mov dword [rbp - 0x10], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd693
mov rax, qword [rcx]
lea r8, [rbp - 0x10]
mov edx, 0x10000145
call qword [rax + 0x18]
mov r14d, dword [rbp - 0x10]
mov edx, ebx
mov dword [rbp - 8], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd6b2
mov rax, qword [rcx]
lea r8, [rbp - 8]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov edx, dword [rbp - 8]
mov r8d, r14d
mov rcx, rdi
call fcn.1400d0a40
mov r8, rax
lea rdx, str.Buttons_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd714
mov rax, qword [rcx]
lea r8, [rbp]
mov edx, 0x10000143
call qword [rax + 0x18]
mov ecx, dword [rbp]
test ecx, ecx
jle 0x1400cd714
mov r8d, 0xa
lea rdx, [rbp + 0x160]
call fcn.1400e5384
mov r8, rax
lea rdx, str.Extended_Buttons_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 8], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd733
mov rax, qword [rcx]
lea r8, [rbp + 8]
mov edx, 0x10000147
call qword [rax + 0x18]
mov eax, dword [rbp + 8]
mov r8, r12
test eax, eax
cmovne r8, r13
lea rdx, str.Stylus_Input_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x10], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd76a
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 r14, str.None
mov r8, r14
cmovb r8, rax
lea rdx, str.Secure_Key_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0x18], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd7b1
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
mov edx, 0x10000d4
call qword [rax + 0x18]
mov edx, dword [rbp + 0x18]
dec edx
je 0x1400cd7cf
dec edx
je 0x1400cd7c6
dec edx
jne 0x1400cd7d6
lea r14, [0x14013b744]
jmp 0x1400cd7d6
lea r14, [0x1401298ac]
jmp 0x1400cd7d6
lea r14, [0x14013b740]
mov r8, r14
lea rdx, str.Lock_Type_t
mov rcx, rdi
call fcn.1400ce160
mov edx, ebx
mov dword [rbp + 0x20], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd807
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
mov edx, 0x10000109
call qword [rax + 0x18]
mov edx, dword [rbp + 0x20]
mov rcx, rdi
call fcn.1400cffa0
mov r8, rax
lea rdx, str.ASIC_Type_t
mov rcx, rdi
call fcn.1400ce160
mov r14d, ebx
mov dword [rbp + 0x28], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd842
mov rax, qword [rcx]
lea r8, [rbp + 0x28]
mov edx, 0x10000102
call qword [rax + 0x18]
mov r14d, dword [rbp + 0x28]
mov edx, ebx
mov dword [rbp + 0x30], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd861
mov rax, qword [rcx]
lea r8, [rbp + 0x30]
mov edx, 0x10000106
call qword [rax + 0x18]
mov edx, dword [rbp + 0x30]
mov r8d, r14d
mov rcx, rdi
call fcn.1400d00a0
mov r8, rax
lea rdx, str.Sensor_Type_t
mov rcx, rdi
call fcn.1400ce160
mov r14d, ebx
mov dword [rbp + 0x38], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd89f
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
mov edx, 0x10000102
call qword [rax + 0x18]
mov r14d, dword [rbp + 0x38]
mov edx, ebx
mov dword [rbp + 0x40], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd8be
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
mov edx, 0x10000107
call qword [rax + 0x18]
mov edx, dword [rbp + 0x40]
mov r8d, r14d
mov rcx, rdi
call fcn.1400d0540
mov r8, rax
lea rdx, str.Product_Type_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x48], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd8fa
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, r12
cmovne r8, r13
lea rdx, str.PS2_Passthrough_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x50], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd931
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov eax, dword [rbp + 0x50]
test al, 0x40
cmovne r12, r13
mov r8, r12
lea rdx, str.PS2_Glasspass_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x58], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd968
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 + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Capabilities_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x60], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cd9ad
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 + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.RMI4_Capabilities_t
mov rcx, rdi
call fcn.1400ce160
mov ecx, ebx
mov dword [rbp + 0x68], ebx
mov r9, qword [rsi]
test r9, r9
je 0x1400cd9f5
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 + 0x160]
call fcn.1400e5384
mov r8, rax
lea rdx, str.Peak_Detect_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x70], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cda3e
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 + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Rotation_Angle_t
mov rcx, rdi
call fcn.1400ce160
cmp dword [r15 + 0x30], 0xffffffff
je 0x1400cdb3e
mov r8d, ebx
mov dword [rbp + 0x78], ebx
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400cda91
mov rax, qword [rcx]
lea r8, [rbp + 0x78]
mov edx, 0x10000102
call qword [rax + 0x18]
mov r8d, dword [rbp + 0x78]
mov eax, ebx
cmp r8d, 5
sete al
test eax, eax
je 0x1400cdb3e
mov eax, ebx
mov dword [rbp + 0x80], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cdaca
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 + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Ballistics_Algorithm_t
mov rcx, rdi
call fcn.1400ce160
mov eax, ebx
mov dword [rbp + 0x88], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cdb18
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 + 0x160]
mov ecx, eax
call fcn.1400e5384
mov r8, rax
lea rdx, str.Manufacturer_Info_t
mov rcx, rdi
call fcn.1400ce160
mov rcx, r15
call fcn.1400d1b90
test eax, eax
je 0x1400cdb68
mov rcx, r15
call fcn.1400d1b90
mov ecx, eax
mov r8d, 0xa
lea rdx, [rbp + 0x160]
call fcn.1400e5384
jmp 0x1400cdb6f
lea rax, str.Not_Supported
mov r8, rax
lea rdx, str.Report_Rate_t
mov rcx, rdi
call fcn.1400ce160
mov dword [rbp + 0x90], ebx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cdba7
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
mov edx, 0x10000d5
call qword [rax + 0x18]
mov ebx, dword [rbp + 0x90]
bt ebx, 0x12
jae 0x1400cdbc3
lea r8, [0x140123d28]
lea rdx, str.ACM_t
mov rcx, rdi
call fcn.1400ce160
mov rcx, rdi
call fcn.1400ce300
mov edx, eax
mov rcx, rdi
call fcn.1400d0d70
mov rcx, r15
call fcn.1400d1d00
test eax, eax
je 0x1400cdbe9
mov rcx, rdi
call fcn.1400ce860
mov r8d, dword [rdi + 0x470]
lea rdx, str.StoreDeviceDetails_buffer_size_is__d_n
lea rcx, [rbp + 0x160]
call fcn.1400e5d9c
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rdi + 0x468]
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret