Function at 0x14004dba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x128
mov rax, qword [0x14010e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x14015ec49], 0
je 0x14004e21e
mov qword [r11 - 0x18], r13
xor r13d, r13d
cmp dword [0x14015f098], r13d
mov qword [r11 - 0x28], r15
mov r15d, r13d
jbe 0x14004e20e
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 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
movss xmm9, dword [rsp + 0x20]
movaps xmmword [r11 - 0x78], xmm10
xorps xmm10, xmm10
movaps xmmword [r11 - 0x88], xmm11
movss xmm11, dword [0x1400fa404]
movaps xmmword [r11 - 0x98], xmm12
movss xmm12, dword [0x1400fa4c4]
movaps xmmword [r11 - 0xa8], xmm13
movss xmm13, dword [0x1400fa3c4]
movaps xmmword [rsp + 0x70], xmm14
movss xmm14, dword [0x1400fa380]
movaps xmmword [rsp + 0x60], xmm15
movss xmm15, dword [0x1400fa3d0]
mov qword [r11 - 0x20], r14
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004e18c
cmp byte [0x14015ebd5], r13b
jne 0x14004dcb4
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 0x14004e178
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004dcd1
cmp byte [0x14015ebd6], r13b
je 0x14004e178
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 0x14004dd06
cmp byte [0x14015ec48], r13b
jne 0x14004e178
mov eax, dword [0x140110b50]
test eax, eax
jne 0x14004dd19
movaps xmm9, xmm13
jmp 0x14004ddfc
cmp eax, 1
jne 0x14004dd5b
mov ecx, dword [0x14015ebf0]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14004dd4d
cmp ecx, 3
jne 0x14004dd3f
movss xmm9, dword [0x1400fa3e0]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa3d8]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa3f0]
jmp 0x14004ddfc
cmp eax, 2
jne 0x14004dd8c
mov ecx, dword [0x14015ebf0]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14004dd10
cmp ecx, 3
jne 0x14004dd81
movss xmm9, dword [0x1400fa3b4]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa3a4]
jmp 0x14004ddfc
cmp eax, 3
jne 0x14004ddc5
mov ecx, dword [0x14015ebf0]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14004ddba
cmp ecx, 3
jne 0x14004ddaf
movss xmm9, dword [0x1400fa440]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa43c]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa44c]
jmp 0x14004ddfc
cmp eax, 4
jne 0x14004ddfc
mov ecx, dword [0x14015ebf0]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14004ddf3
cmp ecx, 3
jne 0x14004dde8
movss xmm9, dword [0x1400fa474]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa468]
jmp 0x14004ddfc
movss xmm9, dword [0x1400fa47c]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004de19
cmp byte [0x14015ebd6], r13b
je 0x14004de19
movaps xmm9, xmm13
movss xmm1, dword [0x14010fb44]
xorps xmm7, xmm7
mulss xmm1, dword [0x14010fab8]
mov rax, qword [0x14015f0a0]
cvtss2sd xmm7, xmm9
movss xmm0, dword [r12 + rax]
movss xmm6, dword [r12 + rax + 4]
mulss xmm1, xmm11
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm1
movss xmm1, dword [0x14010fb3c]
mulsd xmm3, qword [0x1400fa570]
divss xmm1, xmm12
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 [0x14010fb40]
xorps xmm8, xmm8
mulss xmm1, dword [0x1400fa338]
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
movss xmm1, dword [0x14010fb44]
mulss xmm1, dword [0x14010fab8]
mulsd xmm0, xmm7
mulss xmm1, xmm11
cvtsd2ss xmm8, xmm0
cvtps2pd xmm3, xmm1
movss xmm1, dword [0x14010fb3c]
mulsd xmm3, qword [0x1400fa570]
divss xmm1, xmm12
cvtps2pd xmm0, xmm6
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 [0x14010fab4]
lea rax, [0x14015f070]
cmp qword [0x14015f088], 0xf
mulss xmm1, dword [0x1400fa338]
cmova rax, qword [0x14015f070]
cmp qword [0x14015f080], 6
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
mulsd xmm0, xmm7
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
jne 0x14004df41
cmp dword [rax], 0x74737543
jne 0x14004df41
cmp word [rax + 4], 0x6d6f
jne 0x14004df41
cmp dword [0x140110b50], r13d
jne 0x14004df41
mulss xmm8, xmm15
mulss xmm7, xmm15
mov ecx, dword [0x14015ebf0]
cmp ecx, 3
jne 0x14004df56
movss xmm6, dword [0x1400fa3d4]
jmp 0x14004dfaf
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14004dfa7
lea eax, [rcx - 6]
cmp eax, 1
jbe 0x14004df9d
cmp ecx, 0xb
jne 0x14004df75
movss xmm6, dword [0x1400fa3f4]
jmp 0x14004dfaf
cmp ecx, 9
jne 0x14004df84
movss xmm6, dword [0x1400fa3e8]
jmp 0x14004dfaf
cmp ecx, 8
jne 0x14004df93
movss xmm6, dword [0x1400fa3c8]
jmp 0x14004dfaf
movss xmm6, dword [0x1400fa3a8]
jmp 0x14004dfaf
movss xmm6, dword [0x1400fa3dc]
jmp 0x14004dfaf
movss xmm6, dword [0x1400fa3ec]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14004dfd9
cmp byte [0x14015ebd6], r13b
je 0x14004dfd9
mulss xmm6, dword [0x14010fab8]
mulss xmm8, xmm6
mulss xmm7, xmm6
mov ecx, dword [0x14010fb70]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004dff4
mulss xmm8, xmm14
mulss xmm7, xmm14
movd xmm0, dword [0x14015f090]
movss xmm11, dword [0x14010fac4]
comiss xmm11, xmm10
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x14010fb74]
cvttss2si r14d, xmm0
jbe 0x14004e07b
movaps xmm6, xmm11
xorps xmm6, xmmword [0x1400fa900]
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 [0x1400fa538]
mulss xmm10, xmm11
addss xmm10, xmm6
addss xmm10, xmm8
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
divss xmm8, dword [0x1400fa538]
mulss xmm8, xmm11
addss xmm8, xmm6
addss xmm8, xmm7
jmp 0x14004e083
movaps xmm10, xmm8
movaps xmm8, xmm7
mov ecx, r13d
mov edx, r13d
mov ebp, r13d
mov esi, 1
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, xmm8
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.14004d510
mov ebp, esi
mov ecx, edi
inc esi
mov edx, ebx
cmp esi, 0x64
jle 0x14004e091
lea ecx, [r14 - 0x64]
call fcn.14004d510
cmp dword [0x14015ebf0], 7
jle 0x14004e16b
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004e16b
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]
movss xmm11, dword [0x1400fa404]
xorps xmm10, xmm10
inc r15d
add r12, 8
cmp r15d, dword [0x14015f098]
jb 0x14004dc71
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xe0]
mov r14, qword [rsp + 0x108]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm12, xmmword [rsp + 0x90]
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 ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d09e0
add rsp, 0x128
ret