Function at 0x140017800
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x118
movaps xmmword [rax - 0x48], xmm6
xor r15d, r15d
movaps xmmword [rax - 0x58], xmm7
mov r14, r8
movaps xmmword [rax - 0x68], xmm8
mov rdi, rdx
movaps xmmword [rax - 0x78], xmm9
mov rsi, rcx
movaps xmmword [rax - 0x88], xmm10
xorps xmm7, xmm7
movaps xmmword [rax - 0xc8], xmm15
xorps xmm9, xmm9
mov rax, qword [0x14020eac8]
xorps xmm15, xmm15
xorps xmm10, xmm10
cmp byte [rax + 0x139], r15b
je 0x14001787e
cmp dword [r8 + 0x80], 0x1e
jge 0x14001787e
mov rax, qword [0x14020ea98]
mov dword [rax + 8], r15d
jmp 0x1400178d2
mov edx, dword [rax + 0x118]
test edx, edx
je 0x1400178c4
sub edx, 1
je 0x1400178b4
sub edx, 1
je 0x1400178a4
cmp edx, 1
jne 0x1400178d2
mov rax, qword [0x14020ea98]
mov dword [rax + 8], r15d
jmp 0x1400178d2
mov rax, qword [0x14020ea98]
mov dword [rax + 8], 4
jmp 0x1400178d2
mov rax, qword [0x14020ea98]
mov dword [rax + 8], 5
jmp 0x1400178d2
mov rax, qword [0x14020ea98]
mov dword [rax + 8], 6
cmp qword [rdi + 0x68], r15
jne 0x1400178f9
lea rcx, str._unknowncheats__player_address_is_0_n
call fcn.140003810
xorps xmm0, xmm0
mov qword [rsp + 0x38], r15
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
jmp 0x14001790a
lea rdx, [rdi + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.140013e00
movss xmm0, dword [0x1401005c0]
mov rbx, qword [rsp + 0x40]
movss xmm6, dword [0x140100498]
movaps xmm1, xmm6
subss xmm0, dword [rbx + 0xa0]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm8, xmm0
movaps xmm1, xmm6
movss xmm0, dword [0x1401005d0]
subss xmm0, dword [rbx + 0x9c]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x140017963
xorps xmm6, xmm6
sqrtss xmm6, xmm8
jmp 0x14001796f
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
lea rcx, [rsp + 0x40]
call fcn.140012120
movss xmm1, dword [0x1401005e0]
comiss xmm1, xmm6
movss xmm8, dword [0x14010042c]
jbe 0x140017a44
mov rbx, qword [0x14020eac8]
cmp byte [rbx + 0x114], r15b
je 0x1400179c9
mov edx, dword [rsp + 0x178]
mov rax, qword [rdi + 0x70]
bt rax, rdx
jb 0x1400179c9
mov edx, dword [rsp + 0x170]
mov rax, qword [r14 + 0x70]
bt rax, rdx
jae 0x140017a4b
cmp qword [rdi + 0x68], r15
jne 0x1400179f0
lea rcx, str._unknowncheats__player_address_is_0_n
call fcn.140003810
xorps xmm0, xmm0
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
jmp 0x140017a01
lea rdx, [rdi + 0xf0]
lea rcx, [rsp + 0x58]
call fcn.140013e00
mov rax, qword [0x14020ea98]
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x60]
lea rdx, [rcx + rcx*2]
movss xmm15, dword [rax + rdx*8]
lea rcx, [rsp + 0x60]
movss xmm9, dword [rax + rdx*8 + 4]
movss xmm10, dword [rax + rdx*8 + 8]
call fcn.140012120
mov rax, qword [0x14020ea98]
cmp dword [rax + 8], 6
jne 0x140017a44
subss xmm10, xmm8
mov rbx, qword [0x14020eac8]
movss xmm6, dword [0x140100580]
mov qword [rsp + 0x150], r12
cmp byte [rbx + 0x131], r15b
je 0x140017ab3
movss xmm0, dword [rdi + 0x140]
movss xmm2, dword [rdi + 0x13c]
movss xmm1, dword [rdi + 0x144]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x140017aa1
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140017aa9
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
jbe 0x140017ab3
mov r12b, 1
jmp 0x140017ab6
xor r12b, r12b
mov qword [rsp + 0x110], r13
cmp byte [rbx + 0x132], r15b
je 0x140017ad5
cmp dword [rdi + 0x80], 0x1e
jge 0x140017ad5
mov r13b, 1
jmp 0x140017ad8
xor r13b, r13b
cmp byte [rbx + 0x133], r15b
je 0x140017af3
cmp dword [r14 + 0x80], 0x1e
mov byte [rsp + 0x158], 1
jl 0x140017afb
mov byte [rsp + 0x158], r15b
cmp byte [rbx + 0x137], r15b
je 0x140017b14
mov eax, dword [rbx + 0x164]
mov byte [rsp + 0x30], 1
cmp dword [rdi + 0x30], eax
jg 0x140017b19
mov byte [rsp + 0x30], r15b
cmp byte [rbx + 0x135], r15b
je 0x140017b6f
movss xmm0, dword [rdi + 0x140]
movss xmm2, dword [rdi + 0x13c]
movss xmm1, dword [rdi + 0x144]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x140017b5f
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140017b67
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
jbe 0x140017b6f
mov r15b, 1
cmp byte [rbx + 0x136], 0
je 0x140017b87
cmp dword [r14 + 0x80], 0x1e
jge 0x140017b87
mov r14b, 1
jmp 0x140017b8a
xor r14b, r14b
cmp byte [rbx + 0x138], 0
je 0x140017ba3
mov eax, dword [rbx + 0x16c]
cmp dword [rdi + 0x30], eax
jle 0x140017ba3
mov bpl, 1
jmp 0x140017ba6
xor bpl, bpl
cmp byte [rbx + 0x104], 0
je 0x1400180ee
mov ecx, dword [rbx + 0x2f4]
test ecx, ecx
je 0x140017bdc
cmp ecx, 1
jne 0x140017bfb
mov edx, dword [rbx + 0x2f8]
call fcn.14001d750
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x140017bf4
jmp 0x140017c25
mov edx, dword [rbx + 0x2f8]
call fcn.14001d750
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140017c25
mov rbx, qword [0x14020eac8]
ucomiss xmm7, xmm15
jp 0x140017c13
jne 0x140017c13
ucomiss xmm7, xmm9
jp 0x140017c13
jne 0x140017c13
ucomiss xmm7, xmm10
jp 0x140017c13
je 0x140017c25
cmp byte [0x14020a7c8], 0
jne 0x140017c25
cmp dword [rdi + 0x80], 0
jg 0x140017c48
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [0x14020ec90], xmm0
mov qword [rsi], r12
mov qword [0x14020eca0], r12
mov dword [0x14020eca8], r12d
jmp 0x1400180ee
cmp byte [rbx + 0x130], 0
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm12
movaps xmmword [rsp + 0x90], xmm13
je 0x140017cf6
test r12b, r12b
je 0x140017c7b
movaps xmm2, xmm8
jmp 0x140017c7e
xorps xmm2, xmm2
movss dword [0x14020ec90], xmm2
test r13b, r13b
je 0x140017c95
movss xmm0, dword [0x140100440]
jmp 0x140017c98
xorps xmm0, xmm0
cmp byte [rsp + 0x158], 0
movss dword [0x14020ec94], xmm0
je 0x140017cb4
movss xmm1, dword [0x1401003f8]
jmp 0x140017cb7
xorps xmm1, xmm1
cmp byte [rsp + 0x30], 0
movss dword [0x14020ec98], xmm1
mov dword [0x14020ec9c], 0x3f800000
jne 0x140017cda
mov dword [0x14020ec9c], 0
addss xmm0, xmm2
addss xmm0, xmm1
movss dword [rsi], xmm0
mov rbx, qword [0x14020eac8]
cmp byte [rbx + 0x130], 0
jne 0x140017d1a
xor r12d, r12d
mov qword [0x14020ec90], 0
mov dword [rsi], r12d
mov rbx, qword [0x14020eac8]
mov dword [0x14020ec98], 0
jmp 0x140017d1d
xor r12d, r12d
cmp byte [rbx + 0x134], 0
je 0x140017d8d
movss xmm0, dword [0x1401003e0]
test r15b, r15b
je 0x140017d40
movss dword [0x14020eca0], xmm0
movaps xmm1, xmm0
jmp 0x140017d4b
xorps xmm1, xmm1
movss dword [0x14020eca0], xmm1
test r14b, r14b
jne 0x140017d53
xorps xmm0, xmm0
movss dword [0x14020eca4], xmm0
mov dword [0x14020eca8], 0x3e4ccccd
test bpl, bpl
jne 0x140017d74
mov dword [0x14020eca8], 0
addss xmm0, xmm1
movss dword [rsi + 4], xmm0
mov rbx, qword [0x14020eac8]
cmp byte [rbx + 0x134], 0
jne 0x140017da3
mov dword [rsi + 4], r12d
mov rbx, qword [0x14020eac8]
mov qword [0x14020eca0], 0
mov rax, qword [rsp + 0x168]
movaps xmm12, xmm9
movsd xmm13, qword [0x1401004a0]
movaps xmm11, xmm15
movaps xmm8, xmm10
movaps xmm1, xmm13
subss xmm12, dword [rax + 4]
subss xmm11, dword [rax]
subss xmm8, dword [rax + 8]
cvtps2pd xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm13
cvtps2pd xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x140017e04
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x140017e0c
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
divss xmm8, xmm1
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
xorps xmm0, xmmword [0x140100830]
xorps xmm3, xmm3
mov rdi, qword [rsp + 0x160]
movaps xmm1, xmm13
cvtss2sd xmm3, xmm0
movss xmm2, dword [rdi + 0x148]
mulsd xmm3, qword [0x1401004d8]
cvtps2pd xmm2, xmm2
subsd xmm3, xmm2
cvtpd2ps xmm2, xmm3
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm2, dword [rdi + 0x14c]
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
cvtps2pd xmm2, xmm2
mulsd xmm3, qword [0x1401004d8]
movaps xmm1, xmm13
subsd xmm3, xmm2
cvtpd2ps xmm0, xmm3
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm13, xmmword [rsp + 0x90]
addsd xmm8, xmm0
movaps xmm12, xmmword [rsp + 0xa0]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0xb0]
ucomisd xmm1, xmm8
ja 0x140017ed1
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x140017eda
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov rax, qword [0x14020a938]
movaps xmm3, xmm9
movaps xmm1, xmm10
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movss xmm5, dword [rax + 0x10]
movaps xmm0, xmm15
movss xmm8, dword [rax + 0x14]
xorps xmm2, xmm2
mov rax, qword [0x14020eb08]
xorps xmm4, xmm4
mulss xmm5, dword [0x1401003f8]
mulss xmm8, dword [0x1401003f8]
mulss xmm3, dword [rax + 0x34]
mulss xmm0, dword [rax + 0x30]
mulss xmm1, dword [rax + 0x38]
addss xmm3, xmm0
movsd xmm0, qword [0x140100430]
addss xmm3, xmm1
addss xmm3, dword [rax + 0x3c]
cvtps2pd xmm1, xmm3
comisd xmm0, xmm1
jae 0x140017fb2
movaps xmm2, xmm9
movaps xmm0, xmm15
mulss xmm2, dword [rax + 4]
movaps xmm1, xmm10
mulss xmm9, dword [rax + 0x14]
movaps xmm4, xmm8
mulss xmm0, dword [rax]
mulss xmm15, dword [rax + 0x10]
mulss xmm1, dword [rax + 8]
addss xmm2, xmm0
mulss xmm10, dword [rax + 0x18]
addss xmm9, xmm15
addss xmm2, xmm1
addss xmm9, xmm10
addss xmm2, dword [rax + 0xc]
addss xmm9, dword [rax + 0x1c]
divss xmm2, xmm3
divss xmm9, xmm3
mulss xmm2, xmm5
mulss xmm9, xmm8
addss xmm2, xmm5
subss xmm4, xmm9
movss xmm0, dword [rbx + 0x108]
addss xmm0, dword [rsi]
comiss xmm6, xmm0
jae 0x1400180ee
movss xmm3, dword [rbx + 0x10c]
movaps xmm1, xmm3
subss xmm1, dword [rsi + 4]
ucomiss xmm1, xmm7
jp 0x140017fe6
jne 0x140017fe6
movss xmm1, dword [0x140100460]
cvttss2si eax, xmm2
cmp eax, 0x3c0
je 0x140018003
add eax, 0xfffffc40
movd xmm5, eax
cvtdq2ps xmm5, xmm5
divss xmm5, xmm1
jmp 0x140018006
xorps xmm5, xmm5
movss xmm8, dword [0x1401005c0]
ucomiss xmm4, xmm8
jp 0x140018017
je 0x14001803b
ucomiss xmm4, xmm7
jp 0x14001801e
je 0x14001803b
cvttss2si eax, xmm4
cmp eax, 0x21c
je 0x14001803b
add eax, 0xfffffde4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
jmp 0x14001803e
xorps xmm0, xmm0
ucomiss xmm3, xmm7
jp 0x140018054
jne 0x140018054
cvttss2si r8, xmm0
cvttss2si rdx, xmm5
jmp 0x1400180dc
movss xmm0, dword [rbx + 0x108]
addss xmm0, dword [rsi]
cvttss2si eax, xmm2
divss xmm6, xmm0
movss xmm0, dword [0x14010042c]
movaps xmm5, xmm0
subss xmm5, xmm6
addss xmm5, xmm0
cmp eax, 0x3c0
je 0x140018094
add eax, 0xfffffc40
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
jmp 0x140018097
xorps xmm0, xmm0
ucomiss xmm4, xmm8
subss xmm3, dword [rsi + 4]
mulss xmm3, xmm5
divss xmm0, xmm3
jp 0x1400180ac
je 0x1400180d2
ucomiss xmm4, xmm7
jp 0x1400180b3
je 0x1400180d2
cvttss2si eax, xmm4
cmp eax, 0x21c
je 0x1400180ce
add eax, 0xfffffde4
movd xmm7, eax
cvtdq2ps xmm7, xmm7
divss xmm7, xmm1
divss xmm7, xmm3
cvttss2si r8, xmm7
cvttss2si rdx, xmm0
xor r9d, r9d
mov qword [rsp + 0x20], r12
lea ecx, [r9 + 1]
call qword [sym.imp.USER32.dll_mouse_event]
mov r13, qword [rsp + 0x110]
lea r11, [rsp + 0x118]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm15, xmmword [r11 - 0x98]
mov r12, qword [rsp + 0x150]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret