Function at 0x1400501d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x140154f00]
xor rax, rsp
mov qword [rsp + 0x28], rax
call fcn.14005f960
mov rax, qword [0x14015e318]
xor ebx, ebx
test rax, rax
je 0x14005020b
mov rcx, qword [rax + 0xa0]
jmp 0x14005020e
mov rcx, rbx
cmp dword [rcx + 0x28], ebx
jne 0x140050218
call fcn.14002f580
call fcn.14002e560
call fcn.140008d10
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005025b
movzx r8d, byte [0x14015e312]
mov edx, 0x2000d
mov rcx, qword [0x140161880]
call fcn.14005f140
cmp byte [0x14015e312], bl
sete dl
mov byte [0x14015e312], dl
jmp 0x140050262
movzx edx, byte [0x14015e312]
call fcn.140045330
mov rax, qword [0x14015e318]
test dl, dl
je 0x14005029a
xor edx, edx
mov byte [rax + 0x78], 1
mov r8d, 0x10b
lea rcx, str.Zensei
call fcn.14000e300
test al, al
je 0x140050293
call fcn.1400454a0
call fcn.140010670
jmp 0x14005029d
mov byte [rax + 0x78], bl
movss xmm1, dword [0x1401550f8]
xorps xmm4, xmm4
movss xmm3, dword [0x14011d868]
ucomiss xmm1, xmm3
movss xmm2, dword [0x140161858]
jp 0x1400502dc
jne 0x1400502dc
ucomiss xmm2, xmm4
jp 0x1400502dc
jne 0x1400502dc
movss xmm0, dword [0x140161878]
addss xmm0, xmm3
movss dword [0x140161878], xmm0
jmp 0x1400502e4
movss xmm0, dword [0x140161878]
movss xmm7, dword [0x14011d8dc]
comiss xmm0, xmm7
movss xmm5, dword [0x14011d8e8]
jbe 0x140050317
ucomiss xmm2, xmm4
jp 0x140050317
jne 0x140050317
addss xmm1, xmm3
movss dword [0x140161878], xmm5
movaps xmm0, xmm5
movss dword [0x1401550f8], xmm1
comiss xmm1, xmm7
movss xmm6, dword [0x14011da88]
jbe 0x140050342
ucomiss xmm2, xmm4
jp 0x140050342
jne 0x140050342
addss xmm0, xmm6
movss dword [0x1401550f8], xmm5
movaps xmm1, xmm5
movss dword [0x140161878], xmm0
comiss xmm3, xmm0
jbe 0x140050365
ucomiss xmm1, xmm5
jp 0x140050365
jne 0x140050365
addss xmm2, xmm3
xorps xmm0, xmm0
movss dword [0x140161878], xmm0
movss dword [0x140161858], xmm2
comiss xmm2, xmm7
jbe 0x140050388
ucomiss xmm0, xmm4
jp 0x140050388
jne 0x140050388
addss xmm1, xmm6
movss dword [0x140161858], xmm5
movaps xmm2, xmm5
movss dword [0x1401550f8], xmm1
comiss xmm3, xmm1
jbe 0x1400503ab
ucomiss xmm2, xmm5
jp 0x1400503ab
jne 0x1400503ab
addss xmm0, xmm3
xorps xmm1, xmm1
movss dword [0x1401550f8], xmm1
movss dword [0x140161878], xmm0
comiss xmm0, xmm7
jbe 0x1400503ce
ucomiss xmm1, xmm4
jp 0x1400503ce
jne 0x1400503ce
addss xmm2, xmm6
movss dword [0x140161878], xmm5
movaps xmm0, xmm5
movss dword [0x140161858], xmm2
comiss xmm3, xmm2
jbe 0x1400503fb
ucomiss xmm1, xmm4
jp 0x1400503fb
jne 0x1400503fb
addss xmm0, xmm6
mov dword [0x140161858], ebx
comiss xmm3, xmm0
movss dword [0x140161878], xmm0
jbe 0x1400503fb
mov dword [0x1401550f8], 0x3c23d70a
call fcn.14004cfb0
call fcn.14000ade0
mov rcx, qword [0x140161880]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x24]
call fcn.14005e550
mov r9d, dword [rsp + 0x20]
xor edx, edx
mov r8d, dword [rsp + 0x24]
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
mov rax, qword [0x14015e318]
mov rcx, qword [rax + 0x4890]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.14002ee10
mov rcx, qword [0x140161880]
call fcn.140067c70
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008da00
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret