Function at 0x140009f40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140153060]
xor r14d, r14d
movaps xmmword [rsp + 0x70], xmm7
mov rbx, rcx
test rax, rax
je 0x140009f71
mov rcx, qword [rax + 0xa0]
jmp 0x140009f74
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x140009f95
test rax, rax
je 0x140009f95
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140009f95
cmp qword [rcx], r14
je 0x140009f95
call fcn.1400387e0
call fcn.1400391f0
call fcn.140013150
cmp qword [0x140153518], r14
je 0x14000a0b5
cmp byte [0x1400690dd], r14b
je 0x14000a01c
cmp dword [0x1400690d4], r14d
jne 0x140009fea
lea rcx, [0x1400690b8]
call fcn.140001dd0
test rax, rax
je 0x140009fea
lea rcx, [0x1400690b8]
call fcn.140001dd0
mov rdx, rax
lea rcx, [0x1400690b8]
call fcn.140002870
cmp dword [0x1400690d4], 1
jne 0x14000a01c
lea rcx, [0x1400690b8]
call fcn.140001dd0
test rax, rax
je 0x14000a01c
lea rcx, [0x1400690b8]
call fcn.140001dd0
lea rcx, [0x1400690b8]
call fcn.140002c60
cmp byte [0x1400690b8], r14b
je 0x14000a04e
lea rcx, [0x1400690b8]
call fcn.140001dd0
test rax, rax
je 0x14000a04e
lea rcx, [0x1400690b8]
call fcn.140001dd0
lea rcx, [0x1400690b8]
call fcn.140002c60
cmp byte [0x1400690b9], r14b
je 0x14000a080
lea rcx, [0x1400690b8]
call fcn.140001dd0
test rax, rax
je 0x14000a080
lea rcx, [0x1400690b8]
call fcn.140001dd0
lea rcx, [0x1400690b8]
call fcn.140002c60
cmp byte [0x1400690de], r14b
je 0x14000a0b5
lea rcx, [0x1400690b8]
call fcn.140001dd0
test rax, rax
je 0x14000a0b5
lea rcx, [0x1400690b8]
call fcn.140001dd0
mov rdx, rax
lea rcx, [0x1400690b8]
call fcn.140002870
call fcn.140007300
cmp qword [0x140153518], r14
je 0x14000a0e0
mov rcx, rax
call fcn.1400077e0
cmp qword [0x140153518], r14
je 0x14000a0e0
lea rcx, [0x1400690f8]
call fcn.140009bb0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401534f8], eax
jle 0x14000a124
lea rcx, [0x1401534f8]
call fcn.140055698
cmp dword [0x1401534f8], 0xffffffff
jne 0x14000a124
lea rcx, [0x1401534f8]
mov dword [0x1401534f0], r14d
call fcn.14005562c
mov eax, dword [0x1401534f0]
test eax, eax
jne 0x14000a13d
mov dword [0x1401534f4], 2
jmp 0x14000a1d3
cmp eax, 1
jne 0x14000a14d
mov dword [0x1401534f4], eax
jmp 0x14000a1d3
cmp eax, 2
jne 0x14000a15e
mov dword [0x1401534f4], 4
jmp 0x14000a1d3
cmp eax, 3
jne 0x14000a16f
mov dword [0x1401534f4], 5
jmp 0x14000a1d3
cmp eax, 4
jne 0x14000a180
mov dword [0x1401534f4], 8
jmp 0x14000a1d3
cmp eax, 5
jne 0x14000a191
mov dword [0x1401534f4], 0xd
jmp 0x14000a1d3
cmp eax, 6
jne 0x14000a1a2
mov dword [0x1401534f4], 0x10
jmp 0x14000a1d3
cmp eax, 7
jne 0x14000a1b3
mov dword [0x1401534f4], 0x11
jmp 0x14000a1d3
cmp eax, 8
jne 0x14000a1c4
mov dword [0x1401534f4], 0x12
jmp 0x14000a1d3
cmp eax, 9
jne 0x14000a1d3
mov dword [0x1401534f4], 0x13
cmp byte [0x1400690e1], r14b
xorps xmm7, xmm7
mov qword [rsp + 0xc8], rdi
je 0x14000a2ce
mov rax, qword [0x140153060]
lea r8, str.Foreground
mov edx, 1
mov qword [rsp + 0xc0], rsi
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140012790
mov rdi, rax
call fcn.140007300
lea rcx, [rax + 0x38]
call fcn.14000eac0
mov ecx, dword [rbx + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x1400690c8]
xorps xmm1, xmm1
mov esi, eax
cvtdq2ps xmm2, xmm2
cvtsi2ss xmm0, rcx
mov ecx, dword [rbx + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
test eax, 0xff000000
je 0x14000a2c6
movss xmm0, dword [0x14005fb40]
comiss xmm0, xmm2
ja 0x14000a2c6
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x14005fbfc]
lea rdx, [rbp + 0x67]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rdi
call fcn.140030ee0
movss xmm0, dword [0x14005fbc0]
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rcx, rdi
mov rdx, qword [rdi + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.14002f4b0
mov dword [rdi + 0x78], r14d
mov rsi, qword [rsp + 0xc0]
cmp byte [0x1400690e2], r14b
je 0x14000a4e2
mov rax, qword [0x140153060]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x60], xmm8
mov rcx, qword [rax + 0x3bf8]
movss xmm8, dword [rcx + 0x64]
mov rcx, qword [rbx + 0x128]
call fcn.14001ae70
mov rcx, qword [0x140153060]
mov rax, qword [rcx + 0x3bf8]
mov dword [rax + 0x64], 0x3f4ccccd
mov rcx, qword [rcx + 0x3bf8]
call fcn.14001ae70
mov rax, qword [0x140153060]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140012790
movaps xmm0, xmmword [0x14005ff90]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
mov r10, rax
mov dword [rbp + 0x67], 0x42f80000
mov dword [rbp + 0x6b], 0x40c00000
mov dword [rbp + 0x6f], 0x40a00000
mov dword [rbp + 0x73], 0x40400000
call fcn.14000eac0
movss xmm6, dword [0x14005fba8]
lea rdx, [rbp + 0x6f]
mov r9d, eax
mov dword [rsp + 0x28], r14d
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm6
mov rcx, r10
call fcn.140031af0
mov rax, qword [0x140153060]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140012790
movaps xmm0, xmmword [0x14005ff30]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
mov r10, rax
mov dword [rbp + 0x67], 0x42f80000
mov dword [rbp + 0x6b], 0x41d00000
mov dword [rbp + 0x6f], 0x40a00000
mov dword [rbp + 0x73], 0x40a00000
call fcn.14000eac0
mov r9d, eax
mov dword [rsp + 0x28], r14d
lea rdx, [rbp + 0x6f]
movss dword [rsp + 0x20], xmm6
lea r8, [rbp + 0x67]
mov rcx, r10
call fcn.140031af0
mov rax, qword [0x140153060]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140012790
movaps xmm0, xmmword [0x140060060]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
mov r8, rax
call fcn.14000eac0
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rbp + 0x67], 0x41200000
mov dword [rbp + 0x6b], 0x41100000
test eax, 0xff000000
je 0x14000a4c3
mov rdx, qword [r8 + 0x38]
lea r9, [0x140059452]
movups xmm0, xmmword [r8 + 0x88]
mov byte [rsp + 0x48], r14b
movss dword [rsp + 0x40], xmm7
mov rcx, qword [rdx + 8]
movss xmm2, dword [rdx + 0x10]
mov rdx, r8
mov qword [rsp + 0x38], r9
lea r9, str.Kepler
mov qword [rsp + 0x30], r9
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r9
lea r9, [rbp + 0x67]
movups xmmword [rbp + 7], xmm0
mov dword [rsp + 0x20], eax
call fcn.1400366c0
call fcn.14001af10
mov rax, qword [0x140153060]
mov rcx, qword [rax + 0x3bf8]
movss dword [rcx + 0x64], xmm8
movaps xmm8, xmmword [rsp + 0x60]
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm7, xmmword [rsp + 0x70]
test al, 1
je 0x14000a506
cmp byte [rbx + 0x168], r14b
sete al
mov byte [rbx + 0x168], al
cmp byte [rbx + 0x168], r14b
je 0x14000a51f
mov rcx, rbx
call fcn.14004f8f0
mov r8d, 0xa0
jmp 0x14000a525
mov r8d, 0x800a0
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rbx + 0x168]
mov rcx, qword [0x140153060]
mov byte [rcx + 0x78], al
movzx eax, byte [rbx + 0x168]
mov byte [rcx + 0xd9], al
call fcn.140014dc0
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
mov r9d, 1
movss xmm0, dword [0x14005fb7c]
xor r8d, r8d
mov dword [rsp + 0x30], r14d
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], r14d
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000a608
call fcn.140015180
mov rax, qword [0x140153060]
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], r14b
cmove rcx, r14
call fcn.140038220
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14000a6dd
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000a6dd
mov rdi, qword [0x140153060]
test rdi, rdi
je 0x14000a6a7
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x14000a6a7
cmp qword [rdi], r14
je 0x14000a6a7
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000a672
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], r14
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a685
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], r14
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14000a6a7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140153060]
mov qword [rdi + 0x18], r14
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], r14
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140153060]
test rax, rax
je 0x14000a6dd
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14000a6dd
cmp qword [rax], r14
je 0x14000a6dd
call fcn.1400387e0
mov rdi, qword [rsp + 0xc8]
add rsp, 0x90
pop r14
pop rbx
pop rbp
ret