Function at 0x140048fd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
movaps xmmword [rax - 0x38], xmm6
xor r12d, r12d
cmp byte [0x1400781e5], r12b
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x78], xmm10
movss xmm10, dword [0x14006cab4]
movaps xmmword [rsp + 0x40], xmm13
movss xmm13, dword [0x14006caf0]
je 0x1400494f9
cmp byte [0x1400781dd], r12b
je 0x140049037
mov ecx, dword [0x14007ab10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140049037
call fcn.140045550
cmp byte [0x14007ab44], r12b
je 0x140049056
mov ecx, dword [0x14007ab10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140049056
call fcn.1400458f0
cmp byte [0x1400781e6], r12b
movss xmm7, dword [0x14006cb18]
je 0x14004936b
mov rax, qword [0x14007a9f0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
movdqa xmm0, xmmword [0x14006cf30]
mov ecx, 1
movups xmmword [rbp - 0x59], 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 - 0x59]
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.140026a10
mov rax, qword [0x14007a9f0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
movdqa xmm0, xmmword [0x14006cf30]
mov ecx, 1
movups xmmword [rbp - 0x59], 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 - 0x59]
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.140026a10
mov rax, qword [0x14007a9f0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
lea rcx, [0x1400784c8]
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], xmm13
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.140026a10
mov rax, qword [0x14007a9f0]
lea r8, str.Foreground
mov rdx, qword [rax + 0x48b0]
mov rcx, qword [rdx]
mov edx, 1
call fcn.1400072b0
lea rcx, [0x1400784c8]
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], xmm13
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.140026a10
cmp byte [0x1400781dc], r12b
je 0x1400494f9
mov rax, qword [0x14007a9f0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.1400072b0
movdqa xmm0, xmmword [0x14006cf30]
lea rcx, [rbp - 0x59]
movups xmmword [rbp - 0x59], xmm0
mov rbx, rax
call fcn.140003650
movss xmm6, dword [0x14006cba8]
mov edi, eax
mov rax, qword [0x14007a9f0]
movss xmm0, dword [rax + 0x10]
movss xmm1, dword [rax + 0x14]
mulss xmm0, xmm10
mulss xmm1, xmm10
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
test edi, 0xff000000
je 0x140049448
movss xmm2, dword [0x1400781e0]
comiss xmm10, xmm2
ja 0x140049448
subss xmm2, xmm10
mov dword [rsp + 0x28], 0x63
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.1400261b0
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.140024740
mov rax, qword [0x14007a9f0]
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, [0x1400784a8]
mov rbx, rax
call fcn.140003650
mov rcx, qword [0x14007a9f0]
mov edi, eax
movss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rcx + 0x14]
mulss xmm0, xmm10
mulss xmm1, xmm10
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
test eax, 0xff000000
je 0x1400494f9
movss xmm2, dword [0x1400781e0]
comiss xmm10, xmm2
ja 0x1400494f9
subss xmm2, xmm10
mov dword [rsp + 0x28], 0x63
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.1400261b0
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm13
mov dword [rsp + 0x20], 1
call fcn.140024740
mov dword [rbx + 0x78], r12d
call fcn.1400470f0
cmp byte [0x1400781f0], r12b
je 0x14004992c
cmp byte [0x1400781f6], r12b
lea rcx, str.radar
mov qword [rsp + 0x100], rsi
mov eax, 0x2b
movaps xmmword [rsp + 0x90], xmm8
mov r8d, 0x2f
cmovne r8d, eax
movaps xmmword [rsp + 0x80], xmm9
mov rax, qword [0x14007a9f0]
xor edx, edx
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x50], xmm12
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 [0x14006cfb0]
lea rcx, [rbp - 0x59]
mov r8, qword [0x14007a9f0]
movups xmmword [rbp - 0x59], xmm0
mov rax, qword [r8 + 0x3ed8]
movss xmm11, dword [rax + 0x24]
movss xmm6, dword [rax + 0x28]
movss xmm9, dword [rax + 0x2c]
movaps xmm8, xmm6
movss xmm12, dword [rax + 0x20]
movaps xmm0, xmm9
addss xmm0, xmm11
mulss xmm8, xmm10
mov byte [rax + 0xb8], 1
movss dword [rbp + 0x73], xmm11
addss xmm8, xmm12
movss dword [rbp + 0x6b], xmm0
movss dword [rbp + 0x67], xmm8
movss dword [rbp + 0x6f], xmm8
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rbp + 0x6f]
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea r8, [rbp + 0x67]
mov rcx, qword [rcx + 0x298]
call fcn.140026a10
movdqa xmm0, xmmword [0x14006cfb0]
lea rcx, [rbp - 0x59]
mov r8, qword [0x14007a9f0]
movaps xmm7, xmm12
mulss xmm9, xmm10
addss xmm7, xmm6
movss dword [rbp + 0x6f], xmm12
mov rax, qword [r8 + 0x3ed8]
addss xmm9, xmm11
movss dword [rbp + 0x67], xmm7
movups xmmword [rbp - 0x59], xmm0
mov byte [rax + 0xb8], 1
movss dword [rbp + 0x6b], xmm9
movss dword [rbp + 0x73], xmm9
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
lea rdx, [rbp + 0x6f]
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea r8, [rbp + 0x67]
mov rcx, qword [rcx + 0x298]
call fcn.140026a10
movdqa xmm0, xmmword [0x14006cfb0]
lea rcx, [rbp - 0x59]
mov r8, qword [0x14007a9f0]
movss dword [rbp + 0x67], xmm12
movss dword [rbp + 0x6b], xmm11
movss dword [rbp + 0x6f], xmm8
mov rax, qword [r8 + 0x3ed8]
movss dword [rbp + 0x73], xmm9
movups xmmword [rbp - 0x59], xmm0
mov byte [rax + 0xb8], 1
call fcn.140003650
mov rcx, qword [r8 + 0x3ed8]
mov r9d, eax
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm13
mov rcx, qword [rcx + 0x298]
lea rdx, [rbp + 0x6f]
call fcn.140026a10
movdqa xmm0, xmmword [0x14006cfb0]
lea rcx, [rbp - 0x59]
mov r8, qword [0x14007a9f0]
movss dword [rbp + 0x67], xmm7
movss dword [rbp + 0x6b], xmm11
movss dword [rbp + 0x6f], xmm8
mov rax, qword [r8 + 0x3ed8]
movss dword [rbp + 0x73], xmm9
movups xmmword [rbp - 0x59], 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], xmm13
lea r8, [rbp + 0x67]
mov rcx, qword [rcx + 0x298]
call fcn.140026a10
mov rcx, qword [0x14007a9f0]
movdqa xmm0, xmmword [0x14006d0d0]
movups xmmword [rbp - 0x59], xmm0
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
lea rcx, [rbp - 0x59]
mov rbx, qword [rax + 0x298]
call fcn.140003650
movss xmm6, dword [0x14006cb9c]
mov edi, eax
movss dword [rbp + 0x67], xmm8
movaps xmm8, xmmword [rsp + 0x90]
movss dword [rbp + 0x6b], xmm9
movaps xmm9, xmmword [rsp + 0x80]
test eax, 0xff000000
je 0x1400497fc
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140025c70
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.1400256a0
mov dword [rbx + 0x78], r12d
mov rax, qword [0x14007ab20]
mov esi, r12d
mov r8, qword [0x14007ab18]
sub rax, r8
sar rax, 3
test rax, rax
je 0x140049913
movdqa xmm0, xmmword [0x14006cf40]
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x108], r14
movups xmmword [rbp - 0x59], xmm0
mov qword [rsp + 0xc0], r15
call fcn.140003650
mov r14d, eax
mov r15d, eax
and r14d, 0xff000000
mov rdi, r12
movss xmm1, dword [rdi + r8]
movaps xmm0, xmm12
mov rax, qword [0x14007a9f0]
addss xmm0, xmm1
movss xmm2, dword [rdi + r8 + 4]
movaps xmm1, xmm11
addss xmm1, xmm2
mov rcx, qword [rax + 0x3ed8]
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
mov byte [rcx + 0xb8], 1
mov rax, qword [rax + 0x3ed8]
mov rbx, qword [rax + 0x298]
test r14d, r14d
je 0x1400498dc
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140025c70
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.1400256a0
mov dword [rbx + 0x78], r12d
mov rcx, qword [0x14007ab20]
inc esi
mov r8, qword [0x14007ab18]
add rdi, 8
sub rcx, r8
movsxd rax, esi
sar rcx, 3
cmp rax, rcx
jb 0x140049852
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x108]
call fcn.14000f360
movaps xmm12, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
mov rsi, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x40]
add rsp, 0xc8
pop r12
pop rdi
pop rbx
pop rbp
ret