Function at 0x1800151a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x12d0]
mov eax, 0x13d0
call fcn.180084af0
sub rsp, rax
mov rax, qword [0x1800a9010]
xor rax, rsp
mov qword [rbp + 0x12c0], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x28], edi
cmp byte [rcx + 0x30], dil
je 0x180014d64
cmp byte [0x1800ac610], dil
jne 0x180014d64
mov rax, qword [0x1800ac618]
mov rdx, qword [rax]
mov rcx, qword [0x1800ac608]
mov rax, qword [rcx]
mov r9, qword [rax + 0x2f8]
mov r8, qword [0x1800ac840]
call r9
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0xc0]
xor r8d, r8d
mov rdx, rax
call r9
test al, al
jne 0x180014957
cmp byte [rsi + 0x48], dil
je 0x180014d64
cmp byte [rsi + 0x40], dil
je 0x180014a8c
mov rax, qword [0x1800ac618]
mov rdx, qword [rax]
mov rcx, qword [0x1800ac608]
mov rax, qword [rcx]
mov r9, qword [rax + 0x2f8]
mov r8, qword [0x1800ac858]
call r9
mov rdi, rax
test rax, rax
je 0x1800149c8
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0xa8]
mov rdx, rax
call r8
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0xb8]
mov rdx, rdi
call rax
mov rdx, rbx
jmp 0x1800149d1
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor edx, edx
mov edi, 3
mov dword [rsp + 0x28], edi
mov rcx, qword [0x1800ac608]
mov rax, qword [rcx]
mov r9, qword [rax + 0x2f8]
mov r8, qword [0x1800ac6d0]
call r9
mov r15, rax
test rax, rax
je 0x180014a91
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0xf8]
mov rdx, rax
call r8
mov r14, rax
test rax, rax
je 0x180014a91
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x480]
lea r9, str.Lnet_minecraft_util_MovingObjectPosition_MovingObjectType_
lea r8, str.BLOCK
mov rdx, rax
call r10
test rax, rax
je 0x180014a91
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x488]
mov r8, rax
mov rdx, r14
call r9
test rax, rax
je 0x180014a91
mov rcx, qword [0x1800ac608]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0xc0]
mov r8, r15
mov rdx, rax
call r9
test al, al
je 0x180014a91
mov r14b, 1
jmp 0x180014a94
mov rbx, qword [rsp + 0x20]
xor r14b, r14b
test dil, 1
je 0x180014abc
mov rcx, qword [0x1800ac608]
test rcx, rcx
je 0x180014abc
test rbx, rbx
je 0x180014abc
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
mov rdx, rbx
call r8
nop
test r14b, r14b
jne 0x180014d64
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
mov rdi, rdx
sar rdi, 0xb
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov eax, dword [0x1800ab618]
test eax, eax
jne 0x180014afe
mov eax, edi
mov dword [0x1800ab618], eax
mov ecx, edi
sub ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x1800a9044]
cmp ecx, eax
jl 0x180014d64
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180014d64
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
call fcn.180002400
mov byte [rax + 0x9c], bl
movzx r9d, word [rsp + 0x2c]
shl r9d, 0x10
movzx eax, word [rsp + 0x28]
or r9, rax
mov r8d, ebx
mov edx, 0x201
mov rcx, qword [0x1800ac638]
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x2c]
shl r9d, 0x10
movzx eax, word [rsp + 0x28]
or r9, rax
xor r8d, r8d
mov edx, 0x202
mov rcx, qword [0x1800ac638]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp byte [rsi + 0x41], bl
jne 0x180014c0d
mov eax, dword [0x1800ab5fc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [rsi + 0x44]
jp 0x180014c05
jne 0x180014c05
movzx r9d, word [rsp + 0x2c]
shl r9d, 0x10
movzx eax, word [rsp + 0x28]
or r9, rax
mov edx, 0x204
lea r8d, [rbx + 1]
mov rcx, qword [0x1800ac638]
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x2c]
shl r9d, 0x10
movzx eax, word [rsp + 0x28]
or r9, rax
xor r8d, r8d
mov edx, 0x205
mov rcx, qword [0x1800ac638]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x1800ab5fc], 0
jmp 0x180014c0d
inc eax
mov dword [0x1800ab5fc], eax
mov dword [0x1800ab618], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov r9d, 0x270
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rsp + rbx*4 + 0x34], eax
inc rbx
cmp rbx, r9
jb 0x180014c30
mov dword [rsp + 0x30], r9d
cvttss2si ecx, dword [rsi + 0x3c]
cvttss2si edx, dword [rsi + 0x38]
lea eax, [rcx - 0x80000000]
mov r14d, 0x80000000
lea esi, [rcx + r14]
cmp ecx, r14d
cmovae esi, eax
lea eax, [rdx - 0x80000000]
lea ebx, [rdx + r14]
cmp edx, r14d
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x180014d02
lea r8, [rsp + 0x38]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x180014c90
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + rax*4 + 0x34]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12b4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov r8d, ecx
shr r8d, 0x12
xor r8d, ecx
jmp 0x180014d4a
inc ebx
lea rcx, [rsp + 0x30]
call fcn.180005d70
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x180014d46
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x180014d46
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.180005d70
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x180014d30
shr r8, 0x20
lea edx, [rsi + r8]
lea eax, [rdx + r14]
lea ecx, [rdx - 0x80000000]
cmp edx, r14d
cmovae ecx, eax
mov dword [0x1800a9044], ecx
mov rcx, qword [rbp + 0x12c0]
xor rcx, rsp
call fcn.180083910
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rcx + 8]
jmp 0x1800148b0