Function at 0x18008fe30
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, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
mov rax, qword [0x180118028]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
movzx eax, byte [rcx + 8]
mov byte [0x18011a147], al
movd xmm0, dword [rcx + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [0x1801180a0], xmm0
mov ecx, dword [rcx + 0xc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x18008ff05
mov dword [rsp + 0x78], 0x18
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x7c], xmm0
mov dword [rbp - 0x74], eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x18008fee5
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffff3caf
cmp rax, 0xc34e
jbe 0x18008ff05
cmp byte [0x18011ab40], r12b
jne 0x18008ff05
mov cl, 1
cmp byte [0x18011ab8c], r12b
jne 0x18008ff07
cmp byte [rdi + 8], r12b
sete al
mov byte [rdi + 8], al
jmp 0x18008ff07
xor cl, cl
mov byte [0x18011ab8c], cl
mov ecx, dword [0x180119e14]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
xorps xmm11, xmm11
mov eax, dword [r8 + rdx]
cmp dword [0x18011ef88], eax
jle 0x18008ffec
lea rcx, [0x18011ef88]
call fcn.1800aeeb8
cmp dword [0x18011ef88], 0xffffffff
jne 0x18008ffec
lea rcx, [0x18011b480]
call fcn.18008fc60
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm11
addss xmm0, xmm11
mulss xmm0, dword [0x180103c08]
mulss xmm0, dword [0x180103ee0]
addss xmm0, dword [0x180103ebc]
cvttss2si eax, xmm0
movsxd rbx, eax
mov qword [0x18011ef78], r12
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rsi, 0x989680
jne 0x18008ffb7
imul rax, rax, 0x64
jmp 0x18008ffd2
cqo
idiv rsi
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
add rax, r8
mov qword [0x18011ef78], rax
mov qword [0x18011ef80], rbx
lea rcx, [0x18011ef88]
call fcn.1800aee58
cmp byte [rdi + 8], r12b
je 0x1800908ce
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x180090014
imul rcx, rax, 0x64
jmp 0x18009002f
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
mov rdx, rcx
sub rdx, qword [0x18011ef78]
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x18011ef80]
je 0x180090076
mov r8d, 1
mov r9d, 0xff
cmovl r8d, r9d
test r8b, r8b
js 0x1800908ce
mov qword [0x18011ef78], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rcx, [rbp - 0x28]
call fcn.180068460
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.1800685a0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.180068740
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.1800688a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov rsi, qword [rbp - 0x10]
test rsi, rsi
jne 0x180090104
mov r14, r12
mov qword [rbp - 0x68], r12
mov rbx, qword [rbp - 0x18]
mov r13, rbx
mov qword [rbp - 0x70], rbx
lea r15d, [rsi + 4]
jmp 0x18009020b
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 0xc
lea rdx, str.keyBindSneak
lea rcx, [rsp + 0x28]
call fcn.1800655d0
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x18011b260]
call fcn.180078a70
mov rbx, qword [rbp - 0x18]
mov rcx, qword [rbx]
mov r9, qword [rcx + 0x2f8]
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call r9
mov rsi, rax
test rax, rax
je 0x1800901a4
mov rcx, qword [rbx]
mov r8, qword [rcx + 0xa8]
mov rdx, rax
mov rcx, rbx
call r8
mov r14, rax
mov qword [rbp - 0x68], rax
mov rcx, qword [rbx]
mov r8, qword [rcx + 0x740]
mov rdx, rsi
mov rcx, rbx
call r8
cmp eax, 1
jne 0x1800901ab
mov rcx, qword [rbx]
mov r8, qword [rcx + 0xb8]
mov rdx, rsi
mov rcx, rbx
call r8
jmp 0x1800901ab
mov r14, r12
mov qword [rbp - 0x68], r12
mov r13, rbx
mov qword [rbp - 0x70], rbx
mov r15d, 4
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800901f8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800901f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800901f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
movdqa xmm0, xmmword [0x180104080]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea rcx, [rbp - 0x40]
call fcn.18006a610
mov dword [0x18011ab88], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.18006a6e0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.180069d10
movss xmm0, dword [rsp + 0x4c]
cvtps2pd xmm0, xmm0
movsd xmm1, qword [0x180103ff8]
comisd xmm1, xmm0
jb 0x18009026a
movsd xmm2, qword [0x180103e50]
nop dword [rax]
addsd xmm0, xmm2
comisd xmm1, xmm0
jae 0x180090260
movsd xmm1, qword [0x180103e48]
comisd xmm0, xmm1
jbe 0x18009028a
movsd xmm2, qword [0x180104000]
addsd xmm0, xmm2
comisd xmm0, xmm1
ja 0x180090280
xorps xmm10, xmm10
cvtsd2ss xmm10, xmm0
lea rcx, [rbp - 0x60]
call fcn.18006b9d0
movaps xmm6, xmm0
lea rcx, [rbp - 0x60]
call fcn.18006b760
subss xmm6, xmm0
mulss xmm6, dword [0x180103c7c]
lea rcx, [rbp - 0x60]
call fcn.18006b760
movaps xmm9, xmm0
addss xmm9, xmm6
lea rcx, [rbp - 0x60]
call fcn.18006b690
movaps xmm8, xmm0
lea rcx, [rbp - 0x60]
call fcn.18006b830
movaps xmm6, xmm0
lea rcx, [rbp - 0x60]
call fcn.18006b5c0
subss xmm6, xmm0
mulss xmm6, dword [0x180103c7c]
lea rcx, [rbp - 0x60]
call fcn.18006b5c0
addss xmm0, xmm6
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x50], xmm9
subss xmm8, dword [0x180103c48]
movss dword [rsp + 0x4c], xmm8
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 8]
call fcn.18006c960
nop
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rbp - 0x48]
bt ax, 0xf
jae 0x180090361
lea rcx, [rbp - 0x40]
call fcn.18006a3a0
test al, al
je 0x180090361
cmp byte [rdi + 0x24], 0
jne 0x18009037c
cmp byte [rdi + 0x24], 0
jne 0x180090654
lea rcx, [rbp - 0x40]
call fcn.18006a3a0
test al, al
je 0x180090654
cmp byte [rdi + 0x25], 0
je 0x180090390
comiss xmm10, dword [0x180103eec]
jbe 0x180090654
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rcx, qword [0x18011ef38]
add rcx, 0x10
lea rdx, [rsp + 0x48]
call fcn.180068250
nop
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.18006b470
nop
cmp qword [0x18011ab38], 0
je 0x1800903e7
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1800903e7
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rsp + 0x50], r12
mov rsi, qword [rsp + 0x78]
mov r12, qword [rbp - 0x80]
test r12, r12
jne 0x1800903f9
xor al, al
jmp 0x18009042d
mov rax, qword [rsi]
mov r8, qword [rax + 0x30]
lea rdx, str.net_minecraft_item_ItemBlock
mov rcx, rsi
call r8
mov r8, rax
test rax, rax
je 0x18009042d
mov rax, qword [rsi]
mov r9, qword [rax + 0x100]
mov rdx, r12
mov rcx, rsi
call r9
test al, al
setne al
cmp byte [rdi + 0x26], 0
je 0x18009043b
test al, al
je 0x18009062a
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea r8d, [rax + 0x1c]
lea rdx, str.net_minecraft_block_BlockAir
lea rcx, [rsp + 0x28]
call fcn.1800655d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x180104080]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.180073cf0
nop
mov rdx, qword [0x18011ab38]
lea rcx, [rsp + 0x58]
call fcn.180078970
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1800904dd
mov r8, qword [rax]
test r8, r8
je 0x1800904dd
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov r9, qword [rax + 0x100]
call r9
cmp al, 1
sete byte [rsp + 0x20]
jmp 0x1800904e2
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180090523
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009051d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009051d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180090563
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009055e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009055e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
cmp byte [rsp + 0x20], 0
je 0x18009058d
mov byte [0x18011ab84], 1
mov dl, 1
lea rcx, [rbp - 0x70]
call fcn.1800692d0
lea rcx, [rbp - 0x40]
call fcn.18006a610
mov dword [0x18011ab80], eax
jmp 0x180090602
cmp byte [0x18011ab84], 0
je 0x18009062a
lea rcx, [0x18011b480]
call fcn.18008fc60
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm11
addss xmm0, xmm11
mulss xmm0, dword [0x180103c08]
mulss xmm0, dword [0x180103e1c]
subss xmm0, dword [0x180103cc4]
cvttss2si ecx, xmm0
mov eax, dword [rdi + 0x20]
add eax, ecx
cdq
xor eax, edx
sub eax, edx
mov ecx, dword [0x18011ab88]
sub ecx, dword [0x18011ab80]
cmp ecx, eax
jle 0x18009062a
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1800692d0
mov byte [0x18011ab84], 0
cmp qword [0x18011ab38], 0
je 0x180090625
test r12, r12
je 0x180090625
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, r12
mov rcx, rsi
call r8
nop
jmp 0x1800907c5
cmp qword [0x18011ab38], 0
je 0x18009064d
test r12, r12
je 0x18009064d
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, r12
mov rcx, rsi
call r8
nop
mov rsi, qword [rbp - 0x48]
xor r12d, r12d
cmp byte [0x18011ab84], 0
je 0x18009071a
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov r8d, 0x1c
lea rdx, str.net_minecraft_block_BlockAir
lea rcx, [rsp + 0x28]
call fcn.1800655d0
nop
mov dword [rsp + 0x48], 5
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x180104080]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.180073cf0
nop
mov r15d, 7
mov dword [rsp + 0x48], r15d
mov rdx, qword [0x18011ab38]
lea rcx, [rsp + 0x58]
call fcn.180078970
test rsi, rsi
je 0x180090715
mov r8, qword [rax]
test r8, r8
je 0x180090715
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov r9, qword [rax + 0x100]
mov rdx, rsi
call r9
cmp al, 1
sete al
test al, al
jne 0x18009071a
mov dil, 1
jmp 0x18009071d
xor dil, dil
test r15b, 2
je 0x180090768
and r15d, 0xfffffffd
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180090768
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090762
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180090762
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
nop
test r15b, 1
je 0x1800907ae
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800907ae
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800907a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800907a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800af594
test dil, dil
je 0x1800907cd
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1800692d0
mov byte [0x18011ab84], 0
mov r13, qword [rbp - 0x70]
mov r14, qword [rbp - 0x68]
cmp qword [0x18011ab38], 0
je 0x1800907f2
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1800907f2
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
cmp qword [0x18011ab38], 0
je 0x180090817
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x180090817
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
cmp qword [0x18011ab38], 0
je 0x18009083b
test r14, r14
je 0x18009083b
mov rax, qword [r13]
mov r8, qword [rax + 0xb0]
mov rdx, r14
mov rcx, r13
call r8
nop
cmp qword [0x18011ab38], 0
je 0x18009085f
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x18009085f
mov rax, qword [rbx]
mov r8, qword [rax + 0xb0]
mov rcx, rbx
call r8
nop
cmp qword [0x18011ab38], 0
je 0x180090884
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x180090884
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
cmp qword [0x18011ab38], 0
je 0x1800908a9
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x1800908a9
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
cmp qword [0x18011ab38], 0
je 0x1800908ce
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1800908ce
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800aed10
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret