Function at 0x140009f30
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 [0x140072040]
xor rax, rsp
mov qword [rbp - 0x70], rax
mov rdi, rcx
xor r14d, r14d
mov rax, qword [0x14015c080]
test rax, rax
je 0x140009fa3
mov rcx, qword [rax + 0xa0]
jmp 0x140009fa6
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x140009fc7
test rax, rax
je 0x140009fc7
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140009fc7
cmp qword [rcx], r14
je 0x140009fc7
call fcn.140039f50
call fcn.14003a960
call fcn.140014ca0
cmp qword [0x14015c5c8], r14
je 0x14000a0e7
cmp byte [0x1400720dd], r14b
je 0x14000a04e
cmp dword [0x1400720d4], r14d
jne 0x14000a01c
lea rcx, [0x1400720b8]
call fcn.1400021c0
test rax, rax
je 0x14000a01c
lea rcx, [0x1400720b8]
call fcn.1400021c0
mov rdx, rax
lea rcx, [0x1400720b8]
call fcn.140002c90
cmp dword [0x1400720d4], 1
jne 0x14000a04e
lea rcx, [0x1400720b8]
call fcn.1400021c0
test rax, rax
je 0x14000a04e
lea rcx, [0x1400720b8]
call fcn.1400021c0
lea rcx, [0x1400720b8]
call fcn.140003090
cmp byte [0x1400720b8], r14b
je 0x14000a080
lea rcx, [0x1400720b8]
call fcn.1400021c0
test rax, rax
je 0x14000a080
lea rcx, [0x1400720b8]
call fcn.1400021c0
lea rcx, [0x1400720b8]
call fcn.140003090
cmp byte [0x1400720b9], r14b
je 0x14000a0b2
lea rcx, [0x1400720b8]
call fcn.1400021c0
test rax, rax
je 0x14000a0b2
lea rcx, [0x1400720b8]
call fcn.1400021c0
lea rcx, [0x1400720b8]
call fcn.140003090
cmp byte [0x1400720de], r14b
je 0x14000a0e7
lea rcx, [0x1400720b8]
call fcn.1400021c0
test rax, rax
je 0x14000a0e7
lea rcx, [0x1400720b8]
call fcn.1400021c0
mov rdx, rax
lea rcx, [0x1400720b8]
call fcn.140002c90
call fcn.140006460
cmp qword [0x14015c5c8], r14
je 0x14000a0fd
mov rcx, rax
call fcn.140006940
call fcn.1400096e0
cmp qword [0x14015c5c8], r14
je 0x14000a113
mov rcx, rax
call fcn.1400097b0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14015c5a0], eax
jle 0x14000a157
lea rcx, [0x14015c5a0]
call fcn.14005dbb0
cmp dword [0x14015c5a0], 0xffffffff
jne 0x14000a157
mov dword [0x14015c598], r14d
lea rcx, [0x14015c5a0]
call fcn.14005db44
mov eax, dword [0x14015c598]
test eax, eax
jne 0x14000a16b
mov dword [0x14015c59c], 2
cmp eax, 1
jne 0x14000a176
mov dword [0x14015c59c], eax
cmp eax, 2
jne 0x14000a185
mov dword [0x14015c59c], 4
cmp eax, 3
jne 0x14000a194
mov dword [0x14015c59c], 5
cmp eax, 4
jne 0x14000a1a3
mov dword [0x14015c59c], 8
cmp eax, 5
jne 0x14000a1b2
mov dword [0x14015c59c], 0xd
cmp eax, 6
jne 0x14000a1c1
mov dword [0x14015c59c], 0x10
cmp eax, 7
jne 0x14000a1d0
mov dword [0x14015c59c], 0x11
cmp eax, 8
jne 0x14000a1df
mov dword [0x14015c59c], 0x12
cmp eax, 9
jne 0x14000a1ee
mov dword [0x14015c59c], 0x13
movss xmm6, dword [0x140067abc]
movss xmm7, dword [0x140067bac]
cmp byte [0x1400720e1], r14b
je 0x14000a2d1
mov rax, qword [0x14015c080]
mov rax, qword [rax + 0x4880]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014260
mov rbx, rax
call fcn.140006460
lea rcx, [rax + 0x38]
call fcn.14000f120
mov esi, eax
movd xmm2, dword [0x1400720c8]
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 0x14000a2d1
comiss xmm6, xmm2
ja 0x14000a2d1
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.140032700
movss xmm0, dword [0x140067b68]
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.140030ca0
mov dword [rbx + 0x78], r14d
cmp byte [0x1400720ba], r14b
je 0x14000a3a4
mov rax, qword [0x14015c080]
mov rax, qword [rax + 0x4880]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014260
mov rbx, rax
call fcn.140006460
lea rcx, [rax + 0x48]
call fcn.14000f120
mov esi, eax
movd xmm2, dword [0x1400720bc]
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 0x14000a3a4
comiss xmm6, xmm2
ja 0x14000a3a4
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.140032700
movss xmm0, dword [0x140067b2c]
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.140030ca0
mov dword [rbx + 0x78], r14d
movss xmm12, dword [0x140067afc]
cmp byte [0x1400720e3], r14b
je 0x14000a712
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 [0x140067b50]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
cvtsd2ss xmm0, xmm0
mov r14d, dword [0x14015c070]
inc r14d
mov dword [0x14015c070], r14d
movd xmm10, ebx
cvtdq2ps xmm10, xmm10
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x140067b88]
cvtpd2ps xmm11, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm10
divss xmm8, xmm0
movdqa xmm1, xmmword [0x140068380]
movups xmmword [rsp + 0x4c], xmm1
lea rcx, [rsp + 0x4c]
call fcn.14000f120
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 [0x140068380]
movups xmmword [rsp + 0x4c], xmm0
lea rcx, [rsp + 0x4c]
call fcn.14000f120
mov dword [rsp + 0x44], eax
xor esi, esi
movsd xmm9, qword [0x140067b08]
nop dword [rax]
nop word [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.140003ba0
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 0x14000a52b
mov dword [rdx], eax
mov rbx, qword [rbp - 0x80]
add rbx, 4
mov qword [rbp - 0x80], rbx
jmp 0x14000a53e
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140003ba0
mov rbx, qword [rbp - 0x80]
movaps xmm0, xmm11
addss xmm0, xmm7
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, xmm9
cvtpd2ps xmm6, xmm1
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 0x14000a581
mov dword [rbx], eax
mov rbx, qword [rbp - 0x80]
add rbx, 4
mov qword [rbp - 0x80], rbx
jmp 0x14000a597
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140003ba0
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 0x14000a5bb
mov dword [rbx], eax
add qword [rbp - 0x80], 4
jmp 0x14000a5cd
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140003ba0
mov rax, qword [0x14015c080]
mov rax, qword [rax + 0x4880]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014260
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.140032f60
mov rax, qword [0x14015c080]
mov rax, qword [rax + 0x4880]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140014260
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.140032f60
add esi, 0x5a
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000a703
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a74a
call fcn.14005d894
cmp esi, 0x168
jl 0x14000a4b0
xor r14d, r14d
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000a731
cmp byte [rdi + 0x168], 0
sete al
mov byte [rdi + 0x168], al
cmp byte [rdi + 0x168], 0
je 0x14000a751
mov rcx, rdi
call fcn.140056150
mov r8d, 0xa0
jmp 0x14000a757
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 [0x14015c080]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x168]
mov byte [rcx + 0xd9], al
call fcn.140016950
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 0x14000a835
call fcn.140016d10
mov rax, qword [0x14015c080]
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r14
call fcn.140039990
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 0x14000a90c
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000a90c
mov rbx, qword [0x14015c080]
test rbx, rbx
je 0x14000a8d5
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14000a8d5
cmp qword [rbx], 0
je 0x14000a8d5
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000a8a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000a8b3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000a8d5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], r14
mov rax, qword [0x14015c080]
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], r14
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
lea rdx, [rdi + 0xa0]
call qword [rax + 0x80]
mov rax, qword [0x14015c080]
test rax, rax
je 0x14000a90c
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14000a90c
cmp qword [rax], 0
je 0x14000a90c
call fcn.140039f50
mov rcx, qword [rbp - 0x70]
xor rcx, rsp
call fcn.14005d830
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