Function at 0x1400545a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0xe8]
sub rsp, 0x1e0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x28], rax
movsxd rax, dword [0x140073b48]
xor ecx, ecx
mov qword [rbp - 0x68], rax
mov rax, qword [0x140073b50]
mov qword [r11 + 0x18], rdi
add rax, 0x10aec0b8
mov qword [rbp - 0x60], rax
lea rdi, [rbp - 0x70]
lea rax, [rbp - 0x10]
mov qword [r11 - 0x18], r13
mov qword [rbp - 0x58], rax
xor r13d, r13d
xor eax, eax
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [r11 - 0x20], r14
mov qword [rbp - 0x10], r13
call qword [0x140073b40]
mov rcx, qword [rbp - 0x10]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov qword [0x140073cd0], rcx
lea rax, [rcx + 0x1b8]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x10], r13
call qword [0x140073b40]
mov rcx, qword [rbp - 0x10]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov qword [0x140073cc0], rcx
lea rax, [rcx + 0x38]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x10], r13
call qword [0x140073b40]
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x40]
mov qword [rbp - 0x38], rax
xor ecx, ecx
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [rbp]
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x40]
mov qword [rbp], r13
call qword [0x140073b40]
mov rcx, qword [rbp]
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov qword [0x140073c90], rcx
lea rax, [rcx + 0x30]
mov qword [rbp], r13
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x60], rax
lea rdi, [rbp - 0x70]
lea rax, [rbp]
mov qword [rbp - 0x50], 8
mov qword [rbp - 0x58], rax
xor ecx, ecx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
call qword [0x140073b40]
mov rcx, qword [rbp]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov qword [0x140073cc8], rcx
lea rax, [rcx + 0x338]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x140073b40]
mov rcx, qword [rbp]
mov qword [0x140073c98], rcx
test rcx, rcx
je 0x1400548c0
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rcx + 0x198]
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp + 0x20]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp + 0x20], r13
call qword [0x140073b40]
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov rax, qword [0x140073c98]
add rax, 0x2b0
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x140073b40]
mov rcx, qword [rbp]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov qword [0x140073c80], rcx
lea rax, [rcx + 0x10e0]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x10], r13d
call qword [0x140073b40]
mov eax, dword [rbp - 0x10]
mov dword [0x140073ca8], eax
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov rax, qword [0x140073cd0]
add rax, 0x158
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x140073b40]
mov rcx, qword [rbp]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov qword [0x140073cb0], rcx
lea rax, [rcx + 0x2a8]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x140073b40]
mov rax, qword [rbp]
lea rdi, [rbp - 0x70]
mov qword [0x140073ca0], rax
xor ecx, ecx
movsxd rax, dword [0x140073b48]
mov qword [rbp - 0x68], rax
mov rax, qword [0x140073cb0]
add rax, 0x2b0
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x10], r13d
call qword [0x140073b40]
mov eax, dword [rbp - 0x10]
mov r14d, r13d
mov dword [0x140073c88], eax
mov dword [0x140073cb8], 0x7f7fffff
mov qword [0x140073c78], r13
test eax, eax
jle 0x140054fb4
mov qword [rsp + 0x1f0], rbx
movaps xmmword [rsp + 0x160], xmm11
movss xmm11, dword [0x14006a608]
movaps xmmword [rsp + 0x150], xmm12
movss xmm12, dword [0x14006a5e8]
movaps xmmword [rsp + 0x140], xmm13
movsd xmm13, qword [0x14006a910]
movaps xmmword [rsp + 0x130], xmm14
xorps xmm14, xmm14
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1c0], r15
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x190], xmm8
movaps xmmword [rsp + 0x180], xmm9
movaps xmmword [rsp + 0x170], xmm10
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov rax, qword [0x140073ca0]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
movsxd rcx, r14d
mov qword [rbp], r13
lea rcx, [rax + rcx*8]
mov qword [rbp - 0x60], rcx
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor ecx, ecx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
call qword [0x140073b40]
mov rbx, qword [rbp]
test rbx, rbx
je 0x140054f35
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbx + 0x10e0]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x10], r13d
call qword [0x140073b40]
mov eax, dword [0x140073ca8]
cmp dword [rbp - 0x10], eax
je 0x140054f35
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbx + 0x308]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x140073b40]
mov rcx, qword [rbp]
test rcx, rcx
je 0x140054f35
cmp rcx, qword [0x140073c98]
je 0x140054f35
movsxd rax, dword [0x140073b48]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rcx + 0x318]
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x140073b40]
mov rsi, qword [rbp]
test rsi, rsi
je 0x140054f35
mov r8d, 0x6d
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.140053450
movups xmm0, xmmword [rsp + 0x78]
lea rdx, [rbp]
movsd xmm1, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
call fcn.1400530f0
xor r8d, r8d
lea rcx, [rbp - 0x40]
mov rdx, rsi
call fcn.140053450
movups xmm0, xmmword [rbp - 0x40]
lea rdx, [rbp - 0x70]
movsd xmm1, qword [rbp - 0x30]
lea rcx, [rsp + 0x58]
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
call fcn.1400530f0
cmp byte [0x140073bb8], r13b
movsd xmm6, qword [rsp + 0x70]
movsd xmm10, qword [rsp + 0x60]
movaps xmm0, xmm6
movsd xmm8, qword [rsp + 0x68]
subsd xmm0, xmm10
andps xmm0, xmm13
cvtpd2ps xmm9, xmm0
movaps xmm7, xmm9
mulss xmm7, xmm11
je 0x140054ec2
cmp byte [0x140073bb9], r13b
je 0x140054daf
mov rcx, rsi
call fcn.1400536a0
cvttss2si r12d, xmm7
test al, al
lea rax, [rbp]
mov qword [rsp + 0x20], rax
cvttss2si r15d, xmm9
mov r8d, r12d
mulss xmm7, xmm11
mov r9d, r15d
cvttsd2si edx, xmm6
cvtps2pd xmm7, xmm7
je 0x140054ce0
movaps xmm0, xmmword [0x14006a8e0]
jmp 0x140054ce7
movaps xmm0, xmmword [0x14006a8d0]
movaps xmmword [rbp], xmm0
movaps xmm0, xmm8
subsd xmm0, xmm7
cvttsd2si ecx, xmm0
call fcn.1400541e0
cmp byte [0x140073bb6], r13b
je 0x140054daf
mov rax, qword [0x1400739e0]
lea r8, str.Foreground
movaps xmm0, xmmword [0x14006a840]
movaps xmm1, xmm8
subsd xmm1, xmm7
movaps xmmword [rbp], xmm0
mov edx, 1
mov rcx, qword [rax + 0x48b0]
cvttsd2si ebx, xmm6
mov rcx, qword [rcx]
cvttsd2si edi, xmm1
call fcn.140018770
lea ecx, [r12 + rdi]
mov r10, rax
movd xmm0, ecx
lea ecx, [r15 + rbx]
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
lea rcx, [rbp]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
movd xmm1, ebx
movd xmm0, edi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x3c], xmm1
movss dword [rsp + 0x38], xmm0
call fcn.1400150c0
mov r9d, eax
mov dword [rsp + 0x28], r13d
lea rdx, [rsp + 0x38]
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x30]
mov rcx, r10
call fcn.140037d70
cmp byte [0x140073bb7], r13b
je 0x140054ec2
mov rcx, rsi
call fcn.1400536a0
test al, al
lea r8, str.Foreground
mov rax, qword [0x1400739e0]
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
je 0x140054e50
movaps xmm0, xmmword [0x14006a8e0]
movaps xmmword [rbp], xmm0
call fcn.140018770
movsd xmm0, qword [rsp + 0x58]
lea rcx, [rbp]
cvtpd2ps xmm0, xmm0
mov rdi, rax
cvtpd2ps xmm1, xmm10
movss dword [rsp + 0x40], xmm0
movd xmm0, dword [0x140073ce8]
movss dword [rsp + 0x44], xmm1
movd xmm1, dword [0x140073cf4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.1400150c0
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x40]
jmp 0x140054eb0
movaps xmm0, xmmword [0x14006a8c0]
movaps xmmword [rbp], xmm0
call fcn.140018770
movsd xmm0, qword [rsp + 0x58]
lea rcx, [rbp]
cvtpd2ps xmm0, xmm0
mov rdi, rax
cvtpd2ps xmm1, xmm10
movss dword [rsp + 0x50], xmm0
movd xmm0, dword [0x140073ce8]
movss dword [rsp + 0x54], xmm1
movd xmm1, dword [0x140073cf4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbp + 0x20], xmm0
movss dword [rbp + 0x24], xmm1
call fcn.1400150c0
lea rdx, [rbp + 0x20]
lea r8, [rsp + 0x50]
mov r9d, eax
movss dword [rsp + 0x20], xmm12
mov rcx, rdi
call fcn.140037b00
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, dword [0x140073ce8]
cvtsi2sd xmm1, dword [0x140073cf0]
subsd xmm8, xmm0
xorps xmm0, xmm0
subsd xmm6, xmm1
mulsd xmm8, xmm8
mulsd xmm6, xmm6
addsd xmm6, xmm8
cvtpd2ps xmm1, xmm6
ucomiss xmm0, xmm1
ja 0x140054f04
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140054f0c
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1400730d8]
comiss xmm1, xmm0
jb 0x140054f35
movss xmm1, dword [0x140073cb8]
comiss xmm1, xmm0
jbe 0x140054f35
movss dword [0x140073cb8], xmm0
mov qword [0x140073c78], rsi
inc r14d
cmp r14d, dword [0x140073c88]
jl 0x140054a80
movaps xmm14, xmmword [rsp + 0x130]
movaps xmm13, xmmword [rsp + 0x140]
movaps xmm12, xmmword [rsp + 0x150]
movaps xmm11, xmmword [rsp + 0x160]
movaps xmm10, xmmword [rsp + 0x170]
movaps xmm9, xmmword [rsp + 0x180]
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
mov r15, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
cmp byte [0x140073bb5], 0
mov r14, qword [rsp + 0x1c8]
mov r13, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x200]
je 0x140054feb
mov ecx, dword [0x1400730bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140054feb
call fcn.140053f90
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140058e30
add rsp, 0x1e0
pop rbp
ret