Function at 0x1401a46d0
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 [0x1402fa010]
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 rsi, rcx
jne 0x1401a4afa
cmp ebx, 2
jne 0x1401a479b
mov r12, qword [rcx + 0x40]
mov qword [rsp + 0x108], r13
mov r13, qword [rcx + 8]
mov rcx, qword [rcx + 0x28]
call fcn.1401f3934
mov rcx, qword [rsi + 8]
mov edx, 0xfffffffc
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rbx, rax
jne 0x1401a476e
mov r8, qword [rsi + 0x40]
mov edx, 0xfffffffc
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1401a476e
mov rdx, qword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov qword [rsi + 0x40], rdx
mov qword [rsi + 8], rdi
mov r9, qword [rbp + 0x6f]
mov r8, r15
mov edx, 2
mov rcx, r13
mov rax, r12
call qword [case.0x140038716.0]
mov r13, qword [rsp + 0x108]
mov qword [r14], rax
mov eax, 1
jmp 0x1401a4afc
xor edi, edi
cmp ebx, 0x113
jne 0x1401a47cd
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.1401a77d0
mov qword [r14], rax
cmp dword [rsp + 0x30], edi
jne 0x1401a47f5
jmp 0x1401a48f6
cmp ebx, 0x205
jne 0x1401a47ff
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401a79c0
mov qword [r14], rdi
mov eax, 1
jmp 0x1401a4afc
cmp ebx, 0x7b
jne 0x1401a48b6
mov rcx, qword [rcx + 8]
cmp r15, rcx
je 0x1401a4823
mov rcx, r15
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x1401a47f2
mov eax, 0xffffffff
mov qword [rsp + 0x30], rdi
cmp qword [rbp + 0x6f], rax
jne 0x1401a47da
xorps xmm0, xmm0
lea rdx, [rbp - 0x79]
movdqu xmmword [rbp - 0x79], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, rsi
call fcn.1401a7350
test eax, eax
js 0x1401a488c
mov rcx, qword [rsi + 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 [rsi + 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 0x1401a47e5
cmp ebx, 0x20b
jne 0x1401a48ee
cmp r15w, 0x20
jne 0x1401a47f2
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], rdi
jmp 0x1401a4afc
cmp ebx, 5
jne 0x1401a48f6
mov qword [r14], rdi
cmp ebx, dword [0x14030f230]
jne 0x1401a49eb
mov eax, dword [rsi + 0x198]
lea rcx, [rsi + 0x80]
sub eax, 3
test eax, 0xfffffffd
jne 0x1401a47f2
cmp r15d, 0x3e7
jne 0x1401a47f2
mov ebx, dword [rbp + 0x6f]
lea r8, [rsp + 0x30]
mov edx, ebx
mov dword [rsp + 0x30], edi
call fcn.1401a2ce0
test al, al
je 0x1401a47f2
mov r8, qword [rsi + 0x1e0]
test r8, r8
je 0x1401a47f2
xor edx, edx
mov eax, ebx
div dword [rsi + 0x1f0]
mov rax, qword [r8 + rdx*8]
test rax, rax
je 0x1401a47f2
nop dword [rax]
cmp dword [rax + 0x10], ebx
jne 0x1401a4979
cmp dword [rax], ebx
je 0x1401a498f
mov rax, qword [rax + 8]
test rax, rax
jne 0x1401a4970
mov qword [r14], rdi
mov eax, 1
jmp 0x1401a4afc
mov ecx, dword [rax + 4]
test ecx, ecx
js 0x1401a47f2
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 [rsi + 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], rdi
jmp 0x1401a4afc
cmp ebx, 0x20a
jne 0x1401a4aab
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov r12d, edi
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jae 0x1401a4a9f
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a4a9f
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a4a9f
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a4a9f
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jb 0x1401a4a9f
mov rcx, qword [rsi + 0x68]
xor r9d, r9d
shr r15, 0x10
mov r12d, 1
mov edx, VarUI4FromDisp
cmp r15w, 0x78
jl 0x1401a4a93
mov r8d, 0x823b
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, r12d
mov qword [r14], rdi
jmp 0x1401a4afc
mov r8d, 0x823c
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [r14], rdi
test r12d, r12d
jne 0x1401a47f5
cmp ebx, dword [0x14030f1f8]
jne 0x1401a4afa
call fcn.140163500
call fcn.140163500
cmp dword [rax + 0x310], edi
je 0x1401a4ad2
call fcn.140163500
add rax, 0x314
jmp 0x1401a4ad5
mov rax, rdi
mov edx, 8
lea rcx, [rsi + 0x270]
mov r9b, 1
mov r8, rax
mov rdx, qword [rdx + rsi]
call fcn.1401ad5b0
mov eax, 1
mov qword [r14], rdi
jmp 0x1401a4afc
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret