Function at 0x140019880
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 [0x14028b2b8]
xorps xmm15, xmm15
xorps xmm10, xmm10
cmp byte [rax + 0x139], r15b
je 0x1400198fe
cmp dword [r8 + 0x80], 0x1e
jge 0x1400198fe
mov rax, qword [0x14028b2a8]
mov dword [rax + 8], r15d
jmp 0x140019952
mov edx, dword [rax + 0x118]
test edx, edx
je 0x140019944
sub edx, 1
je 0x140019934
sub edx, 1
je 0x140019924
cmp edx, 1
jne 0x140019952
mov rax, qword [0x14028b2a8]
mov dword [rax + 8], r15d
jmp 0x140019952
mov rax, qword [0x14028b2a8]
mov dword [rax + 8], 4
jmp 0x140019952
mov rax, qword [0x14028b2a8]
mov dword [rax + 8], 5
jmp 0x140019952
mov rax, qword [0x14028b2a8]
mov dword [rax + 8], 6
cmp qword [rdi + 0x68], r15
jne 0x140019979
lea rcx, str._evo__player_address_is_0_n
call fcn.140006e30
xorps xmm0, xmm0
mov qword [rsp + 0x38], r15
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
jmp 0x14001998a
lea rdx, [rdi + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.140015c70
movss xmm0, dword [0x1401752b0]
mov rbx, qword [rsp + 0x40]
movss xmm6, dword [0x140175188]
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 [0x1401752c4]
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 0x1400199e3
xorps xmm6, xmm6
sqrtss xmm6, xmm8
jmp 0x1400199ef
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
lea rcx, [rsp + 0x40]
call fcn.140013f90
movss xmm1, dword [0x1401752d8]
comiss xmm1, xmm6
movss xmm8, dword [0x14017511c]
jbe 0x140019ac4
mov rbx, qword [0x14028b2b8]
cmp byte [rbx + 0x114], r15b
je 0x140019a49
mov edx, dword [rsp + 0x178]
mov rax, qword [rdi + 0x70]
bt rax, rdx
jb 0x140019a49
mov edx, dword [rsp + 0x170]
mov rax, qword [r14 + 0x70]
bt rax, rdx
jae 0x140019acb
cmp qword [rdi + 0x68], r15
jne 0x140019a70
lea rcx, str._evo__player_address_is_0_n
call fcn.140006e30
xorps xmm0, xmm0
mov qword [rsp + 0x58], r15
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
jmp 0x140019a81
lea rdx, [rdi + 0xf0]
lea rcx, [rsp + 0x58]
call fcn.140015c70
mov rax, qword [0x14028b2a8]
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.140013f90
mov rax, qword [0x14028b2a8]
cmp dword [rax + 8], 6
jne 0x140019ac4
subss xmm10, xmm8
mov rbx, qword [0x14028b2b8]
movss xmm6, dword [0x140175260]
mov qword [rsp + 0x150], r12
cmp byte [rbx + 0x131], r15b
je 0x140019b33
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 0x140019b21
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140019b29
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
jbe 0x140019b33
mov r12b, 1
jmp 0x140019b36
xor r12b, r12b
mov qword [rsp + 0x110], r13
cmp byte [rbx + 0x132], r15b
je 0x140019b55
cmp dword [rdi + 0x80], 0x1e
jge 0x140019b55
mov r13b, 1
jmp 0x140019b58
xor r13b, r13b
cmp byte [rbx + 0x133], r15b
je 0x140019b73
cmp dword [r14 + 0x80], 0x1e
mov byte [rsp + 0x158], 1
jl 0x140019b7b
mov byte [rsp + 0x158], r15b
cmp byte [rbx + 0x137], r15b
je 0x140019b94
mov eax, dword [rbx + 0x164]
mov byte [rsp + 0x30], 1
cmp dword [rdi + 0x30], eax
jg 0x140019b99
mov byte [rsp + 0x30], r15b
cmp byte [rbx + 0x135], r15b
je 0x140019bef
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 0x140019bdf
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140019be7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
jbe 0x140019bef
mov r15b, 1
cmp byte [rbx + 0x136], 0
je 0x140019c07
cmp dword [r14 + 0x80], 0x1e
jge 0x140019c07
mov r14b, 1
jmp 0x140019c0a
xor r14b, r14b
cmp byte [rbx + 0x138], 0
je 0x140019c23
mov eax, dword [rbx + 0x16c]
cmp dword [rdi + 0x30], eax
jle 0x140019c23
mov bpl, 1
jmp 0x140019c26
xor bpl, bpl
cmp byte [rbx + 0x104], 0
je 0x14001a16e
mov ecx, dword [rbx + 0x2f4]
test ecx, ecx
je 0x140019c5c
cmp ecx, 1
jne 0x140019c7b
mov edx, dword [rbx + 0x2f8]
call fcn.14001f5a0
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x140019c74
jmp 0x140019ca5
mov edx, dword [rbx + 0x2f8]
call fcn.14001f5a0
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140019ca5
mov rbx, qword [0x14028b2b8]
ucomiss xmm7, xmm15
jp 0x140019c93
jne 0x140019c93
ucomiss xmm7, xmm9
jp 0x140019c93
jne 0x140019c93
ucomiss xmm7, xmm10
jp 0x140019c93
je 0x140019ca5
cmp byte [0x1402881c8], 0
jne 0x140019ca5
cmp dword [rdi + 0x80], 0
jg 0x140019cc8
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [0x14028b450], xmm0
mov qword [rsi], r12
mov qword [0x14028b440], r12
mov dword [0x14028b448], r12d
jmp 0x14001a16e
cmp byte [rbx + 0x130], 0
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm12
movaps xmmword [rsp + 0x90], xmm13
je 0x140019d76
test r12b, r12b
je 0x140019cfb
movaps xmm2, xmm8
jmp 0x140019cfe
xorps xmm2, xmm2
movss dword [0x14028b450], xmm2
test r13b, r13b
je 0x140019d15
movss xmm0, dword [0x140175130]
jmp 0x140019d18
xorps xmm0, xmm0
cmp byte [rsp + 0x158], 0
movss dword [0x14028b454], xmm0
je 0x140019d34
movss xmm1, dword [0x1401750e8]
jmp 0x140019d37
xorps xmm1, xmm1
cmp byte [rsp + 0x30], 0
movss dword [0x14028b458], xmm1
mov dword [0x14028b45c], 0x3f800000
jne 0x140019d5a
mov dword [0x14028b45c], 0
addss xmm0, xmm2
addss xmm0, xmm1
movss dword [rsi], xmm0
mov rbx, qword [0x14028b2b8]
cmp byte [rbx + 0x130], 0
jne 0x140019d9a
xor r12d, r12d
mov qword [0x14028b450], 0
mov dword [rsi], r12d
mov rbx, qword [0x14028b2b8]
mov dword [0x14028b458], 0
jmp 0x140019d9d
xor r12d, r12d
cmp byte [rbx + 0x134], 0
je 0x140019e0d
movss xmm0, dword [0x1401750d0]
test r15b, r15b
je 0x140019dc0
movss dword [0x14028b440], xmm0
movaps xmm1, xmm0
jmp 0x140019dcb
xorps xmm1, xmm1
movss dword [0x14028b440], xmm1
test r14b, r14b
jne 0x140019dd3
xorps xmm0, xmm0
movss dword [0x14028b444], xmm0
mov dword [0x14028b448], 0x3e4ccccd
test bpl, bpl
jne 0x140019df4
mov dword [0x14028b448], 0
addss xmm0, xmm1
movss dword [rsi + 4], xmm0
mov rbx, qword [0x14028b2b8]
cmp byte [rbx + 0x134], 0
jne 0x140019e23
mov dword [rsi + 4], r12d
mov rbx, qword [0x14028b2b8]
mov qword [0x14028b440], 0
mov rax, qword [rsp + 0x168]
movaps xmm12, xmm9
movsd xmm13, qword [0x140175190]
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 0x140019e84
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x140019e8c
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 [0x140175530]
xorps xmm3, xmm3
mov rdi, qword [rsp + 0x160]
movaps xmm1, xmm13
cvtss2sd xmm3, xmm0
movss xmm2, dword [rdi + 0x148]
mulsd xmm3, qword [0x1401751b8]
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 [0x1401751b8]
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 0x140019f51
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x140019f5a
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov rax, qword [0x140286c58]
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 [0x14028b268]
xorps xmm4, xmm4
mulss xmm5, dword [0x1401750e8]
mulss xmm8, dword [0x1401750e8]
mulss xmm3, dword [rax + 0x34]
mulss xmm0, dword [rax + 0x30]
mulss xmm1, dword [rax + 0x38]
addss xmm3, xmm0
movsd xmm0, qword [0x140175120]
addss xmm3, xmm1
addss xmm3, dword [rax + 0x3c]
cvtps2pd xmm1, xmm3
comisd xmm0, xmm1
jae 0x14001a032
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 0x14001a16e
movss xmm3, dword [rbx + 0x10c]
movaps xmm1, xmm3
subss xmm1, dword [rsi + 4]
ucomiss xmm1, xmm7
jp 0x14001a066
jne 0x14001a066
movss xmm1, dword [0x140175150]
cvttss2si eax, xmm2
cmp eax, 0x2d0
je 0x14001a083
add eax, 0xfffffd30
movd xmm5, eax
cvtdq2ps xmm5, xmm5
divss xmm5, xmm1
jmp 0x14001a086
xorps xmm5, xmm5
movss xmm8, dword [0x1401752b0]
ucomiss xmm4, xmm8
jp 0x14001a097
je 0x14001a0bb
ucomiss xmm4, xmm7
jp 0x14001a09e
je 0x14001a0bb
cvttss2si eax, xmm4
cmp eax, 0x21c
je 0x14001a0bb
add eax, 0xfffffde4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
jmp 0x14001a0be
xorps xmm0, xmm0
ucomiss xmm3, xmm7
jp 0x14001a0d4
jne 0x14001a0d4
cvttss2si r8, xmm0
cvttss2si rdx, xmm5
jmp 0x14001a15c
movss xmm0, dword [rbx + 0x108]
addss xmm0, dword [rsi]
cvttss2si eax, xmm2
divss xmm6, xmm0
movss xmm0, dword [0x14017511c]
movaps xmm5, xmm0
subss xmm5, xmm6
addss xmm5, xmm0
cmp eax, 0x2d0
je 0x14001a114
add eax, 0xfffffd30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
jmp 0x14001a117
xorps xmm0, xmm0
ucomiss xmm4, xmm8
subss xmm3, dword [rsi + 4]
mulss xmm3, xmm5
divss xmm0, xmm3
jp 0x14001a12c
je 0x14001a152
ucomiss xmm4, xmm7
jp 0x14001a133
je 0x14001a152
cvttss2si eax, xmm4
cmp eax, 0x21c
je 0x14001a14e
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