Function at 0x1400178f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
lea rax, vtable.CManagedPointingDevice.0
mov qword [rcx], rax
lea rax, vtable.CManagedPointingDevice.1.0
mov qword [rcx + 8], rax
lea rax, vtable.CManagedPointingDevice.2.0
mov qword [rcx + 0x50], rax
lea rax, vtable.CManagedPointingDevice.3.0
mov qword [rcx + 0x60], rax
lea rax, vtable.CManagedPointingDevice.4.0
mov qword [rcx + 0x80], rax
xor ebp, ebp
cmp qword [rcx + 0x98], rbp
je 0x1400179db
mov rcx, qword [rcx + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x3e8
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001798b
xor edx, edx
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x98], rbp
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xa0], rbp
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xa8], rbp
mov rcx, qword [rdi + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xb0], rbp
cmp dword [rdi + 0x81c], 2
jne 0x1400179fe
mov rdx, rdi
mov rcx, qword [0x140296048]
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rdi + 0x81c], 1
mov dword [rsp + 0x68], ebp
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140017a35
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x10000107
call qword [rax + 0x18]
cmp dword [rsp + 0x68], 0xd
jne 0x140017a35
mov dword [rdi + 0x844], ebp
mov edx, 1
mov rcx, rdi
call fcn.140018390
mov dword [rsp + 0x68], ebp
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140017a6f
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rsp + 0x68], 8
jne 0x140017a6f
cmp dword [rdi + 0x820], ebp
je 0x140017a6f
mov dword [rdi + 0x820], ebp
mov rcx, rdi
call fcn.140027810
mov rbx, qword [rdi + 0x788]
test rbx, rbx
je 0x140017a92
mov rcx, rbx
call fcn.140080330
mov rcx, rbx
call fcn.1400fa318
mov qword [rdi + 0x788], rbp
mov dword [rsp + 0x68], ebp
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140017acb
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rsp + 0x68], 2
jne 0x140017acb
mov rcx, qword [0x140296cd8]
test rcx, rcx
je 0x140017acb
mov rax, qword [rcx]
call qword [rax + LoadRegTypeLib]
mov dword [rsp + 0x68], ebp
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x140017b04
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rsp + 0x68], 0x10
jne 0x140017b04
mov rcx, qword [0x140296ce0]
test rcx, rcx
je 0x140017b04
mov rax, qword [rcx]
call qword [rax + LoadRegTypeLib]
mov rcx, qword [rdi + 0x348]
test rcx, rcx
je 0x140017b21
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0x348], rbp
mov rcx, rdi
call fcn.14002acb0
mov rcx, qword [rdi + 0x1040]
test rcx, rcx
je 0x140017b46
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0x1040], rbp
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140017b75
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x68]
lea rcx, [rdi + 8]
call fcn.1400392e0
cmp qword [rsp + 0x68], rbp
jne 0x140017b60
mov rcx, qword [rdi + 0x1018]
test rcx, rcx
je 0x140017b92
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0x1018], rbp
lea rcx, [rdi + 0x10f8]
call fcn.140038740
nop
lea rcx, [rdi + 0x1058]
call fcn.140038740
nop
mov r8, qword [rdi + 0x1048]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x68]
lea rcx, [rdi + 0x1048]
call fcn.1400f8ca0
mov rcx, qword [rdi + 0x1048]
call fcn.1400fa318
nop
lea r15, vtable.CDummySynPacket.0
mov qword [rdi + 0xff8], r15
mov rcx, qword [rdi + 0xff0]
test rcx, rcx
je 0x140017bfe
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0xff0], rbp
mov rax, qword [rdi + 0xfb0]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0xfb0]
mov qword [rax + 8], rax
mov qword [rdi + 0xfb8], rbp
cmp rcx, qword [rdi + 0xfb0]
je 0x140017c3a
mov rbx, qword [rcx]
call fcn.1400fa318
mov rcx, rbx
cmp rbx, qword [rdi + 0xfb0]
jne 0x140017c26
mov rcx, qword [rdi + 0xfb0]
call fcn.1400fa318
nop
mov rax, qword [rdi + 0xfa0]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0xfa0]
mov qword [rax + 8], rax
mov qword [rdi + 0xfa8], rbp
cmp rcx, qword [rdi + 0xfa0]
je 0x140017c84
nop
mov rbx, qword [rcx]
call fcn.1400fa318
mov rcx, rbx
cmp rbx, qword [rdi + 0xfa0]
jne 0x140017c70
mov rcx, qword [rdi + 0xfa0]
call fcn.1400fa318
nop
mov qword [rdi + 0xbd8], r15
mov rcx, qword [rdi + 0xbd0]
test rcx, rcx
je 0x140017cb1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0xbd0], rbp
mov qword [rdi + 0xbc8], r15
mov rcx, qword [rdi + 0xbc0]
test rcx, rcx
je 0x140017cd1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0xbc0], rbp
lea rcx, [rdi + 0xa88]
lea r9, [0x140038810]
mov edx, 0x10
lea r8d, [rdx - 6]
call fcn.1400fb744
nop
lea rcx, [rdi + 0x9e8]
lea r9, [0x140038810]
mov edx, 0x10
lea r8d, [rdx - 6]
call fcn.1400fb744
nop
lea rcx, [rdi + 0x948]
lea r9, [0x140038810]
mov edx, 0x10
lea r8d, [rdx - 6]
call fcn.1400fb744
nop
lea rcx, [rdi + 0x8a8]
lea r9, [0x140038810]
mov edx, 0x10
lea r8d, [rdx - 6]
call fcn.1400fb744
nop
mov qword [rdi + 0x7b0], r15
mov rcx, qword [rdi + 0x7a8]
test rcx, rcx
je 0x140017d65
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x7a8], rbp
lea rax, vtable.CDummySynDisplay.0
mov qword [rdi + 0x7a0], rax
lea rax, vtable.SynWrapEvents_class_SynDisplay__struct_ISynDisplay__struct__ISynDisplayEvents_.0
mov qword [rdi + 0x790], rax
mov rcx, qword [rdi + 0x798]
test rcx, rcx
je 0x140017d9a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x798], rbp
mov rcx, qword [rdi + 0x780]
test rcx, rcx
je 0x140017db2
call fcn.14003c270
mov qword [rdi + 0x780], rbp
lea rcx, [rdi + 0x50]
call fcn.140038680
nop
lea rax, vtable.CSynList_class_CZone_.0
mov qword [rdi + 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140017df6
nop word [rax + rax]
lea rdx, [rsp + 0x68]
lea rcx, [rdi + 8]
call fcn.1400392e0
cmp qword [rsp + 0x68], 0
jne 0x140017de0
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
lea rax, vtable.CListObjectBase.0
mov qword [rdi], rax
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret