Function at 0x140009150
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov qword [rsp + 0x58], rdx
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov r14, qword [0x14005c8f8]
mov r13, r14
mov rax, qword [r14 + 0x3ed8]
mov byte [rax + 0xb8], 1
mov r12, qword [r14 + 0x3ed8]
cmp byte [r12 + 0xbb], r15b
jne 0x140009bd1
movsxd rcx, dword [r12 + 0xf0]
mov rax, qword [r12 + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
mov rcx, rbx
call fcn.1400131e0
mov esi, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x3f20], eax
jne 0x14000923a
mov r8, rbx
lea edx, [r15 + 0xb]
mov ecx, eax
call fcn.140029a10
mov r14, qword [0x14005c8f8]
movss xmm3, dword [r12 + 0x100]
movss xmm0, dword [r12 + 0x104]
mov rax, qword [r14 + 0x3ed8]
movss xmm1, dword [rax + 0x28]
movaps xmm2, xmm0
addss xmm2, dword [0x1400547e8]
movss xmm6, dword [0x140054734]
divss xmm1, xmm6
addss xmm1, xmm3
movss dword [rbp - 0x68], xmm3
movss dword [rbp - 0x64], xmm0
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x5c], xmm2
subss xmm2, xmm0
subss xmm1, xmm3
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm2
movss xmm1, dword [r13 + 0x3808]
lea rcx, [rsp + 0x78]
call fcn.140021680
xor r9d, r9d
lea r8, [rbp - 0x68]
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.1400217f0
test al, al
je 0x140009bd1
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14005c97c], eax
jle 0x140009344
lea rcx, [0x14005c97c]
call fcn.14004a5f0
cmp dword [0x14005c97c], 0xffffffff
jne 0x140009344
mov qword [0x14005c998], r15
mov qword [0x14005c9a0], r15
mov ecx, 0x28
call fcn.14004a1a0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14005c998], rax
lea rcx, [0x14004c8b0]
call fcn.14004a414
nop
lea rcx, [0x14005c97c]
call fcn.14004a590
mov rbx, qword [0x14005c998]
mov rax, qword [rbx + 8]
mov qword [rbp - 0x80], rax
xor edx, edx
mov dword [rbp - 0x78], edx
mov r15, rbx
cmp byte [rax + 0x19], dl
jne 0x140009384
mov qword [rbp - 0x80], rax
cmp dword [rax + 0x1c], esi
jae 0x140009372
mov dword [rbp - 0x78], edx
mov rax, qword [rax + 0x10]
jmp 0x14000937f
mov dword [rbp - 0x78], 1
mov r15, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dl
je 0x140009360
cmp byte [r15 + 0x19], dl
jne 0x140009390
cmp esi, dword [r15 + 0x1c]
jae 0x1400093ff
movabs rax, 0x666666666666666
cmp qword [0x14005c9a0], rax
je 0x140009c2a
lea r14, [0x14005c998]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdx
mov ecx, 0x28
call fcn.14004a1a0
nop
mov dword [rax + 0x1c], esi
xor ecx, ecx
mov qword [rax + 0x20], rcx
mov byte [rax + 0x21], cl
mov dword [rax + 0x24], ecx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], cx
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14000ef90
mov r15, rax
xor edx, edx
mov ecx, dword [str.Select]
mov dword [rbp - 0x20], ecx
movzx ecx, word [0x140052b24]
mov word [rbp - 0x1c], cx
movzx ecx, byte [0x140052b26]
mov byte [rbp - 0x1a], cl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
mov byte [rbp + 0x1f], al
mov byte [rsp + 0x50], al
mov eax, dword [rdi]
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
xor r8d, r8d
lea rdx, [0x140052880]
lea rcx, [rbp - 0x50]
call fcn.1400043a0
nop
movsxd rax, dword [rdi]
lea r9, str.None
mov r9, qword [r9 + rax*8]
mov r14, 0xffffffffffffffff
mov rdi, r14
nop
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140009480
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400094c9
lea rax, [rdi + rcx]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x50]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400094da
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14000ee00
mov eax, dword [r13 + 0x3f38]
mov rbx, qword [rsp + 0x58]
cmp dword [rbx], 0
je 0x1400094ff
cmp eax, esi
je 0x140009503
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r8, qword [rbp - 0x50]
jmp 0x14000950a
cmp eax, esi
jne 0x140009519
lea r8, str.Select
mov edx, 0x40
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
xor r8d, r8d
mov edx, esi
lea rcx, [rbp - 0x68]
call fcn.140015f30
mov byte [rsp + 0x51], al
test al, al
je 0x140009588
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140009588
cmp dword [r13 + 0x3f38], esi
je 0x140009572
xor eax, eax
mov dword [r13 + 0xe08], eax
mov byte [r13 + 0xe0c], al
lea rcx, [r13 + 0xb28]
xor edx, edx
mov r8d, 0x28c
call sub.VCRUNTIME140.dll_memset
mov dword [rbx], 0
mov rdx, r12
mov ecx, esi
call fcn.140015bb0
xor edx, edx
mov rcx, r12
call fcn.14001e4b0
jmp 0x1400095aa
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400095aa
cmp dword [r13 + 0x3f38], esi
jne 0x140009611
xor edx, edx
xor ecx, ecx
call fcn.140015bb0
cmp dword [r13 + 0x3f38], esi
jne 0x140009611
xor esi, esi
mov ebx, esi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400095d9
mov edi, ebx
mov dword [rsp + 0x78], ebx
mov byte [rsp + 0x50], 1
xor edx, edx
xor ecx, ecx
call fcn.140015bb0
jmp 0x1400095dd
mov edi, dword [rsp + 0x78]
inc ebx
cmp ebx, 0xa5
jle 0x1400095b7
xor edx, edx
mov ecx, 0x20e
lea r8d, [rdx + 1]
call fcn.14001f750
test al, al
mov rax, qword [rsp + 0x58]
je 0x14000960d
mov dword [rax], esi
xor edx, edx
xor ecx, ecx
call fcn.140015bb0
jmp 0x140009613
mov dword [rax], edi
jmp 0x140009613
xor esi, esi
mov rax, qword [0x14005c8f8]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
movss xmm12, dword [0x14005486c]
movss dword [rsp + 0x20], xmm12
movss xmm3, dword [0x140054858]
movss xmm2, dword [rax + 0x3c10]
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 0x3c08]
call fcn.1400391f0
movss xmm0, dword [rsp + 0x60]
addss xmm0, dword [0x1400546bc]
cvttss2si eax, xmm0
movd xmm15, eax
cvtdq2ps xmm15, xmm15
movaps xmm0, xmmword [0x140054c20]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140013820
mov dword [rsp + 0x28], esi
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x68]
mov rcx, qword [r12 + 0x298]
call fcn.140034bd0
mov r8, qword [r12 + 0x298]
movaps xmm0, xmmword [0x140054d60]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140013820
mov ecx, eax
movss xmm9, dword [rbp - 0x64]
movaps xmm1, xmm9
addss xmm1, dword [0x1400547bc]
movss xmm0, dword [rbp - 0x68]
movss xmm14, dword [0x1400547b8]
addss xmm0, xmm14
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
mov r10, r8
xorps xmm7, xmm7
mov rsi, qword [rsp + 0x70]
test eax, 0xff000000
je 0x140009774
nop
inc r14
cmp byte [rsi + r14], 0
jne 0x140009710
add r14, rsi
cmp rsi, r14
je 0x140009774
mov rax, qword [r8 + 0x38]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x58]
movss xmm2, dword [rax + 0x10]
mov rdx, r8
mov rcx, qword [rax + 8]
call fcn.140039410
mov r10, qword [r12 + 0x298]
mov eax, 0x30
mov r8d, 0xf0
cmp byte [r15 + 0x20], 0
cmovne r8d, eax
movaps xmm0, xmmword [0x140054c20]
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.140013820
movss xmm6, dword [rbp - 0x5c]
movaps xmm13, xmm6
subss xmm13, dword [0x1400547a4]
movss xmm8, dword [rbp - 0x60]
movaps xmm10, xmm8
subss xmm10, xmm14
movss dword [rsp + 0x70], xmm10
movss dword [rsp + 0x74], xmm13
movaps xmm14, xmm9
addss xmm14, dword [0x1400547a4]
subss xmm8, dword [0x1400547d4]
subss xmm8, xmm15
movss dword [rsp + 0x58], xmm8
movss dword [rsp + 0x5c], xmm14
mov dword [rsp + 0x28], r8d
movss xmm0, dword [0x140054768]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov rcx, r10
call fcn.140034bd0
movss xmm15, dword [0x140054690]
mov dword [rsp + 0x70], 0x3f000000
mov dword [rsp + 0x74], 0x3f000000
subss xmm6, dword [0x1400547a8]
movss dword [rsp + 0x60], xmm10
movss dword [rsp + 0x64], xmm6
addss xmm9, dword [0x140054798]
movss dword [rsp + 0x58], xmm8
movss dword [rsp + 0x5c], xmm9
lea rdi, [rbp - 0x20]
lea rax, [rbp - 0x20]
cmp rax, 0xffffffffffffffff
jae 0x14000988a
movzx eax, byte [rdi]
test al, al
je 0x14000988a
cmp al, 0x23
jne 0x140009881
cmp byte [rdi + 1], al
je 0x14000988a
inc rdi
cmp rdi, 0xffffffffffffffff
jb 0x140009871
lea rcx, [rbp - 0x20]
xor r14d, r14d
cmp edi, ecx
je 0x1400098f0
mov rbx, qword [0x14005c8f8]
mov rcx, qword [rbx + 0x3ed8]
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov rcx, qword [rcx + 0x298]
call fcn.140014170
cmp byte [rbx + 0x5ca0], r14b
je 0x1400098f0
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400283f0
movss xmm1, dword [0x1400546c4]
cmp byte [rsp + 0x51], 0
je 0x140009910
cmp byte [r13 + 0x3741], 0
je 0x140009910
movzx eax, byte [r15 + 0x20]
jmp 0x140009934
movzx eax, byte [r15 + 0x20]
test al, al
je 0x140009945
cmp byte [r13 + 0x3740], 0
jne 0x14000992d
cmp byte [r13 + 0x3741], 0
je 0x140009941
cmp byte [r15 + 0x21], 0
jne 0x140009941
test al, al
sete al
mov byte [r15 + 0x20], al
test al, al
je 0x140009945
movaps xmm12, xmm1
movss xmm0, dword [r13 + 0x18]
mulss xmm0, dword [0x1400547a4]
mulss xmm0, xmm12
addss xmm0, dword [r15 + 0x24]
comiss xmm7, xmm0
ja 0x14000996a
minss xmm1, xmm0
movaps xmm7, xmm1
movss dword [r15 + 0x24], xmm7
comiss xmm7, dword [0x140054658]
jb 0x140009b8c
movaps xmm1, xmm7
xor ecx, ecx
call fcn.140013d00
mov rbx, qword [0x14005c8f8]
lea rcx, [rbx + 0x4838]
movss xmm0, dword [rbx + 0x37d8]
mov dword [rsp + 0x60], 3
movss dword [rsp + 0x64], xmm0
lea rdx, [rsp + 0x60]
call fcn.14002a0c0
mov dword [rbx + 0x37d8], 0x40800000
mov rbx, qword [0x14005c8f8]
lea rcx, [rbx + 0x4838]
movss xmm1, dword [rbx + 0x37d0]
movss xmm0, dword [rbx + 0x37d4]
mov dword [rsp + 0x60], 2
movss dword [rsp + 0x64], xmm1
movss dword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x60]
call fcn.14002a0c0
mov qword [rbx + 0x37d0], 0
movaps xmm6, xmmword [0x140054c20]
mov rbx, qword [0x14005c8f8]
mov dword [rbp - 0x68], 2
movups xmm0, xmmword [rbx + 0x38c4]
movups xmmword [rbp - 0x64], xmm0
lea rcx, [rbx + 0x4828]
lea rdx, [rbp - 0x68]
call fcn.14002a1c0
movups xmmword [rbx + 0x38c4], xmm6
mov rax, qword [0x14005c8f8]
movss xmm0, dword [rax + 0x3818]
addss xmm0, xmm0
addss xmm0, dword [0x1400547fc]
mov dword [rax + 0x47d8], 0x42c80000
movss dword [rax + 0x47dc], xmm0
mov dword [rax + 0x47c0], 1
addss xmm13, xmm14
mulss xmm13, xmm15
subss xmm13, dword [0x140054878]
addss xmm10, xmm8
mulss xmm10, xmm15
subss xmm10, dword [0x1400547f0]
or dword [rax + 0x47b8], 3
movss dword [rax + 0x47c8], xmm10
movss dword [rax + 0x47cc], xmm13
mov qword [rax + 0x47d0], 0
mov dword [rax + 0x47bc], 1
xor edx, edx
mov r8d, 0x1147
mov rcx, rsi
call fcn.14001c170
cmp dword [r14], 0
sete dl
lea rcx, str.Hold
call fcn.140008d20
test al, al
je 0x140009af7
mov dword [r14], r14d
mov byte [r15 + 0x20], 0
cmp dword [r14], 1
sete dl
lea rcx, str.Toggle
call fcn.140008d20
test al, al
je 0x140009b1a
mov dword [r14], 1
mov byte [r15 + 0x20], 0
cmp dword [r14], 2
sete dl
lea rcx, str.Always
call fcn.140008d20
test al, al
je 0x140009b3d
mov dword [r14], 2
mov byte [r15 + 0x20], 0
call fcn.14001e330
mov ecx, 3
call fcn.140013d80
mov r8, qword [0x14005c8f8]
cmp dword [r8 + 0x4828], 1
jl 0x140009b8c
movsxd rax, dword [r8 + 0x4828]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4830]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38a4], xmm0
dec dword [r8 + 0x4828]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140009bca
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009bc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a434
movzx eax, byte [rsp + 0x50]
jmp 0x140009bd3
xor al, al
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14004a180
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x50]
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 xmm12, xmmword [r11 - 0x60]
movaps xmm13, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x80]
movaps xmm15, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140008d00
int3