Function at 0x140048e40
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
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1300]
mov eax, 0x1400
call fcn.14008ebb0
sub rsp, rax
mov rax, qword [0x1400ccbe0]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400491e0
nop
call fcn.140095c6c
mov r8d, 0xffffffff
mov dword [rbp + 0x12e4], r8d
mov dword [rsp + 0x64], eax
mov r13d, 1
mov edx, r13d
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x140048ec0
mov ebx, 0x270
mov dword [rsp + 0x60], ebx
mov eax, 0x40
mov r14, 0xffffffffffffffff
dec rax
shr r14, 1
cmp r14, r8
ja 0x140048ef4
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0x38], rsi
cmp rdi, rsi
je 0x140049198
lea rcx, [rdi + 0x40]
mov qword [rsp + 0x20], rcx
cmp rcx, rsi
je 0x140049175
lea r12, [r13 + 1]
nop word [rax + rax]
xor esi, esi
xor edi, edi
test r13, r13
je 0x1400490fc
lea r15, [rax - 1]
mov rcx, r15
shl rsi, cl
add rsi, rsi
nop word [rax + rax]
cmp ebx, 0x270
jne 0x140048fb5
lea rax, [rsp + 0x68]
mov r9d, ebx
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 0x140048f70
mov ebx, dword [rsp + 0x60]
jmp 0x1400490a3
cmp ebx, 0x4e0
jb 0x1400490a3
lea r10, [rbp + 0x924]
mov r11d, 0xe3
mov eax, dword [rbp + 0x924]
nop dword [rax]
nop dword [rax + rax]
lea r8, [r10 + 4]
mov edx, eax
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
mov eax, dword [r8]
jne 0x140048fe0
lea r10, [rbp + 0xcb0]
mov r11d, 0x18c
mov eax, dword [rbp + 0xcb0]
nop
lea r8, [r10 + 4]
mov edx, eax
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
mov eax, dword [r8]
jne 0x140049030
mov edx, dword [rbp + 0x12e0]
xor edx, dword [rsp + 0x64]
btr edx, 0x1f
xor edx, dword [rbp + 0x12e0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x594]
mov dword [rbp + 0x920], ecx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
mov eax, ebx
mov ecx, dword [rsp + rax*4 + 0x64]
inc ebx
mov dword [rsp + 0x60], ebx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12e4]
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
cmp rax, r14
ja 0x140048f60
or rsi, rax
mov rcx, r15
shl rdi, cl
add rdi, rdi
or rdi, r14
cmp rdi, r13
jb 0x140048f51
xor edx, edx
mov rax, rdi
div r12
mov rcx, rax
xor edx, edx
mov rax, rsi
div r12
cmp rax, rcx
jb 0x14004912a
xor edx, edx
mov rax, rdi
div r12
cmp rdx, r13
mov rax, qword [rsp + 0x28]
jne 0x140048f40
xor edx, edx
mov rax, rsi
div r12
cmp rdx, r13
je 0x14004914a
shl rdx, 6
add rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.140049350
mov r13, r12
mov rcx, qword [rsp + 0x20]
add rcx, 0x40
mov qword [rsp + 0x20], rcx
cmp rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
jne 0x140048f33
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
cmp rdi, rsi
je 0x140049198
nop word [rax + rax]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400491d2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
add rdi, 0x40
cmp rdi, rsi
jne 0x140049180
lea rcx, [rsp + 0x40]
call fcn.140048a00
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.14008dd70
lea r11, [rsp + 0x1400]
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
call fcn.140095150
nop
int3