Function at 0x14000dce0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1401bc300]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rax, qword [0x1401bce10]
cmp byte [rax + 0x1d], 0
je 0x14000e366
mov rcx, qword [0x1401bce20]
mov rax, qword [rcx + 0x70]
cmp qword [rcx + 0x68], rax
je 0x14000e366
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14000e366
cmp byte [0x1401bcb58], 0
mov ecx, 0x6b0
mov edx, 0x338
cmovne edx, ecx
mov rcx, qword [0x1401bce18]
add rdx, rax
call fcn.14000c9e0
test rax, rax
je 0x14000e366
mov rcx, qword [0x1401bce28]
mov qword [rsp + 0x268], rsi
mov qword [rsp + 0x270], rdi
xor edi, edi
mov qword [rsp + 0x248], r14
xor r14b, r14b
mov eax, dword [rcx]
cdq
movaps xmmword [rsp + 0x230], xmm6
sub eax, edx
movaps xmmword [rsp + 0x220], xmm7
sar eax, 1
movaps xmmword [rsp + 0x1e0], xmm11
xorps xmm11, xmm11
movaps xmmword [rsp + 0x1c0], xmm13
xorps xmm13, xmm13
movaps xmmword [rsp + 0x1b0], xmm14
xorps xmm14, xmm14
movd xmm6, eax
mov eax, dword [rcx + 4]
lea rcx, [rbp - 0x50]
cdq
sub eax, edx
sar eax, 1
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x2c], xmm7
call fcn.140012e60
mov rcx, qword [0x1401bce20]
xor edx, edx
mov r8d, 0x2000
mov rcx, qword [rcx + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x1401bce20]
xor esi, esi
mov rcx, qword [rax + 0x70]
sub rcx, qword [rax + 0x68]
sar rcx, 6
test rcx, rcx
je 0x14000e2c8
movss xmm7, dword [0x1400f91e0]
mov qword [rsp + 0x260], rbx
xor ebx, ebx
mov qword [rsp + 0x240], r15
lea r15d, [rdi + 3]
movaps xmmword [rsp + 0x1d0], xmm12
movss xmm12, dword [0x1400f91b4]
movaps xmmword [rsp + 0x1a0], xmm15
movaps xmm15, xmmword [rbp - 0x40]
movaps xmmword [rsp + 0x210], xmm8
movaps xmmword [rsp + 0x200], xmm9
movaps xmmword [rsp + 0x1f0], xmm10
nop dword [rax]
mov r8, qword [0x1401bce20]
mov rax, qword [r8 + 0x68]
cmp qword [rax + rbx + 0x18], 0
je 0x14000e25a
mov rdx, qword [rax + rbx + 0x20]
test rdx, rdx
je 0x14000e25a
mov r8, qword [r8 + 0x40]
mov r9d, 0x2000
mov rcx, qword [0x1401bce18]
call fcn.14001a210
test al, al
je 0x14000e25a
xorps xmm0, xmm0
lea r8, [rbp + 0x30]
xor eax, eax
movsd qword [rbp + 0x80], xmm0
mov dword [rbp + 0x88], eax
xorps xmm1, xmm1
mov rax, qword [0x1401bce20]
mov r9d, 0x60
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x70], xmm0
mov rcx, qword [rax + 0x68]
mov rdx, qword [rcx + rbx + 8]
mov rcx, qword [0x1401bce18]
add rdx, 0x1c0
call fcn.14001a210
test al, al
je 0x14000e25a
mov rax, qword [0x1401bce20]
mov rcx, qword [rax + 0x68]
mov rcx, qword [rbx + rcx + 8]
call fcn.140013990
test al, al
je 0x14000e25a
mov rax, qword [0x1401bce10]
cmp byte [rax + 0x1d], 1
jne 0x14000e25a
movaps xmm0, xmmword [rbp + 0x30]
lea rdx, [rsp + 0x30]
movaps xmm1, xmmword [rbp + 0x40]
lea rcx, [rbp - 0x70]
movaps xmmword [rsp + 0x30], xmm0
xor r8d, r8d
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x80]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
call fcn.140012c00
movaps xmm0, xmmword [rbp - 0x50]
lea r8, [rbp + 0x10]
movaps xmm10, xmmword [rbp - 0x30]
lea rdx, [rbp - 0x70]
movaps xmm9, xmmword [rbp - 0x20]
lea rcx, [rsp + 0x30]
movaps xmm8, xmmword [rbp - 0x10]
movaps xmm6, xmmword [rbp]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm15
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm9
movaps xmmword [rsp + 0x70], xmm8
movaps xmmword [rbp - 0x80], xmm6
call fcn.1400132d0
test al, al
je 0x14000e25a
mov rax, qword [0x1401bce10]
mov qword [rsp + 0x20], 0
mov ecx, dword [rax + 0x44]
test ecx, ecx
jne 0x14000e008
lea r8d, [rcx + 8]
jmp 0x14000e01d
cmp ecx, 1
jne 0x14000e013
lea r8d, [rcx + 6]
jmp 0x14000e01d
xor r8d, r8d
cmp ecx, 2
cmove r8d, r15d
movaps xmm0, xmmword [rbp + 0x30]
lea rdx, [rsp + 0x30]
movaps xmm1, xmmword [rbp + 0x40]
lea rcx, [rbp + 0x18]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x80]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
call fcn.140012c00
movaps xmm0, xmmword [rbp - 0x50]
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x18]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm15
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm9
movaps xmmword [rsp + 0x70], xmm8
movaps xmmword [rbp - 0x80], xmm6
call fcn.1400132d0
test al, al
je 0x14000e25a
movsd xmm0, qword [rbp - 0x68]
movaps xmm1, xmm7
subsd xmm0, qword [rbp - 0x38]
cvtpd2ps xmm0, xmm0
call sub.ucrtbase.dll_powf
movaps xmm6, xmm0
movaps xmm1, xmm7
movsd xmm0, qword [rbp - 0x70]
subsd xmm0, qword [rbp - 0x40]
cvtpd2ps xmm0, xmm0
call sub.ucrtbase.dll_powf
movsd xmm1, qword [rbp - 0x60]
addss xmm6, xmm0
subsd xmm1, qword [rbp - 0x30]
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm7
call sub.ucrtbase.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x14000e101
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x14000e109
movaps xmm0, xmm6
call sub.ucrtbase.dll_sqrtf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movss xmm0, dword [rbp - 0x10]
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
movss xmm0, dword [0x1400f91c0]
cvtpd2ps xmm2, xmm1
comiss xmm0, xmm2
ja 0x14000e25a
mov rax, qword [0x1401bce10]
comiss xmm2, dword [rax + 0x38]
ja 0x14000e25a
movss xmm10, dword [rax + 0x28]
mov rax, qword [0x1401bce28]
movss xmm8, dword [rsp + 0x20]
movss xmm9, dword [rsp + 0x24]
movd xmm6, dword [rax]
movd xmm7, dword [rax + 4]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
mulss xmm6, xmm12
mulss xmm7, xmm12
comiss xmm6, xmm8
jb 0x14000e1a2
movaps xmm1, xmm10
mulss xmm1, xmm12
movaps xmm0, xmm1
addss xmm0, xmm8
comiss xmm0, xmm6
jb 0x14000e1a2
comiss xmm7, xmm9
jb 0x14000e1a2
addss xmm1, xmm9
comiss xmm1, xmm7
jae 0x14000e1dd
movaps xmm0, xmm9
movaps xmm1, xmm8
subss xmm0, xmm7
subss xmm1, xmm6
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14000e1cf
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14000e1d7
movaps xmm0, xmm1
call sub.ucrtbase.dll_sqrtf
comiss xmm10, xmm0
jb 0x14000e252
comiss xmm8, xmm6
jbe 0x14000e1ed
movaps xmm0, xmm8
subss xmm0, xmm6
jmp 0x14000e1f5
movaps xmm0, xmm6
subss xmm0, xmm8
comiss xmm9, xmm7
jbe 0x14000e205
movaps xmm1, xmm9
subss xmm1, xmm7
jmp 0x14000e20d
movaps xmm1, xmm7
subss xmm1, xmm9
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14000e22a
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14000e232
movaps xmm0, xmm1
call sub.ucrtbase.dll_sqrtf
comiss xmm0, xmm11
jbe 0x14000e252
inc edi
cmp edi, 1
jne 0x14000e252
ucomiss xmm8, xmm11
jp 0x14000e247
je 0x14000e252
movaps xmm13, xmm8
movaps xmm14, xmm9
mov r14b, 1
movss xmm7, dword [0x1400f91e0]
mov rax, qword [0x1401bce20]
inc esi
add rbx, 0x40
mov rcx, qword [rax + 0x70]
sub rcx, qword [rax + 0x68]
sar rcx, 6
movsxd rax, esi
cmp rax, rcx
jb 0x14000de80
movaps xmm15, xmmword [rsp + 0x1a0]
movaps xmm12, xmmword [rsp + 0x1d0]
movaps xmm10, xmmword [rsp + 0x1f0]
movaps xmm9, xmmword [rsp + 0x200]
movaps xmm8, xmmword [rsp + 0x210]
mov r15, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x260]
movss xmm6, dword [rsp + 0x28]
movss xmm7, dword [rsp + 0x2c]
mov rax, qword [0x1401bce10]
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x268]
cmp byte [rax + 0x1d], 0
je 0x14000e333
ucomiss xmm13, xmm11
jp 0x14000e2f5
jne 0x14000e2f5
ucomiss xmm14, xmm11
jp 0x14000e2f5
je 0x14000e333
mov rax, qword [0x1401bce10]
movsxd rcx, dword [rax + 0x48]
lea rax, [0x1401a4c70]
mov ecx, dword [rax + rcx*4]
call qword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000e333
cmp r14b, 1
jne 0x14000e333
movaps xmm2, xmm13
movaps xmm1, xmm7
unpcklps xmm2, xmm14
movaps xmm0, xmm6
movq r8, xmm2
call fcn.14000da30
movaps xmm13, xmmword [rsp + 0x1c0]
movaps xmm11, xmmword [rsp + 0x1e0]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x230]
mov r14, qword [rsp + 0x248]
movaps xmm14, xmmword [rsp + 0x1b0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400f3250
add rsp, 0x250
pop rbp
ret