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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.140010b30
sub rsp, rax
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x1328], rax
mov r14, rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x30], r12d
mov r15d, 4
mov rax, qword gs:[0x58]
add r15, qword [rax]
mov eax, dword [r15]
cmp dword [0x14001ad20], eax
jle 0x140002bc0
lea rcx, [0x14001ad20]
call fcn.140010228
cmp dword [0x14001ad20], 0xffffffff
jne 0x140002bc0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1304], 0xffffffff
mov dword [rbp - 0x7c], eax
mov edx, 1
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x7c], eax
inc rdx
cmp rdx, 0x270
jb 0x140002910
mov dword [rbp - 0x80], 0x270
lea rcx, [rbp - 0x80]
call fcn.140007d30
mov ecx, eax
imul r8, rcx, 0x895440
cmp r8d, 0x1e04bf
ja 0x14000296c
lea rcx, [rbp - 0x80]
call fcn.140007d30
mov ecx, eax
imul r8, rcx, 0x895440
cmp r8d, 0x1e04c0
jb 0x140002951
shr r8, 0x20
add r8d, 0x800f4240
btc r8d, 0x1f
lea r9, [rbp + 0x1325]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140002990
lea r8, [rbp + 0x1325]
mov rdx, r9
lea rcx, [rsp + 0x58]
call fcn.1400078c0
nop
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
lea rsi, str.._Logs_Woof_Log
cmp rax, 0xf
jb 0x140002a71
lea rax, [r8 + 0xf]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x58]
lea rax, [0x1400139d7]
cmp rax, rbx
jbe 0x140002a2f
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140002a2f
cmp rbx, rsi
ja 0x140002a27
mov rdi, r12
jmp 0x140002a34
mov rdi, rbx
sub rdi, rsi
jmp 0x140002a34
mov edi, 0xf
lea rcx, [rbx + 0xf]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 0xf
sub r8, rdi
lea rdx, [rsi + 0xf]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x58]
jmp 0x140002a8e
mov qword [rsp + 0x28], 0xf
mov qword [rsp + 0x20], rsi
mov edx, 0xf
lea rcx, [rsp + 0x58]
call fcn.140007bb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..txt
lea rcx, [rsp + 0x38]
call fcn.140006250
xorps xmm0, xmm0
movups xmmword [0x14001ad00], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x14001ad10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [0x14001ad00], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x14001ad10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov edi, 0x1f
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002b54
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
movdqa xmm0, xmmword [0x140014520]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140002ba7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ba2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
lea rcx, [0x140012170]
call fcn.140010504
nop
lea rcx, [0x14001ad20]
call fcn.1400101bc
lea rsi, [0x14001ad30]
mov eax, dword [r15]
cmp dword [0x14001ae38], eax
jle 0x140002d3a
lea rcx, [0x14001ae38]
call fcn.140010228
cmp dword [0x14001ae38], 0xffffffff
jne 0x140002d3a
xor edx, edx
mov r8d, 0x108
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rbx, [0x14001ad00]
cmp qword [0x14001ad18], 0xf
cmova rbx, qword [0x14001ad00]
lea rax, [0x140013f00]
mov qword [0x14001ad30], rax
lea rcx, [0x14001add8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 0x20
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
lea rdi, [0x14001ad38]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [0x14001ad30]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rcx + rsi], r15
mov rax, qword [0x14001ad30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rcx + rsi - 4], edx
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [0x14001ad38], rax
mov byte [0x14001adb4], 0
mov byte [0x14001ada9], 0
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [0x14001adb8], r12
mov rax, qword [0x14001ace8]
mov qword [0x14001adac], rax
mov qword [0x14001ada0], r12
mov r8d, 0xa
mov rdx, rbx
mov rcx, rdi
call fcn.140006350
test rax, rax
jne 0x140002cfb
mov rax, qword [0x14001ad30]
movsxd rcx, dword [rax + 4]
add rcx, rsi
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [0x14001ad30]
movsxd rdx, dword [rax + 4]
mov qword [rdx + rsi], r15
mov rax, qword [0x14001ad30]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xa8]
mov dword [rdx + rsi - 4], r8d
lea rcx, [0x140012160]
call fcn.140010504
nop
lea rcx, [0x14001ae38]
call fcn.1400101bc
lea rcx, [rsp + 0x38]
call fcn.1400025e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002d53
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400079f0
lea rdx, [0x1400139d8]
mov rcx, rax
call fcn.140006b30
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140002d7b
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.1400079f0
lea rdx, [0x140006d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002dd7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001051c
mov rcx, qword [rbp + 0x1328]
xor rcx, rsp
call fcn.140010160
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret