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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1528]
mov eax, 0x1628
call fcn.140189c90
sub rsp, rax
movaps xmmword [rsp + 0x1610], xmm6
movaps xmmword [rsp + 0x1600], xmm7
xor edi, edi
mov dword [rbp - 0x38], edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov r14d, edi
mov qword [rbp - 0x70], rdi
mov rax, qword [r8 + 8]
mov ebx, 1
mov qword [rsp + 0x68], rbx
cmp qword [r8], rax
jne 0x1400e6d75
lea rdx, [rbp - 0x68]
call fcn.1400e7a10
nop
mov esi, ebx
jmp 0x1400e6d83
lea rdx, [rbp - 0x50]
call fcn.1400e7840
mov esi, 2
mov r13, qword [rax + 0x10]
mov qword [rsp + 0x78], r13
mov qword [rax + 0x10], rdi
mov r15, qword [rax + 8]
mov qword [rsp + 0x70], r15
mov qword [rax + 8], rdi
mov r12, qword [rax]
mov qword [rbp - 0x30], r12
mov qword [rax], rdi
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], r13
test sil, 2
je 0x1400e6e36
and esi, 0xfffffffd
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1400e6e36
mov rdi, qword [rbp - 0x48]
cmp rbx, rdi
je 0x1400e6ded
lea rcx, [rbx + 8]
call fcn.1400d2bc0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400e6dd7
mov rbx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400e6e20
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e6e20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1401896b8
xor edi, edi
mov qword [rbp - 0x50], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
test sil, 1
je 0x1400e6eaf
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x1400e6eaf
mov rdi, qword [rbp - 0x60]
cmp rbx, rdi
je 0x1400e6e66
nop
lea rcx, [rbx + 8]
call fcn.1400d2bc0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400e6e50
mov rbx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x58]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400e6e99
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e6e99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1401896b8
xor edi, edi
mov qword [rbp - 0x68], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xor edx, edx
mov r8d, 0xa0
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov rax, r15
sub rax, r12
sar rax, 5
mov qword [rsp + 0x48], rax
mov rsi, qword [rbp - 0x78]
test rax, rax
je 0x1400e702e
lea r13, [r12 + 8]
mov r12, qword [rbp + 0x1570]
nop dword [rax + rax]
mov r15, qword [r13 + 8]
mov rdi, qword [r13]
cmp rdi, r15
je 0x1400e7010
mov byte [rbp + 0x1580], 0
mov rbx, qword [r12 + 0x30]
mov rcx, qword [r12 + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x1580]
mov r8, qword [rbp + 0x1588]
mov rdx, qword [rdi + 8]
mov rcx, rbx
call fcn.140143000
test al, al
je 0x1400e6ffe
movups xmm1, xmmword [rdi]
movups xmmword [rbp + 0xf8], xmm1
movups xmm2, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x108], xmm2
movups xmm3, xmmword [rdi + 0x20]
movups xmmword [rbp + 0x118], xmm3
movups xmm4, xmmword [rdi + 0x30]
movups xmmword [rbp + 0x128], xmm4
movups xmm5, xmmword [rdi + 0x40]
movups xmmword [rbp + 0x138], xmm5
movups xmm6, xmmword [rdi + 0x50]
movups xmmword [rbp + 0x148], xmm6
movups xmm7, xmmword [rdi + 0x60]
movups xmmword [rbp + 0x158], xmm7
movsd xmm0, qword [rdi + 0x70]
movsd qword [rbp + 0x168], xmm0
mov rax, qword [r13 - 8]
mov qword [rbp + 0x170], rax
cmp rsi, r14
je 0x1400e6fd7
movups xmmword [rsi], xmm1
movups xmmword [rsi + 0x10], xmm2
movups xmmword [rsi + 0x20], xmm3
movups xmmword [rsi + 0x30], xmm4
movups xmmword [rsi + 0x40], xmm5
movups xmmword [rsi + 0x50], xmm6
movups xmmword [rsi + 0x60], xmm7
movups xmm0, xmmword [rbp + 0x168]
movups xmmword [rsi + 0x70], xmm0
sub rsi, 0xffffffffffffff80
mov qword [rbp - 0x78], rsi
jmp 0x1400e6ff2
lea r8, [rbp + 0xf8]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1400c08c0
mov r14, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x78]
movzx eax, byte [rbp + 0x1580]
inc qword [rbp + rax*8 + 0x40]
add rdi, 0x78
cmp rdi, r15
jne 0x1400e6f01
mov rax, qword [rsp + 0x48]
add r13, 0x20
sub rax, 1
mov qword [rsp + 0x48], rax
jne 0x1400e6ef0
mov r12, qword [rbp - 0x30]
mov r13, qword [rsp + 0x78]
xor edi, edi
mov ecx, socket
call fcn.14018967c
mov rbx, rax
mov qword [rbp - 0x50], rax
lea r15, [rax + 0x14]
mov qword [rbp - 0x40], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov dword [rbx + 0x10], eax
mov qword [rbp - 0x48], r15
mov ecx, edi
mov rax, rbx
cmp rbx, r15
je 0x1400e706c
mov byte [rax], cl
inc ecx
inc rax
cmp rax, r15
jne 0x1400e7060
lea rcx, [0x14023e010]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400e77c1
lea rdx, [rbp + 0x1580]
lea ecx, [rax + 4]
call fcn.14014dfa0
mov edi, dword [rbp + 0x1580]
lea rcx, [0x14023e010]
call sub.MSVCP140.dll__Mtx_unlock
mov edx, 0xffffffff
mov dword [rbp + 0x14fc], edx
mov dword [rbp + 0x17c], edi
mov ecx, 1
nop word [rax + rax]
mov eax, edi
shr eax, 0x1e
xor eax, edi
imul edi, eax, 0x6c078965
add edi, ecx
mov dword [rbp + rcx*4 + 0x17c], edi
inc rcx
cmp rcx, 0x270
jb 0x1400e70c0
mov dword [rbp + 0x178], 0x270
lea rax, [rbp + 0x178]
mov qword [rbp - 0x68], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
mov qword [rbp + 0x1580], rax
nop word [rax + rax]
dec rcx
shr rax, 1
cmp rax, rdx
ja 0x1400e7110
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rcx
lea r8, [rbp - 0x68]
mov rdx, r15
mov rcx, rbx
call fcn.1400c2e40
xor r8d, r8d
mov ecx, r8d
mov rdx, r15
sub rdx, rbx
je 0x1400e7166
mov r8, qword [rbp + 0x1590]
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
cmp qword [rbp + rax*8 + 0x40], r8
jae 0x1400e7163
inc rcx
cmp rcx, rdx
jb 0x1400e7150
xor r8d, r8d
cmp rcx, rdx
jne 0x1400e725e
mov rsi, qword [rbp + 0x1578]
mov qword [rsi], r8
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], r8
test rbx, rbx
je 0x1400e71ba
sub r15, rbx
cmp r15, 0x1000
jb 0x1400e71ae
add r15, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400e77ad
mov rbx, rcx
mov rdx, r15
mov rcx, rbx
call fcn.1401896b8
nop
test r12, r12
je 0x1400e721c
mov rbx, r12
mov rdi, qword [rsp + 0x70]
cmp r12, rdi
je 0x1400e71e2
nop dword [rax]
lea rcx, [rbx + 8]
call fcn.1400d2bc0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400e71d0
sub r13, r12
and r13, 0xffffffffffffffe0
cmp r13, 0x1000
jb 0x1400e7210
add r13, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x1400e77b4
mov r12, rcx
mov rdx, r13
mov rcx, r12
call fcn.1401896b8
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400e74da
sub r14, rcx
and r14, 0xffffffffffffff80
mov rax, rcx
cmp r14, 0x1000
jb 0x1400e74d2
add r14, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e77a6
jmp 0x1400e74d2
movzx edx, byte [rbx + rcx]
mov ecx, 1
test rdx, rdx
je 0x1400e7282
mov eax, edx
nop
lea rcx, [rcx + rcx*4]
add rcx, rcx
sub rax, 1
jne 0x1400e7270
mov qword [rsp + 0x68], rcx
cmp rdx, 0x13
je 0x1400e7296
lea rdi, [rcx + rcx*4]
add rdi, rdi
mov qword [rbp + 0x1580], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r8
mov rdx, qword [rbp + rdx*8 + 0x40]
movabs rax, 0x1ffffffffffffff
test rdx, rdx
je 0x1400e72ce
cmp rdx, rax
ja 0x1400e77c9
lea rcx, [rsp + 0x30]
call fcn.1400d2140
xor r8d, r8d
mov rcx, r8
mov qword [rsp + 0x48], rcx
mov r13, qword [rbp - 0x80]
sub rsi, r13
sar rsi, 7
mov rdx, qword [rsp + 0x38]
test rsi, rsi
je 0x1400e739b
mov rdi, r13
mov r13, qword [rbp + 0x1580]
mov r8, qword [rsp + 0x68]
nop
mov rax, qword [rdi + 8]
cmp rax, r8
jb 0x1400e737f
cmp rax, r13
jae 0x1400e737f
cmp rdx, qword [rsp + 0x40]
je 0x1400e7363
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm1, xmmword [rdi + 0x70]
movups xmmword [rdx + 0x70], xmm1
mov rdx, qword [rsp + 0x38]
sub rdx, 0xffffffffffffff80
mov qword [rsp + 0x38], rdx
jmp 0x1400e737f
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.1400c08c0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x68]
inc rcx
mov qword [rsp + 0x48], rcx
sub rdi, 0xffffffffffffff80
cmp rcx, rsi
jb 0x1400e7300
mov r13, qword [rbp - 0x80]
xor r8d, r8d
mov rsi, rdx
mov rcx, qword [rsp + 0x30]
sub rsi, rcx
sar rsi, 7
mov rdi, qword [rbp + 0x1598]
cmp rsi, rdi
ja 0x1400e7501
movzx r9d, byte [rbp + 0x1580]
mov r8, rsi
call fcn.1400c3bc0
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x40], r8
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r8
mov rsi, qword [rbp + 0x1578]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
test rbx, rbx
je 0x1400e7436
sub r15, rbx
cmp r15, 0x1000
jb 0x1400e742a
add r15, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400e77ad
mov rbx, rcx
mov rdx, r15
mov rcx, rbx
call fcn.1401896b8
nop
test r12, r12
je 0x1400e749e
mov rbx, r12
mov rdi, qword [rsp + 0x70]
cmp r12, rdi
je 0x1400e7462
nop dword [rax + rax]
lea rcx, [rbx + 8]
call fcn.1400d2bc0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400e7450
mov rdx, qword [rsp + 0x78]
sub rdx, r12
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400e7495
add rdx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x1400e77b4
mov r12, rcx
mov rcx, r12
call fcn.1401896b8
nop
test r13, r13
je 0x1400e74da
sub r14, r13
and r14, 0xffffffffffffff80
mov rax, r13
cmp r14, 0x1000
jb 0x1400e74cf
add r14, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e77a6
mov rcx, r13
mov rdx, r14
call fcn.1401896b8
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1610]
movaps xmm7, xmmword [rsp + 0x1600]
add rsp, 0x1628
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [rbp - 0x20]
mov qword [rbp + 0x1580], rax
xorps xmm0, xmm0
movss dword [rbp - 0x20], xmm0
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x10], r8
mov ecx, 0x20
call fcn.14018967c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], 0
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], 7
mov qword [rbp + 0x18], 8
movss xmm0, dword [0x1401dd480]
movss dword [rbp - 0x20], xmm0
mov r8, rax
mov edx, 0x10
lea rcx, [rbp - 8]
call fcn.1400bab80
nop
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
test rdi, rdi
je 0x1400e762a
movabs rax, 0x1ffffffffffffff
cmp rdi, rax
ja 0x1400e77bb
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400d2140
lea rcx, [rbp - 0x20]
call fcn.1400ce9f0
shl rax, 7
add rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x1400e7617
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx + 0x70], xmm1
sub qword [rsp + 0x58], 0xffffffffffffff80
jmp 0x1400e7624
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.1400c08c0
sub rdi, 1
jne 0x1400e75b3
mov rdx, qword [rsp + 0x58]
mov r8, rdx
mov rcx, qword [rsp + 0x50]
sub r8, rcx
sar r8, 7
movzx r9d, byte [rbp + 0x1580]
call fcn.1400c3bc0
mov rdx, qword [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov rsi, qword [rbp + 0x1578]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
lea rcx, [rbp - 0x20]
call fcn.1400cc6b0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400e76d8
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffff80
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e76c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e76c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401896b8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
test rbx, rbx
je 0x1400e7711
sub r15, rbx
cmp r15, 0x1000
jb 0x1400e7705
add r15, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400e77ad
mov rbx, rcx
mov rdx, r15
mov rcx, rbx
call fcn.1401896b8
nop
test r12, r12
je 0x1400e776d
mov rbx, r12
mov rdi, qword [rsp + 0x70]
cmp r12, rdi
je 0x1400e7735
lea rcx, [rbx + 8]
call fcn.1400d2bc0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400e7723
mov rdx, qword [rsp + 0x78]
sub rdx, r12
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400e7764
add rdx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x1400e77b4
mov r12, rcx
mov rcx, r12
call fcn.1401896b8
nop
test r13, r13
je 0x1400e74da
sub r14, r13
and r14, 0xffffffffffffff80
mov rax, r13
cmp r14, 0x1000
jb 0x1400e74cf
add r14, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e74cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400090f0
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
call fcn.1400090f0
int3