Function at 0x14003e140
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
movaps xmmword [rsp + 0x70], xmm12
mov rax, qword [0x1401a3080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, dword [reloc.WS2_32.dll_select]
movaps xmm12, xmm2
mov ebx, dword [0x1401a4ed0]
mov edi, dword [0x1401a4ec0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003e1a3
cmp byte [0x1401a7a79], 0
jne 0x14003e1aa
cmp byte [0x1401a4eb2], 0
mov byte [0x1401a7a79], 1
sete byte [0x1401a4eb2]
jmp 0x14003e1aa
mov byte [0x1401a7a79], 0
cmp byte [0x1401a7a78], 0
je 0x14003e3f2
cmp byte [0x1401a4eb2], 0
je 0x14003e3f2
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14003e1e1
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1401a31cc], 0x7fffffff
jne 0x14003e203
mov ecx, 6
mov dword [0x1401a31cc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [reloc.WLDAP32.dll_Ordinal_35]
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [0x1401a314c]
mov dword [0x1401a4ec4], eax
movaps xmmword [rsp + 0xd0], xmm6
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0xa0], xmm9
xorps xmm9, xmm9
movaps xmmword [rsp + 0x80], xmm11
movsd xmm11, qword [0x140191450]
comisd xmm12, xmm11
movaps xmmword [rsp + 0x60], xmm13
xorps xmm13, xmm13
movaps xmmword [rsp + 0x50], xmm14
xorps xmm14, xmm14
cvtsi2sd xmm13, edi
mov edi, 1
cvtsi2sd xmm14, ebx
movaps xmmword [rsp + 0x40], xmm15
xorps xmm15, xmm15
divsd xmm13, xmm12
divsd xmm14, xmm12
movsd qword [rsp + 0x20], xmm9
mulsd xmm14, xmm0
mulsd xmm13, xmm0
jb 0x14003e3b0
movaps xmmword [rsp + 0xc0], xmm7
movaps xmm2, xmm11
movaps xmmword [rsp + 0x90], xmm10
nop dword [rax]
movaps xmm0, xmm14
lea rdx, [rsp + 0x28]
divsd xmm0, xmm2
movaps xmm1, xmm13
divsd xmm1, xmm2
cvttsd2si ebx, xmm0
cvttsd2si eax, xmm1
movd xmm10, eax
cvtdq2pd xmm10, xmm10
movaps xmm0, xmm10
movsd qword [rsp + 0x28], xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
addsd xmm8, xmm0
comisd xmm8, xmm11
jbe 0x14003e31e
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm9
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm8, xmm0
movd xmm7, ebx
lea rdx, [rsp + 0x30]
cvtdq2pd xmm7, xmm7
movaps xmm0, xmm7
movsd qword [rsp + 0x30], xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
addsd xmm6, xmm0
comisd xmm6, xmm11
jbe 0x14003e35d
lea rdx, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm9
movaps xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_modf]
movaps xmm6, xmm0
movaps xmm0, xmm7
movaps xmm1, xmm10
subsd xmm0, qword [rsp + 0x20]
subsd xmm1, xmm15
xor r9d, r9d
cvttsd2si r8d, xmm0
cvttsd2si edx, xmm1
call fcn.14003dc50
inc edi
movsd qword [rsp + 0x20], xmm7
movaps xmm15, xmm10
movd xmm2, edi
cvtdq2pd xmm2, xmm2
comisd xmm12, xmm2
jae 0x14003e2c0
movaps xmm10, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xc0]
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movaps xmm15, xmmword [rsp + 0x40]
movaps xmm14, xmmword [rsp + 0x50]
movaps xmm13, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b53b0
mov rbx, qword [rsp + 0xf0]
movaps xmm12, xmmword [rsp + 0x70]
add rsp, 0xe0
pop rdi
ret