Function at 0x180008b70
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
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.18004fa20
sub rsp, rax
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x1320], rax
xor edi, edi
mov dword [rsp + 0x78], edi
cmp byte [0x180065260], dil
je 0x180008da2
cmp byte [0x180064f80], dil
jne 0x180008da2
call fcn.18004c8b0
test al, al
jne 0x180008da2
cmp byte [0x1800642e8], dil
je 0x180008d9e
mov rdi, qword [0x180064f88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xf
lea rdx, str.objectMouseOver
lea rcx, [rsp + 0x58]
call fcn.1800018a0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
lea rcx, [rdi + 0x18]
call fcn.180009f40
mov rcx, qword [rax]
mov r10, qword [0x180064fa0]
mov rax, qword [r10]
mov r9, qword [rax + 0x2f8]
mov r8, qword [rcx + 0x40]
mov rdx, qword [rdi + 0x28]
mov rcx, r10
call r9
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.180008320
nop
lea rsi, vtable.CMovingObjectPosition.0
mov qword [rsp + 0x20], rsi
cmp byte [0x180065010], 0
jne 0x180008c6d
call fcn.180007bb0
mov rcx, qword [0x180065018]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x48], rbx
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180008cc8
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008cbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004ec28
mov rsi, qword [rsp + 0x20]
movdqa xmm0, xmmword [0x18005a780]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov edi, 3
mov dword [rsp + 0x78], edi
mov rbx, qword [0x180065008]
lea rcx, [rsp + 0x20]
call qword [rsi]
mov rcx, qword [0x180064fa0]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x2f8]
mov r8, rbx
mov rdx, rax
call r9
mov rsi, rax
test rax, rax
je 0x180008d9e
mov rcx, qword [0x180064fa0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0xf8]
mov rdx, rax
call r8
mov rbx, rax
test rax, rax
je 0x180008d9e
mov rcx, qword [0x180064fa0]
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 0x180008d9e
mov rcx, qword [0x180064fa0]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x488]
mov r8, rax
mov rdx, rbx
call r9
test rax, rax
je 0x180008d9e
mov rcx, qword [0x180064fa0]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0xc0]
mov r8, rsi
mov rdx, rax
call r9
test al, al
jne 0x180008da2
xor bl, bl
jmp 0x180008da4
mov bl, 1
test dil, 1
je 0x180008df8
mov r8, qword [rsp + 0x38]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180002240
mov edx, 0x48
mov rcx, qword [rsp + 0x38]
call fcn.18004ec28
mov r8, qword [rsp + 0x28]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.180002240
mov edx, 0x48
mov rcx, qword [rsp + 0x28]
call fcn.18004ec28
test bl, bl
jne 0x180009018
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 [0x1800650bc]
test eax, eax
jne 0x180008e39
mov eax, edi
mov dword [0x1800650bc], eax
mov ecx, edi
sub ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x1800640c4]
cmp ecx, eax
jl 0x180009018
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180009018
inc dword [0x1800650c4]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [0x1800642f0], 0
je 0x180008f18
mov eax, dword [0x1800650c4]
and eax, 0x80000001
jge 0x180008e99
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x180008f18
mov eax, edi
sub eax, dword [0x1800650c0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1800642ec]
mulss xmm0, dword [0x18005a6d4]
comiss xmm1, xmm0
jb 0x180008f18
movzx r9d, word [rsp + 0x7c]
shl r9d, 0x10
movzx eax, word [rsp + 0x78]
or r9, rax
mov edx, 0x204
mov r8d, 2
mov rcx, qword [0x180065258]
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x7c]
shl r9d, 0x10
movzx eax, word [rsp + 0x78]
or r9, rax
xor r8d, r8d
mov edx, 0x205
mov rcx, qword [0x180065258]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x1800650c0], edi
movzx r9d, word [rsp + 0x7c]
shl r9d, 0x10
movzx eax, word [rsp + 0x78]
or r9, rax
mov r8, rbx
mov edx, 0x201
mov rcx, qword [0x180065258]
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x7c]
shl r9d, 0x10
movzx eax, word [rsp + 0x78]
or r9, rax
xor r8d, r8d
mov edx, 0x202
mov rcx, qword [0x180065258]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x1800650bc], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rbp + rbx*4 - 0x6c], eax
inc rbx
cmp rbx, 0x270
jb 0x180008f80
mov dword [rbp - 0x70], 0x270
cvttss2si esi, dword [0x1800642f4]
btc esi, 0x1f
cvttss2si eax, dword [0x1800642e4]
btc eax, 0x1f
sub eax, esi
lea rcx, [rbp - 0x70]
cmp eax, 0xffffffff
jne 0x180008fd2
call fcn.180001400
mov ecx, eax
jmp 0x18000900b
lea ebx, [rax + 1]
call fcn.180001400
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x180009007
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x180009007
lea rcx, [rbp - 0x70]
call fcn.180001400
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x180008ff4
shr rcx, 0x20
lea eax, [rcx + rsi]
btc eax, 0x1f
mov dword [0x1800640c4], eax
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.18004e890
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret