Function at 0x14002de60
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.140034a20
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 r14, 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 rdx, 0xffffffffffffffff
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, r14
call fcn.14002c590
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x14005fa70]
mov r8d, r14d
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rax, qword gs:[0x58]
mov rbx, qword [0x14005fa70]
mov esi, 4
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x14005ff40], eax
jle 0x14002df75
lea rcx, [0x14005ff40]
call fcn.140033928
cmp dword [0x14005ff40], 0xffffffff
jne 0x14002df75
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.1400338bc
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 [rsi]
cmp dword [0x14005ff20], eax
jle 0x14002dfed
lea rcx, [0x14005ff20]
call fcn.140033928
cmp dword [0x14005ff20], 0xffffffff
jne 0x14002dfed
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.1400338bc
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 0x14002e010
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x270
call fcn.1400336c0
test eax, eax
js 0x14002e056
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.140032f00
mov qword [rsp + 0x28], r15
lea r8, [0x14002dd80]
mov r9, r14
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 r14, str.Discord
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x70]
lea rax, [0x14002c7a0]
mov qword [rbp - 0x50], r14
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x14002e2ee
mov ecx, edi
call fcn.14002c480
xor ecx, ecx
mov ebx, eax
call fcn.14002c480
mov qword [rsp + 0x58], r15
mov r9d, 0x80000000
mov qword [rsp + 0x50], r15
xor r8d, r8d
mov qword [rsp + 0x48], r15
mov rdx, r14
mov qword [rsp + 0x40], r15
mov ecx, 0x80020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [rsi]
mov rbx, rax
cmp dword [0x14005ff1c], ecx
mov qword [0x14005fa70], rax
jle 0x14002e17f
lea rcx, [0x14005ff1c]
call fcn.140033928
cmp dword [0x14005ff1c], 0xffffffff
jne 0x14002e17f
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.1400338bc
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 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 0x14002e1a0
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x270
call fcn.1400336c0
test eax, eax
js 0x14002e1e6
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.140032f00
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rbx
call qword [0x14005ff28]
mov rcx, qword [0x14005fa70]
call fcn.14002c590
mov rcx, qword [0x14005fa70]
lea rdx, [0x14003a498]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov eax, dword [rsi]
cmp dword [0x14005ff04], eax
mov rbx, qword [0x14005fa70]
jle 0x14002e270
lea rcx, [0x14005ff04]
call fcn.140033928
cmp dword [0x14005ff04], 0xffffffff
jne 0x14002e270
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.1400338bc
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]
nop word [rax + 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 0x14002e290
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x270
call fcn.1400336c0
mov rcx, rbx
mov edi, eax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14002e2e5
test edi, edi
js 0x14002e2e5
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.140032f00
mov rcx, rbx
call qword [0x14005ff38]
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140033860
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