Function at 0x140077e80
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 - 0x1390]
mov eax, 0x1490
call fcn.140262aa0
sub rsp, rax
movaps xmmword [rsp + 0x1480], xmm6
movaps xmmword [rsp + 0x1470], xmm7
movaps xmmword [rsp + 0x1460], xmm8
mov rax, qword [0x14037f670]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [0x140346f50]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [0x140346f60]
movups xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [0x140346f70]
movups xmmword [rsp + 0x78], xmm0
movsd xmm1, qword [0x140346f80]
movsd qword [rbp - 0x78], xmm1
mov eax, dword [0x140346f88]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140346f8c]
mov word [rbp - 0x6c], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
mov byte [rbp - 0x6a], al
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140078097
movdqa xmm5, xmmword [0x14034eac0]
movdqa xmm4, xmmword [0x14034fa50]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x14034eb00]
mov eax, Ordinal_32
movd xmm8, eax
movdqa xmm0, xmmword [0x14034ebb0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14034eb80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14034eb80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x140077f90
cmp r8d, 0x3f
jge 0x1400780e0
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3f
jl 0x1400780b0
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
lea rax, [rsp + 0x58]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140078103
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14007c9b0
nop
call fcn.1402608d4
mov edx, eax
mov r11d, 0xffffffff
mov dword [rbp + 0x1344], r11d
mov dword [rbp - 0x3c], eax
mov r15d, 1
mov ecx, r15d
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x3c], edx
inc rcx
cmp rcx, 0x270
jb 0x140078140
mov dword [rbp - 0x40], 0x270
lea rdx, [rbp - 0x68]
mov r9, qword [rbp - 0x68]
mov r10, qword [rbp - 0x50]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, qword [rbp - 0x58]
add rdx, rcx
mov qword [rsp + 0x48], rdx
lea r8, [rbp - 0x68]
cmp r10, 0x10
cmovae r8, r9
mov qword [rsp + 0x20], r8
mov r13d, 0x40
nop dword [rax]
lea r13, [r13 - 1]
shr rsi, 1
cmp rsi, r11
ja 0x1400781a0
cmp r8, rdx
je 0x140078294
lea rax, [r8 + 1]
cmp rax, rdx
je 0x140078294
mov rcx, r15
sub rcx, r8
mov qword [rsp + 0x30], rcx
nop dword [rax]
lea rax, [r15 + r8]
mov qword [rsp + 0x40], rax
lea r12, [rax + rcx]
nop dword [rax]
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x140078225
nop dword [rax]
lea rcx, [r13 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
lea rcx, [rbp - 0x40]
call fcn.140087720
mov eax, eax
cmp rax, rsi
ja 0x140078200
or rdi, rax
lea rcx, [r13 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x1400781f0
xor edx, edx
mov rax, rbx
div r12
mov r8, rdx
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x140078245
cmp r8, r15
jne 0x1400781e0
xor edx, edx
mov rax, rdi
div r12
mov r8, qword [rsp + 0x20]
cmp rdx, r15
je 0x14007826c
mov r9, qword [rsp + 0x40]
movzx ecx, byte [r9]
movzx eax, byte [rdx + r8]
mov byte [r9], al
mov byte [rdx + r8], cl
inc r15
lea rax, [r15 + r8]
cmp rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
jne 0x1400781d0
mov r10, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x68]
mov rbx, qword [rsp + 0x50]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp - 0x68]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, rbx
call fcn.14007c9b0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140078300
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400782fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078342
call fcn.140261c34
mov rax, rbx
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140261c10
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140276034
int3