Function at 0x1400a8ddc
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r14, r9
mov ebx, edx
mov r12, rcx
call fcn.140084fb8
xor r13d, r13d
test rax, rax
je 0x1400a937f
call fcn.1400852d8
mov r15, rax
call fcn.140084fb8
test rax, rax
je 0x1400a8e38
call fcn.1400852d8
mov rdi, qword [rax + 0x90]
jmp 0x1400a8e3b
mov rdi, r13
mov edx, 0x20c
mov esi, 1
lea eax, [rdx - 8]
lea r8d, [rdx - 7]
cmp ebx, eax
ja 0x1400a9238
je 0x1400a90b6
mov ecx, 0x100
lea eax, [rcx + 4]
cmp ebx, eax
ja 0x1400a907f
je 0x1400a9077
mov eax, ebx
sub eax, 7
je 0x1400a9064
sub eax, esi
je 0x1400a9064
sub eax, 0x18
je 0x1400a9045
sub eax, 0xe0
je 0x1400a8f01
sub eax, esi
je 0x1400a8f01
cmp eax, esi
jne 0x1400a937f
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1400a8ecd
mov rdx, qword [rbp + 0x40]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja 0x1400a937f
mov rcx, r15
call fcn.14007bf2c
jmp 0x1400a937f
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], esi
mov r9d, esi
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
mov word [rbp - 0x20], r13w
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x20]
mov rcx, r15
call fcn.14007bea0
jmp 0x1400a937f
cmp ebx, ecx
je 0x1400a9077
mov dil, r13b
cmp qword [rbp + 0x40], rcx
jae 0x1400a937f
call fcn.1400852d8
mov ecx, 0x11
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, sil
mov rcx, rbx
mov r8b, al
call fcn.14007c1dc
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, sil
mov rcx, rbx
mov r8b, al
call fcn.14007c1dc
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, sil
mov rcx, rbx
mov r8b, al
call fcn.14007c1dc
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, sil
mov rcx, rbx
mov r8b, al
call fcn.14007c1dc
mov rbx, qword [rbp + 0x40]
cmp rbx, 0xd
jne 0x1400a8fc0
mov rax, r14
shr rax, 0x10
bt ax, 8
mov eax, 0x10d
cmovb ebx, eax
movsxd rcx, ebx
call fcn.1400a8848
shr r14, 0x10
movzx esi, r14b
test eax, eax
je 0x1400a8fe4
mov r9d, esi
mov r8d, ebx
mov dl, dil
mov ecx, eax
call fcn.1400a7df8
cmp ebx, 0x10
jne 0x1400a916f
mov r14d, 0xa0
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebx, 1
and al, bl
cmp al, dil
jne 0x1400a901e
mov r9d, esi
mov r8d, r14d
mov dl, dil
mov ecx, 0x210
call fcn.1400a7df8
mov r14d, 0xa1
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1400a937f
mov ecx, 0x214
jmp 0x1400a9225
cmp r14w, si
jne 0x1400a937f
call fcn.1400a8798
test al, al
je 0x1400a937f
mov rax, rsi
jmp 0x1400a9381
cmp ebx, 7
mov rcx, r15
sete dl
call fcn.14007be0c
jmp 0x1400a937f
mov dil, sil
jmp 0x1400a8f0c
mov eax, ebx
sub eax, 0x105
je 0x1400a8f09
sub eax, 0xfb
je 0x1400a9121
sub eax, esi
je 0x1400a90ab
sub eax, esi
je 0x1400a931d
cmp eax, esi
jne 0x1400a937f
mov r14d, r13d
cmp ebx, 0x206
jne 0x1400a90b9
mov r14d, esi
lea eax, [rbx - 0x207]
mov ecx, 0xfffffffd
test ecx, eax
mov esi, 2
lea eax, [rbx - 0x20b]
cmove r14d, esi
lea ebx, [rsi - 1]
test ecx, eax
jne 0x1400a90f2
mov rax, qword [rbp + 0x40]
mov r14d, r13d
shr rax, 0x10
cmp ax, bx
setne r14b
add r14d, 3
cmp dword [rdi + 0x14], r13d
jne 0x1400a910c
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1400a910c
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rdi + 0x14]
mov r8b, bl
bts eax, r14d
mov edx, r14d
mov dword [rdi + 0x14], eax
jmp 0x1400a9377
mov qword [rdi + 8], r12
cmp byte [rdi + 0x10], r13b
jne 0x1400a9150
mov esi, 2
mov dword [rbp - 0x18], 0x18
lea rcx, [rbp - 0x18]
mov dword [rbp - 0x14], esi
mov qword [rbp - 0x10], r12
mov dword [rbp - 8], r13d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rdi + 0x10], 1
mov rax, r14
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r14w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x1400a92dd
cmp ebx, 0x11
jne 0x1400a91c9
mov r14d, 0xa2
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebx, 1
and al, bl
cmp al, dil
jne 0x1400a91a5
mov r9d, esi
mov r8d, r14d
mov dl, dil
mov ecx, 0x20f
call fcn.1400a7df8
mov r14d, 0xa3
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1400a937f
mov ecx, 0x213
jmp 0x1400a9225
cmp ebx, 0x12
jne 0x1400a937f
mov r14d, 0xa4
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ebx, 1
and al, bl
cmp al, dil
jne 0x1400a9203
mov r9d, esi
mov r8d, r14d
mov dl, dil
mov ecx, 0x211
call fcn.1400a7df8
mov r14d, 0xa5
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1400a937f
mov ecx, 0x215
mov r9d, esi
mov r8d, r14d
mov dl, dil
call fcn.1400a7df8
jmp 0x1400a937f
mov eax, 0x20b
cmp ebx, eax
ja 0x1400a92a2
je 0x1400a90ab
mov eax, ebx
sub eax, r8d
je 0x1400a931d
sub eax, esi
je 0x1400a90ab
sub eax, esi
je 0x1400a90ab
sub eax, esi
je 0x1400a931d
sub eax, esi
je 0x1400a90ab
cmp eax, esi
jne 0x1400a937f
mov rax, qword [rbp + 0x40]
xorps xmm1, xmm1
shr rax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1401133ac]
mov rcx, r15
call fcn.14007c420
jmp 0x1400a937f
mov eax, ebx
sub eax, edx
je 0x1400a931d
sub eax, esi
je 0x1400a90ab
sub eax, esi
je 0x1400a92fd
sub eax, 0xb
je 0x1400a92ea
cmp eax, 0x8a
jne 0x1400a937f
cmp qword [rdi + 8], r12
jne 0x1400a92ce
mov qword [rdi + 8], r13
movss xmm1, dword [0x14012ba2c]
movaps xmm2, xmm1
mov byte [rdi + 0x10], r13b
mov rcx, r15
call fcn.14007c2e4
jmp 0x1400a937f
cmp dword [rbp + 0x40], 7
jne 0x1400a937f
mov byte [rdi + 0x2d], sil
jmp 0x1400a937f
mov rax, qword [rbp + 0x40]
xorps xmm2, xmm2
shr rax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1401133ac]
jmp 0x1400a9295
cmp ebx, r8d
mov esi, r13d
sete sil
cmp ebx, 0x208
jne 0x1400a9336
mov esi, 2
jmp 0x1400a9354
cmp ebx, edx
jne 0x1400a9354
mov rax, qword [rbp + 0x40]
mov esi, r13d
shr rax, 0x10
mov ebx, 1
cmp ax, bx
setne sil
add esi, 3
mov eax, dword [rdi + 0x14]
btr eax, esi
mov dword [rdi + 0x14], eax
test eax, eax
jne 0x1400a9372
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x1400a9372
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, esi
mov rcx, r15
call fcn.14007c208
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret