Function at 0x1400c5e80
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
test rcx, rcx
jne 0x1400c5ee7
test byte [0x1402d741c], 4
je 0x1400c7c63
lea r8, str.zone_is_null__return__n
lea edx, [rcx + 3]
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
jmp 0x1400c7c63
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
call fcn.1400de4d0
movsxd r13, eax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0xf0
call fcn.1400de4e0
mov dword [rbp - 0x51], eax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
call fcn.1400de4e0
mov dword [rbp - 0x11], eax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
xor r8d, r8d
mov rdx, rbx
call fcn.1400de4f0
mov r15, rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0xf0
xor r8d, r8d
mov rdx, rsi
call fcn.1400de4f0
mov rsi, rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x60]
call fcn.1400d26a0
and eax, 0x4000
mov dword [rbp - 0x35], eax
mov rcx, qword [rdi + 0x60]
mov eax, dword [rcx + 0x430]
mov ecx, dword [rcx + 0x420]
dec ecx
add eax, ecx
mov dword [rbp - 0x31], eax
mov ecx, dword [rbp + 0x77]
mov dword [rdi + 0x3c], ecx
xor r12d, r12d
mov dword [rdi + 0x44], r12d
mov dword [rdi + 0x38], r12d
mov rbx, qword [rbp + 0x6f]
mov rdx, r15
lea rcx, [rdi + 8]
call fcn.14006a9d0
test eax, eax
je 0x1400c5fbe
mov qword [rdi + 0x24], rbx
mov eax, dword [rdi + 0x68]
mov r9d, dword [0x1402de238]
cmp r9d, eax
je 0x1400c5ffb
test byte [0x1402d741c], 4
je 0x1400c5ff2
mov dword [rsp + 0x20], eax
lea r8, str.LeftWingState:__d_____d_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov eax, dword [rdi + 0x68]
mov dword [0x1402de238], eax
mov rcx, qword [rsi]
test rcx, rcx
jne 0x1400c6008
mov eax, r12d
jmp 0x1400c601a
mov rax, qword [rcx]
lea r8, [rbp + 0x57]
mov edx, 0x10000312
call qword [rax + 0x18]
mov eax, dword [rbp + 0x57]
shr eax, 0x10
mov r12d, 1
test r12b, al
jne 0x1400c61cb
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400c603a
xor ebx, ebx
mov eax, ebx
jmp 0x1400c604e
mov rax, qword [rcx]
lea r8, [rbp + 0x57]
mov edx, 0x10000312
call qword [rax + 0x18]
mov eax, dword [rbp + 0x57]
xor ebx, ebx
shr eax, 0x10
test r12b, al
je 0x1400c61cb
test byte [0x1402d741c], 4
je 0x1400c6087
mov rcx, r15
call fcn.14000b450
movzx r9d, al
lea r8, str.Tap___d_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
cmp dword [rdi + 0x14c], 0
je 0x1400c61cb
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov rax, qword [rdi + 0x60]
mov rbx, qword [rax]
lea rcx, [rdi + 8]
call fcn.14006aad0
mov rcx, rax
mov rdx, r15
call fcn.14003dad0
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call qword [rbx + 0xc8]
test eax, eax
je 0x1400c60ef
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1400cea90
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x1400c6194
mov ecx, 0xd
jmp 0x1400c6191
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
mov rbx, rax
test rax, rax
je 0x1400c619c
lea rcx, [rbp + 0x57]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8, qword [rbx]
lea rdx, [rbp - 9]
mov rcx, rbx
call qword [r8 + 0x158]
mov rdx, qword [rbp + 0x57]
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1400c6177
lea rcx, [rdi + 8]
call fcn.14006aad0
test rax, rax
je 0x1400c619c
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c615a
lea rcx, [rax + 0x70]
test rcx, rcx
je 0x1400c619c
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c6167
lea rcx, [rax + 0x70]
mov rax, qword [rcx]
mov r9d, r12d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x50]
jmp 0x1400c619c
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1400cea90
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x1400c6194
mov ecx, 0x1b
mov word [rax], cx
add rax, 2
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 0x60]
call fcn.1400cce70
xor eax, eax
mov qword [rdi + 0x78], rax
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x148], rax
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c61cb
call fcn.14011f898
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x60]
call fcn.1400d23b0
mov ebx, eax
cmp qword [rdi + 0x58], 0
jne 0x1400c61fb
mov r8d, 0x7b
lea rdx, str.g:checkpoints_tpdrvheadgit1_syntpenhCPluginZone.h
lea rcx, str.m_pManagedPointingDevice
call fcn.14000cb10
mov rax, qword [rdi + 0x58]
mov qword [rbp + 0x57], rax
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400c620f
xor edx, edx
jmp 0x1400c622c
mov dword [rbp - 0x59], 0
mov rax, qword [rcx]
lea r8, [rbp - 0x59]
mov edx, 0x10000317
call qword [rax + 0x18]
mov edx, dword [rbp - 0x59]
mov rax, qword [rbp + 0x57]
lea rcx, [rax + 0x10d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov qword [rbp - 9], rax
cmp r13d, 3
jne 0x1400c6258
mov rcx, qword [rdi + 0x60]
cmp dword [rcx + 0x160], r13d
jne 0x1400c6258
mov dword [rbp - 0x39], r12d
xor edx, edx
jmp 0x1400c625d
xor edx, edx
mov dword [rbp - 0x39], edx
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400c626a
mov dword [rbp + 0x57], edx
jmp 0x1400c6285
mov rax, qword [rcx]
lea r8, [rbp - 0x2d]
mov edx, 0x10000303
call qword [rax + 0x18]
mov eax, dword [rbp - 0x2d]
mov dword [rbp + 0x57], eax
mov rax, qword [rbp - 9]
xor edx, edx
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400c6291
mov eax, edx
jmp 0x1400c62a3
mov rax, qword [rcx]
lea r8, [rbp - 0x59]
mov edx, 0x10000303
call qword [rax + 0x18]
mov eax, dword [rbp - 0x59]
sub dword [rbp + 0x57], eax
cmp qword [rdi + 0x58], 0
jne 0x1400c62c6
mov r8d, 0x7b
lea rdx, str.g:checkpoints_tpdrvheadgit1_syntpenhCPluginZone.h
lea rcx, str.m_pManagedPointingDevice
call fcn.14000cb10
mov r14, qword [rdi + 0x58]
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400c62d6
xor edx, edx
jmp 0x1400c62ef
mov dword [rbp - 0x59], 0
mov rax, qword [rcx]
lea r8, [rbp - 0x59]
mov edx, 0x10000317
call qword [rax + 0x18]
mov edx, dword [rbp - 0x59]
lea rcx, [r14 + 0x10d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rdi + 0x60]
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0xc8]
mov dword [rbp - 0x59], eax
mov rcx, qword [rdi + 0x60]
mov r8, qword [rcx]
mov rdx, r15
call qword [r8 + 0xc8]
mov r9d, eax
mov dword [rbp - 9], eax
mov edx, dword [0x1402d741c]
test dl, 4
je 0x1400c63bc
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400c6345
xor eax, eax
mov r14d, eax
jmp 0x1400c635a
mov rax, qword [rcx]
lea r8, [rbp - 0x2d]
mov edx, 0x1000030d
call qword [rax + 0x18]
mov r14d, dword [rbp - 0x2d]
xor eax, eax
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400c6367
mov r9d, eax
jmp 0x1400c637a
mov rax, qword [rcx]
lea r8, [rbp + 7]
mov edx, 0x1000030c
call qword [rax + 0x18]
mov r9d, dword [rbp + 7]
mov eax, dword [rdi + 0x128]
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x124]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x57]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
lea r8, str.Delta__d__d___ulTime_d__lDestance__d__d__n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov edx, dword [0x1402d741c]
mov r9d, dword [rbp - 9]
mov ecx, dword [rbp - 0x51]
mov eax, dword [rbp - 0x11]
test ecx, ecx
je 0x1400c63ca
test eax, eax
jne 0x1400c63e9
mov r8d, dword [rbp - 0x39]
test r8d, r8d
je 0x1400c7c58
test eax, eax
jne 0x1400c7c58
test ecx, ecx
je 0x1400c7c58
jmp 0x1400c63ed
mov r8d, dword [rbp - 0x39]
movsxd r14, dword [rdi + 0x68]
cmp r14d, 0xa
ja case.0x1400c640d.8
lea r10, [0x140000000]
mov ecx, dword [r10 + r14*4 + 0xc7c80]
add rcx, r10
jmp rcx
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je case.0x1400c640d.8
mov dword [rbp - 0x39], 0
test r8d, r8d
je 0x1400c658c
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
xor r8d, r8d
mov r13, qword [rbp + 0x5f]
mov rdx, r13
call fcn.1400de4f0
mov qword [rbp + 0x57], rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, r12d
mov rdx, r13
call fcn.1400de4f0
mov qword [rbp - 9], rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, 2
mov rdx, r13
call fcn.1400de4f0
mov qword [rbp - 0x51], rax
mov rcx, qword [rdi + 0x88]
test rcx, rcx
jne 0x1400c649c
lea rcx, [rdi + 0x90]
mov rax, qword [rbp + 0x57]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400c64ac
lea rdx, [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rdi + 0x98]
test rcx, rcx
jne 0x1400c64c5
lea rcx, [rdi + 0xa0]
mov r13, qword [rbp - 9]
mov rdx, qword [r13]
test rdx, rdx
jne 0x1400c64d6
lea rdx, [r13 + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rdi + 0xa8]
test rcx, rcx
jne 0x1400c64ef
lea rcx, [rdi + 0xb0]
mov rax, qword [rbp - 0x51]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400c64ff
lea rdx, [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x57]
call fcn.14000b7b0
cmp eax, dword [rdi + 0x138]
jle case.0x1400c640d.8
mov rcx, qword [rbp + 0x57]
call fcn.14000b900
cmp eax, dword [rdi + 0x130]
jle case.0x1400c640d.8
mov rcx, r13
call fcn.14000b7b0
cmp eax, dword [rdi + 0x138]
jle case.0x1400c640d.8
mov rcx, r13
call fcn.14000b900
cmp eax, dword [rdi + 0x130]
jle case.0x1400c640d.8
mov r13, qword [rbp - 0x51]
mov rcx, r13
call fcn.14000b7b0
cmp eax, dword [rdi + 0x138]
jle case.0x1400c640d.8
mov rcx, r13
call fcn.14000b900
cmp eax, dword [rdi + 0x130]
jle case.0x1400c640d.8
mov r13d, dword [rbp - 0x39]
jmp 0x1400c66a2
cmp r13d, 1
jne case.0x1400c640d.8
cmp dword [rbp - 0x59], 0
je 0x1400c65fe
test r9d, r9d
je 0x1400c65be
lea rcx, [rdi + 8]
call fcn.14006aad0
mov rcx, rax
mov edx, r12d
call fcn.1400400d0
mov r13d, dword [rbp - 0x39]
jmp 0x1400c66a2
cmp dword [rbp + 0x57], 0x64
jae 0x1400c65fe
test dl, 4
je 0x1400c65e1
lea r8, str.fast_swipe__fgDown_in_zone_but_cur_is_not_in__treat_it_as_initTouch_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
lea rcx, [rdi + 8]
call fcn.14006aad0
mov rcx, rax
mov edx, r12d
call fcn.1400400d0
mov r13d, dword [rbp - 0x39]
jmp 0x1400c66a2
lea rcx, [rdi + 8]
call fcn.14006aad0
mov rcx, rax
mov rdx, r15
call fcn.14003dad0
mov rcx, rax
call fcn.14000b900
mov ecx, dword [rdi + 0x12c]
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x258
jge case.0x1400c640d.8
lea rcx, [rdi + 8]
call fcn.14006aad0
mov rcx, rax
mov rdx, r15
call fcn.14003dad0
mov rcx, rax
call fcn.14000b7b0
mov ecx, dword [rdi + 0x134]
sub ecx, eax
cmp ecx, 0x64
jle case.0x1400c640d.8
test byte [0x1402d741c], 4
je 0x1400c6682
lea r8, str.finger_down_in_TopEdge_zone_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
call fcn.140093900
test eax, eax
jne case.0x1400c640d.8
lea r8d, [rax + 3]
mov edx, r12d
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
mov r13d, r12d
lea rcx, [rdi + 0x108]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [rdi + 0x118], eax
mov qword [rdi + 0x140], rax
mov dword [rdi + 0x148], eax
mov rdx, r15
mov rcx, rdi
call fcn.1400c89e0
test eax, eax
je 0x1400c67a9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
test rax, rax
je 0x1400c6758
mov rcx, rdi
call fcn.1400c8af0
mov r14d, dword [rdi + 0x78]
test bl, bl
jns case.0x1400c640d.8
test r13d, r13d
jne case.0x1400c640d.8
lea eax, [r14 - 3]
cmp eax, 1
ja case.0x1400c640d.8
mov rcx, rsi
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov rcx, rdi
call fcn.1400c90e0
xor edx, edx
lea r8d, [r13 + 3]
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
lea r14d, [r13 + 0xa]
jmp case.0x1400c640d.8
test bl, bl
jns 0x1400c67f2
test r13d, r13d
jne 0x1400c67f2
mov rcx, rsi
call fcn.14000ac20
test al, al
jne 0x1400c67f2
mov rcx, r15
call fcn.14000ac20
test al, al
je 0x1400c67f2
lea r14d, [r13 + 9]
mov rdx, r15
mov rcx, rdi
call fcn.1400c9050
test byte [0x1402d741c], 4
je case.0x1400c640d.8
lea r8, str._ResumeState:_Trigger_LW_gesture_by_clicking__ewsIdle___ewsWaitingForUnClicking_n
jmp 0x1400c7289
test bl, bl
jns 0x1400c67f2
test r13d, r13d
jne 0x1400c67f2
mov rcx, rsi
call fcn.14000ac20
test al, al
jne 0x1400c67f2
mov rcx, r15
call fcn.14000ac20
test al, al
je 0x1400c67f2
lea r14d, [r13 + 9]
mov rdx, r15
mov rcx, rdi
call fcn.1400c9050
test byte [0x1402d741c], 4
je case.0x1400c640d.8
lea r8, str._Trigger_LW_gesture_by_clicking__ewsIdle___ewsWaitingForUnClicking_n
jmp 0x1400c7289
mov r14d, r12d
jmp case.0x1400c640d.8
cmp r13d, 1
jne 0x1400c6f1c
cmp dword [rbp - 0x59], 0
je 0x1400c6d09
test r9d, r9d
je 0x1400c6d09
mov rcx, r15
call fcn.140040c00
add dword [rdi + 0x124], eax
mov rcx, r15
call fcn.140040de0
add dword [rdi + 0x128], eax
test bl, 0x10
je 0x1400c6b20
mov rdx, r15
mov rcx, rdi
call fcn.1400ca630
test eax, eax
jne 0x1400c685e
mov rdx, r15
mov rcx, rdi
call fcn.1400cad40
test eax, eax
je 0x1400c6b20
cmp dword [rbp + 0x57], 0x1f4
jae case.0x1400c640d.8
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jg 0x1400c6946
mov eax, r12d
or ecx, 0xffffffff
cmp dword [rdi + 0x124], 0
cmovl eax, ecx
mov dword [rdi + 0x11c], eax
mov dword [rdi + 0x120], ecx
xor r13d, r13d
mov qword [rdi + 0x124], r13
lea rcx, [rbp + 0x57]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, r15
call fcn.14000b900
mov ebx, eax
mov rcx, r15
call fcn.14000b7b0
mov rcx, qword [rdi + 0x60]
sub eax, dword [rcx + 0x440]
imul eax, dword [rcx + 0x420]
cdq
idiv dword [rcx + 0x438]
mov dword [rbp + 0x57], eax
mov eax, dword [rcx + 0x44c]
sub eax, ebx
imul eax, dword [rcx + 0x424]
cdq
idiv dword [rcx + 0x43c]
mov dword [rbp + 0x5b], eax
mov r8d, dword [rbp - 0x35]
test r8d, r8d
mov eax, dword [rbp - 0x31]
cmove eax, r13d
mov dword [rbp + 0x57], eax
mov dword [rdi + 0x140], r12d
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x1c8]
lea r8d, [r13 + 3]
mov edx, r12d
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
mov r9d, r12d
mov r8, qword [rbp + 0x5f]
lea rdx, [rbp + 0x57]
mov rcx, qword [rdi + 0x60]
call fcn.1400cdd40
lea r14d, [r13 + 6]
jmp 0x1400c6ae9
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
xor r13d, r13d
mov qword [rbp - 0x41], r13
mov rdx, r12
lea rcx, [rbp - 0x51]
call fcn.1400cea90
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400c6972
mov eax, 0x5b
mov word [rcx], ax
add rcx, 2
mov qword [rbp - 0x49], rcx
mov r14d, 9
mov word [rbp + 0x57], r14w
lea rax, [rbp + 0x57]
mov rbx, qword [rbp - 0x51]
cmp rax, rcx
jae 0x1400c6a3d
lea rax, [rbp + 0x57]
cmp rbx, rax
ja 0x1400c6a3d
lea rsi, [rbp + 0x57]
sub rsi, rbx
sar rsi, 1
mov r8, qword [rbp - 0x41]
cmp rcx, r8
jne 0x1400c6a28
mov rax, r8
sub rax, rcx
sar rax, 1
cmp rax, 1
jae 0x1400c6a28
sub rcx, rbx
sar rcx, 1
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rcx
cmp rax, 1
jae 0x1400c69ee
lea rcx, str.vector_T__too_long
call fcn.14011e934
int3
inc rcx
sub r8, rbx
sar r8, 1
mov rax, r8
shr rax, 1
sub rdx, rax
cmp rdx, r8
jae 0x1400c6a0a
mov r8, r13
jmp 0x1400c6a0d
add r8, rax
cmp r8, rcx
cmovb r8, rcx
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.1400cea90
mov rcx, qword [rbp - 0x49]
mov rbx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400c6ac1
movzx eax, word [rbx + rsi*2]
mov word [rcx], ax
jmp 0x1400c6ac1
mov r8, qword [rbp - 0x41]
cmp rcx, r8
jne 0x1400c6ab8
mov rax, r8
sub rax, rcx
sar rax, 1
cmp rax, 1
jae 0x1400c6ab8
sub rcx, rbx
sar rcx, 1
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rcx
cmp rax, 1
jae 0x1400c6a7e
lea rcx, str.vector_T__too_long
call fcn.14011e934
int3
inc rcx
sub r8, rbx
sar r8, 1
mov rax, r8
shr rax, 1
sub rdx, rax
cmp rdx, r8
jae 0x1400c6a9a
mov r8, r13
jmp 0x1400c6a9d
add r8, rax
cmp r8, rcx
cmovb r8, rcx
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.1400cea90
mov rcx, qword [rbp - 0x49]
mov rbx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400c6ac1
mov word [rcx], r14w
add rcx, 2
mov qword [rbp - 0x49], rcx
lea rdx, [rbp - 0x51]
mov rcx, qword [rdi + 0x60]
call fcn.1400cce70
mov r14d, VariantTimeToDosDateTime
test rbx, rbx
je 0x1400c6ae9
mov rcx, rbx
call fcn.14011f898
mov dword [rdi + 0x13c], r13d
mov qword [rdi + 0x148], 0
test byte [0x1402d741c], 4
je case.0x1400c640d.8
mov dword [rsp + 0x20], r14d
mov r9d, dword [rdi + 0x138]
lea r8, str._Trigger_gesture_by_H_swipe__m_lLoXTouchPad_d_ewsFirstTouchDown___ewsNextState__d__n
jmp 0x1400c70ba
test bl, 0x40
je 0x1400c6c40
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c6c40
mov rcx, r15
call fcn.140040de0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c6c40
mov rcx, qword [rdi + 0x60]
call fcn.140005df0
mov rcx, rax
mov rdx, r15
call fcn.14003dad0
mov rcx, rax
call fcn.14000b780
mov ebx, eax
mov rcx, r15
call fcn.14000b780
sub eax, ebx
cmp eax, 0x64
jbe case.0x1400c640d.8
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1400c6c14
cmp dword [rcx + 0x480], 0
je 0x1400c6bf2
mov r8d, dword [rbp - 0x35]
test r8d, r8d
jne 0x1400c6ba9
xor edx, edx
jmp 0x1400c6bae
mov edx, 0xffff
xor r8d, r8d
call fcn.1400cce10
lea rcx, [rdi + 8]
call fcn.14006aad0
test rax, rax
je 0x1400c6bf2
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c6bd6
lea rcx, [rax + 0x70]
test rcx, rcx
je 0x1400c6bf2
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c6be3
lea rcx, [rax + 0x70]
mov rax, qword [rcx]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 0x32]
call qword [rax + 0x50]
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x1c8]
mov r8d, 3
mov edx, r12d
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
xor eax, eax
mov dword [rdi + 0x118], eax
mov qword [rdi + 0x124], rax
lea r14d, [rax + 2]
test byte [0x1402d741c], 4
je case.0x1400c640d.8
lea r8, str.FgCnt1__in_LWZ__TimeOut__ewsFirstTouchDown___ewsFirstActivation_n
jmp 0x1400c7289
test bl, 0x20
je 0x1400c6cb2
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c6cb2
mov rcx, r15
call fcn.140040de0
cmp eax, 0xfffffff6
jge 0x1400c6cb2
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x1c8]
mov r8d, 3
mov edx, r12d
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
xor eax, eax
mov qword [rdi + 0x124], rax
mov dword [rdi + 0x118], eax
lea r14d, [rax + 2]
test byte [0x1402d741c], 4
je case.0x1400c640d.8
lea r8, str.FgCnt1__in_LWZ__V_swipe__ewsFirstTouchDown___ewsFirstActivation_n
jmp 0x1400c7289
test bl, bl
jns case.0x1400c640d.8
mov rcx, rsi
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov r14d, 9
test byte [0x1402d741c], 4
je 0x1400c7c41
lea r8, str.FgCnt1__in_LWZ__clicking__ewsFirstTouchDown___ewsWaitingForUnClicking_n
lea edx, [r14 - 6]
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
jmp 0x1400c7c41
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.1400ca960
test eax, eax
je case.0x1400c640d.8
cmp dword [rbp + 0x57], 0x1f4
jae case.0x1400c640d.8
cmp qword [rdi + 0x60], 0
je 0x1400c6ef5
test byte [0x1402d741c], 4
je 0x1400c6d58
lea r8, str._FgCnt1__not_in_L_RWZ__send_a_WINZ_ewsFirstTouchDown___ewsWaitingForEndOfStroke_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
xor r14d, r14d
mov qword [rbp - 0x41], r14
mov rdx, r12
lea rcx, [rbp - 0x51]
call fcn.1400cea90
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400c6d84
mov eax, 0x5b
mov word [rcx], ax
add rcx, 2
mov qword [rbp - 0x49], rcx
mov esi, 0x5a
mov word [rbp + 0x57], si
lea rax, [rbp + 0x57]
mov rbx, qword [rbp - 0x51]
cmp rax, rcx
jae 0x1400c6e4d
lea rax, [rbp + 0x57]
cmp rbx, rax
ja 0x1400c6e4d
lea rsi, [rbp + 0x57]
sub rsi, rbx
sar rsi, 1
mov r8, qword [rbp - 0x41]
cmp rcx, r8
jne 0x1400c6e38
mov rax, r8
sub rax, rcx
sar rax, 1
cmp rax, 1
jae 0x1400c6e38
sub rcx, rbx
sar rcx, 1
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rcx
cmp rax, 1
jae 0x1400c6dfe
lea rcx, str.vector_T__too_long
call fcn.14011e934
int3
inc rcx
sub r8, rbx
sar r8, 1
mov rax, r8
shr rax, 1
sub rdx, rax
cmp rdx, r8
jae 0x1400c6e1a
mov r8, r14
jmp 0x1400c6e1d
add r8, rax
cmp r8, rcx
cmovb r8, rcx
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.1400cea90
mov rcx, qword [rbp - 0x49]
mov rbx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400c6ed0
movzx eax, word [rbx + rsi*2]
mov word [rcx], ax
jmp 0x1400c6ed0
mov r8, qword [rbp - 0x41]
cmp rcx, r8
jne 0x1400c6ec8
mov rax, r8
sub rax, rcx
sar rax, 1
cmp rax, 1
jae 0x1400c6ec8
sub rcx, rbx
sar rcx, 1
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rcx
cmp rax, 1
jae 0x1400c6e8e
lea rcx, str.vector_T__too_long
call fcn.14011e934
int3
inc rcx
sub r8, rbx
sar r8, 1
mov rax, r8
shr rax, 1
sub rdx, rax
cmp rdx, r8
jae 0x1400c6eaa
mov r8, r14
jmp 0x1400c6ead
add r8, rax
cmp r8, rcx
cmovb r8, rcx
mov rdx, r8
lea rcx, [rbp - 0x51]
call fcn.1400cea90
mov rcx, qword [rbp - 0x49]
mov rbx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400c6ed0
mov word [rcx], si
add rcx, 2
mov qword [rbp - 0x49], rcx
lea rdx, [rbp - 0x51]
mov rcx, qword [rdi + 0x60]
call fcn.1400cce70
nop
test rbx, rbx
je 0x1400c6ef8
mov rcx, rbx
call fcn.14011f898
jmp 0x1400c6ef8
xor r14d, r14d
or ecx, 0xffffffff
mov dword [rdi + 0x11c], ecx
mov qword [rdi + 0x120], 1
mov dword [rdi + 0x128], r14d
lea r14d, [rcx + 0xc]
jmp case.0x1400c640d.8
test r8d, r8d
je case.0x1400c640d.8
mov rdx, qword [rbp + 0x5f]
mov rcx, rdi
call fcn.1400ca0e0
mov ebx, eax
mov dword [rbp + 0x57], eax
xor eax, eax
mov esi, eax
mov r15, r13
test r13d, r13d
mov r13, qword [rbp + 0x5f]
jle 0x1400c6f96
lea rbx, [rdi + 0xc8]
nop dword [rax]
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, esi
mov rdx, r13
call fcn.1400de4f0
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400c6f76
lea rcx, [rbx + 8]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400c6f82
lea rdx, [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x30]
inc esi
add rbx, 0x10
dec r15
jne 0x1400c6f50
mov ebx, dword [rbp + 0x57]
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jg case.0x1400c640d.8
test ebx, ebx
je case.0x1400c640d.8
mov rax, qword [rdi + 0x60]
mov rcx, qword [rax + 0x120]
add rcx, 0x20
xor r8d, r8d
mov rdx, r13
call fcn.1400de4f0
mov rsi, rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, r12d
mov rdx, r13
call fcn.1400de4f0
mov rbx, rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, 2
mov rdx, r13
call fcn.1400de4f0
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
lea rdx, [rbp + 0x57]
mov rcx, rdi
call fcn.1400cb080
mov r9d, dword [rbp + 0x5b]
mov r8d, dword [rbp + 0x57]
lea rdx, [rbp + 0x57]
mov rcx, rdi
call fcn.1400cb200
xor ebx, ebx
mov dword [rbp + 0x5b], ebx
mov rax, qword [rbp + 0x57]
mov qword [rdi + 0x110], rax
mov dword [rdi + 0x140], r12d
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x1c8]
lea r8d, [rbx + 3]
mov edx, r12d
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
mov r9d, r12d
mov r8, r13
lea rdx, [rbp + 0x57]
mov rcx, qword [rdi + 0x60]
call fcn.1400cdd40
mov dword [rdi + 0x148], ebx
or ecx, 0xffffffff
mov dword [rdi + 0x11c], ecx
mov dword [rdi + 0x120], ecx
mov qword [rdi + 0x124], rbx
lea r14d, [rbx + 6]
test byte [0x1402d741c], 4
je case.0x1400c640d.8
mov dword [rsp + 0x20], ebx
mov r9d, dword [rbp + 0x57]
lea r8, str.FgCnt3__SendTouchInput___d__d__with_ewtfScreenPosMode__ewsFirstTouchDown___ewsWaitingForDragMotion_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
jmp case.0x1400c640d.8
cmp r13d, 1
jne 0x1400c726f
mov rcx, r15
call fcn.140040c00
add dword [rdi + 0x124], eax
mov rcx, r15
call fcn.140040de0
add dword [rdi + 0x128], eax
test bl, 0x40
je 0x1400c716f
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c716f
mov rcx, r15
call fcn.140040de0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c716f
mov rcx, qword [rdi + 0x60]
call fcn.140005df0
mov rcx, rax
mov rdx, r15
call fcn.14003dad0
mov rcx, rax
call fcn.14000b780
mov ebx, eax
mov rcx, r15
call fcn.14000b780
sub eax, ebx
cmp eax, 0x190
jbe case.0x1400c640d.8
mov rdx, r15
mov rcx, rdi
call fcn.1400c9050
xor eax, eax
mov qword [rdi + 0x124], rax
lea r14d, [r13 + 2]
jmp case.0x1400c640d.8
test bl, 0x20
je 0x1400c71e8
mov eax, dword [rdi + 0x124]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jge 0x1400c71e8
mov eax, dword [rdi + 0x128]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x1400c71e8
lea rcx, [rdi + 8]
call fcn.14006aad0
test rax, rax
je 0x1400c71bf
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c71b4
lea rcx, [rax + 0x70]
test rcx, rcx
je 0x1400c71bf
mov rdx, r15
mov rcx, rdi
call fcn.1400c9050
xor eax, eax
mov qword [rdi + 0x124], rax
lea r14d, [rax + 3]
test byte [0x1402d741c], 4
je case.0x1400c640d.8
lea r8, str.FgCnt1__V_motion__ewsFirstActivation___ewsWaitingForVertMotion_n
mov edx, r14d
jmp 0x1400c728e
test bl, 0x10
je 0x1400c7228
mov rdx, r15
mov rcx, rdi
call fcn.1400ca630
test eax, eax
je 0x1400c7228
mov dword [rdi + 0x144], r12d
xor eax, eax
mov qword [rdi + 0x124], rax
mov r14d, 4
test byte [0x1402d741c], r14b
je case.0x1400c640d.8
lea r8, str.FgCnt1__H_motion__ewsFirstActivation___ewsWaitingForHorzMotion_n
jmp 0x1400c7289
test bl, bl
jns case.0x1400c640d.8
lea rcx, [rdi + 8]
call fcn.14006aad0
mov rcx, rax
mov rdx, r15
call fcn.14003dca0
mov rcx, rax
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov r14d, 9
jmp 0x1400c7c41
cmp r13d, 3
jne case.0x1400c640d.8
test dl, 4
je case.0x1400c640d.8
lea r8, str.in_ewsFirstActivation__FgCnt3_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
jmp case.0x1400c640d.8
cmp r13d, 1
jne 0x1400c7447
mov rcx, r15
call fcn.140040c00
add dword [rdi + 0x124], eax
mov rcx, r15
call fcn.140040de0
add eax, dword [rdi + 0x128]
mov dword [rdi + 0x128], eax
cdq
xor eax, edx
sub eax, edx
lea r13, [rdi + 8]
cmp eax, 0xc8
jle 0x1400c7350
mov rcx, r13
call fcn.14006aad0
test rax, rax
je 0x1400c733f
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c72fa
lea rcx, [rax + 0x70]
test rcx, rcx
je 0x1400c733f
cmp qword [rdi + 0x60], 0
je 0x1400c733f
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
test rax, rax
je 0x1400c733f
mov r9d, r12d
or ecx, 0xffffffff
cmp dword [rdi + 0x128], 0
cmovg r9d, ecx
mov dword [rdi + 0x120], r9d
mov r8, r15
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cda90
mov dword [rdi + 0x148], r12d
xor r12d, r12d
mov qword [rdi + 0x124], r12
mov eax, dword [rdi + 0x124]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x1400c73ff
mov rcx, r13
call fcn.14006aad0
test rax, rax
je 0x1400c73ee
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c7383
lea rcx, [rax + 0x70]
test rcx, rcx
je 0x1400c73ee
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rcx
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
test rax, rax
je 0x1400c73ee
lea r8, [rbp - 0x51]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd960
test byte [0x1402d741c], 4
je 0x1400c73ee
mov eax, dword [rbp - 0x45]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x49]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x4d]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x51]
lea r8, str.Focus_window_rect__left:_d__top:_d__right:_d__bottom:_d__n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov qword [rdi + 0x124], 0
mov r14d, 4
cmp dword [rdi + 0x14c], 0
je case.0x1400c640d.8
mov rcx, rsi
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov rcx, rdi
call fcn.1400c90e0
not bl
movzx r14d, bl
shr r14d, 7
or r14d, 0xa
jmp case.0x1400c640d.8
cmp r13d, 3
jne case.0x1400c640d.8
test dl, 4
je case.0x1400c640d.8
lea r8, str.in_ewsWaitingForVertMotion__FgCnt3_n
jmp 0x1400c7289
cmp r13d, 1
jne 0x1400c7571
mov rcx, r15
call fcn.14000b900
mov rcx, r15
call fcn.14000b7b0
mov rcx, qword [rdi + 0x60]
sub eax, dword [rcx + 0x440]
imul eax, dword [rcx + 0x420]
cdq
idiv dword [rcx + 0x438]
mov r12d, eax
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c74e9
mov rcx, rsi
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c74e9
mov rcx, r15
call fcn.140040de0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x1400c74e9
mov rcx, rsi
call fcn.140040de0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x1400c74e9
lea r14d, [r13 + 2]
jmp 0x1400c7563
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x1400c7531
mov rcx, rsi
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x1400c7531
mov rcx, r15
call fcn.140040de0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c7531
mov rcx, rsi
call fcn.140040de0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jl 0x1400c755d
mov r8d, dword [rbp - 0x35]
cmp r12d, 0x64
jle 0x1400c7540
test r8d, r8d
je 0x1400c755d
mov eax, dword [rbp - 0x31]
sub eax, r12d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x1400c73ff
test r8d, r8d
je 0x1400c73ff
mov r14d, 5
xor eax, eax
mov qword [rdi + 0x124], rax
jmp 0x1400c73ff
cmp r13d, 3
jne case.0x1400c640d.8
test dl, 4
je case.0x1400c640d.8
lea r8, str.in_ewsWaitingForHorzMotion__FgCnt3_n
jmp 0x1400c7289
cmp r13d, 1
jne 0x1400c7832
mov rcx, r15
call fcn.140040c00
add dword [rdi + 0x124], eax
mov rcx, r15
call fcn.140040de0
mov ecx, eax
add ecx, dword [rdi + 0x128]
mov dword [rdi + 0x128], ecx
mov eax, dword [rdi + 0x124]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jle case.0x1400c640d.8
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x32
jge case.0x1400c640d.8
lea rcx, [rdi + 8]
call fcn.14006aad0
test rax, rax
je case.0x1400c640d.8
mov rcx, qword [rax + 0x58]
test rcx, rcx
jne 0x1400c760a
lea rcx, [rax + 0x70]
test rcx, rcx
je case.0x1400c640d.8
lea rcx, [rbp + 0x57]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [rdi + 0x144], 0
je 0x1400c7683
mov rcx, r15
call fcn.14000b900
mov ebx, eax
mov rcx, r15
call fcn.14000b7b0
mov rcx, qword [rdi + 0x60]
sub eax, dword [rcx + 0x440]
imul eax, dword [rcx + 0x420]
cdq
idiv dword [rcx + 0x438]
mov dword [rbp + 0x57], eax
mov eax, dword [rcx + 0x44c]
sub eax, ebx
imul eax, dword [rcx + 0x424]
cdq
idiv dword [rcx + 0x43c]
mov dword [rbp + 0x5b], eax
mov r8d, dword [rbp - 0x35]
test r8d, r8d
mov eax, dword [rbp - 0x31]
mov ebx, 0
cmove eax, ebx
mov dword [rbp + 0x57], eax
mov dword [rdi + 0x144], ebx
jmp 0x1400c7707
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rcx
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
lea r8, [rbp - 0x51]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd960
test byte [0x1402d741c], 4
je 0x1400c76e9
mov eax, dword [rbp - 0x45]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x49]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x4d]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x51]
lea r8, str.Focus_window_rect__left:_d__top:_d__right:_d__bottom:_d__n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov eax, dword [rbp - 0x49]
add eax, dword [rbp - 0x51]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0x57], eax
mov eax, dword [rbp - 0x4d]
add eax, dword [rbp - 0x45]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0x5b], eax
xor ebx, ebx
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jg 0x1400c77a4
mov dword [rdi + 0x140], r12d
test byte [0x1402d741c], 4
je 0x1400c7746
mov r9d, r12d
lea r8, str.LeftWing_Drag:__d_n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov rcx, qword [rdi + 0x60]
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x1c8]
mov r8d, 3
mov edx, r12d
mov rcx, qword [rdi + 0x60]
call fcn.1400ccf60
mov r9d, r12d
mov r8, qword [rbp + 0x5f]
lea rdx, [rbp + 0x57]
mov rcx, qword [rdi + 0x60]
call fcn.1400cdd40
mov r14d, 6
test byte [0x1402d741c], 4
je 0x1400c77f6
lea r8, str.in_ewsWaitingForAction__fgCnt1__SendTouchInput____ewsWaitingForDragMotion
lea edx, [r14 - 3]
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
jmp 0x1400c77f6
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1400cea90
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x1400c77cd
mov ecx, 0xd
mov word [rax], cx
add rax, 2
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 0x60]
call fcn.1400cce70
mov r14d, VariantTimeToDosDateTime
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c77f6
call fcn.14011f898
mov dword [rdi + 0x13c], ebx
mov qword [rdi + 0x148], 0
or ecx, 0xffffffff
cmp dword [rdi + 0x124], 0
cmovl r12d, ecx
mov dword [rdi + 0x11c], r12d
mov dword [rdi + 0x120], ecx
mov qword [rdi + 0x124], 0
jmp case.0x1400c640d.8
cmp r13d, 3
jne case.0x1400c640d.8
test dl, 4
je case.0x1400c640d.8
lea r8, str.in_ewsWaitingForAction__FgCnt3_n
jmp 0x1400c7289
cmp r13d, 1
jne 0x1400c7ace
test dl, 4
je 0x1400c7877
lea r8, str.in_ewsWaitingForDragMotion_n
lea edx, [r13 + 2]
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov r8d, dword [rbp - 0x35]
test r8d, r8d
mov eax, dword [rbp - 0x31]
mov r13d, 0
cmove eax, r13d
mov dword [rbp + 0x57], eax
mov dword [rbp + 0x5b], r13d
xor r9d, r9d
mov r8, qword [rbp + 0x5f]
lea rdx, [rbp + 0x57]
mov rcx, qword [rdi + 0x60]
call fcn.1400cdd40
mov rcx, r15
call fcn.140040c00
add dword [rdi + 0x124], eax
mov rcx, r15
call fcn.140040de0
add dword [rdi + 0x128], eax
mov eax, dword [rdi + 0x120]
cmp eax, 0xffffffff
jne 0x1400c790e
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c7950
mov rcx, rsi
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c7950
cmp dword [rdi + 0x128], 0xffffffce
jge 0x1400c7950
mov qword [rdi + 0x120], 1
mov dword [rdi + 0x128], r13d
jmp 0x1400c7950
cmp eax, 1
jne 0x1400c7950
mov rcx, r15
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c7950
mov rcx, rsi
call fcn.140040c00
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x1400c7950
cmp dword [rdi + 0x128], 0x32
jle 0x1400c7950
or ecx, 0xffffffff
mov dword [rdi + 0x120], ecx
mov qword [rdi + 0x124], r13
mov rcx, r15
call fcn.14000b900
mov rcx, r15
call fcn.14000b7b0
mov rcx, qword [rdi + 0x60]
sub eax, dword [rcx + 0x440]
imul eax, dword [rcx + 0x420]
cdq
idiv dword [rcx + 0x438]
cmp dword [rdi + 0x140], r13d
je 0x1400c7a61
mov ecx, dword [rdi + 0x13c]
test ecx, ecx
jne 0x1400c79a8
cmp eax, 0x64
jle 0x1400c79a0
mov dword [rdi + 0x13c], r12d
jmp 0x1400c7a61
test ecx, ecx
je 0x1400c7a61
cmp eax, 0x64
jg 0x1400c7a61
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r13
mov qword [rdi + 0x140], 0
mov dword [rdi + 0x13c], r13d
mov dword [rdi + 0x14c], r13d
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1400cea90
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x1400c79f3
mov ecx, 0x1b
mov word [rax], cx
add rax, 2
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 0x60]
call fcn.1400cce70
mov rcx, qword [rdi + 0x60]
call fcn.1400ce460
mov rcx, qword [rdi + 0x60]
call fcn.1400cd490
mov dword [rdi + 0x118], r13d
mov qword [rdi + 0x124], 0
mov r14d, 7
test byte [0x1402d741c], 4
je 0x1400c7a53
lea r8, str.in_ewsWaitingForDragMotion__fgCnt1__sent_ESC_key____ewsWaitingForEndOfDragMotion
lea edx, [r14 - 4]
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c7a61
call fcn.14011f898
cmp dword [rdi + 0x14c], 0
jne 0x1400c740c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
test rax, rax
jne case.0x1400c640d.8
test bl, bl
jns case.0x1400c640d.8
mov rcx, rsi
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov rcx, qword [rdi + 0x60]
call fcn.1400ce460
mov rcx, qword [rdi + 0x60]
call fcn.1400cd490
mov r14d, 9
jmp 0x1400c7c41
cmp r13d, 3
jne case.0x1400c640d.8
mov rax, qword [rdi + 0x60]
mov rcx, qword [rax + 0x120]
add rcx, 0x20
xor r8d, r8d
mov r13, qword [rbp + 0x5f]
mov rdx, r13
call fcn.1400de4f0
mov rsi, rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, r12d
mov rdx, r13
call fcn.1400de4f0
mov rbx, rax
mov rcx, qword [rdi + 0x60]
mov rcx, qword [rcx + 0x120]
add rcx, 0x20
mov r8d, 2
mov rdx, r13
call fcn.1400de4f0
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
lea rdx, [rbp - 0x51]
mov rcx, rdi
call fcn.1400cb080
mov rax, qword [rdi + 0x110]
mov qword [rbp + 0x57], rax
mov esi, dword [rbp - 0x4d]
mov dword [rbp + 0x5b], esi
test byte [0x1402d741c], 4
je 0x1400c7b9e
mov rcx, r15
call fcn.14000b900
mov ebx, eax
mov rcx, r15
call fcn.14000b7b0
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
mov r9d, dword [rbp + 0x57]
lea r8, str.in_ewsWaitingForDragMotion__FgCnt3__sendInput_with_screenPos__d__d___pktPos__d__d___mode_ewtfTouchpadPosMode_ewtfXUsedInput__n
mov edx, 3
lea rcx, str.CWingStateMachine::ProcessPacketByLWStateMachine
call fcn.14011a490
mov r9d, 8
mov r8, r13
lea rdx, [rbp + 0x57]
mov rcx, qword [rdi + 0x60]
call fcn.1400cdd40
jmp case.0x1400c640d.8
cmp r13d, 1
jne case.0x1400c640d.8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
mov rcx, qword [rdi + 0x60]
call fcn.1400cd110
test rax, rax
je 0x1400c7be5
mov rcx, qword [rdi + 0x60]
call fcn.1400cd490
jmp case.0x1400c640d.8
mov dword [rdi + 0x118], eax
mov qword [rdi + 0x124], rax
mov r14d, 2
jmp case.0x1400c640d.8
mov rcx, rsi
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov r14d, 3
jmp case.0x1400c640d.8
mov rcx, rsi
call fcn.14000ac20
test al, al
jne case.0x1400c640d.8
mov rcx, r15
call fcn.14000ac20
test al, al
je case.0x1400c640d.8
mov r14d, 9
mov rcx, qword [rdi + 0x60]
call fcn.1400cd490
mov rdx, r15
mov rcx, rdi
call fcn.1400c9050
cmp dword [rdi + 0x68], r14d
je 0x1400c7c63
mov dword [rdi + 0x68], r14d
jmp 0x1400c7c63
mov rdx, r15
mov rcx, rdi
call fcn.1400c9170
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret