Function at 0x1400481c0
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 [0x140065070], r12b
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x68], xmm9
movss xmm9, dword [0x14005a390]
movaps xmmword [rsp + 0x40], xmm12
movss xmm12, dword [0x14005a3cc]
je 0x1400486e9
cmp byte [0x14006506e], r12b
je 0x140048227
mov ecx, dword [0x140065028]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048227
call fcn.140044910
cmp byte [0x14006506c], r12b
je 0x140048246
mov ecx, dword [0x140065028]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048246
call fcn.140044cb0
cmp byte [0x140065071], r12b
movss xmm7, dword [0x14005a3f0]
je 0x14004855b
mov rax, qword [0x140064f10]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007010
movdqa xmm0, xmmword [0x14005a7b0]
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.1400033b0
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp + 0x6f]
mov rcx, rbx
lea r8, [rbp + 0x67]
call fcn.1400267b0
mov rax, qword [0x140064f10]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007010
movdqa xmm0, xmmword [0x14005a7b0]
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.1400033b0
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp + 0x6f]
mov rcx, rbx
lea r8, [rbp + 0x67]
call fcn.1400267b0
mov rax, qword [0x140064f10]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007010
lea rcx, [0x1400643a8]
mov rdi, rax
call fcn.1400033b0
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.1400267b0
mov rax, qword [0x140064f10]
lea r8, str.Foreground
mov rdx, qword [rax + 0x48b0]
mov rcx, qword [rdx]
mov edx, 1
call fcn.140007010
lea rcx, [0x1400643a8]
mov rdi, rax
call fcn.1400033b0
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.1400267b0
cmp byte [0x14006506d], r12b
je 0x1400486e9
mov rax, qword [0x140064f10]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007010
movdqa xmm0, xmmword [0x14005a7b0]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.1400033b0
movss xmm6, dword [0x14005a480]
mov edi, eax
mov rax, qword [0x140064f10]
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 0x140048638
movss xmm2, dword [0x1400640cc]
comiss xmm9, xmm2
ja 0x140048638
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.140025f50
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.1400244f0
mov rax, qword [0x140064f10]
mov dword [rbx + 0x78], r12d
mov rax, qword [rax + 0x48b0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007010
lea rcx, [0x140064388]
mov rbx, rax
call fcn.1400033b0
mov rcx, qword [0x140064f10]
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 0x1400486e9
movss xmm2, dword [0x1400640cc]
comiss xmm9, xmm2
ja 0x1400486e9
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.140025f50
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.1400244f0
mov dword [rbx + 0x78], r12d
call fcn.140046490
cmp byte [0x14006507b], r12b
je 0x140048b07
cmp byte [0x1400640d4], 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 [0x140064f10]
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.14000ceb0
movdqa xmm0, xmmword [0x14005a830]
lea rcx, [rbp - 0x49]
mov r8, qword [0x140064f10]
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.1400033b0
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.1400267b0
movdqa xmm0, xmmword [0x14005a830]
addss xmm6, xmm11
mov r8, qword [0x140064f10]
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.1400033b0
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.1400267b0
movdqa xmm0, xmmword [0x14005a830]
lea rcx, [rbp - 0x49]
mov r8, qword [0x140064f10]
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.1400033b0
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.1400267b0
movdqa xmm0, xmmword [0x14005a830]
lea rcx, [rbp - 0x49]
mov r8, qword [0x140064f10]
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.1400033b0
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.1400267b0
mov rcx, qword [0x140064f10]
movdqa xmm0, xmmword [0x14005a950]
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.1400033b0
movss xmm6, dword [0x14005a474]
mov edi, eax
movss dword [rbp + 0x6b], xmm8
movaps xmm8, xmmword [rsp + 0x80]
movss dword [rbp + 0x67], xmm7
test eax, 0xff000000
je 0x1400489d1
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140025a10
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.140025450
mov dword [rbx + 0x78], r12d
mov rax, qword [0x140065038]
mov esi, r12d
mov r8, qword [0x140065030]
sub rax, r8
sar rax, 3
test rax, rax
je 0x140048aee
movdqa xmm0, xmmword [0x14005a7c0]
lea rcx, [rbp - 0x49]
mov qword [rsp + 0xf8], r14
movups xmmword [rbp - 0x49], xmm0
mov qword [rsp + 0xb0], r15
call fcn.1400033b0
mov r14d, eax
mov r15d, eax
and r14d, 0xff000000
mov rdi, r12
nop word [rax + rax]
movss xmm0, dword [rdi + r8]
mov rax, qword [0x140064f10]
addss xmm0, xmm11
movss xmm1, dword [rdi + r8 + 4]
mov rcx, qword [rax + 0x3ed8]
movss dword [rbp + 0x67], xmm0
movaps xmm0, xmm10
addss xmm0, xmm1
mov byte [rcx + 0xb8], 1
mov rax, qword [rax + 0x3ed8]
movss dword [rbp + 0x6b], xmm0
mov rbx, qword [rax + 0x298]
test r14d, r14d
je 0x140048ab7
xor r9d, r9d
mov dword [rsp + 0x20], 0x30
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.140025a10
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.140025450
mov dword [rbx + 0x78], r12d
mov rcx, qword [0x140065038]
inc esi
mov r8, qword [0x140065030]
add rdi, 8
sub rcx, r8
movsxd rax, esi
sar rcx, 3
cmp rax, rcx
jb 0x140048a30
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xf8]
call fcn.14000f0c0
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