Function at 0x1401a7e10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc0
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp - 1], rax
cmp dword [rbp + 0x7f], 0
mov r15, r9
mov r14, qword [rbp + 0x77]
mov ebx, r8d
mov rdi, rcx
jne 0x1401a823a
cmp ebx, 2
jne 0x1401a7edb
mov r12, qword [rcx + 0x40]
mov qword [rsp + 0x108], r13
mov r13, qword [rcx + 8]
mov rcx, qword [rcx + 0x28]
call fcn.1401f71fc
mov rcx, qword [rdi + 8]
mov edx, 0xfffffffc
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rbx, rax
jne 0x1401a7eae
mov r8, qword [rdi + 0x40]
mov edx, 0xfffffffc
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1401a7eae
mov rdx, qword [sym.imp.USER32.dll_DefWindowProcW]
xor esi, esi
mov qword [rdi + 0x40], rdx
mov qword [rdi + 8], rsi
mov r9, qword [rbp + 0x6f]
mov r8, r15
mov edx, 2
mov rcx, r13
mov rax, r12
call qword [case.0x140038ca6.0]
mov r13, qword [rsp + 0x108]
mov qword [r14], rax
mov eax, 1
jmp 0x1401a823c
xor esi, esi
cmp ebx, 0x113
jne 0x1401a7f0d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.1401aaf10
mov qword [r14], rax
cmp dword [rsp + 0x30], esi
jne 0x1401a7f35
jmp 0x1401a8036
cmp ebx, 0x205
jne 0x1401a7f3f
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401ab100
mov qword [r14], rsi
mov eax, 1
jmp 0x1401a823c
cmp ebx, 0x7b
jne 0x1401a7ff6
mov rcx, qword [rcx + 8]
cmp r15, rcx
je 0x1401a7f63
mov rcx, r15
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rdi + 8]
cmp rax, rcx
je 0x1401a7f32
mov eax, 0xffffffff
mov qword [rsp + 0x30], rsi
cmp qword [rbp + 0x6f], rax
jne 0x1401a7f1a
xorps xmm0, xmm0
lea rdx, [rbp - 0x79]
movdqu xmmword [rbp - 0x79], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, rdi
call fcn.1401aaa90
test eax, eax
js 0x1401a7fcc
mov rcx, qword [rdi + 8]
lea r9, [rbp - 0x79]
movsxd r8, eax
mov edx, 0x100e
mov dword [rbp - 0x79], 3
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rdi + 8]
lea rdx, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rdx, [rbp - 0x71]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x71]
add eax, dword [rbp - 0x79]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp - 0x79]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x6d]
add eax, dword [rbp - 0x75]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp - 0x7d], eax
jmp 0x1401a7f25
cmp ebx, 0x20b
jne 0x1401a802e
cmp r15w, 0x20
jne 0x1401a7f32
mov rcx, qword [rcx + 0x68]
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0x8031
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov qword [r14], rsi
jmp 0x1401a823c
cmp ebx, 5
jne 0x1401a8036
mov qword [r14], rsi
cmp ebx, dword [0x140315328]
jne 0x1401a812b
mov eax, dword [rdi + 0x198]
lea rcx, [rdi + 0x80]
sub eax, 3
test eax, 0xfffffffd
jne 0x1401a7f32
cmp r15d, 0x3e7
jne 0x1401a7f32
mov ebx, dword [rbp + 0x6f]
lea r8, [rsp + 0x30]
mov edx, ebx
mov dword [rsp + 0x30], esi
call fcn.1401a6410
test al, al
je 0x1401a7f32
mov r8, qword [rdi + 0x1e0]
test r8, r8
je 0x1401a7f32
xor edx, edx
mov eax, ebx
div dword [rdi + 0x1f0]
mov rax, qword [r8 + rdx*8]
test rax, rax
je 0x1401a7f32
nop dword [rax]
cmp dword [rax + 0x10], ebx
jne 0x1401a80b9
cmp dword [rax], ebx
je 0x1401a80cf
mov rax, qword [rax + 8]
test rax, rax
jne 0x1401a80b0
mov qword [r14], rsi
mov eax, 1
jmp 0x1401a823c
mov ecx, dword [rax + 4]
test ecx, ecx
js 0x1401a7f32
xorps xmm0, xmm0
lea r9, [rbp - 0x61]
xor eax, eax
xor r8d, r8d
movups xmmword [rbp - 0x61], xmm0
mov dword [rbp - 0x5d], ecx
mov edx, 0x104c
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x11], rax
mov eax, dword [rsp + 0x30]
movups xmmword [rbp - 0x41], xmm0
mov dword [rbp - 0x61], 2
movups xmmword [rbp - 0x51], xmm0
mov dword [rbp - 0x3d], eax
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov qword [r14], rsi
jmp 0x1401a823c
cmp ebx, 0x20a
jne 0x1401a81eb
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov r12d, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jae 0x1401a81df
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a81df
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a81df
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a81df
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a81df
mov rcx, qword [rdi + 0x68]
xor r9d, r9d
shr r15, 0x10
mov r12d, 1
mov edx, VarUI4FromDisp
cmp r15w, 0x78
jl 0x1401a81d3
mov r8d, 0x823b
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, r12d
mov qword [r14], rsi
jmp 0x1401a823c
mov r8d, 0x823c
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [r14], rsi
test r12d, r12d
jne 0x1401a7f35
cmp ebx, dword [0x1403152f0]
jne 0x1401a823a
call fcn.140166630
call fcn.140166630
cmp dword [rax + 0x310], esi
je 0x1401a8212
call fcn.140166630
add rax, 0x314
jmp 0x1401a8215
mov rax, rsi
mov edx, 8
lea rcx, [rdi + 0x270]
mov r9b, 1
mov r8, rax
mov rdx, qword [rdi + rdx]
call fcn.1401b0ce0
mov eax, 1
mov qword [r14], rsi
jmp 0x1401a823c
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret