Function at 0x140048cc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xb8
movaps xmmword [rax - 0x38], xmm6
xor r12d, r12d
cmp byte [0x1400d5c88], r12b
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x68], xmm9
movss xmm9, dword [0x1400b50e4]
movaps xmmword [rsp + 0x40], xmm12
movss xmm12, dword [0x1400b5120]
je 0x1400491df
cmp byte [0x1400d5c86], r12b
je 0x140048d27
mov ecx, dword [0x1400d5c40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048d27
call fcn.140045740
cmp byte [0x1400d5c84], r12b
je 0x140048d3c
mov ecx, dword [0x1400d5c40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp byte [0x1400d5c89], r12b
movss xmm7, dword [0x1400b5148]
je 0x140049051
mov rax, qword [0x1400d5b30]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
movdqa xmm0, xmmword [0x1400b5530]
mov ecx, 1
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
movss dword [rbp + 0x6b], xmm6
cdq
sub eax, edx
sar eax, 1
add eax, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x67], xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [rbp - 0x49]
movss dword [rbp + 0x73], xmm6
cdq
sub eax, edx
sar eax, 1
sub eax, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x6f], xmm0
call fcn.140003650
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp + 0x6f]
mov rcx, rbx
lea r8, [rbp + 0x67]
call fcn.140026a50
mov rax, qword [0x1400d5b30]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
movdqa xmm0, xmmword [0x1400b5530]
mov ecx, 1
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
add eax, 8
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
movss dword [rbp + 0x6b], xmm6
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x67], xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
xor ecx, ecx
sub eax, 8
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [rbp - 0x49]
movss dword [rbp + 0x73], xmm6
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x6f], xmm0
call fcn.140003650
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp + 0x6f]
mov rcx, rbx
lea r8, [rbp + 0x67]
call fcn.140026a50
mov rax, qword [0x1400d5b30]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
lea rcx, [0x1400ce4f8]
mov rdi, rax
call fcn.140003650
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
movss dword [rbp + 0x6b], xmm6
cdq
sub eax, edx
sar eax, 1
add eax, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x67], xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9d, ebx
movss dword [rbp + 0x73], xmm6
cdq
movss dword [rsp + 0x20], xmm12
sub eax, edx
lea r8, [rbp + 0x67]
sar eax, 1
lea rdx, [rbp + 0x6f]
sub eax, 8
mov rcx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x6f], xmm0
call fcn.140026a50
mov rax, qword [0x1400d5b30]
lea r8, str.Foreground
mov rdx, qword [rax + 0x48b0]
mov rcx, qword [rdx]
mov edx, 1
call fcn.1400072b0
lea rcx, [0x1400ce4f8]
mov rdi, rax
call fcn.140003650
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
add eax, 8
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
movss dword [rbp + 0x6b], xmm6
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x67], xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
sub eax, 8
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9d, ebx
movss dword [rbp + 0x73], xmm6
cdq
movss dword [rsp + 0x20], xmm12
sub eax, edx
lea r8, [rbp + 0x67]
sar eax, 1
lea rdx, [rbp + 0x6f]
mov rcx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x6f], xmm0
call fcn.140026a50
cmp byte [0x1400d5c85], r12b
je 0x1400491df
mov rax, qword [0x1400d5b30]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
movdqa xmm0, xmmword [0x1400b5530]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.140003650
movss xmm6, dword [0x1400b51d0]
mov edi, eax
mov rax, qword [0x1400d5b30]
movss xmm0, dword [rax + 0x10]
movss xmm1, dword [rax + 0x14]
mulss xmm0, xmm9
mulss xmm1, xmm9
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
test edi, 0xff000000
je 0x14004912e
movss xmm2, dword [0x1400ce21c]
comiss xmm9, xmm2
ja 0x14004912e
subss xmm2, xmm9
mov dword [rsp + 0x28], 0x63
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.1400261f0
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], 1
call fcn.140024790
mov rax, qword [0x1400d5b30]
mov dword [rbx + 0x78], r12d
mov rax, qword [rax + 0x48b0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1400072b0
lea rcx, [0x1400ce4d8]
mov rbx, rax
call fcn.140003650
mov rcx, qword [0x1400d5b30]
mov edi, eax
movss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rcx + 0x14]
mulss xmm0, xmm9
mulss xmm1, xmm9
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
test eax, 0xff000000
je 0x1400491df
movss xmm2, dword [0x1400ce21c]
comiss xmm9, xmm2
ja 0x1400491df
subss xmm2, xmm9
mov dword [rsp + 0x28], 0x63
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.1400261f0
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm12
mov dword [rsp + 0x20], 1
call fcn.140024790
mov dword [rbx + 0x78], r12d
call fcn.140046f90
cmp byte [0x1400d5c93], r12b
je 0x1400495f4
cmp byte [0x1400ce224], r12b
lea rcx, str.radar
mov qword [rsp + 0xf0], rsi
mov eax, 0x2b
movaps xmmword [rsp + 0x80], xmm8
mov r8d, 0x2f
cmovne r8d, eax
movaps xmmword [rsp + 0x60], xmm10
mov rax, qword [0x1400d5b30]
xor edx, edx
movaps xmmword [rsp + 0x50], xmm11
or dword [rax + 0x47b0], 2
mov dword [rax + 0x47d0], 0x43480000
mov dword [rax + 0x47d4], 0x43480000
mov dword [rax + 0x47b8], 1
call fcn.14000d150
movdqa xmm0, xmmword [0x1400b55b0]
lea rcx, [rbp - 0x49]
mov r8, qword [0x1400d5b30]
movups xmmword [rbp - 0x49], xmm0
mov rax, qword [r8 + 0x3ed8]
movss xmm10, dword [rax + 0x24]
movss xmm6, dword [rax + 0x28]
movss xmm8, dword [rax + 0x2c]
movaps xmm7, xmm6
movss xmm11, dword [rax + 0x20]
movaps xmm0, xmm8
addss xmm0, xmm10
mulss xmm7, xmm9
mov byte [rax + 0xb8], 1
movss dword [rbp + 0x73], xmm10
addss xmm7, xmm11
movss dword [rbp + 0x6b], xmm0
movss dword [rbp + 0x67], xmm7
movss dword [rbp + 0x6f], xmm7
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rbp + 0x6f]
mov r9d, eax
movss dword [rsp + 0x20], xmm12
lea r8, [rbp + 0x67]
mov rcx, qword [rcx + 0x298]
call fcn.140026a50
movdqa xmm0, xmmword [0x1400b55b0]
addss xmm6, xmm11
mov r8, qword [0x1400d5b30]
lea rcx, [rbp - 0x49]
mulss xmm8, xmm9
movss dword [rbp + 0x6f], xmm11
mov rax, qword [r8 + 0x3ed8]
addss xmm8, xmm10
movss dword [rbp + 0x67], xmm6
movups xmmword [rbp - 0x49], xmm0
mov byte [rax + 0xb8], 1
movss dword [rbp + 0x6b], xmm8
movss dword [rbp + 0x73], xmm8
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rbp + 0x6f]
mov r9d, eax
movss dword [rsp + 0x20], xmm12
lea r8, [rbp + 0x67]
mov rcx, qword [rcx + 0x298]
call fcn.140026a50
movdqa xmm0, xmmword [0x1400b55b0]
lea rcx, [rbp - 0x49]
mov r8, qword [0x1400d5b30]
movss dword [rbp + 0x67], xmm11
movss dword [rbp + 0x6b], xmm10
movss dword [rbp + 0x6f], xmm7
mov rax, qword [r8 + 0x3ed8]
movss dword [rbp + 0x73], xmm8
movups xmmword [rbp - 0x49], xmm0
mov byte [rax + 0xb8], 1
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rbp + 0x6f]
movss dword [rsp + 0x20], xmm12
lea r8, [rbp + 0x67]
mov r9d, eax
mov rcx, qword [rcx + 0x298]
call fcn.140026a50
movdqa xmm0, xmmword [0x1400b55b0]
lea rcx, [rbp - 0x49]
mov r8, qword [0x1400d5b30]
movss dword [rbp + 0x67], xmm6
movss dword [rbp + 0x6b], xmm10
movss dword [rbp + 0x6f], xmm7
mov rax, qword [r8 + 0x3ed8]
movss dword [rbp + 0x73], xmm8
movups xmmword [rbp - 0x49], xmm0
mov byte [rax + 0xb8], 1
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rbp + 0x6f]
mov r9d, eax
movss dword [rsp + 0x20], xmm12
lea r8, [rbp + 0x67]
mov rcx, qword [rcx + 0x298]
call fcn.140026a50
mov rcx, qword [0x1400d5b30]
movdqa xmm0, xmmword [0x1400b56d0]
movups xmmword [rbp - 0x49], xmm0
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
lea rcx, [rbp - 0x49]
mov rbx, qword [rax + 0x298]
call fcn.140003650
movss xmm6, dword [0x1400b51c4]
mov edi, eax
movss dword [rbp + 0x6b], xmm8
movaps xmm8, xmmword [rsp + 0x80]
movss dword [rbp + 0x67], xmm7
test eax, 0xff000000
je 0x1400494c7
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140025cb0
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
dec r8d
mov rcx, rbx
mov dword [rbx + 0x78], r8d
call fcn.1400256f0
mov dword [rbx + 0x78], r12d
mov rax, qword [0x1400d5c50]
mov esi, r12d
mov r8, qword [0x1400d5c48]
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400495db
movdqa xmm0, xmmword [0x1400b5540]
lea rcx, [rbp - 0x49]
mov qword [rsp + 0xf8], r14
movups xmmword [rbp - 0x49], xmm0
mov qword [rsp + 0xb0], r15
call fcn.140003650
mov r14d, eax
mov r15d, eax
and r14d, 0xff000000
mov rdi, r12
nop dword [rax]
mov rax, qword [0x1400d5b30]
movss xmm0, dword [rdi + r8]
movss xmm1, dword [rdi + r8 + 4]
addss xmm0, xmm11
addss xmm1, xmm10
mov rcx, qword [rax + 0x3ed8]
movss dword [rbp + 0x67], xmm0
mov byte [rcx + 0xb8], 1
mov rax, qword [rax + 0x3ed8]
movss dword [rbp + 0x6b], xmm1
mov rbx, qword [rax + 0x298]
test r14d, r14d
je 0x1400495a4
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140025cb0
mov r8d, dword [rbx + 0x78]
mov r9d, r15d
mov rdx, qword [rbx + 0x80]
dec r8d
mov rcx, rbx
mov dword [rbx + 0x78], r8d
call fcn.1400256f0
mov dword [rbx + 0x78], r12d
mov rcx, qword [0x1400d5c50]
inc esi
mov r8, qword [0x1400d5c48]
add rdi, 8
sub rcx, r8
movsxd rax, esi
sar rcx, 3
cmp rax, rcx
jb 0x140049520
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xf8]
call fcn.14000f360
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x60]
mov rsi, qword [rsp + 0xf0]
lea r11, [rsp + 0xb8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm12, xmmword [r11 - 0x78]
mov rsp, r11
pop r12
pop rdi
pop rbx
pop rbp
ret