Function at 0x140041f40
Capabilities:
Log keystrokes via polling

Disassembly:
test rcx, rcx
je 0x14004248d
mov r11, rsp
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2f0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140166080]
xor rax, rsp
mov qword [rbp + 0x150], rax
cmp qword [rcx + 8], 0
movaps xmm6, xmm1
mov rdi, rcx
je 0x140042466
mov rax, qword gs:[0x58]
mov qword [r11 + 0x10], rbx
mov edx, 4
mov qword [r11 + 0x18], rsi
mov rcx, qword [rax]
movaps xmmword [r11 - 0x68], xmm11
mov eax, dword [rdx + rcx]
cmp dword [0x14018d0c8], eax
jle 0x140041feb
lea rcx, [0x14018d0c8]
call fcn.1400d0878
cmp dword [0x14018d0c8], 0xffffffff
jne 0x140041feb
mov rax, qword [0x14018b1c8]
lea rcx, [0x14018d0c8]
movsd xmm0, qword [rax + 0x3e20]
cvtpd2ps xmm0, xmm0
movss dword [0x14018bd28], xmm0
call fcn.1400d080c
movss xmm2, dword [0x14018bd28]
lea rcx, [rbp + 0x90]
mov rax, qword [0x14018b1c8]
xor edx, edx
movss xmm11, dword [0x140145ba8]
mov r8d, 0xb8
cvtps2pd xmm2, xmm2
movsd xmm1, qword [rax + 0x3e20]
cvtpd2ps xmm0, xmm1
subsd xmm1, xmm2
movss dword [0x14018bd28], xmm0
cvtpd2ps xmm0, xmm1
minss xmm11, xmm0
mulss xmm11, xmm6
call fcn.1400d30d0
xor esi, esi
lea rdx, str.Workspace
xorps xmm0, xmm0
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x70], rsi
movups xmmword [rsp + 0x58], xmm0
lea r8d, [rsi + 9]
call fcn.140005a30
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
lea rcx, [0x140183390]
call fcn.140041ad0
xorps xmm0, xmm0
mov qword [rsp + 0x38], rsi
lea r8d, [rsi + 6]
mov qword [rsp + 0x40], rsi
lea rdx, str.Camera
mov rbx, rax
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
call fcn.140005a30
lea r8, [rsp + 0x28]
mov rcx, rbx
lea rdx, [rbp + 0x90]
call fcn.140041ad0
mov rcx, qword [rbp + 0x98]
mov rsi, qword [rsp + 0x310]
test rcx, rcx
je 0x140042455
mov r8d, dword [rbp + 0xc0]
lea rdx, [rbp + 0x30]
movaps xmmword [rsp + 0x280], xmm12
add rcx, 0xffffffffffffffdc
movaps xmmword [rsp + 0x270], xmm13
add r8, rcx
mov rcx, qword [rbp + 0x90]
movaps xmmword [rsp + 0x260], xmm14
movaps xmmword [rsp + 0x2d0], xmm7
movaps xmmword [rsp + 0x2c0], xmm8
movaps xmmword [rsp + 0x2b0], xmm9
movaps xmmword [rsp + 0x2a0], xmm10
call fcn.1400494c0
mov rax, qword [rdi + 8]
test rax, rax
je 0x140042192
mov edx, dword [rdi + 0x1c]
mov r8b, 1
mov rcx, qword [rdi]
add rdx, rax
call fcn.140005440
test rax, rax
je 0x140042192
mov r8d, dword [rdi + 0x20]
lea rdx, [rbp + 0x60]
mov rcx, qword [rdi]
add r8, 0xffffffffffffffdc
add r8, rax
call fcn.1400494c0
movss xmm6, dword [rbp + 0x8c]
movss xmm7, dword [rbp + 0x88]
movss xmm8, dword [rbp + 0x84]
mov ebx, dword [rbp + 0x80]
movups xmm10, xmmword [rbp + 0x70]
movups xmm9, xmmword [rbp + 0x60]
jmp 0x1400421b7
call fcn.140019640
movups xmm9, xmmword [rax]
mov ebx, dword [rax + 0x20]
movups xmm10, xmmword [rax + 0x10]
call fcn.140040c30
movss xmm6, dword [rax + 8]
movss xmm7, dword [rax + 4]
movss xmm8, dword [rax]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm12, dword [rbp + 0x50]
movss xmm13, dword [rbp + 0x44]
movss xmm14, dword [rbp + 0x38]
test ax, ax
je 0x14004224d
mov dword [rbp + 0x80], ebx
movaps xmm0, xmm14
mulss xmm0, xmm11
movaps xmm1, xmm13
mulss xmm1, xmm11
subss xmm8, xmm0
movaps xmm0, xmm12
mulss xmm0, xmm11
subss xmm7, xmm1
subss xmm6, xmm0
movups xmm0, xmmword [rbp + 0x80]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm8
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm7
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movaps xmm6, xmm0
movd ebx, xmm0
movaps xmm7, xmm0
shufps xmm6, xmm0, 0xff
movaps xmm8, xmm0
shufps xmm7, xmm0, 0xaa
shufps xmm8, xmm0, 0x55
movups xmmword [rbp + 0x80], xmm0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400422c2
mov dword [rbp + 0x80], ebx
movups xmm2, xmmword [rbp + 0x80]
mulss xmm14, xmm11
shufps xmm2, xmm2, 0xe1
mulss xmm13, xmm11
addss xmm14, xmm8
mulss xmm12, xmm11
addss xmm13, xmm7
addss xmm12, xmm6
movss xmm2, xmm14
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm13
shufps xmm2, xmm2, 0x27
movss xmm2, xmm12
shufps xmm2, xmm2, 0x39
movaps xmm6, xmm2
movd ebx, xmm2
movaps xmm7, xmm2
shufps xmm6, xmm2, 0xff
movaps xmm8, xmm2
shufps xmm7, xmm2, 0xaa
shufps xmm8, xmm2, 0x55
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm12, dword [rbp + 0x48]
movss xmm13, dword [rbp + 0x3c]
movss xmm14, dword [rbp + 0x30]
test ax, ax
je 0x14004234e
mov dword [rbp + 0x50], ebx
movaps xmm0, xmm14
movups xmm3, xmmword [rbp + 0x50]
mulss xmm0, xmm11
movaps xmm1, xmm13
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm12
mulss xmm1, xmm11
addss xmm0, xmm8
mulss xmm2, xmm11
addss xmm1, xmm7
addss xmm2, xmm6
movss xmm3, xmm0
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movaps xmm6, xmm3
movd ebx, xmm3
movaps xmm7, xmm3
shufps xmm6, xmm3, 0xff
movaps xmm8, xmm3
shufps xmm7, xmm3, 0xaa
shufps xmm8, xmm3, 0x55
movups xmmword [rbp + 0x50], xmm3
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400423bb
mov dword [rbp + 0x50], ebx
movups xmm2, xmmword [rbp + 0x50]
mulss xmm14, xmm11
shufps xmm2, xmm2, 0xe1
mulss xmm13, xmm11
subss xmm8, xmm14
mulss xmm12, xmm11
subss xmm7, xmm13
subss xmm6, xmm12
movss xmm2, xmm8
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm7
shufps xmm2, xmm2, 0x27
movss xmm2, xmm6
shufps xmm2, xmm2, 0x39
movaps xmm6, xmm2
movd ebx, xmm2
movaps xmm7, xmm2
shufps xmm6, xmm2, 0xff
movaps xmm8, xmm2
shufps xmm7, xmm2, 0xaa
shufps xmm8, xmm2, 0x55
mov rax, qword [rdi + 8]
movaps xmm14, xmmword [rsp + 0x260]
movaps xmm13, xmmword [rsp + 0x270]
movaps xmm12, xmmword [rsp + 0x280]
test rax, rax
je 0x140042432
mov edx, dword [rdi + 0x1c]
mov r8b, 1
mov rcx, qword [rdi]
add rdx, rax
call fcn.140005440
mov rdx, rax
test rax, rax
je 0x140042432
mov eax, dword [rdi + 0x20]
lea r8, [rsp + 0x28]
mov rcx, qword [rdi]
add rax, 0xffffffffffffffdc
add rdx, rax
movss dword [rsp + 0x4c], xmm8
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm6
movups xmmword [rsp + 0x28], xmm9
mov dword [rsp + 0x48], ebx
movups xmmword [rsp + 0x38], xmm10
call fcn.140048ef0
movaps xmm10, xmmword [rsp + 0x2a0]
movaps xmm9, xmmword [rsp + 0x2b0]
movaps xmm8, xmmword [rsp + 0x2c0]
movaps xmm7, xmmword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x308]
movaps xmm11, xmmword [rsp + 0x290]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400d04f0
mov rdi, qword [rsp + 0x318]
movaps xmm6, xmmword [rsp + 0x2e0]
add rsp, 0x2f0
pop rbp
ret