Function at 0x180063890
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180117040]
xor rax, rsp
mov qword [rbp + 0x2b8], rax
mov rsi, rcx
mov rax, qword [rcx + 0x78]
cmp byte [rax], 0
je 0x180063941
cmp byte [0x18011a0d6], 0
je 0x180063959
cmp byte [rcx + 0x568], 0
je 0x18006392a
xor edi, edi
mov dword [0x1801172e8], 0x10
mov qword [0x1801172ec], 2
mov qword [0x1801172f8], rdi
mov r8d, 0x28
lea rdx, [0x1801172e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rsi + 0x568], dil
mov ecx, dword [0x1801172dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180063941
mov byte [0x18011a0d6], al
mov qword [rsp + 0x20], 0x64
lea rcx, [rsp + 0x20]
call fcn.180065060
jmp 0x18006402b
mov ecx, dword [0x180119d7c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
xor edi, edi
mov eax, dword [rdx + rax]
cmp dword [0x18011b8e0], eax
jle 0x1800639ba
lea rcx, [0x18011b8e0]
call fcn.1800bc008
cmp dword [0x18011b8e0], 0xffffffff
jne 0x1800639ba
mov qword [0x18011b8e8], rdi
lea rcx, [rsp + 0x20]
call fcn.180066f20
mov rdx, qword [rax]
mov qword [0x18011b8e8], rdx
lea rcx, [0x18011b8e0]
call fcn.1800bbf9c
mov ecx, dword [0x1801172dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800639d6
movzx eax, byte [0x18011a0d5]
test al, al
jne 0x1800639e3
cmp byte [0x18011a0d4], dil
je 0x180063f8b
call fcn.1800642a0
cmp byte [0x18011a0d4], dil
jne 0x180063b76
lea rbx, [rsi + 0x518]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180063a1a
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x180063a35
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x180]
call fcn.1800732c0
mov r13, rax
lea r14, [rsi + 0x190]
sub r13, r14
mov r15d, 0x1b
nop dword [rax]
lea rdx, [r14 + r13]
mov rcx, r14
call fcn.180066e00
add r14, 0x20
sub r15, 1
jne 0x180063a60
lea r9, [fcn.180066f10]
mov edx, 0x20
mov r8d, 0x1b
lea rcx, [rsp + 0x40]
call fcn.1800bc1fc
nop
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rsi - 8]
call fcn.180064070
mov r9, qword [rsi + 0x508]
mov rdx, qword [rsi + 0x500]
dec rdx
mov rax, r9
shr rax, 2
and rdx, rax
mov rax, qword [rsi + 0x4f8]
mov rcx, r9
and ecx, 3
mov rax, qword [rax + rdx*8]
mov ecx, dword [rax + rcx*4]
mov dword [0x1801172cc], ecx
sub qword [rsi + 0x510], 1
jne 0x180063ae9
mov r9, rdi
jmp 0x180063aec
inc r9
mov qword [rsi + 0x508], r9
mov dword [0x18011a0d0], 1
mov qword [0x1801172e8], 0x10
mov dword [0x1801172f0], edi
mov qword [0x1801172f8], rdi
mov r8d, 0x28
lea rdx, [0x1801172e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rsi + 0x568], 1
mov edx, 0x32
mov ecx, 0x1e
call fcn.1800631c0
movsxd rcx, eax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.180065060
lea rcx, [rsp + 0x20]
call fcn.180066f20
mov rcx, qword [rax]
mov qword [0x18011b8e8], rcx
lea rcx, [0x18011a0c8]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [0x1801172cc], 0xffffffff
je 0x180063f43
cmp dword [0x18011a0d0], 1
jle 0x180063bda
mov ecx, dword [0x1801172dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180063bbd
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180063bbd
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180063bda
mov dword [0x18011a0d0], edi
mov ecx, 0xffffffff
mov dword [0x1801172cc], ecx
mov byte [0x18011a0d6], 1
jmp 0x180064024
movsxd rax, dword [0x1801172cc]
lea rbx, [0x180119ff0]
mov rbx, qword [rbx + rax*8]
mov qword [rsp + 0x20], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a8], xmm0
lea rdx, [rbp + 0x2a8]
mov rcx, qword [0x18011a0d8]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x180063c25
mov ecx, 0xffffffff
mov qword [rbp + 0x2a0], 0xffffffffffffffff
jmp 0x180063c55
mov eax, dword [0x1801172d0]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
add ecx, dword [rbp + 0x2a8]
mov dword [rbp + 0x2a0], ecx
mov eax, dword [0x1801172d4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x2ac]
mov dword [rbp + 0x2a4], eax
mov rax, qword [rbp + 0x2a0]
lea r14d, [rcx + rbx]
mov dword [rsp + 0x20], r14d
shr rax, 0x20
mov ebx, dword [rsp + 0x24]
add ebx, eax
mov dword [rsp + 0x24], ebx
lea rcx, [rbp + 0x2a0]
call fcn.180066f20
mov rdx, qword [rax]
sub rdx, qword [0x18011b8e8]
movabs r15, 0x431bde82d7b634db
mov rax, r15
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm1, xmm1
cvtsi2ss xmm1, rdx
movd xmm0, dword [0x1801172d8]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x180063dc5
mov edx, ebx
mov ecx, r14d
call qword [sym.imp.USER32.dll_SetCursorPos]
mov edx, 0x3c
mov ecx, 0x32
call fcn.1800631c0
movsxd rcx, eax
mov qword [rbp + 0x2a0], rcx
lea rcx, [rbp + 0x2a0]
call fcn.180065060
movsxd r9, ebx
mov edx, 0x204
mov r8d, 0x2000000
mov rcx, qword [0x18011a0d8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x46
mov ecx, 0x23
call fcn.1800631c0
movsxd rcx, eax
mov qword [rbp + 0x2a0], rcx
lea rcx, [rbp + 0x2a0]
call fcn.180065060
movsxd r9, ebx
xor r8d, r8d
mov edx, 0x205
mov rcx, qword [0x18011a0d8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, qword [rsp + 0x20]
mov qword [0x18011a0c8], rax
mov r9, qword [rsi + 0x508]
mov rdx, qword [rsi + 0x500]
dec rdx
mov rax, r9
shr rax, 2
and rdx, rax
mov rax, qword [rsi + 0x4f8]
mov rcx, r9
and ecx, 3
mov rax, qword [rax + rdx*8]
mov ecx, dword [rax + rcx*4]
mov dword [0x1801172cc], ecx
sub qword [rsi + 0x510], 1
mov rax, rdi
je 0x180063d9d
lea rax, [r9 + 1]
mov qword [rsi + 0x508], rax
inc dword [0x18011a0d0]
lea rcx, [rsp + 0x20]
call fcn.180066f20
mov rcx, qword [rax]
mov qword [0x18011b8e8], rcx
mov al, 1
jmp 0x180063fd1
mov dword [rsp + 0x34], 0x3f800000
xorps xmm6, xmm6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x20]
call fcn.180066f20
mov rcx, qword [rax]
sub rcx, qword [0x18011b8e8]
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm1, xmm1
cvtsi2ss xmm1, rdx
movd xmm0, dword [0x1801172d8]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x2c]
lea rax, [rsp + 0x30]
comiss xmm6, xmm1
cmovbe rcx, rax
lea rax, [rsp + 0x34]
comiss xmm1, dword [0x1800ffcfc]
cmovbe rax, rcx
movss xmm0, dword [rax]
movss dword [rbp + 0x2a0], xmm0
movd xmm7, dword [0x18011a0c8]
cvtdq2ps xmm7, xmm7
mov dword [rsp + 0x20], 0x3f800000
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
lea rax, [rbp + 0x2a0]
comiss xmm6, xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x20]
comiss xmm0, dword [0x1800ffcfc]
cmovbe rax, rcx
movss xmm5, dword [rax]
movss dword [rbp + 0x2a0], xmm0
movd xmm3, dword [0x18011a0cc]
cvtdq2ps xmm3, xmm3
mov dword [rsp + 0x28], 0x3f800000
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
lea rax, [rbp + 0x2a0]
comiss xmm6, xmm0
cmovbe rcx, rax
lea rax, [rsp + 0x28]
comiss xmm0, dword [0x1800ffcfc]
cmovbe rax, rcx
movss xmm1, dword [rax]
movaps xmm0, xmm1
addss xmm0, xmm1
movss xmm4, dword [0x1800ffd5c]
movaps xmm2, xmm4
subss xmm2, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm1
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
mulss xmm2, xmm0
addss xmm2, xmm3
cvttss2si edx, xmm2
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm4, xmm0
mulss xmm5, xmm5
mulss xmm4, xmm5
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
subss xmm0, xmm7
mulss xmm4, xmm0
addss xmm4, xmm7
cvttss2si ecx, xmm4
call qword [sym.imp.USER32.dll_SetCursorPos]
mov al, 1
jmp 0x180063fd1
cmp byte [rsi + 0x568], 0
je 0x180063f87
mov dword [0x1801172e8], 0x10
mov qword [0x1801172ec], 2
mov qword [0x1801172f8], rdi
mov r8d, 0x28
lea rdx, [0x1801172e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rsi + 0x568], 0
mov al, 1
jmp 0x180063fd1
cmp byte [rsi + 0x568], dil
je 0x180063fcf
mov dword [0x1801172e8], 0x10
mov qword [0x1801172ec], 2
mov qword [0x1801172f8], rdi
mov r8d, 0x28
lea rdx, [0x1801172e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rsi + 0x568], dil
xor al, al
mov byte [0x18011a0d4], al
cmp dword [0x1801172cc], 0xffffffff
jne 0x18006402b
cmp byte [rsi + 0x568], 0
je 0x180064024
mov dword [0x1801172e8], 0x10
mov qword [0x1801172ec], 2
mov qword [0x1801172f8], rdi
mov r8d, 0x28
lea rdx, [0x1801172e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rsi + 0x568], 0
mov byte [0x18011a0d4], 0
mov rcx, qword [rbp + 0x2b8]
xor rcx, rsp
call fcn.1800bbf40
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret