Function at 0x140042870
Capabilities:
Log keystrokes via polling

Disassembly:
test rcx, rcx
je 0x140042d94
mov r11, rsp
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x1b8]
sub rsp, 0x2b0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140166100]
xor rax, rsp
mov qword [rbp + 0x110], rax
cmp qword [rcx + 8], 0
movaps xmm6, xmm1
mov rdi, rcx
je 0x140042d6d
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 [0x14018d268], eax
jle 0x14004291b
lea rcx, [0x14018d268]
call fcn.1400cfc58
cmp dword [0x14018d268], 0xffffffff
jne 0x14004291b
mov rax, qword [0x14018b338]
lea rcx, [0x14018d268]
movsd xmm0, qword [rax + 0x3e20]
cvtpd2ps xmm0, xmm0
movss dword [0x14018bec0], xmm0
call fcn.1400cfbec
movss xmm0, dword [0x14018bec0]
lea rcx, [rbp + 0x50]
mov rax, qword [0x14018b338]
xor edx, edx
movss xmm11, dword [0x140145cd8]
mov r8d, 0xc0
cvtps2pd xmm0, xmm0
movsd xmm2, qword [rax + 0x3e20]
movaps xmm1, xmm2
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm2
cvtpd2ps xmm3, xmm1
movss dword [0x14018bec0], xmm0
minss xmm11, xmm3
mulss xmm11, xmm6
call fcn.140102e10
xorps xmm0, xmm0
lea rdx, str.Workspace
xor esi, esi
lea rcx, [rbp + 0x18]
mov r8d, 9
mov qword [rbp + 0x28], rsi
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x30], rsi
call fcn.140005b00
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x28]
lea rcx, [0x140183450]
call fcn.140042430
xorps xmm0, xmm0
mov qword [rbp - 8], rsi
mov r8d, 6
mov qword [rbp], rsi
lea rdx, str.Camera
mov rbx, rax
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x18], xmm0
call fcn.140005b00
lea r8, [rbp - 0x18]
mov rcx, rbx
lea rdx, [rbp + 0x50]
call fcn.140042430
mov rcx, qword [rbp + 0x58]
mov rsi, qword [rsp + 0x2d0]
test rcx, rcx
je 0x140042d5c
mov r8d, dword [rbp + 0x80]
lea rdx, [rbp + 0x18]
movaps xmmword [rsp + 0x240], xmm12
add rcx, 0xffffffffffffffdc
movaps xmmword [rsp + 0x230], xmm13
add r8, rcx
mov rcx, qword [rbp + 0x50]
movaps xmmword [rsp + 0x220], xmm14
movaps xmmword [rsp + 0x290], xmm7
movaps xmmword [rsp + 0x280], xmm8
movaps xmmword [rsp + 0x270], xmm9
movaps xmmword [rsp + 0x260], xmm10
call fcn.140049db0
mov rax, qword [rdi + 8]
test rax, rax
je 0x140042aa7
mov edx, dword [rdi + 0x1c]
mov r8b, 1
mov rcx, qword [rdi]
add rdx, rax
call fcn.1400054a0
test rax, rax
je 0x140042aa7
mov r8d, dword [rdi + 0x20]
lea rdx, [rbp - 0x18]
mov rcx, qword [rdi]
add r8, 0xffffffffffffffdc
add r8, rax
call fcn.140049db0
movss xmm6, dword [rbp + 0x14]
movss xmm7, dword [rbp + 0x10]
movss xmm8, dword [rbp + 0xc]
mov ebx, dword [rbp + 8]
movups xmm10, xmmword [rbp - 8]
movups xmm9, xmmword [rbp - 0x18]
jmp 0x140042acc
call fcn.1400198f0
movups xmm9, xmmword [rax]
mov ebx, dword [rax + 0x20]
movups xmm10, xmmword [rax + 0x10]
call fcn.140041350
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 + 0x38]
movss xmm13, dword [rbp + 0x2c]
movss xmm14, dword [rbp + 0x20]
test ax, ax
je 0x140042b59
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 0x140042bcc
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 + 0x30]
movss xmm13, dword [rbp + 0x24]
movss xmm14, dword [rbp + 0x18]
test ax, ax
je 0x140042c58
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 0x140042cc9
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 + 0x220]
movaps xmm13, xmmword [rsp + 0x230]
movaps xmm12, xmmword [rsp + 0x240]
test rax, rax
je 0x140042d39
mov edx, dword [rdi + 0x1c]
mov r8b, 1
mov rcx, qword [rdi]
add rdx, rax
call fcn.1400054a0
mov rdx, rax
test rax, rax
je 0x140042d39
mov eax, dword [rdi + 0x20]
lea r8, [rbp - 0x18]
mov rcx, qword [rdi]
add rax, 0xffffffffffffffdc
add rdx, rax
movss dword [rbp + 0xc], xmm8
movss dword [rbp + 0x10], xmm7
movss dword [rbp + 0x14], xmm6
movups xmmword [rbp - 0x18], xmm9
mov dword [rbp + 8], ebx
movups xmmword [rbp - 8], xmm10
call fcn.1400497e0
movaps xmm10, xmmword [rsp + 0x260]
movaps xmm9, xmmword [rsp + 0x270]
movaps xmm8, xmmword [rsp + 0x280]
movaps xmm7, xmmword [rsp + 0x290]
mov rbx, qword [rsp + 0x2c8]
movaps xmm11, xmmword [rsp + 0x250]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400cf8e0
mov rdi, qword [rsp + 0x2d8]
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b0
pop rbp
ret