Function at 0x180046750
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov rax, qword [0x180060040]
xor rax, rsp
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp byte [0x1800879b7], 0
mov r15, rax
je 0x1800470a8
cmp byte [0x1800879ca], 0
mov qword [rsp + 0x1c8], r12
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x130], xmm11
movaps xmmword [rsp + 0x100], xmm14
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1c0], rdi
movaps xmmword [rsp + 0x180], xmm6
je 0x180046850
mov rdx, qword [0x180087990]
lea rcx, str.FirstPersonCamera
mov rbx, qword [0x1800879e0]
call rdx
mov rcx, rax
call rbx
mov rdi, rax
test rax, rax
je 0x180046850
mov rdx, qword [0x180087990]
lea rcx, str.Camera
mov rbx, qword [0x1800879f0]
call rdx
mov rdx, rax
mov rcx, rdi
call rbx
mov rbx, rax
test rax, rax
je 0x180046850
mov r9, qword [0x180087948]
lea rdx, str.set_fieldOfView
mov rcx, qword [rax]
mov r8d, 0xffffffff
movss xmm6, dword [0x1800602d4]
call r9
test rax, rax
je 0x180046850
mov rax, qword [rax]
test rax, rax
je 0x180046850
movaps xmm1, xmm6
mov rcx, rbx
call rax
cmp byte [0x1800879cc], 0
movss xmm14, dword [0x180057288]
je 0x180046983
cmp byte [0x1800879cb], 0
movups xmm0, xmmword [0x180086fd0]
movups xmmword [rsp + 0x50], xmm0
je 0x1800468ad
movss xmm0, dword [0x180087ce8]
movss xmm1, dword [0x180087cec]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x180087cf0]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x54], xmm1
mov dword [rsp + 0x5c], 0x3f800000
movss xmm2, dword [0x180087d00]
lea rcx, [rsp + 0x50]
subss xmm2, dword [0x18005730c]
movss xmm1, dword [0x180087d04]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x4c], xmm1
movaps xmm0, xmm2
movss dword [rsp + 0x48], xmm2
addss xmm0, dword [0x18005731c]
movss dword [rsp + 0x40], xmm0
call fcn.180005200
mov rcx, qword [0x180087aa8]
lea r8, [rsp + 0x40]
movss xmm6, dword [0x180057290]
lea rdx, [rsp + 0x48]
add rcx, 0x1de8
movss dword [rsp + 0x20], xmm6
mov r9d, eax
mov ebx, eax
call fcn.1800237d0
movss xmm1, dword [0x180087d04]
lea r8, [rsp + 0x48]
subss xmm1, dword [0x18005730c]
movss xmm2, dword [0x180087d00]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x180087aa8]
mov r9d, ebx
add rcx, 0x1de8
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x40], xmm2
movaps xmm0, xmm1
movss dword [rsp + 0x44], xmm1
addss xmm0, dword [0x18005731c]
movss dword [rsp + 0x20], xmm6
movss dword [rsp + 0x4c], xmm0
call fcn.1800237d0
movss xmm11, dword [0x180057250]
xor r12d, r12d
cmp byte [0x1800600b6], r12b
xorps xmm7, xmm7
je 0x180046a48
movaps xmm0, xmmword [0x1800574c0]
lea rcx, [rsp + 0x50]
mov rbx, qword [0x180087aa8]
movups xmmword [rsp + 0x50], xmm0
call fcn.180005200
movss xmm0, dword [0x180087d00]
mov edi, eax
movss xmm1, dword [0x180087d04]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
test eax, 0xff000000
je 0x180046a48
movss xmm2, dword [0x1800602d8]
lea rdx, [rsp + 0x48]
movss xmm0, dword [0x180057304]
subss xmm2, xmm11
mov dword [rsp + 0x28], 0x167
lea rcx, [rbx + 0x1de8]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
call fcn.180023240
mov r8d, dword [rbx + 0x1e68]
lea rcx, [rbx + 0x1de8]
mov rdx, qword [rbx + 0x1e70]
mov r9d, edi
movss dword [rsp + 0x28], xmm14
mov byte [rsp + 0x20], 1
call fcn.180021b70
mov dword [rbx + 0x1e68], r12d
mov rax, qword [0x180087d10]
mov rcx, qword [0x180087d08]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x180047059
mov qword [rsp + 0x1b8], rsi
mov rdx, r12
mov qword [rsp + 0x190], r14
mov esi, r12d
movaps xmmword [rsp + 0x120], xmm12
mov r14, r12
movss xmm12, dword [0x1800572d4]
movaps xmmword [rsp + 0x110], xmm13
movss xmm13, dword [0x180057520]
movaps xmmword [rsp + 0xf0], xmm15
movss xmm15, dword [0x180057238]
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
movaps xmmword [rsp + 0x140], xmm10
cmp qword [r14 + rcx], r12
je 0x180046ff3
mov rax, qword [0x180087a10]
mov rcx, qword [rcx + rdx*8]
mov dword [0x180087b34], esi
call rax
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x3c], r12
mov rcx, rax
mov dword [rbp - 0x40], r12d
call qword [0x180087a60]
cmp byte [0x1800879b6], r12b
je 0x180046d8c
movss xmm0, dword [rbp - 0x40]
lea rdx, [rsp + 0x40]
movss xmm1, dword [rbp - 0x3c]
lea rcx, [rbp - 0x60]
subss xmm1, xmm15
movss dword [rbp - 0x60], xmm0
movss xmm0, dword [rbp - 0x38]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x5c], xmm1
call fcn.180044940
test al, al
je 0x180046d8c
cmp byte [0x1800879c9], r12b
movups xmm0, xmmword [0x180086fe0]
movups xmmword [rsp + 0x50], xmm0
je 0x180046b8f
movss xmm0, dword [0x180087ce8]
movss xmm1, dword [0x180087cec]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x180087cf0]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x54], xmm1
mov dword [rsp + 0x5c], 0x3f800000
mov ecx, dword [0x1800602dc]
sub ecx, 1
je 0x180046d1e
sub ecx, 1
je 0x180046cb0
sub ecx, 1
je 0x180046c1f
cmp ecx, 1
jne 0x180046d8c
lea rcx, str.___FSI____Line_variant_4_is_buggy._n
call fcn.180002f00
movss xmm0, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
movss xmm1, dword [rsp + 0x44]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
mov dword [rsp + 0x60], 0x40000000
mov dword [rsp + 0x64], 0x40000000
call fcn.180005200
mov rcx, qword [0x180087aa8]
lea r8, [rsp + 0x48]
add rcx, 0x1d40
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea rdx, [rsp + 0x60]
call fcn.1800237d0
jmp 0x180046d8c
mov rbx, qword [0x180087aa8]
lea rcx, [rsp + 0x50]
call fcn.180005200
movss xmm0, dword [0x180087d00]
mov edi, eax
movss xmm1, dword [0x180087d04]
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
test eax, 0xff000000
je 0x180046d8c
movss xmm0, dword [0x1800572f8]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x28], 0xb
lea rcx, [rbx + 0x1d40]
movaps xmm3, xmm7
movss dword [rsp + 0x20], xmm0
movaps xmm2, xmm12
call fcn.180023240
mov r8d, dword [rbx + 0x1dc0]
lea rcx, [rbx + 0x1d40]
mov rdx, qword [rbx + 0x1dc8]
mov r9d, edi
call fcn.180022a50
mov dword [rbx + 0x1dc0], r12d
jmp 0x180046d8c
movss xmm0, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
movss xmm1, dword [rsp + 0x44]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [0x180087d00]
movss dword [rsp + 0x74], xmm1
movss xmm1, dword [0x180087d04]
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
call fcn.180005200
mov rcx, qword [0x180087aa8]
lea r8, [rsp + 0x70]
movss xmm0, dword [0x1800572a0]
lea rdx, [rsp + 0x78]
add rcx, 0x1d40
movss dword [rsp + 0x20], xmm0
mov r9d, eax
call fcn.1800237d0
jmp 0x180046d8c
movss xmm0, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
movss xmm1, dword [rsp + 0x44]
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [0x180087d00]
movss dword [rbp - 0x7c], xmm1
movss xmm1, dword [0x180087cfc]
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
call fcn.180005200
mov rcx, qword [0x180087aa8]
lea r8, [rbp - 0x80]
movss dword [rsp + 0x30], xmm14
lea rdx, [rbp - 0x78]
add rcx, 0x1d40
mov dword [rsp + 0x28], 0xf
mov r9d, eax
movss dword [rsp + 0x20], xmm11
call fcn.180023930
cmp byte [0x1800879c8], r12b
je 0x180046fec
movss xmm0, dword [0x180087ab4]
ucomiss xmm0, xmm7
jp 0x180046dc3
jne 0x180046dc3
movss xmm0, dword [0x180087b30]
ucomiss xmm0, xmm7
jp 0x180046dc3
jne 0x180046dc3
lea rcx, str.__AIMBOT___Set_resolution_first._Otherwise_it_will_crash_n
call fcn.180002f00
movsxd rcx, dword [0x180087b34]
mov rax, qword [0x180087d08]
mov rdx, qword [0x180087a10]
mov rcx, qword [rax + rcx*8]
call rdx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x2c], r12
mov rcx, rax
mov dword [rbp - 0x30], r12d
call qword [0x180087a60]
mov rax, qword [0x180087990]
lea rcx, str.FirstPersonCamera
movss xmm9, dword [rbp - 0x30]
movss xmm10, dword [rbp - 0x2c]
movss xmm6, dword [rbp - 0x28]
mov rbx, qword [0x1800879e0]
call rax
mov rcx, rax
call rbx
mov rdx, qword [0x180087990]
lea rcx, str.Camera
mov rdi, qword [0x1800879f0]
mov rbx, rax
call rdx
mov rdx, rax
mov rcx, rbx
call rdi
mov rax, qword [0x180087990]
lea rcx, str.Player
mov rbx, qword [0x1800879e0]
call rax
mov rcx, rax
call rbx
lea rdx, [rbp - 0x70]
movss dword [rbp - 0x50], xmm9
lea rcx, [rbp - 0x50]
movss dword [rbp - 0x4c], xmm10
movss dword [rbp - 0x48], xmm6
call fcn.180044940
test al, al
je 0x180046fec
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm6, dword [rbp - 0x6c]
movss xmm8, dword [rbp - 0x70]
test ax, ax
je 0x180046fab
cvttss2si eax, dword [0x1800602e0]
movss xmm4, dword [0x180087ab4]
movaps xmm3, xmm7
movss xmm5, dword [0x180087b30]
add eax, 3
ucomiss xmm8, xmm7
mulss xmm4, xmm11
movaps xmm2, xmm7
mulss xmm5, xmm11
jp 0x180046ed6
je 0x180046f31
comiss xmm8, xmm4
jbe 0x180046f09
movaps xmm3, xmm4
movd xmm0, eax
subss xmm3, xmm8
cvtdq2ps xmm0, xmm0
xorps xmm3, xmm13
divss xmm3, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm3
addss xmm0, xmm4
addss xmm1, xmm4
comiss xmm1, xmm0
jbe 0x180046f09
movaps xmm3, xmm7
comiss xmm4, xmm8
jbe 0x180046f31
movaps xmm3, xmm8
movd xmm0, eax
subss xmm3, xmm4
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
movaps xmm1, xmm3
addss xmm1, xmm4
comiss xmm7, xmm1
jbe 0x180046f31
movaps xmm3, xmm7
ucomiss xmm6, xmm7
jp 0x180046f38
je 0x180046f8f
comiss xmm6, xmm5
jbe 0x180046f69
movaps xmm2, xmm5
movd xmm0, eax
subss xmm2, xmm6
cvtdq2ps xmm0, xmm0
xorps xmm2, xmm13
divss xmm2, xmm0
movaps xmm0, xmm5
movaps xmm1, xmm2
addss xmm0, xmm5
addss xmm1, xmm5
comiss xmm1, xmm0
jbe 0x180046f69
movaps xmm2, xmm7
comiss xmm5, xmm6
jbe 0x180046f8f
movaps xmm2, xmm6
movd xmm0, eax
subss xmm2, xmm5
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movaps xmm1, xmm2
addss xmm1, xmm5
comiss xmm7, xmm1
jbe 0x180046f8f
movaps xmm2, xmm7
xor r9d, r9d
mov qword [rsp + 0x20], r12
cvttss2si r8, xmm2
lea ecx, [r9 + 1]
cvttss2si rdx, xmm3
call qword [sym.imp.USER32.dll_mouse_event]
movss xmm0, dword [0x1800602e0]
lea rcx, str.RPX:__f__RPY:__f__PX:__f__PY:__f__SMOOTHING:__i__n
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm8
cvtps2pd xmm2, xmm10
cvtps2pd xmm1, xmm9
cvtps2pd xmm4, xmm6
movsd qword [rsp + 0x28], xmm0
movq r9, xmm3
movq r8, xmm2
movsd qword [rsp + 0x20], xmm4
movq rdx, xmm1
call fcn.180002f00
mov rcx, qword [0x180087d08]
mov rax, qword [0x180087d10]
inc esi
sub rax, rcx
movsxd rdx, esi
sar rax, 3
add r14, 8
cmp rdx, rax
jb 0x180046ad0
movaps xmm15, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm10, xmmword [rsp + 0x140]
movaps xmm9, xmmword [rsp + 0x150]
movaps xmm8, xmmword [rsp + 0x160]
mov r14, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x1b8]
movaps xmm14, xmmword [rsp + 0x100]
mov eax, r15d
sub eax, dword [0x180087cd0]
movaps xmm11, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
mov r12, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x1b0]
cmp eax, 5
jbe 0x1800470a8
mov dword [0x180087cd0], r15d
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.180048980
add rsp, 0x198
pop r15
pop rbp
ret