Function at 0x14004dc40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14013da78]
xor r14d, r14d
movaps xmmword [rsp + 0x50], xmm7
mov rdi, rax
xorps xmm7, xmm7
cmp qword [rax + 0x3f18], r14
je 0x14004dd2b
movss xmm3, dword [rax + 0x3f2c]
subss xmm3, dword [rax + 0x18]
movss xmm1, dword [0x140125c44]
movss dword [rax + 0x3f2c], xmm3
movss xmm0, dword [rax + 0xe08]
comiss xmm0, xmm1
movss xmm2, dword [rax + 0xe0c]
jb 0x14004dcd1
comiss xmm2, xmm1
jb 0x14004dcd1
subss xmm2, dword [rax + 0x3f24]
movaps xmm1, xmm0
movss xmm0, dword [rax + 0x38]
subss xmm1, dword [rax + 0x3f20]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
comiss xmm2, xmm0
ja 0x14004dcd6
comiss xmm3, xmm7
ja 0x14004dd2b
test byte [rax + 0x5ce4], 0x40
mov rbx, rax
mov dword [rax + 0x3f2c], r14d
je 0x14004dd03
lea rdx, str.NULL
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140057540
mov rax, qword [0x14013da78]
movsd xmm0, qword [rbx + 0xe08]
movsd qword [rbx + 0x3f20], xmm0
mov qword [rdi + 0x3f18], r14
mov dword [rbx + 0x3f28], 0xffffffff
mov qword [rbx + 0x3f38], r14
cmp dword [rax + 0x45e8], 0xffffffff
movaps xmmword [rsp + 0x30], xmm9
je 0x14004dd42
xorps xmm9, xmm9
jmp 0x14004dd4b
movss xmm9, dword [rdi + 0xe1c]
cmp dword [rax + 0x45f4], 0xffffffff
movaps xmmword [rsp + 0x60], xmm6
je 0x14004dd5e
xorps xmm6, xmm6
jmp 0x14004dd66
movss xmm6, dword [rdi + 0xe18]
mov rbx, qword [rdi + 0x3f00]
test rbx, rbx
je 0x14004e1d9
nop word [rax + rax]
cmp byte [rbx + 0xc1], r14b
jne 0x14004e1d9
mov eax, dword [rbx + 0x14]
bt eax, 0x18
jae 0x14004ddbd
and eax, 0x218
cmp eax, 0x10
jne 0x14004ddbd
mov rax, qword [rbx + 0x370]
test rax, rax
je 0x14004ddbd
mov rbx, rax
mov eax, dword [rax + 0x14]
bt eax, 0x18
jb 0x14004dd96
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14004dddb
mov eax, dword [rbx + 0x90]
mov dword [rbx + 0x5c], eax
jmp 0x14004e1d9
mov rax, qword [rbx]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rbx + 0x370]
mulss xmm0, dword [rbx + 0x298]
test rax, rax
je 0x14004de02
mulss xmm0, dword [rax + 0x298]
mulss xmm0, dword [0x140125b70]
movss xmm1, dword [rbx + 0x5c]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x140125a50]
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 0x90]
comiss xmm1, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
jbe 0x14004de3e
addss xmm0, xmm2
minss xmm0, xmm1
jmp 0x14004de4a
nop
jae 0x14004de60
subss xmm0, xmm2
maxss xmm0, xmm1
movss dword [rbx + 0xa0], xmm0
mov dword [rbx + 0xb0], r14d
mov dword [rbx + 0xa8], r14d
ucomiss xmm7, dword [rdi + 0xe18]
jne 0x14004de76
ucomiss xmm7, dword [rdi + 0xe1c]
je 0x14004e1d9
movss xmm1, dword [rdi + 0x3f38]
movaps xmm2, xmm9
movss xmm3, dword [0x1401259dc]
movaps xmm0, xmm1
mulss xmm0, xmm3
movaps xmmword [rsp + 0x20], xmm11
movss xmm11, dword [0x140125df0]
andps xmm2, xmm11
subss xmm1, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
movss xmm1, dword [rdi + 0x3f3c]
movaps xmm0, xmm1
mulss xmm0, xmm3
movss dword [rdi + 0x3f38], xmm2
movaps xmm2, xmm6
andps xmm2, xmm11
subss xmm1, xmm0
mulss xmm2, xmm3
addss xmm2, xmm1
movss dword [rdi + 0x3f3c], xmm2
addss xmm9, dword [rdi + 0x3f30]
addss xmm6, dword [rdi + 0x3f34]
mov qword [rdi + 0x3f30], r14
ucomiss xmm9, xmm7
movss dword [rsp + 0x90], xmm9
movss dword [rsp + 0x94], xmm6
jne 0x14004df1c
ucomiss xmm6, xmm7
je 0x14004e1d3
mov rbx, qword [rdi + 0x3f18]
test rbx, rbx
jne 0x14004df49
lea rcx, [rsp + 0x90]
call fcn.14004dae0
mov rbx, rax
test rax, rax
je 0x14004e1d3
test dword [rbx + 0x14], 0x210
jne 0x14004e1d3
ucomiss xmm9, xmm7
mov qword [rsp + 0x98], rbp
movaps xmmword [rsp + 0x40], xmm8
je 0x14004df77
ucomiss xmm7, dword [rbx + 0x94]
je 0x14004df77
mov al, 1
jmp 0x14004df79
xor al, al
ucomiss xmm6, xmm7
mov byte [rsp + 0x90], al
je 0x14004df93
ucomiss xmm7, dword [rbx + 0x98]
je 0x14004df93
mov bpl, 1
jmp 0x14004df96
xor bpl, bpl
movss xmm8, dword [0x140125a68]
mov byte [rsp + 0x91], bpl
mov qword [rsp + 0xa0], rsi
test al, al
je 0x14004e0d5
test bpl, bpl
je 0x14004dfe9
movss xmm0, dword [rdi + 0x3f3c]
mov rax, r14
comiss xmm0, dword [rdi + 0x3f38]
setb al
mov byte [rsp + rax + 0x90], r14b
movzx ebp, byte [rsp + 0x91]
movzx eax, byte [rsp + 0x90]
test al, al
je 0x14004e0d5
mov rsi, qword [0x14013da78]
movaps xmm0, xmm9
andps xmm0, xmm11
mulss xmm0, xmm8
addss xmm0, dword [rsi + 0x3f2c]
minss xmm0, xmm8
movss dword [rsi + 0x3f2c], xmm0
cmp qword [rsi + 0x3f18], rbx
je 0x14004e05c
test byte [rsi + 0x5ce4], 0x40
je 0x14004e045
mov rdx, qword ds:[rbx + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140057540
movsd xmm0, qword [rsi + 0xe08]
movsd qword [rsi + 0x3f20], xmm0
mov qword [rsi + 0x3f18], rbx
mov rax, qword [rbx]
movss xmm1, dword [rbx + 0x208]
subss xmm1, dword [rbx + 0x200]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rbx + 0x370]
mulss xmm0, dword [rbx + 0x298]
mulss xmm1, dword [0x140125a64]
test rax, rax
je 0x14004e09b
mulss xmm0, dword [rax + 0x298]
addss xmm0, xmm0
mov dword [rbx + 0xa4], r14d
mov dword [rbx + 0xac], r14d
minss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 0x8c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [rbx + 0x9c], xmm0
test bpl, bpl
mov rbp, qword [rsp + 0x98]
je 0x14004e1c5
mov rsi, qword [0x14013da78]
andps xmm6, xmm11
mulss xmm6, xmm8
addss xmm6, dword [rsi + 0x3f2c]
minss xmm6, xmm8
movss dword [rsi + 0x3f2c], xmm6
cmp qword [rsi + 0x3f18], rbx
je 0x14004e144
test byte [rsi + 0x5ce4], 0x40
je 0x14004e12d
mov rdx, qword [rbx + 8]
lea rcx, str._io__LockWheelingWindow_____s__n
call fcn.140057540
movsd xmm0, qword [rsi + 0xe08]
movsd qword [rsi + 0x3f20], xmm0
mov qword [rsi + 0x3f18], rbx
movss xmm1, dword [rbx + 0x20c]
subss xmm1, dword [rbx + 0x204]
movss xmm2, dword [rdi + 0xe18]
ucomiss xmm2, xmm7
mov rcx, qword [rbx + 0x370]
mulss xmm1, dword [0x140125a64]
je 0x14004e1c5
cmp byte [rdi + 0xe25], r14b
jne 0x14004e1c5
mov rax, qword [rbx]
movss xmm0, dword [rax + 0x3c24]
mulss xmm0, dword [rbx + 0x298]
test rcx, rcx
je 0x14004e199
mulss xmm0, dword [rcx + 0x298]
mulss xmm0, dword [0x140125b48]
minss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [rbx + 0x90]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
subss xmm0, xmm1
movss dword [rbx + 0x5c], xmm0
mov rsi, qword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop r14
pop rdi
pop rbx
ret