Function at 0x14008d770
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
lea rbp, [0x1400bbcd0]
mov rdi, r9
mov r15, r8
mov rcx, rbp
mov r14, rdx
call fcn.14003f110
movsxd rcx, eax
mov dword [rsp + 0x138], eax
mov rax, qword [0x1400bbd70]
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdi + 0x10]
mov r12, qword [rcx]
mov ecx, 0xfffffe6e
cmp eax, ecx
ja 0x14008da21
je 0x14008d9ad
cmp eax, 0xfffffd09
je 0x14008d982
cmp eax, 0xfffffd0e
je 0x14008d970
cmp eax, 0xfffffd0f
je 0x14008d93c
cmp eax, 0xfffffd16
je 0x14008d937
cmp eax, 0xfffffdd9
je 0x14008d918
cmp eax, 0xfffffdda
je 0x14008d8ae
cmp eax, 0xfffffe3d
je 0x14008d9ad
cmp eax, 0xfffffe64
jne 0x14008e0f7
mov rsi, qword [rdi]
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 8
jae 0x14008e0f7
mov eax, SafeArrayAllocDescriptor
cmp word [rdi + 0x18], ax
jne 0x14008e0f7
lea r8d, [rax - 0x17]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
cmp rax, rbx
je 0x14008e0f7
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x14008e0f7
mov edx, dword [rsp + 0xa0]
xor r8d, r8d
jmp 0x14008d932
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
cmp ax, bx
jge 0x14008e0f7
lea ecx, [rbx + 9]
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, bx
jge 0x14008e0f7
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [rbx + 0x10]
mov rbp, rax
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, bx
jge 0x14008d8ff
dec ebp
jmp 0x14008d901
inc ebp
mov edx, dword [rdi + 8]
mov r8d, ebp
lea rcx, [0x1400bbcd0]
call fcn.1400683f0
jmp 0x14008e0f7
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rax
mov edx, dword [rdi + 8]
mov rcx, rbp
jmp 0x14008d90e
mov r8d, eax
jmp 0x14008d92f
mov esi, 1
cmp byte [r12 + 0x29e], sil
jne 0x14008d959
mov edx, dword [rdi + 8]
mov r8d, eax
mov rcx, rbp
call fcn.1400683f0
xor ebx, ebx
mov byte [r12 + 0x29e], bl
mov byte [r12 + 0x29d], bl
jmp 0x14008e0f7
mov esi, 1
mov byte [r12 + 0x29d], sil
jmp 0x14008e0f7
xor ebx, ebx
mov esi, 1
mov byte [r12 + 0x29e], sil
cmp byte [r12 + 0x29d], bl
jne 0x14008e0f7
mov byte [r12 + 0x29e], bl
mov r8d, dword [rdi + 0x10]
jmp 0x14008d92f
mov rcx, qword [rdi]
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
cmp rax, rbx
je 0x14008e0f7
mov rcx, qword [rdi]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x14008e0f7
mov rax, qword [rdi + 0x88]
cmp qword [rdi + 0x50], rax
je 0x14008e0f7
cmp dword [rdi + 0x18], 0x1000
je 0x14008e0f7
lea esi, [rbx + 1]
cmp dword [rdi + 0x18], esi
jmp 0x14008d899
cmp eax, 0xfffffec0
je 0x14008e0e8
cmp eax, 0xfffffed4
je 0x14008e0e8
cmp eax, 0xffffff93
je 0x14008e023
cmp eax, 0xffffff94
je 0x14008df61
cmp eax, 0xfffffff0
je 0x14008df56
cmp eax, 0xfffffff4
je 0x14008de29
cmp eax, 0xfffffffb
je 0x14008dbdd
cmp eax, 0xfffffffe
jne 0x14008e0f7
mov r8d, 1
mov rdx, r12
mov rcx, rbp
call fcn.140065f60
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rdi]
mov rcx, rbp
call fcn.14004ecd0
cmp eax, 0xffffffff
je 0x14008e0f7
movsxd rcx, eax
mov rax, qword [0x1400bbd98]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov cl, byte [rax + 0xd4]
cmp cl, 0x10
jb 0x14008e0f7
cmp cl, 0x11
jbe 0x14008db47
cmp cl, 0x13
jne 0x14008e0f7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x1012
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x14008e0f7
mov rcx, qword [rdi]
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0xac], eax
mov dword [rsp + 0xa8], 4
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x40], 0xe
je 0x14008e0f7
mov edx, dword [rsp + 0xd0]
xor r8d, r8d
jmp 0x14008d932
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x1111
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
cmp rax, rbx
je 0x14008e0f7
mov rcx, qword [rdi]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], recvfrom
mov dword [rsp + 0x84], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x58], 0x46
je 0x14008e0f7
mov rcx, qword [rdi]
xor r9d, r9d
mov ebx, 0x110b
lea r8d, [r9 + 9]
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x60]
mov r8d, 9
mov edx, ebx
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14008e0f7
xor ebx, ebx
mov rdx, r12
mov rcx, rbp
lea esi, [rbx + 1]
mov r13b, bl
mov r8d, esi
call fcn.140065f60
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rdi]
mov rcx, rbp
call fcn.14004ecd0
mov ebp, eax
mov dword [rsp + 0x120], eax
cmp eax, 0xffffffff
jne 0x14008dc52
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetParent]
lea rcx, [0x1400bbcd0]
mov rdx, rax
call fcn.14004ecd0
mov ebp, eax
mov dword [rsp + 0x120], eax
cmp eax, 0xffffffff
je 0x14008e0f7
mov r13b, sil
mov rax, qword [0x1400bbd98]
movsxd rcx, ebp
mov esi, ebp
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov cl, byte [rax + 0xd4]
cmp cl, 0x10
je 0x14008dd45
cmp cl, 0x13
jne 0x14008e0f7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x1012
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jle 0x14008ddd8
cmp r13b, bl
jne 0x14008ddd8
mov rcx, qword [rdi]
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0xac], eax
mov dword [rsp + 0xa8], 4
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rbx
je 0x14008e0f7
test byte [rsp + 0x40], 0xe
je 0x14008ddd8
mov edx, dword [rsp + 0xd0]
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
lea rcx, [0x1400bbcd0]
call fcn.14004ec30
cmp al, bl
je 0x14008ddd8
movsxd rbp, dword [rsp + 0x120]
mov rax, qword [0x1400bbd98]
mov rax, qword [rax + rbp*8]
cmp qword [rax], rbx
je 0x14008dd3e
mov rax, qword [rax]
cmp qword [rax + 0x10], rbx
jne 0x14008ddd8
mov ebp, esi
jmp 0x14008ddd8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, 0x1111
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rbx
je 0x14008ddd8
mov rcx, qword [rdi]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x58], 0x46
je 0x14008ddd8
mov edx, dword [rsp + 0xa0]
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
lea rcx, [0x1400bbcd0]
call fcn.14004ec30
cmp al, bl
je 0x14008ddd8
movsxd rbp, dword [rsp + 0x120]
mov rax, qword [0x1400bbd98]
mov rcx, qword [rax + rbp*8]
mov rax, qword [rcx]
cmp qword [rax + 0x10], rbx
cmove ebp, esi
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [0x1400bbd98]
movsxd rcx, ebp
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
cmp rcx, rbx
je 0x14008e0f7
mov rax, qword [r12]
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x14008e0f7
mov rdx, qword [rdi]
mov rcx, rbp
call fcn.14004ecd0
mov dword [rsp + 0x120], eax
cmp eax, 0xffffffff
je 0x14008e0f7
mov r13, qword [0x1400bbd98]
cdqe
mov rax, qword [r13 + rax*8]
mov rcx, qword [rax]
mov al, byte [rcx + 0xd4]
cmp al, 0x10
je 0x14008de67
cmp al, 0x13
jne 0x14008e0f7
mov eax, dword [rdi + 0x18]
mov esi, 1
sub eax, esi
je 0x14008df4c
cmp eax, 0x10000
jne 0x14008e0f7
mov edx, dword [rdi + 0x48]
xor ebx, ebx
cmp dword [rcx + 0x88], 0xfe000000
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
movzx r12d, bl
mov rcx, rbp
cmove r12d, esi
call fcn.14004ec30
cmp al, bl
jne 0x14008debc
xor eax, eax
jmp 0x14008e10b
movsxd rbp, dword [rsp + 0x120]
mov edx, 0xfffffff0
mov rax, qword [r13 + rbp*8]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x60]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1b
jb 0x14008deb5
test byte [rdi + 0x40], 0x10
mov rdx, qword [0x1400bbd98]
jne 0x14008def4
test byte [rdi + 0x40], sil
je 0x14008df08
mov rax, qword [rdx + rbp*8]
mov rcx, qword [rax]
cmp byte [rcx + 0xd4], 0x14
jne 0x14008e0f7
mov rax, qword [rdx + rbp*8]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x8c]
cmp eax, 0xffffffff
je 0x14008df24
mov dword [rdi + 0x50], eax
mov rdx, qword [0x1400bbd98]
mov rax, qword [rdx + rbp*8]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x88]
cmp eax, ebx
jl 0x14008deb5
cmp r12b, bl
je 0x14008df44
test byte [rdi + 0x38], sil
je 0x14008deb5
mov dword [rdi + 0x54], eax
jmp 0x14008deb5
mov eax, SafeArrayAllocDescriptor
jmp 0x14008e10b
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x14008e0f7
mov ebp, dword [rdi + 8]
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
lea rcx, [0x1400bbcd0]
mov edx, ebp
call fcn.14004ec30
xor ebx, ebx
cmp al, bl
je 0x14008e0f7
mov rax, qword [0x1400bbd98]
movsxd rsi, dword [rsp + 0x120]
xor r8d, r8d
mov rcx, qword [rax + rsi*8]
movzx eax, word [rdi + 0x1c]
mov rdx, qword [rcx]
lea rcx, [0x1400bbcd0]
mov word [rdx + 0xda], ax
mov edx, dword [rdi + 8]
call fcn.1400683f0
mov r11, qword [0x1400bbd98]
mov rax, qword [r11 + rsi*8]
mov rcx, qword [rax]
cmp qword [rcx + 0x48], rbx
jbe 0x14008e0f7
mov dword [0x1400bbd28], ebp
mov rax, qword [r11 + rsi*8]
lea rcx, [0x1400bbd30]
mov rdx, qword [rax]
add rdx, 0x40
call fcn.140001220
mov r11, qword [0x1400bbd98]
lea r9, [0x1400902d0]
mov rax, qword [r11 + rsi*8]
mov edx, 0x1030
mov rcx, qword [rax]
mov al, byte [rcx + 0xdc]
mov byte [0x1400bbd50], al
movsxd r8, dword [rdi + 0x1c]
jmp 0x14008dbcf
mov rcx, qword [0x1400bbdf0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.COMCTL32.dll_ImageList_SetDragCursorImage]
mov rcx, qword [0x1400bbdf0]
xor edx, edx
lea r9d, [rdx - 0x10]
lea r8d, [rdx - 8]
call qword [sym.imp.COMCTL32.dll_ImageList_BeginDrag]
mov rcx, r14
call qword [sym.imp.USER32.dll_SetCapture]
xor ebx, ebx
lea rcx, [rsp + 0x38]
lea esi, [rbx + 1]
mov dword [0x1400bbdf8], r15d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rbx
call fcn.140003840
lea rdx, str._GUI_DRAGID
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], r15d
call fcn.140001ec0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [0x1400bdb08]
mov r9d, esi
mov dword [rsp + 0x20], 2
call fcn.14007e4a0
lea rcx, [rsp + 0x50]
call fcn.1400032d0
mov rcx, qword [rdi]
lea rdx, [rdi + 0x2c]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rdi + 0x30]
mov edx, dword [rdi + 0x2c]
xor ecx, ecx
call qword [sym.imp.COMCTL32.dll_ImageList_DragEnter]
lea rcx, [rsp + 0x38]
call fcn.140003840
jmp 0x14008e0f7
mov rcx, qword [rdi]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
movsxd r8, r15d
mov r9, rdi
mov edx, 0x4e
mov rcx, r14
call qword [sym.imp.USER32.dll_DefDlgProcW]
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret