Function at 0x140090840
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, [0x1400c1e50]
mov rdi, r9
mov r15, r8
mov rcx, rbp
mov r14, rdx
call fcn.140040460
movsxd rcx, eax
mov dword [rsp + 0x138], eax
mov rax, qword [0x1400c1ef0]
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdi + 0x10]
mov r12, qword [rcx]
mov ecx, 0xfffffe6e
cmp eax, ecx
ja 0x140090b88
je 0x140090b14
cmp eax, 0xfffffd09
je 0x140090ae9
cmp eax, 0xfffffd0e
je 0x140090ad7
cmp eax, 0xfffffd0f
je 0x140090aa3
cmp eax, 0xfffffd16
je 0x140090a9e
cmp eax, 0xfffffdd9
je 0x140090a7f
cmp eax, 0xfffffdda
je 0x140090a15
cmp eax, 0xfffffdee
je 0x140090989
cmp eax, 0xfffffe3d
je 0x140090b14
cmp eax, 0xfffffe64
jne 0x14009125e
mov rsi, qword [rdi]
mov edx, 0xfffffff0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 8
jae 0x14009125e
mov eax, SafeArrayAllocDescriptor
cmp word [rdi + 0x18], ax
jne 0x14009125e
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 0x14009125e
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 0x14009125e
mov edx, dword [rsp + 0xa0]
xor r8d, r8d
jmp 0x140090a99
xor ebx, ebx
cmp qword [r12 + 0x288], rbx
je 0x14009125e
mov r9d, dword [0x1400c1f34]
mov r10, qword [0x1400c1f18]
lea edx, [rbx + 3]
cmp edx, r9d
lea esi, [rbx + 1]
jg 0x14009125e
lea r8, [r10 + 0x18]
mov rax, qword [r8]
cmp qword [rax], rbx
je 0x1400909d2
mov rax, qword [rax]
movzx ecx, byte [rax + 0xf7]
cmp rcx, qword [rdi + 8]
je 0x1400909dd
add edx, esi
add r8, 8
cmp edx, r9d
jle 0x1400909ba
cmp edx, r9d
jg 0x14009125e
movsxd rcx, edx
mov r8d, 0x4f
mov rdx, qword [r10 + rcx*8]
lea rcx, [rdi + 0x20]
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x98]
call fcn.140019b78
mov word [rdi + 0xbe], bx
mov rax, rsi
jmp 0x140091272
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
cmp ax, bx
jge 0x14009125e
lea ecx, [rbx + 9]
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, bx
jge 0x14009125e
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 0x140090a66
dec ebp
jmp 0x140090a68
inc ebp
mov edx, dword [rdi + 8]
mov r8d, ebp
lea rcx, [0x1400c1e50]
call fcn.14006afe0
jmp 0x14009125e
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 0x140090a75
mov r8d, eax
jmp 0x140090a96
mov esi, 1
cmp byte [r12 + 0x29e], sil
jne 0x140090ac0
mov edx, dword [rdi + 8]
mov r8d, eax
mov rcx, rbp
call fcn.14006afe0
xor ebx, ebx
mov byte [r12 + 0x29e], bl
mov byte [r12 + 0x29d], bl
jmp 0x14009125e
mov esi, 1
mov byte [r12 + 0x29d], sil
jmp 0x14009125e
xor ebx, ebx
mov esi, 1
mov byte [r12 + 0x29e], sil
cmp byte [r12 + 0x29d], bl
jne 0x14009125e
mov byte [r12 + 0x29e], bl
mov r8d, dword [rdi + 0x10]
jmp 0x140090a96
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 0x14009125e
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 0x14009125e
mov rax, qword [rdi + 0x88]
cmp qword [rdi + 0x50], rax
je 0x14009125e
cmp dword [rdi + 0x18], 0x1000
je 0x14009125e
lea esi, [rbx + 1]
cmp dword [rdi + 0x18], esi
jmp 0x140090974
cmp eax, 0xfffffec0
je 0x14009124f
cmp eax, 0xfffffed4
je 0x14009124f
cmp eax, 0xffffff93
je 0x14009118a
cmp eax, 0xffffff94
je 0x1400910c8
cmp eax, 0xfffffff0
je 0x1400910bd
cmp eax, 0xfffffff4
je 0x140090f90
cmp eax, 0xfffffffb
je 0x140090d44
cmp eax, 0xfffffffe
jne 0x14009125e
mov r8d, 1
mov rdx, r12
mov rcx, rbp
call fcn.140067370
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.1400508a0
cmp eax, 0xffffffff
je 0x14009125e
movsxd rcx, eax
mov rax, qword [0x1400c1f18]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov cl, byte [rax + 0xf4]
cmp cl, 0x10
jb 0x14009125e
cmp cl, 0x11
jbe 0x140090cae
cmp cl, 0x13
jne 0x14009125e
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 0x14009125e
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 0x14009125e
mov edx, dword [rsp + 0xd0]
xor r8d, r8d
jmp 0x140090a99
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 0x14009125e
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 0x14009125e
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 0x14009125e
xor ebx, ebx
mov rdx, r12
mov rcx, rbp
lea esi, [rbx + 1]
mov r13b, bl
mov r8d, esi
call fcn.140067370
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.1400508a0
mov ebp, eax
mov dword [rsp + 0x120], eax
cmp eax, 0xffffffff
jne 0x140090db9
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetParent]
lea rcx, [0x1400c1e50]
mov rdx, rax
call fcn.1400508a0
mov ebp, eax
mov dword [rsp + 0x120], eax
cmp eax, 0xffffffff
je 0x14009125e
mov r13b, sil
mov rax, qword [0x1400c1f18]
movsxd rcx, ebp
mov esi, ebp
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov cl, byte [rax + 0xf4]
cmp cl, 0x10
je 0x140090eac
cmp cl, 0x13
jne 0x14009125e
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 0x140090f3f
cmp r13b, bl
jne 0x140090f3f
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 0x14009125e
test byte [rsp + 0x40], 0xe
je 0x140090f3f
mov edx, dword [rsp + 0xd0]
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
lea rcx, [0x1400c1e50]
call fcn.140050800
cmp al, bl
je 0x140090f3f
movsxd rbp, dword [rsp + 0x120]
mov rax, qword [0x1400c1f18]
mov rax, qword [rax + rbp*8]
cmp qword [rax], rbx
je 0x140090ea5
mov rax, qword [rax]
cmp qword [rax + 0x10], rbx
jne 0x140090f3f
mov ebp, esi
jmp 0x140090f3f
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 0x140090f3f
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 0x140090f3f
mov edx, dword [rsp + 0xa0]
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
lea rcx, [0x1400c1e50]
call fcn.140050800
cmp al, bl
je 0x140090f3f
movsxd rbp, dword [rsp + 0x120]
mov rax, qword [0x1400c1f18]
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 [0x1400c1f18]
movsxd rcx, ebp
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
cmp rcx, rbx
je 0x14009125e
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 0x14009125e
mov rdx, qword [rdi]
mov rcx, rbp
call fcn.1400508a0
mov dword [rsp + 0x120], eax
cmp eax, 0xffffffff
je 0x14009125e
mov r13, qword [0x1400c1f18]
cdqe
mov rax, qword [r13 + rax*8]
mov rcx, qword [rax]
mov al, byte [rcx + 0xf4]
cmp al, 0x10
je 0x140090fce
cmp al, 0x13
jne 0x14009125e
mov eax, dword [rdi + 0x18]
mov esi, 1
sub eax, esi
je 0x1400910b3
cmp eax, 0x10000
jne 0x14009125e
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.140050800
cmp al, bl
jne 0x140091023
xor eax, eax
jmp 0x140091272
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 0x14009101c
test byte [rdi + 0x40], 0x10
mov rdx, qword [0x1400c1f18]
jne 0x14009105b
test byte [rdi + 0x40], sil
je 0x14009106f
mov rax, qword [rdx + rbp*8]
mov rcx, qword [rax]
cmp byte [rcx + 0xf4], 0x14
jne 0x14009125e
mov rax, qword [rdx + rbp*8]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x8c]
cmp eax, 0xffffffff
je 0x14009108b
mov dword [rdi + 0x50], eax
mov rdx, qword [0x1400c1f18]
mov rax, qword [rdx + rbp*8]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x88]
cmp eax, ebx
jl 0x14009101c
cmp r12b, bl
je 0x1400910ab
test byte [rdi + 0x38], sil
je 0x14009101c
mov dword [rdi + 0x54], eax
jmp 0x14009101c
mov eax, SafeArrayAllocDescriptor
jmp 0x140091272
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x14009125e
mov ebp, dword [rdi + 8]
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x138]
lea rcx, [0x1400c1e50]
mov edx, ebp
call fcn.140050800
xor ebx, ebx
cmp al, bl
je 0x14009125e
mov rax, qword [0x1400c1f18]
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, [0x1400c1e50]
mov word [rdx + 0xfa], ax
mov edx, dword [rdi + 8]
call fcn.14006afe0
mov r11, qword [0x1400c1f18]
mov rax, qword [r11 + rsi*8]
mov rcx, qword [rax]
cmp qword [rcx + 0x48], rbx
jbe 0x14009125e
mov dword [0x1400c1ea8], ebp
mov rax, qword [r11 + rsi*8]
lea rcx, [0x1400c1eb0]
mov rdx, qword [rax]
add rdx, 0x40
call fcn.140001110
mov r11, qword [0x1400c1f18]
lea r9, [0x140092ec0]
mov rax, qword [r11 + rsi*8]
mov edx, 0x1030
mov rcx, qword [rax]
mov al, byte [rcx + 0xfc]
mov byte [0x1400c1ed0], al
movsxd r8, dword [rdi + 0x1c]
jmp 0x140090d36
mov rcx, qword [0x1400c1f70]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.COMCTL32.dll_ImageList_SetDragCursorImage]
mov rcx, qword [0x1400c1f70]
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 [0x1400c1f78], r15d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rbx
call fcn.1400038c0
lea rdx, str._GUI_DRAGID
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], r15d
call fcn.140002350
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [0x1400c3d48]
mov r9d, esi
mov dword [rsp + 0x20], 2
call fcn.140082530
lea rcx, [rsp + 0x50]
call fcn.140003410
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.1400038c0
jmp 0x14009125e
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