Function at 0x140048600
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x128
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x140080c50], 0
je 0x140048b81
mov qword [r11 - 0x18], r13
xor r13d, r13d
cmp dword [0x140080dc8], r13d
mov qword [r11 - 0x28], r15
mov r15d, r13d
jbe 0x140048b71
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 8], rdi
mov qword [r11 - 0x10], r12
mov r12d, r13d
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
movss xmm8, dword [0x14006d8fc]
movaps xmmword [r11 - 0x68], xmm9
movss xmm9, dword [rsp + 0x20]
movaps xmmword [r11 - 0x78], xmm10
movaps xmmword [r11 - 0x88], xmm11
movsd xmm11, qword [0x14006da58]
movaps xmmword [r11 - 0x98], xmm12
movss xmm12, dword [0x14006d99c]
movaps xmmword [r11 - 0xa8], xmm13
movss xmm13, dword [0x14006d8c0]
movaps xmmword [rsp + 0x70], xmm14
movss xmm14, dword [0x14006d880]
movaps xmmword [rsp + 0x60], xmm15
movss xmm15, dword [0x14006d8d0]
mov qword [r11 - 0x20], r14
movaps xmmword [r11 - 0x38], xmm6
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048aef
cmp byte [0x140080bd9], r13b
jne 0x140048723
lea rdx, str.Rust
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x140048adb
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140048740
cmp byte [0x140080bda], r13b
je 0x140048adb
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x18
xor eax, eax
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x2c], xmm0
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_GetCursorInfo]
cmp dword [rsp + 0x2c], r13d
je 0x140048775
cmp byte [0x140080bdb], r13b
jne 0x140048adb
mov eax, dword [0x14007eddc]
test eax, eax
jne 0x140048785
movaps xmm9, xmm13
jmp 0x1400487fa
cmp eax, 1
jne 0x1400487a4
cmp byte [0x140080dcc], r13b
je 0x140048799
movaps xmm9, xmm15
jmp 0x1400487fa
movss xmm9, dword [0x14006d8c8]
jmp 0x1400487fa
cmp eax, 2
jne 0x1400487b4
movss xmm9, dword [0x14006d8a8]
jmp 0x1400487fa
cmp eax, 3
jne 0x1400487d8
cmp byte [0x140080dcc], r13b
je 0x1400487cd
movss xmm9, dword [0x14006d91c]
jmp 0x1400487fa
movss xmm9, dword [0x14006d918]
jmp 0x1400487fa
cmp eax, 4
jne 0x1400487fa
cmp byte [0x140080dcc], r13b
je 0x1400487f1
movss xmm9, dword [0x14006d944]
jmp 0x1400487fa
movss xmm9, dword [0x14006d940]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140048817
cmp byte [0x140080bda], r13b
je 0x140048817
movaps xmm9, xmm13
movss xmm1, dword [0x14007ed70]
xorps xmm7, xmm7
mulss xmm1, dword [0x14007ed10]
mov rax, qword [0x140080dd0]
cvtss2sd xmm7, xmm9
movss xmm0, dword [r12 + rax]
movss xmm6, dword [r12 + rax + 4]
mulss xmm1, xmm8
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm1
movss xmm1, dword [0x14007ed68]
divss xmm1, xmm12
mulsd xmm3, xmm11
cvtps2pd xmm2, xmm1
mulsd xmm3, xmm2
divsd xmm0, xmm3
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
movss xmm1, dword [0x14007ed6c]
xorps xmm10, xmm10
mulss xmm1, dword [0x14006d848]
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
movss xmm1, dword [0x14007ed70]
mulss xmm1, dword [0x14007ed10]
mulsd xmm0, xmm7
mulss xmm1, xmm8
cvtsd2ss xmm10, xmm0
cvtps2pd xmm3, xmm1
movss xmm1, dword [0x14007ed68]
divss xmm1, xmm12
mulsd xmm3, xmm11
cvtps2pd xmm2, xmm1
cvtps2pd xmm0, xmm6
mulsd xmm3, xmm2
divsd xmm0, xmm3
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
movss xmm1, dword [0x14007ed0c]
xorps xmm6, xmm6
mulss xmm1, dword [0x14006d848]
mov ecx, 2
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
mulsd xmm0, xmm7
movaps xmm7, xmm10
cvtsd2ss xmm6, xmm0
movaps xmm8, xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004892f
cmp byte [0x140080bda], r13b
je 0x14004892f
movss xmm0, dword [0x14007ed10]
mulss xmm0, dword [0x14006d8a0]
mulss xmm7, xmm0
mulss xmm8, xmm0
mov ecx, dword [0x14007ed74]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004894a
mulss xmm7, xmm14
mulss xmm8, xmm14
movss xmm11, dword [0x14007ed1c]
xorps xmm0, xmm0
comiss xmm11, xmm0
mov r14d, dword [0x140080dc0]
jbe 0x1400489bf
movaps xmm6, xmm11
xorps xmm6, xmmword [0x14006deb0]
subss xmm11, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm10, xmm10
cvtsi2ss xmm10, eax
divss xmm10, dword [0x14006da30]
mulss xmm10, xmm11
addss xmm10, xmm6
addss xmm10, xmm7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
divss xmm7, dword [0x14006da30]
mulss xmm7, xmm11
addss xmm7, xmm6
addss xmm7, xmm8
jmp 0x1400489c7
movaps xmm10, xmm7
movaps xmm7, xmm8
mov ecx, r13d
mov edx, r13d
mov ebp, r13d
mov esi, 1
nop word [rax + rax]
movd xmm1, esi
mov r8d, 0x28
cvtdq2ps xmm1, xmm1
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x3c], 1
movaps xmm0, xmm1
mulss xmm1, xmm7
mulss xmm0, xmm10
divss xmm1, xmm12
divss xmm0, xmm12
cvttss2si ebx, xmm1
cvttss2si edi, xmm0
mov eax, edi
sub eax, ecx
lea ecx, [r8 - 0x27]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si rax, xmm0
mov dword [rsp + 0x30], eax
mov eax, ebx
sub eax, edx
lea rdx, [rsp + 0x28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si rax, xmm0
mov dword [rsp + 0x34], eax
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, esi
sub ecx, ebp
call fcn.140047c60
mov ebp, esi
mov ecx, edi
inc esi
mov edx, ebx
cmp esi, 0x64
jle 0x1400489e0
lea ecx, [r14 - 0x64]
call fcn.140047c60
cmp dword [0x140080c04], 8
jne 0x140048ac9
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048ac9
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140048ac9
mov r8d, 0x28
mov dword [rsp + 0x28], r13d
lea rdx, [rsp + 0x28]
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x3c], 4
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movsd xmm11, qword [0x14006da58]
movss xmm8, dword [0x14006d8fc]
inc r15d
add r12, 8
cmp r15d, dword [0x140080dc8]
jb 0x1400486e0
movaps xmm6, xmmword [rsp + 0xf0]
mov r14, qword [rsp + 0x108]
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm13, xmmword [rsp + 0x80]
mov rbx, qword [rsp + 0x130]
movaps xmm14, xmmword [rsp + 0x70]
mov rbp, qword [rsp + 0x138]
mov r12, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x140]
movaps xmm15, xmmword [rsp + 0x60]
mov r13, qword [rsp + 0x110]
mov r15, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140062360
add rsp, 0x128
ret