Function at 0x180061210
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800db028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r10, qword [0x1800e0120]
mov r11, r9
mov rbp, rcx
test r10, r10
je case.0x18006150f.527
mov rdi, qword [r10 + 0x90]
lea rsi, [r10 + 8]
cmp edx, 0x200
ja 0x1800614e3
je 0x1800614a5
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x18006150f.527
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x616a4]
mov ecx, dword [r9 + rax*4 + 0x61690]
add rcx, r9
jmp rcx
lea eax, [rdx - 0x100]
test eax, 0xfffffffb
mov eax, 0x100
sete bl
cmp r8, rax
jae case.0x18006150f.527
cmp r8, 0xd
jne 0x1800612bc
shr r11, 0x10
test ax, r11w
mov eax, 0x10d
cmovne r8d, eax
movsxd r9, r8d
mov rcx, r9
call fcn.180060cc0
test eax, eax
je 0x1800612f4
movsxd rcx, eax
add rcx, 0x116
mov byte [rsi + 0x2b61], 0
lea rcx, [rcx + rcx*2]
mov byte [rsi + rcx*4], bl
cmp r8d, 0x1ff
ja 0x1800612f4
mov dword [rsi + r9*4 + 0x15c], eax
cmp r8d, 0x10
jne 0x180061367
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18006132c
mov rax, qword [0x1800e0120]
mov byte [rax + 0x2b69], 0
mov byte [rax + 0x2750], bl
mov dword [rax + 0x3e4], 0x230
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18006150f.527
mov rax, qword [0x1800e0120]
mov byte [rax + 0x2b69], 0
mov byte [rax + 0x2780], bl
mov dword [rax + 0x3e8], 0x234
jmp case.0x18006150f.527
cmp r8d, 0x11
jne 0x1800613da
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18006139f
mov rax, qword [0x1800e0120]
mov byte [rax + 0x2b69], 0
mov byte [rax + 0x275c], bl
mov dword [rax + 0x3ec], 0x231
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18006150f.527
mov rax, qword [0x1800e0120]
mov byte [rax + 0x2b69], 0
mov byte [rax + 0x278c], bl
mov dword [rax + 0x3f0], 0x235
jmp case.0x18006150f.527
cmp r8d, 0x12
jne case.0x18006150f.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x180061416
mov rax, qword [0x1800e0120]
mov byte [rax + 0x2b69], 0
mov byte [rax + 0x2768], bl
mov dword [rax + 0x3f4], 0x232
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18006150f.527
mov rax, qword [0x1800e0120]
mov byte [rax + 0x2b69], 0
mov byte [rax + 0x2798], bl
mov dword [rax + 0x3f8], 0x236
jmp case.0x18006150f.527
cmp edx, 7
setne al
mov byte [rsi + 0x2b60], al
jmp case.0x18006150f.527
lea rax, [r8 - 1]
cmp rax, 0xfffe
ja case.0x18006150f.527
movzx edx, r8w
mov rcx, rsi
call fcn.180003970
jmp case.0x18006150f.527
cmp r11w, 1
jne case.0x18006150f.527
call fcn.180060470
test al, al
je case.0x18006150f.527
mov eax, 1
jmp 0x180061676
cmp byte [rdi + 0x10], 0
mov qword [rdi + 8], rbp
jne case.0x18006150f.527
xor eax, eax
mov dword [rsp + 0x20], 0x18
mov ebx, 2
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], ebx
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rdi + 0x10], 1
jmp case.0x18006150f.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18006150f.527
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x617c0]
mov ecx, dword [r9 + rax*4 + 0x617a4]
add rcx, r9
jmp rcx
cmp qword [rdi + 8], rbp
jne 0x18006151d
xor eax, eax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
jmp case.0x18006150f.527
xor eax, eax
cmp edx, 0x204
je 0x18006153a
mov ebx, eax
cmp edx, 0x206
jne 0x18006153f
mov ebx, 1
cmp edx, 0x207
je 0x18006154f
cmp edx, 0x209
jne 0x180061554
mov ebx, 2
cmp edx, 0x20b
je 0x180061564
cmp edx, 0x20d
jne 0x180061580
shr r8, 0x10
mov rbx, rax
cmp r8w, 1
setne bl
add rbx, 3
nop word [rax + rax]
cmp byte [r10 + rax + 0xd8], 0
jne 0x1800615a8
inc rax
cmp rax, 5
jl 0x180061580
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1800615a8
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetCapture]
mov byte [rbx + rsi + 0xd0], 1
jmp case.0x18006150f.527
xor eax, eax
cmp edx, 0x205
mov ebx, eax
sete bl
cmp edx, 0x208
jne 0x1800615cf
lea ebx, [rax + 2]
jmp 0x1800615ea
cmp edx, 0x20c
jne 0x1800615ea
shr r8, 0x10
mov rbx, rax
cmp r8w, 1
setne bl
add rbx, 3
mov byte [rbx + rsi + 0xd0], al
cmp byte [r10 + rax + 0xd8], 0
jne case.0x18006150f.527
inc rax
cmp rax, 5
jl 0x1800615f1
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, rbp
jne case.0x18006150f.527
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x18006150f.527
shr r8, 0x10
movsx eax, r8w
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800cf5c8]
addss xmm0, dword [rsi + 0xd8]
movss dword [rsi + 0xd8], xmm0
jmp case.0x18006150f.527
shr r8, 0x10
movsx eax, r8w
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800cf5c8]
addss xmm0, dword [rsi + 0xdc]
movss dword [rsi + 0xdc], xmm0
jmp case.0x18006150f.527
cmp r8d, 7
jne case.0x18006150f.527
mov byte [rdi + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180098380
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret