Function at 0x14002ac90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400d8080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r8
mov r10, r9
mov r8, qword [0x14015db90]
mov r12, rcx
test r8, r8
je case.0x14002b01c.527
mov r15, qword [r8 + 0x98]
lea r14, [r8 + 8]
cmp edx, 0x200
ja 0x14002aff0
je 0x14002afb5
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x14002b01c.527
lea r9, [0x140000000]
movzx eax, byte [r9 + rax + 0x2b1c4]
mov ecx, dword [r9 + rax*4 + 0x2b1b0]
add rcx, r9
jmp rcx
lea eax, [rdx - 0x100]
test eax, 0xfffffffb
sete al
cmp rdi, 0x100
jae 0x14002ad37
mov byte [rdi + r14 + 0xb28], al
cmp rdi, 0x11
jne 0x14002ad93
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa3
and al, 1
mov byte [r14 + 0xbca], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [r14 + 0xbca], 0
mov byte [r14 + 0xbcb], al
jne 0x14002ad85
test al, al
jne 0x14002ad85
mov byte [r14 + 0xe0c], al
jmp case.0x14002b01c.527
mov al, 1
mov byte [r14 + 0xe0c], al
jmp case.0x14002b01c.527
cmp rdi, 0x10
jne 0x14002adef
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa1
and al, 1
mov byte [r14 + 0xbc8], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [r14 + 0xbc8], 0
mov byte [r14 + 0xbc9], al
jne 0x14002ade1
test al, al
jne 0x14002ade1
mov byte [r14 + 0xe0d], al
jmp case.0x14002b01c.527
mov al, 1
mov byte [r14 + 0xe0d], al
jmp case.0x14002b01c.527
cmp rdi, 0x12
jne case.0x14002b01c.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa5
and al, 1
mov byte [r14 + 0xbcc], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [r14 + 0xbcc], 0
mov byte [r14 + 0xbcd], al
jne 0x14002ae41
test al, al
jne 0x14002ae41
mov byte [r14 + 0xe0e], al
jmp case.0x14002b01c.527
mov al, 1
mov byte [r14 + 0xe0e], al
jmp case.0x14002b01c.527
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
cmp edx, 7
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x20], 6
sete byte [rbp - 0x18]
jmp 0x14002af7e
lea rax, [rdi - 1]
cmp rax, 0xfffe
ja case.0x14002b01c.527
test di, di
jne 0x14002ae92
cmp word [r14 + 0x37a4], di
je case.0x14002b01c.527
cmp byte [r14 + 0x37a1], 0
je case.0x14002b01c.527
mov ecx, 0xfc00
movzx eax, di
and ax, cx
mov edx, 0xd800
movzx ecx, word [r14 + 0x37a4]
cmp ax, dx
jne 0x14002aeff
test cx, cx
je 0x14002aef2
xor ebx, ebx
mov dword [rbp - 0x20], 5
mov eax, 0xfffd
mov qword [rbp - 0x14], rbx
mov esi, 2
mov dword [rbp - 0xc], ebx
lea rcx, [r8 + 0x37c0]
mov dword [rbp - 0x1c], esi
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x18], eax
call fcn.140018d40
mov word [r14 + 0x37a4], di
jmp case.0x14002b01c.527
xor ebx, ebx
lea esi, [rbx + 2]
test cx, cx
je 0x14002af52
mov ecx, 0xdc00
cmp ax, cx
je 0x14002af45
mov eax, 0xfffd
mov qword [rbp - 0x14], rbx
lea rcx, [r8 + 0x37c0]
mov dword [rbp - 0x18], eax
lea rdx, [rbp - 0x20]
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x20], 5
mov dword [rbp - 0x1c], esi
call fcn.140018d40
mov r8, qword [0x14015db90]
jmp 0x14002af4a
mov edi, 0xfffd
mov word [r14 + 0x37a4], bx
movzx eax, di
test eax, eax
je case.0x14002b01c.527
cmp byte [r14 + 0x37a1], bl
je case.0x14002b01c.527
mov qword [rbp - 0x14], rbx
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x20], 5
mov dword [rbp - 0x1c], esi
mov dword [rbp - 0x18], eax
lea rcx, [r8 + 0x37c0]
lea rdx, [rbp - 0x20]
call fcn.140018d40
jmp case.0x14002b01c.527
cmp r10w, 1
jne case.0x14002b01c.527
call fcn.14002a630
test al, al
je case.0x14002b01c.527
mov eax, 1
jmp 0x14002b187
cmp byte [r15 + 0x10], 0
mov qword [r15 + 8], r12
jne case.0x14002b01c.527
xor ebx, ebx
mov dword [rbp - 0x20], Ordinal_30
mov esi, 2
mov dword [rbp - 0x10], ebx
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], esi
mov qword [rbp - 0x18], r12
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [r15 + 0x10], 1
jmp case.0x14002b01c.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x14002b01c.527
lea r9, [0x140000000]
movzx eax, byte [r9 + rax + 0x2b2e0]
mov ecx, dword [r9 + rax*4 + 0x2b2c4]
add rcx, r9
jmp rcx
cmp qword [r15 + 8], r12
jne 0x14002b02a
xor ebx, ebx
mov qword [r15 + 8], rbx
mov byte [r15 + 0x10], 0
jmp case.0x14002b01c.527
xor ebx, ebx
cmp edx, 0x204
je 0x14002b048
mov esi, ebx
cmp edx, 0x206
jne 0x14002b04d
mov esi, 1
cmp edx, 0x207
je 0x14002b05d
cmp edx, 0x209
jne 0x14002b062
mov esi, 2
cmp edx, 0x20b
je 0x14002b072
cmp edx, 0x20d
jne 0x14002b085
shr rdi, 0x10
mov rsi, rbx
cmp di, 1
setne sil
add rsi, 3
cmp byte [rbx + r8 + 0xe04], 0
jne 0x14002b0ad
inc rbx
cmp rbx, 5
jl 0x14002b085
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x14002b0ad
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov byte [rsi + r14 + 0xdfc], 1
jmp case.0x14002b01c.527
xor ebx, ebx
cmp edx, 0x205
mov esi, ebx
sete sil
cmp edx, 0x208
jne 0x14002b0d6
lea esi, [rbx + 2]
jmp 0x14002b0f1
cmp edx, 0x20c
jne 0x14002b0f1
shr rdi, 0x10
mov rsi, rbx
cmp di, 1
setne sil
add rsi, 3
mov byte [rsi + r14 + 0xdfc], bl
nop dword [rax]
cmp byte [rbx + r8 + 0xe04], 0
jne case.0x14002b01c.527
inc rbx
cmp rbx, 5
jl 0x14002b100
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne case.0x14002b01c.527
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x14002b01c.527
shr rdi, 0x10
movsx eax, di
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400c6e4c]
addss xmm0, dword [r14 + 0xe04]
movss dword [r14 + 0xe04], xmm0
jmp case.0x14002b01c.527
shr rdi, 0x10
movsx eax, di
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400c6e4c]
addss xmm0, dword [r14 + 0xe08]
movss dword [r14 + 0xe08], xmm0
jmp case.0x14002b01c.527
cmp edi, 7
jne case.0x14002b01c.527
mov byte [r15 + 0x2d], 1
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400aaf20
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret