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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov eax, 0x1490
call fcn.14009df70
sub rsp, rax
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rsi, rcx
xor edi, edi
mov dword [rbp + 0xc], edi
movabs rax, 0x716ae3d08e710564
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x8b11918505af42cf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x5701cc1eaf5e9f86
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x80de520572aa1b11
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xb6798c0afc08964e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x14009df722b3b065
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xd88f93a7a87c418c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x98ab9eba9240e6f8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x190d85b5ea126705
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xfb7effe869c428a6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x2f76ba6bdb2dedf7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xc69b164630eb6168
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xf834c041b641de09
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x4255c9a470e2e02a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xebbda297f22519db
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x98aba782a576d3cc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x60], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
vzeroupper
inc r8
cmp byte [rax + r8], dil
jne 0x140011756
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14000a400
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1444], 0xffffffff
mov dword [rbp + 0xc4], 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 + 0xc4], eax
inc rdx
cmp rdx, 0x270
jb 0x140011790
mov dword [rbp + 0xc0], 0x270
mov r13, qword [rbp + 0x20]
dec r13
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rbp + 0xc], 1
mov r14d, reloc.WS2_32.dll_recv
mov edx, r14d
mov rcx, rsi
call fcn.140025420
mov qword [rsi + 0x10], rdi
lea rax, [rbp + 0xc0]
mov qword [rbp], rax
mov r12, qword [rbp + 0x28]
mov r15, qword [rbp + 0x10]
movzx ebx, byte [rbp + 8]
nop dword [rax + rax]
cmp r13, 0xffffffffffffffff
jne 0x140011b6e
mov edx, dword [rbp + 0xc0]
cmp edx, 0x270
jne 0x140011887
lea rax, [rbp + 0xc8]
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140011840
mov edx, dword [rbp + 0xc0]
jmp 0x14001198a
cmp edx, 0x4e0
jb 0x14001198a
lea r9, [rbp + 0xa84]
mov r11d, 0xe3
mov r10d, dword [rbp + 0xa84]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x1400118b0
lea r9, [rbp + 0xe10]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xe10]
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140011910
mov edx, dword [rbp + 0x1440]
xor edx, dword [rbp + 0xc4]
btr edx, 0x1f
xor edx, dword [rbp + 0x1440]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x6f4]
mov dword [rbp + 0xa80], ecx
mov dword [rbp + 0xc0], edi
mov edx, edi
mov eax, edx
mov ecx, dword [rbp + rax*4 + 0xc4]
inc edx
mov dword [rbp + 0xc0], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1444]
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 edi, ecx
shr edi, 0x12
xor edi, ecx
shl rdi, 0x20
cmp edx, 0x270
jne 0x140011a24
lea r8, [rbp + 0xc8]
mov r9d, edx
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
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x1400119e0
mov edx, dword [rbp + 0xc0]
jmp 0x140011b2b
cmp edx, 0x4e0
jb 0x140011b2b
lea r9, [rbp + 0xa84]
mov r11d, 0xe3
mov r10d, dword [rbp + 0xa84]
nop dword [rax]
nop dword [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, eax
xor edx, r10d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x634]
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140011a50
lea r9, [rbp + 0xe10]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xe10]
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, eax
xor edx, r10d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 - 0xd4c]
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140011ab0
mov edx, dword [rbp + 0x1440]
xor edx, dword [rbp + 0xc4]
btr edx, 0x1f
xor edx, dword [rbp + 0x1440]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x6f4]
mov dword [rbp + 0xa80], ecx
mov dword [rbp + 0xc0], r11d
xor edx, edx
mov eax, edx
mov ecx, dword [rbp + rax*4 + 0xc4]
lea eax, [rdx + 1]
mov dword [rbp + 0xc0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1444]
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 eax, ecx
shr eax, 0x12
xor eax, ecx
or rdi, rax
jmp 0x140011b7e
lea rdx, [r13 + 1]
lea rcx, [rbp]
call fcn.14002d9a0
mov rdi, rax
lea rcx, [rbp + 0x10]
cmp r12, 0xf
cmova rcx, r15
movzx r9d, byte [rdi + rcx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140011bbb
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x140011bb0
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140011bcc
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.14000a510
sub r14, 1
mov edi, 0
jne 0x140011810
cmp r12, 0xf
jbe 0x140011c16
lea rdx, [r12 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140011c0e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011c0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14009d4d4
mov rax, rsi
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret