Function at 0x180009270
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1800f1690]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.180008280
mov r15, qword [rbp - 0x80]
test r15, r15
je 0x180009664
mov r12, qword [rbp - 0x78]
test r12, r12
je 0x180009664
mov rdi, qword [0x1800f2828]
test rdi, rdi
jne 0x180009343
lea rdx, str.theWorld
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov rdi, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2828], rdi
mov rax, qword [r15]
mov r9, qword [rax + 0x2f8]
mov r8, rdi
mov rdx, r12
mov rcx, r15
call r9
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18000937c
xorps xmm7, xmm7
xorps xmm0, xmm0
psrldq xmm0, 8
movq qword [rsp + 0x40], xmm0
movq qword [rsp + 0x30], xmm7
jmp 0x180009391
mov qword [rbp - 0x78], rax
mov rax, r15
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x80], rax
movdqa xmm7, xmmword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov rdi, qword [0x1800f2820]
test rdi, rdi
jne 0x1800093e2
lea rdx, str.thePlayer
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov rdi, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2820], rdi
mov rax, qword [r15]
mov r9, qword [rax + 0x2f8]
mov r8, rdi
mov rdx, r12
mov rcx, r15
call r9
mov r14, rax
test rax, rax
jne 0x18000941c
xorps xmm6, xmm6
movdqa xmmword [rbp - 0x60], xmm6
xorps xmm0, xmm0
psrldq xmm0, 8
movq r14, xmm0
movq rdi, xmm6
jmp 0x18000942c
mov qword [rbp - 0x58], rax
mov rdi, r15
mov qword [rbp - 0x60], r15
movdqa xmm6, xmmword [rbp - 0x60]
mov r13, qword [0x1800f2808]
test r13, r13
jne 0x180009476
lea rdx, str.gameSettings
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r13, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2808], r13
mov rax, qword [r15]
mov r9, qword [rax + 0x2f8]
mov r8, r13
mov rdx, r12
mov rcx, r15
call r9
mov qword [rsp + 0x20], rax
xor ecx, ecx
test rax, rax
jne 0x1800094a4
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x20], rcx
jmp 0x1800094a9
mov qword [rsp + 0x70], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov r13, qword [0x1800f2810]
test r13, r13
jne 0x1800094fa
lea rdx, str.objectMouseOver
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x68], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r13, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2810], r13
mov rax, qword [r15]
mov r9, qword [rax + 0x2f8]
mov r8, r13
mov rdx, r12
mov rcx, r15
call r9
test rax, rax
jne 0x180009531
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xorps xmm0, xmm0
psrldq xmm0, 8
movq rax, xmm0
movq rcx, xmm1
jmp 0x18000953c
mov qword [rbp - 0x78], rax
mov rcx, r15
mov qword [rbp - 0x80], rcx
cmp qword [rsp + 0x30], 0
je 0x180009664
cmp qword [rsp + 0x40], 0
je 0x180009664
test rdi, rdi
je 0x180009664
test r14, r14
je 0x180009664
cmp qword [rsp + 0x70], 0
je 0x180009664
cmp qword [rsp + 0x20], 0
je 0x180009664
test rcx, rcx
je 0x180009664
test rax, rax
je 0x180009664
mov r13, qword [0x1800f2830]
test r13, r13
jne 0x1800095da
lea rdx, str.inGameHasFocus
lea rcx, [rsp + 0x48]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r13, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2830], r13
mov rax, qword [r15]
mov r9, qword [rax + 0x300]
mov r8, r13
mov rdx, r12
mov rcx, r15
call r9
test al, al
je 0x180009664
cmp byte [rsi + 0x54], 0
je 0x18000960c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x180009644
cmp byte [rsi + 0x55], 0
je 0x18000962c
lea rcx, [rbp - 0x60]
call fcn.180007d90
test al, al
je 0x180009644
mov r14, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x60]
movdqa xmm6, xmmword [rbp - 0x60]
cmp byte [rsi + 0x58], 0
je 0x1800096b6
lea rcx, [rbp - 0x80]
call fcn.180008080
cmp eax, 1
jne 0x1800096b6
cmp qword [rsi + 0x60], 0
je 0x180009664
cmp qword [rsi + 0x68], 0
je 0x180009664
xor eax, eax
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x68], rax
mov qword [rsi + 0x70], rax
mov qword [rsi + 0x78], rax
xor al, al
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.1800c5e80
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmmword [rbp - 0x80], xmm6
movdqa xmmword [rbp - 0x60], xmm7
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.180008c50
cmp qword [rsp + 0x48], 0
je 0x180009664
cmp qword [rsp + 0x50], 0
je 0x180009664
xorps xmm6, xmm6
movsd xmm11, qword [rsp + 0x58]
divsd xmm11, qword [0x1800e0cb8]
movss xmm7, dword [rsp + 0x60]
cvtps2pd xmm2, xmm7
mulsd xmm2, xmm11
movss xmm0, dword [rsi + 0x40]
divss xmm0, dword [rsi + 0x44]
cvtps2pd xmm1, xmm0
mulsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
comiss xmm6, xmm7
jbe 0x18000972f
movss xmm8, dword [0x1800e0d6c]
jmp 0x180009738
movss xmm8, dword [0x1800e0c64]
movss xmm10, dword [0x1800e1080]
andps xmm7, xmm10
movss dword [rsp + 0x30], xmm7
mov dword [rsp + 0x68], 0
andps xmm0, xmm10
movss dword [rsp + 0x40], xmm0
comiss xmm6, xmm0
seta al
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
test al, al
cmove rdx, rcx
comiss xmm0, xmm7
seta al
lea rcx, [rsp + 0x30]
test al, al
cmove rcx, rdx
mulss xmm8, dword [rcx]
mov r15, qword [0x1800f2868]
test r15, r15
jne 0x1800097d2
lea rdx, str.mouseSensitivity
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2868], r15
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, qword [rsp + 0x20]
call r9
mulss xmm0, dword [0x1800e0c38]
addss xmm0, dword [0x1800e0c14]
movaps xmm9, xmm0
mulss xmm9, xmm0
mulss xmm9, xmm0
mulss xmm9, dword [0x1800e0cf0]
divss xmm8, xmm9
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
xorps xmm12, xmm12
cvtsi2ss xmm12, eax
mulss xmm12, xmm9
movaps xmm0, xmm12
andps xmm0, xmm10
comiss xmm0, dword [0x1800e0c0c]
jb 0x18000997e
movss xmm6, dword [0x1800e0d58]
cmp byte [rsi + 0x88], 0
je 0x180009893
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm6
mulss xmm1, dword [0x1800e0d14]
addss xmm1, dword [0x1800e0d14]
movss dword [rsi + 0x80], xmm1
mov byte [rsi + 0x88], 0
mov dword [rsi + 0x84], 0
cmp byte [rsi + 0x89], 0
je 0x1800098c3
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm6
mulss xmm1, dword [0x1800e0c50]
addss xmm1, dword [0x1800e0c50]
andps xmm1, xmm10
jmp 0x1800098ef
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm6
mulss xmm1, dword [0x1800e0c50]
addss xmm1, dword [0x1800e0c50]
andps xmm1, xmm10
xorps xmm1, xmmword [0x1800e10a0]
movss xmm0, dword [rsi + 0x40]
divss xmm0, dword [rsi + 0x44]
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm11
divss xmm7, dword [0x1800e0d24]
addss xmm7, dword [0x1800e0c64]
cvtps2pd xmm0, xmm7
mulsd xmm2, xmm0
cvtss2sd xmm1, xmm1
mulsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movaps xmm2, xmm0
addss xmm2, dword [rsi + 0x84]
movss dword [rsi + 0x84], xmm2
andps xmm2, xmm10
comiss xmm2, dword [rsi + 0x80]
jbe 0x180009964
cmp byte [rsi + 0x89], 0
sete al
mov byte [rsi + 0x89], al
cmp byte [rsi + 0x88], 0
sete al
mov byte [rsi + 0x88], al
divss xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm9
mov r15, qword [0x1800f28b8]
test r15, r15
jne 0x1800099c7
lea rdx, str.rotationYaw
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28b8], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movaps xmm10, xmm0
mov r15, qword [0x1800f2898]
test r15, r15
jne 0x180009a2a
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2898], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movaps xmm11, xmm0
mov r15, qword [0x1800f28b8]
test r15, r15
jne 0x180009a8d
lea rdx, str.rotationYaw
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28b8], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movaps xmm8, xmm0
movss xmm9, dword [0x1800e0c10]
mulss xmm12, xmm9
addss xmm8, xmm12
mov r15, qword [0x1800f2898]
test r15, r15
jne 0x180009b03
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2898], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movaps xmm7, xmm0
mulss xmm6, xmm9
addss xmm7, xmm6
mov r15, qword [0x1800f28b8]
test r15, r15
jne 0x180009b6e
lea rdx, str.rotationYaw
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28b8], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x378]
movaps xmm3, xmm8
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
mov r15, qword [0x1800f2898]
test r15, r15
jne 0x180009bd1
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2898], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x378]
movaps xmm3, xmm7
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
mov r15, qword [0x1800f2898]
test r15, r15
jne 0x180009c33
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2898], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movss xmm6, dword [0x1800e0d78]
mov r15, qword [0x1800f2898]
comiss xmm6, xmm0
jbe 0x180009c99
test r15, r15
jne 0x180009d47
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
jmp 0x180009d38
test r15, r15
jne 0x180009cdb
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2898], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movss xmm6, dword [0x1800e0d20]
comiss xmm0, xmm6
jbe 0x180009d60
mov r15, qword [0x1800f2898]
test r15, r15
jne 0x180009d47
lea rdx, str.rotationPitch
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f2898], r15
mov rax, qword [rdi]
movaps xmm3, xmm6
mov r8, r15
mov rdx, r14
mov rcx, rdi
mov r9, qword [rax + 0x378]
call r9
mov r15, qword [0x1800f28c8]
test r15, r15
jne 0x180009da9
lea rdx, str.prevRotationYaw
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28c8], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movaps xmm6, xmm0
subss xmm8, xmm10
addss xmm6, xmm8
mov r15, qword [0x1800f28c8]
test r15, r15
jne 0x180009e15
lea rdx, str.prevRotationYaw
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28c8], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x378]
movaps xmm3, xmm6
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
mov r15, qword [0x1800f28d0]
test r15, r15
jne 0x180009e77
lea rdx, str.prevRotationPitch
lea rcx, [rbp - 0x60]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28d0], r15
mov rax, qword [rdi]
mov r9, qword [rax + 0x330]
mov r8, r15
mov rdx, r14
mov rcx, rdi
call r9
movaps xmm6, xmm0
subss xmm7, xmm11
addss xmm6, xmm7
mov r15, qword [0x1800f28d0]
test r15, r15
jne 0x180009ee2
lea rdx, str.prevRotationPitch
lea rcx, [rbp - 0x80]
call fcn.180001390
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800f29a0]
add rcx, 0x20
mov rdx, rax
call fcn.18006b890
mov r15, qword [rax]
mov rcx, rbx
call fcn.180005090
mov qword [0x1800f28d0], r15
mov rax, qword [rdi]
movaps xmm3, xmm6
mov r8, r15
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x378]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x70], xmm1
mov al, 1
jmp 0x180009666