Function at 0x180060480
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
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.1800648d0
sub rsp, rax
mov rax, qword [0x180082010]
xor rax, rsp
mov qword [rbp + 0x1330], rax
cmp byte [0x180097fe2], 0
je 0x18006041a
call fcn.1800162c0
test al, al
je 0x18006041a
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 ecx, dword [0x180098050]
test ecx, ecx
jne 0x18006016e
mov ecx, edi
mov dword [0x180098050], ecx
mov eax, edi
sub eax, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1800743f0]
divss xmm0, dword [0x1800820b4]
comiss xmm0, xmm1
ja 0x18006041a
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18006041a
cmp byte [0x18008205d], al
je 0x1800601bb
call fcn.180016e80
test al, al
je 0x18006041a
lea rdx, [rsp + 0x60]
call fcn.18005b6f0
nop
mov rcx, qword [0x180098038]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
call r9
test al, al
jne 0x1800603cc
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.180005380
mov rcx, rax
call fcn.1800163c0
test al, al
jne 0x1800603cc
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rsp + 0x5c]
shl r9d, 0x10
movzx eax, word [rsp + 0x58]
or r9, rax
mov ebx, 1
mov r8d, ebx
mov edx, 0x201
mov rcx, qword [0x180098138]
call qword [sym.imp.USER32.dll_SendMessageA]
movzx r9d, word [rsp + 0x5c]
shl r9d, 0x10
movzx eax, word [rsp + 0x58]
or r9, rax
xor r8d, r8d
mov edx, 0x202
mov rcx, qword [0x180098138]
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x180098050], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
mov r9d, 0x270
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rbp + rbx*4 - 0x5c], eax
inc rbx
cmp rbx, r9
jb 0x180060290
mov dword [rbp - 0x60], r9d
mov ecx, dword [0x180082064]
mov edx, dword [0x180082094]
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 0x180060361
lea r8, [rbp - 0x58]
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 0x1800602f0
mov eax, dword [rbp - 0x60]
mov ecx, dword [rbp + rax*4 - 0x5c]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1324]
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 0x1800603a9
inc ebx
lea rcx, [rbp - 0x60]
call fcn.18000c520
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x1800603a5
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x1800603a5
nop dword [rax]
lea rcx, [rbp - 0x60]
call fcn.18000c520
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x180060390
shr r8, 0x20
lea edx, [rsi + r8]
lea eax, [rdx + r14]
lea ecx, [rdx - 0x80000000]
cmp edx, r14d
cmovae ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1800820b4], xmm0
mov r8, qword [rsp + 0x78]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.1800073d0
mov edx, 0x48
mov rcx, qword [rsp + 0x78]
call fcn.180063ac4
mov r8, qword [rsp + 0x68]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.180007540
mov edx, 0x48
mov rcx, qword [rsp + 0x68]
call fcn.180063ac4
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.1800636e0
lea r11, [rsp + 0x1440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jmp 0x1800600e0