Function at 0x14002e360
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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 - 0x1360]
mov eax, 0x1460
call fcn.140034cb0
sub rsp, rax
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
lea rdx, str.Discord.exe
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov edx, 0xfffffff0
mov r8d, 0x90000000
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
xor r15d, r15d
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r15d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rcx, rsi
lea rdx, [r15 - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rsi
call fcn.14002ca80
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x14005fa70]
mov r8d, esi
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword gs:[0x58]
mov rbx, qword [0x14005fa70]
mov r14d, 4
add r14, qword [rax]
mov eax, dword [r14]
cmp dword [0x14005ff40], eax
jle 0x14002e474
lea rcx, [0x14005ff40]
call fcn.140033cd8
cmp dword [0x14005ff40], 0xffffffff
jne 0x14002e474
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140058da8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14005ff40]
mov qword [0x14005ff60], rax
call fcn.140033c6c
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x30], 0x13
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call qword [0x14005ff60]
mov eax, dword [r14]
cmp dword [0x14005ff20], eax
jle 0x14002e4ed
lea rcx, [0x14005ff20]
call fcn.140033cd8
cmp dword [0x14005ff20], 0xffffffff
jne 0x14002e4ed
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140058d60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14005ff20]
mov qword [0x14005ff30], rax
call fcn.140033c6c
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edi, 1
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov edx, edi
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x3c], eax
inc rdx
cmp rdx, 0x270
jb 0x14002e510
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x270
call fcn.140033a70
mov ecx, eax
add rcx, rcx
shr rcx, 0x20
test ecx, ecx
jne 0x14002e55f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Thread_is_created_with_default_flags__n
call fcn.1400332e0
mov qword [rsp + 0x28], r15
lea r8, [0x14002e280]
mov r9, rsi
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [0x14005ff30]
xor ecx, ecx
mov dword [rsp + 0x74], r15d
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x58], r15
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea rsi, str.Discord
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x70]
lea rax, [0x14002cca0]
mov qword [rbp - 0x50], rsi
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x14002e80d
mov ecx, edi
call fcn.14002c960
xor ecx, ecx
mov ebx, eax
call fcn.14002c960
mov qword [rsp + 0x58], r15
xor r8d, r8d
mov qword [rsp + 0x50], r15
mov rdx, rsi
mov qword [rsp + 0x48], r15
mov ecx, 0x80020
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r15d, 0x80000000
mov r9d, r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [r14]
mov rbx, rax
cmp dword [0x14005ff1c], ecx
mov qword [0x14005fa70], rax
jle 0x14002e68c
lea rcx, [0x14005ff1c]
call fcn.140033cd8
cmp dword [0x14005ff1c], 0xffffffff
jne 0x14002e68c
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.SetLayeredWindowAttributes
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14005ff1c]
mov qword [0x14005ff28], rax
call fcn.140033c6c
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1344], 0xffffffff
mov rdx, rdi
mov dword [rbp - 0x3c], eax
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x3c], eax
inc rdx
cmp rdx, 0x270
jb 0x14002e6b0
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x270
call fcn.140033a70
mov ecx, eax
add rcx, rcx
shr rcx, 0x20
test ecx, ecx
jne 0x14002e6ff
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Window_is_fully_opaque__n
call fcn.1400332e0
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rbx
call qword [0x14005ff28]
mov rcx, qword [0x14005fa70]
call fcn.14002ca80
mov rcx, qword [0x14005fa70]
lea rdx, [0x14003a498]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov eax, dword [r14]
cmp dword [0x14005ff04], eax
mov rbx, qword [0x14005fa70]
jle 0x14002e78a
lea rcx, [0x14005ff04]
call fcn.140033cd8
cmp dword [0x14005ff04], 0xffffffff
jne 0x14002e78a
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140058d38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14005ff04]
mov qword [0x14005ff38], rax
call fcn.140033c6c
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp - 0x3c], eax
mov dword [rbp + 0x1344], 0xffffffff
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edi
mov dword [rbp + rdi*4 - 0x3c], eax
inc rdi
cmp rdi, 0x270
jb 0x14002e7a0
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x270
call fcn.140033a70
mov ecx, eax
lea rdi, [rcx + rcx]
mov rcx, rbx
shr rdi, 0x20
add edi, r15d
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14002e804
lea eax, [rdi + r15]
test eax, eax
jne 0x14002e804
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Window_is_visible__n
call fcn.1400332e0
mov rcx, rbx
call qword [0x14005ff38]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140033c10
lea r11, [rsp + 0x1460]
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