Function at 0x140009f10
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp - 0x70], rax
mov rdi, rcx
cmp qword [0x1404afbf8], 0
jne 0x140009f7a
call fcn.14003f280
call fcn.14003fd00
call fcn.1400157d0
cmp qword [0x1404b0d98], 0
je 0x14000a09b
cmp byte [0x1400a00dd], 0
je 0x14000a002
cmp dword [0x1400a00d4], 0
jne 0x140009fd0
lea rcx, [0x1400a00b8]
call fcn.140002330
test rax, rax
je 0x140009fd0
lea rcx, [0x1400a00b8]
call fcn.140002330
mov rdx, rax
lea rcx, [0x1400a00b8]
call fcn.140002da0
cmp dword [0x1400a00d4], 1
jne 0x14000a002
lea rcx, [0x1400a00b8]
call fcn.140002330
test rax, rax
je 0x14000a002
lea rcx, [0x1400a00b8]
call fcn.140002330
lea rcx, [0x1400a00b8]
call fcn.140003570
cmp byte [0x1400a00b8], 0
je 0x14000a034
lea rcx, [0x1400a00b8]
call fcn.140002330
test rax, rax
je 0x14000a034
lea rcx, [0x1400a00b8]
call fcn.140002330
lea rcx, [0x1400a00b8]
call fcn.140003570
cmp byte [0x1400a00b9], 0
je 0x14000a066
lea rcx, [0x1400a00b8]
call fcn.140002330
test rax, rax
je 0x14000a066
lea rcx, [0x1400a00b8]
call fcn.140002330
lea rcx, [0x1400a00b8]
call fcn.140003570
cmp byte [0x1400a00de], 0
je 0x14000a09b
lea rcx, [0x1400a00b8]
call fcn.140002330
test rax, rax
je 0x14000a09b
lea rcx, [0x1400a00b8]
call fcn.140002330
mov rdx, rax
lea rcx, [0x1400a00b8]
call fcn.140003170
call fcn.140006240
cmp qword [0x1404b0d98], 0
je 0x14000a0b2
mov rcx, rax
call fcn.140006720
call fcn.1400095e0
cmp qword [0x1404b0d98], 0
je 0x14000a0c9
mov rcx, rax
call fcn.1400096b0
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor r14d, r14d
mov eax, dword [rcx + rax]
cmp dword [0x1404b0d70], eax
jle 0x14000a110
lea rcx, [0x1404b0d70]
call fcn.140082d10
cmp dword [0x1404b0d70], 0xffffffff
jne 0x14000a110
mov dword [0x1404b0d68], r14d
lea rcx, [0x1404b0d70]
call fcn.140082ca4
mov eax, dword [0x1404b0d68]
test eax, eax
jne 0x14000a124
mov dword [0x1404b0d6c], 2
cmp eax, 1
jne 0x14000a12f
mov dword [0x1404b0d6c], eax
cmp eax, 2
jne 0x14000a13e
mov dword [0x1404b0d6c], 4
cmp eax, 3
jne 0x14000a14d
mov dword [0x1404b0d6c], 5
cmp eax, 4
jne 0x14000a15c
mov dword [0x1404b0d6c], 8
cmp eax, 5
jne 0x14000a16b
mov dword [0x1404b0d6c], 0xd
cmp eax, 6
jne 0x14000a17a
mov dword [0x1404b0d6c], 0x10
cmp eax, 7
jne 0x14000a189
mov dword [0x1404b0d6c], 0x11
cmp eax, 8
jne 0x14000a198
mov dword [0x1404b0d6c], 0x12
cmp eax, 9
jne 0x14000a1a7
mov dword [0x1404b0d6c], 0x13
movss xmm6, dword [0x140091730]
movss xmm7, dword [0x140091870]
cmp byte [0x1400a00e1], r14b
je 0x14000a28a
mov rax, qword [0x1404af710]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014d10
mov rbx, rax
call fcn.140006240
lea rcx, [rax + 0x38]
call fcn.14000fbd0
mov esi, eax
movd xmm2, dword [0x1400a00c8]
cvtdq2ps xmm2, xmm2
mov ecx, dword [rdi + 0xec]
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x48], xmm1
test eax, 0xff000000
je 0x14000a28a
comiss xmm6, xmm2
ja 0x14000a28a
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.1400341d0
movss xmm0, dword [0x1400917e0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140032770
mov dword [rbx + 0x78], r14d
cmp byte [0x1400a00ba], r14b
je 0x14000a35d
mov rax, qword [0x1404af710]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014d10
mov rbx, rax
call fcn.140006240
lea rcx, [rax + 0x48]
call fcn.14000fbd0
mov esi, eax
movd xmm2, dword [0x1400a00bc]
cvtdq2ps xmm2, xmm2
mov ecx, dword [rdi + 0xec]
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x48], xmm1
test eax, 0xff000000
je 0x14000a35d
comiss xmm6, xmm2
ja 0x14000a35d
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm7
xorps xmm3, xmm3
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.1400341d0
movss xmm0, dword [0x1400917a8]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140032770
mov dword [rbx + 0x78], r14d
movss xmm12, dword [0x140091774]
cmp byte [0x1400a00e3], r14b
je 0x14000a6bb
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov eax, 0x88888889
imul ecx
lea ebx, [rcx + rdx]
sar ebx, 5
mov ecx, ebx
shr ecx, 0x1f
add ebx, ecx
movsd xmm0, qword [0x1400917c8]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
cvtsd2ss xmm0, xmm0
mov r14d, dword [0x1404af700]
inc r14d
mov dword [0x1404af700], r14d
movd xmm10, ebx
cvtdq2ps xmm10, xmm10
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x140091810]
cvtpd2ps xmm11, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm10
divss xmm8, xmm0
movdqa xmm1, xmmword [0x140091f10]
movups xmmword [rsp + 0x4c], xmm1
lea rcx, [rsp + 0x4c]
call fcn.14000fbd0
mov r13d, eax
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
movd xmm1, r12d
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x140091f10]
movups xmmword [rsp + 0x4c], xmm0
lea rcx, [rsp + 0x4c]
call fcn.14000fbd0
mov dword [rsp + 0x44], eax
xor esi, esi
movsd xmm9, qword [0x140091780]
nop dword [rax + rax]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], rax
lea eax, [rsi + r14]
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvtps2pd xmm0, xmm7
mulsd xmm0, xmm9
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm10
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140004230
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm10
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [rbp - 0x78]
je 0x14000a4db
mov dword [rdx], eax
mov rbx, qword [rbp - 0x80]
add rbx, 4
mov qword [rbp - 0x80], rbx
jmp 0x14000a4ee
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140004230
mov rbx, qword [rbp - 0x80]
addss xmm7, xmm11
cvtps2pd xmm0, xmm7
mulsd xmm0, xmm9
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm8
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
cmp rbx, qword [rbp - 0x78]
je 0x14000a52a
mov dword [rbx], eax
mov rbx, qword [rbp - 0x80]
add rbx, 4
mov qword [rbp - 0x80], rbx
jmp 0x14000a540
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140004230
mov rbx, qword [rbp - 0x80]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, xmm8
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
cmp rbx, qword [rbp - 0x78]
je 0x14000a564
mov dword [rbx], eax
add qword [rbp - 0x80], 4
jmp 0x14000a576
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140004230
mov rax, qword [0x1404af710]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014d10
mov ecx, r12d
mov rdx, qword [rsp + 0x78]
sub ecx, dword [rdx + 4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [rdx]
add ecx, r15d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x60], xmm1
movss dword [rsp + 0x20], xmm12
mov r9d, r13d
lea r8, [rsp + 0x5c]
lea rdx, [rsp + 0x64]
mov rcx, rax
call fcn.140034a30
mov rax, qword [0x1404af710]
mov rax, qword [rax + 0x48a8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014d10
mov ecx, r12d
mov rdx, qword [rsp + 0x78]
sub ecx, dword [rdx + 0xc]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [rdx + 8]
add ecx, r15d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
movss dword [rsp + 0x70], xmm1
mov ecx, r12d
sub ecx, dword [rdx + 4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [rdx]
add ecx, r15d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x50], xmm1
movss dword [rsp + 0x20], xmm12
mov r9d, dword [rsp + 0x44]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x4c]
mov rcx, rax
call fcn.140034a30
add esi, 0x5a
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000a6ac
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a6f3
call fcn.1400829f4
cmp esi, 0x168
jl 0x14000a460
xor r14d, r14d
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000a6da
cmp byte [rdi + 0x168], 0
sete al
mov byte [rdi + 0x168], al
cmp byte [rdi + 0x168], 0
je 0x14000a6fa
mov rcx, rdi
call fcn.140064a60
mov r8d, 0xa0
jmp 0x14000a700
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x168]
mov rcx, qword [0x1404af710]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x168]
mov byte [rcx + 0xd9], al
call fcn.140017470
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm12
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000a7de
call fcn.1400177e0
mov rax, qword [0x1404af710]
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r14
call fcn.14003ed90
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14000a82e
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000a82e
call fcn.14003f480
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
lea rdx, [rdi + 0xa0]
call qword [rax + 0x80]
call fcn.14003f280
mov rcx, qword [rbp - 0x70]
xor rcx, rsp
call fcn.140082990
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret