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 [0x1401834d0], r12b
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x68], xmm9
movss xmm9, dword [0x1400d7004]
movaps xmmword [rsp + 0x40], xmm12
movss xmm12, dword [0x1400d7040]
je 0x1400491e9
cmp byte [0x1401834ce], r12b
je 0x140048d27
mov ecx, dword [0x140183488]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048d27
call fcn.140045410
cmp byte [0x1401834cc], r12b
je 0x140048d46
mov ecx, dword [0x140183488]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048d46
call fcn.1400457b0
cmp byte [0x1401834d1], r12b
movss xmm7, dword [0x1400d7068]
je 0x14004905b
mov rax, qword [0x140183010]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007890
movdqa xmm0, xmmword [0x1400d7450]
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.140003c30
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp + 0x6f]
mov rcx, rbx
lea r8, [rbp + 0x67]
call fcn.140027090
mov rax, qword [0x140183010]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007890
movdqa xmm0, xmmword [0x1400d7450]
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.140003c30
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp + 0x6f]
mov rcx, rbx
lea r8, [rbp + 0x67]
call fcn.140027090
mov rax, qword [0x140183010]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007890
lea rcx, [0x140181c40]
mov rdi, rax
call fcn.140003c30
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.140027090
mov rax, qword [0x140183010]
lea r8, str.Foreground
mov rdx, qword [rax + 0x48b0]
mov rcx, qword [rdx]
mov edx, 1
call fcn.140007890
lea rcx, [0x140181c40]
mov rdi, rax
call fcn.140003c30
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.140027090
cmp byte [0x1401834cd], r12b
je 0x1400491e9
mov rax, qword [0x140183010]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
call fcn.140007890
movdqa xmm0, xmmword [0x1400d7450]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rbx, rax
call fcn.140003c30
movss xmm6, dword [0x1400d70f8]
mov edi, eax
mov rax, qword [0x140183010]
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 0x140049138
movss xmm2, dword [0x1401819ac]
comiss xmm9, xmm2
ja 0x140049138
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.140026830
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.140024dd0
mov rax, qword [0x140183010]
mov dword [rbx + 0x78], r12d
mov rax, qword [rax + 0x48b0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140007890
lea rcx, [0x140181c20]
mov rbx, rax
call fcn.140003c30
mov rcx, qword [0x140183010]
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 0x1400491e9
movss xmm2, dword [0x1401819ac]
comiss xmm9, xmm2
ja 0x1400491e9
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.140026830
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.140024dd0
mov dword [rbx + 0x78], r12d
call fcn.140046f90
cmp byte [0x1401834db], r12b
je 0x140049607
cmp byte [reloc.WS2_32.dll_accept], r12b
lea rcx, str.radar
mov qword [rsp + 0xf0], rsi
mov eax, Ordinal_46
movaps xmmword [rsp + 0x80], xmm8
mov r8d, Ordinal_50
cmovne r8d, eax
movaps xmmword [rsp + 0x60], xmm10
mov rax, qword [0x140183010]
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.14000d730
movdqa xmm0, xmmword [0x1400d74d0]
lea rcx, [rbp - 0x49]
mov r8, qword [0x140183010]
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.140003c30
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.140027090
movdqa xmm0, xmmword [0x1400d74d0]
addss xmm6, xmm11
mov r8, qword [0x140183010]
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.140003c30
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.140027090
movdqa xmm0, xmmword [0x1400d74d0]
lea rcx, [rbp - 0x49]
mov r8, qword [0x140183010]
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.140003c30
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.140027090
movdqa xmm0, xmmword [0x1400d74d0]
lea rcx, [rbp - 0x49]
mov r8, qword [0x140183010]
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.140003c30
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.140027090
mov rcx, qword [0x140183010]
movdqa xmm0, xmmword [0x1400d75f0]
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.140003c30
movss xmm6, dword [0x1400d70ec]
mov edi, eax
movss dword [rbp + 0x6b], xmm8
movaps xmm8, xmmword [rsp + 0x80]
movss dword [rbp + 0x67], xmm7
test eax, 0xff000000
je 0x1400494d1
xor r9d, r9d
mov dword [rsp + 0x20], Ordinal_50
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.1400262f0
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.140025d30
mov dword [rbx + 0x78], r12d
mov rax, qword [0x140183498]
mov esi, r12d
mov r8, qword [0x140183490]
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400495ee
movdqa xmm0, xmmword [0x1400d7460]
lea rcx, [rbp - 0x49]
mov qword [rsp + 0xf8], r14
movups xmmword [rbp - 0x49], xmm0
mov qword [rsp + 0xb0], r15
call fcn.140003c30
mov r14d, eax
mov r15d, eax
and r14d, 0xff000000
mov rdi, r12
nop word [rax + rax]
movss xmm0, dword [rdi + r8]
mov rax, qword [0x140183010]
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 0x1400495b7
xor r9d, r9d
mov dword [rsp + 0x20], Ordinal_50
movaps xmm2, xmm6
lea rdx, [rbp + 0x67]
mov rcx, rbx
call fcn.1400262f0
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.140025d30
mov dword [rbx + 0x78], r12d
mov rcx, qword [0x140183498]
inc esi
mov r8, qword [0x140183490]
add rdi, 8
sub rcx, r8
movsxd rax, esi
sar rcx, 3
cmp rax, rcx
jb 0x140049530
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xf8]
call fcn.14000f940
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