Function at 0x14002abd0
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, qword [0x14015db80]
mov rsi, r8
mov r12, rcx
test rdi, rdi
je case.0x14002af44.527
mov r15, qword [rdi + 0x98]
cmp edx, 0x200
ja 0x14002af18
je 0x14002aedb
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x14002af44.527
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x2b0e4]
mov ecx, dword [r8 + rax*4 + 0x2b0d0]
add rcx, r8
jmp rcx
lea eax, [rdx - 0x100]
test eax, 0xfffffffb
sete al
cmp rsi, 0x100
jae 0x14002ac6f
mov byte [rsi + rdi + 0xb30], al
cmp rsi, 0x11
jne 0x14002acc6
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa3
and al, 1
mov byte [rdi + 0xbd2], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0xbd2], 0
mov byte [rdi + 0xbd3], al
jne 0x14002acb9
test al, al
jne 0x14002acb9
mov byte [rdi + 0xe14], al
jmp case.0x14002af44.527
mov al, 1
mov byte [rdi + 0xe14], al
jmp case.0x14002af44.527
cmp rsi, 0x10
jne 0x14002ad1d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa1
and al, 1
mov byte [rdi + 0xbd0], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0xbd0], 0
mov byte [rdi + 0xbd1], al
jne 0x14002ad10
test al, al
jne 0x14002ad10
mov byte [rdi + 0xe15], al
jmp case.0x14002af44.527
mov al, 1
mov byte [rdi + 0xe15], al
jmp case.0x14002af44.527
cmp rsi, 0x12
jne case.0x14002af44.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0xa5
and al, 1
mov byte [rdi + 0xbd4], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0xbd4], 0
mov byte [rdi + 0xbd5], al
jne 0x14002ad6b
test al, al
jne 0x14002ad6b
mov byte [rdi + 0xe16], al
jmp case.0x14002af44.527
mov al, 1
mov byte [rdi + 0xe16], al
jmp case.0x14002af44.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 0x14002aea4
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x14002af44.527
lea r15, [rdi + 0x37ac]
test si, si
jne 0x14002adbe
cmp word [r15], si
je case.0x14002af44.527
lea r12, [rdi + 0x37a9]
cmp byte [r12], 0
je case.0x14002af44.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [r15]
cmp ax, dx
jne 0x14002ae29
test cx, cx
je 0x14002ae20
xor ebx, ebx
mov dword [rbp - 0x20], 5
mov eax, 0xfffd
mov qword [rbp - 0x14], rbx
mov r14d, 2
mov dword [rbp - 0xc], ebx
lea rcx, [rdi + 0x37c0]
mov dword [rbp - 0x1c], r14d
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x18], eax
call fcn.140018f50
mov word [r15], si
jmp case.0x14002af44.527
xor ebx, ebx
lea r14d, [rbx + 2]
test cx, cx
je 0x14002ae7a
mov ecx, 0xdc00
cmp ax, cx
je 0x14002ae71
mov eax, 0xfffd
mov qword [rbp - 0x14], rbx
lea rcx, [rdi + 0x37c0]
mov dword [rbp - 0x18], eax
lea rdx, [rbp - 0x20]
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x20], 5
mov dword [rbp - 0x1c], r14d
call fcn.140018f50
mov rdi, qword [0x14015db80]
jmp 0x14002ae76
mov esi, 0xfffd
mov word [r15], bx
movzx eax, si
test eax, eax
je case.0x14002af44.527
cmp byte [r12], bl
je case.0x14002af44.527
mov qword [rbp - 0x14], rbx
mov dword [rbp - 0xc], ebx
mov dword [rbp - 0x20], 5
mov dword [rbp - 0x1c], r14d
mov dword [rbp - 0x18], eax
lea rcx, [rdi + 0x37c0]
lea rdx, [rbp - 0x20]
call fcn.140018f50
jmp case.0x14002af44.527
cmp r9w, 1
jne case.0x14002af44.527
call fcn.14002a570
test al, al
je case.0x14002af44.527
mov eax, 1
jmp 0x14002b0a7
cmp byte [r15 + 0x10], 0
mov qword [r15 + 8], r12
jne case.0x14002af44.527
xor ebx, ebx
mov dword [rbp - 0x20], Ordinal_30
mov r14d, 2
mov dword [rbp - 0x10], ebx
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], r14d
mov qword [rbp - 0x18], r12
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [r15 + 0x10], 1
jmp case.0x14002af44.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x14002af44.527
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x2b200]
mov ecx, dword [r8 + rax*4 + 0x2b1e4]
add rcx, r8
jmp rcx
cmp qword [r15 + 8], r12
jne 0x14002af52
xor ebx, ebx
mov qword [r15 + 8], rbx
mov byte [r15 + 0x10], 0
jmp case.0x14002af44.527
xor ebx, ebx
cmp edx, 0x204
je 0x14002af71
mov r14d, ebx
cmp edx, 0x206
jne 0x14002af77
mov r14d, 1
cmp edx, 0x207
je 0x14002af87
cmp edx, 0x209
jne 0x14002af8d
mov r14d, 2
cmp edx, 0x20b
je 0x14002af9d
cmp edx, 0x20d
jne 0x14002afb0
shr rsi, 0x10
mov r14, rbx
cmp si, 1
setne r14b
add r14, 3
cmp byte [rbx + rdi + 0xe04], 0
jne 0x14002afd7
inc rbx
cmp rbx, 5
jl 0x14002afb0
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x14002afd7
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov byte [r14 + rdi + 0xe04], 1
jmp case.0x14002af44.527
xor ebx, ebx
cmp edx, 0x205
mov r14d, ebx
sete r14b
cmp edx, 0x208
jne 0x14002b002
lea r14d, [rbx + 2]
jmp 0x14002b01d
cmp edx, 0x20c
jne 0x14002b01d
shr rsi, 0x10
mov r14, rbx
cmp si, 1
setne r14b
add r14, 3
mov byte [r14 + rdi + 0xe04], bl
cmp byte [rbx + rdi + 0xe04], 0
jne case.0x14002af44.527
inc rbx
cmp rbx, 5
jl 0x14002b025
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne case.0x14002af44.527
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x14002af44.527
shr rsi, 0x10
movsx eax, si
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400c6f1c]
addss xmm0, dword [rdi + 0xe0c]
movss dword [rdi + 0xe0c], xmm0
jmp case.0x14002af44.527
shr rsi, 0x10
movsx eax, si
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1400c6f1c]
addss xmm0, dword [rdi + 0xe10]
movss dword [rdi + 0xe10], xmm0
jmp case.0x14002af44.527
cmp esi, 7
jne case.0x14002af44.527
mov byte [r15 + 0x2d], 1
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ab020
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret