Function at 0x14003c240
Capabilities:
Log keystrokes via polling

Disassembly:
test rcx, rcx
je 0x14003c761
mov r11, rsp
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x198]
sub rsp, 0x290
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14015c100]
xor rax, rsp
mov qword [rbp + 0xf0], rax
cmp qword [rcx + 8], 0
movaps xmm6, xmm1
mov rdi, rcx
je 0x14003c73a
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 [0x140182da8], eax
jle 0x14003c2eb
lea rcx, [0x140182da8]
call fcn.1400c68c8
cmp dword [0x140182da8], 0xffffffff
jne 0x14003c2eb
mov rax, qword [0x140181008]
lea rcx, [0x140182da8]
movsd xmm0, qword [rax + 0x3e20]
cvtpd2ps xmm0, xmm0
movss dword [0x140181a08], xmm0
call fcn.1400c685c
movss xmm0, dword [0x140181a08]
lea rcx, [rbp + 0x40]
mov rax, qword [0x140181008]
xor edx, edx
movss xmm11, dword [0x14013ba88]
mov r8d, 0xb0
cvtps2pd xmm0, xmm0
movsd xmm2, qword [rax + 0x3e20]
movaps xmm1, xmm2
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm2
cvtpd2ps xmm3, xmm1
movss dword [0x140181a08], xmm0
minss xmm11, xmm3
mulss xmm11, xmm6
call fcn.1400f99e0
xorps xmm0, xmm0
lea rdx, str.Workspace
xor esi, esi
lea rcx, [rbp + 8]
mov r8d, 9
mov qword [rbp + 0x18], rsi
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x20], rsi
call fcn.140005660
lea r8, [rbp + 8]
lea rdx, [rsp + 0x28]
lea rcx, [0x1401792c0]
call fcn.14003be20
xorps xmm0, xmm0
mov qword [rbp - 0x18], rsi
mov r8d, 6
mov qword [rbp - 0x10], rsi
lea rdx, str.Camera
mov rbx, rax
lea rcx, [rbp - 0x28]
movups xmmword [rbp - 0x28], xmm0
call fcn.140005660
lea r8, [rbp - 0x28]
mov rcx, rbx
lea rdx, [rbp + 0x40]
call fcn.14003be20
mov rcx, qword [rbp + 0x48]
mov rsi, qword [rsp + 0x2b0]
test rcx, rcx
je 0x14003c729
mov r8d, dword [rbp + 0x70]
lea rdx, [rbp + 8]
movaps xmmword [rsp + 0x220], xmm12
add rcx, 0xffffffffffffffdc
movaps xmmword [rsp + 0x210], xmm13
add r8, rcx
mov rcx, qword [rbp + 0x40]
movaps xmmword [rsp + 0x200], xmm14
movaps xmmword [rsp + 0x270], xmm7
movaps xmmword [rsp + 0x260], xmm8
movaps xmmword [rsp + 0x250], xmm9
movaps xmmword [rsp + 0x240], xmm10
call fcn.140042100
mov rax, qword [rdi + 8]
test rax, rax
je 0x14003c474
mov edx, dword [rdi + 0x1c]
mov r8b, 1
mov rcx, qword [rdi]
add rdx, rax
call fcn.140005000
test rax, rax
je 0x14003c474
mov r8d, dword [rdi + 0x20]
lea rdx, [rbp - 0x28]
mov rcx, qword [rdi]
add r8, 0xffffffffffffffdc
add r8, rax
call fcn.140042100
movss xmm6, dword [rbp + 4]
movss xmm7, dword [rbp]
movss xmm8, dword [rbp - 4]
mov ebx, dword [rbp - 8]
movups xmm10, xmmword [rbp - 0x18]
movups xmm9, xmmword [rbp - 0x28]
jmp 0x14003c499
call fcn.140019410
movups xmm9, xmmword [rax]
mov ebx, dword [rax + 0x20]
movups xmm10, xmmword [rax + 0x10]
call fcn.14003ade0
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 + 0x28]
movss xmm13, dword [rbp + 0x1c]
movss xmm14, dword [rbp + 0x10]
test ax, ax
je 0x14003c526
mov dword [rbp - 8], 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 - 8]
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 - 8], xmm0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003c599
mov dword [rbp - 8], ebx
movups xmm2, xmmword [rbp - 8]
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
movups xmmword [rbp - 8], xmm2
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm12, dword [rbp + 0x20]
movss xmm13, dword [rbp + 0x14]
movss xmm14, dword [rbp + 8]
test ax, ax
je 0x14003c625
mov dword [rbp - 8], ebx
movaps xmm0, xmm14
movups xmm3, xmmword [rbp - 8]
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 - 8], xmm3
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003c696
mov dword [rbp - 8], ebx
movups xmm2, xmmword [rbp - 8]
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
movups xmmword [rbp - 8], xmm2
mov rax, qword [rdi + 8]
movaps xmm14, xmmword [rsp + 0x200]
movaps xmm13, xmmword [rsp + 0x210]
movaps xmm12, xmmword [rsp + 0x220]
test rax, rax
je 0x14003c706
mov edx, dword [rdi + 0x1c]
mov r8b, 1
mov rcx, qword [rdi]
add rdx, rax
call fcn.140005000
mov rdx, rax
test rax, rax
je 0x14003c706
mov eax, dword [rdi + 0x20]
lea r8, [rbp - 0x28]
mov rcx, qword [rdi]
add rax, 0xffffffffffffffdc
add rdx, rax
movss dword [rbp - 4], xmm8
movss dword [rbp], xmm7
movss dword [rbp + 4], xmm6
movups xmmword [rbp - 0x28], xmm9
mov dword [rbp - 8], ebx
movups xmmword [rbp - 0x18], xmm10
call fcn.140041b30
movaps xmm10, xmmword [rsp + 0x240]
movaps xmm9, xmmword [rsp + 0x250]
movaps xmm8, xmmword [rsp + 0x260]
movaps xmm7, xmmword [rsp + 0x270]
mov rbx, qword [rsp + 0x2a8]
movaps xmm11, xmmword [rsp + 0x230]
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400c6550
mov rdi, qword [rsp + 0x2b8]
movaps xmm6, xmmword [rsp + 0x280]
add rsp, 0x290
pop rbp
ret