Function at 0x1400d3720
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 - 0x1360]
mov eax, 0x1460
call fcn.140279ed0
sub rsp, rax
mov rax, qword [0x1403a1b88]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov esi, r8d
mov ebx, edx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x20], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov edx, 0x40
lea rcx, [rbp - 0x68]
call fcn.1400c3b00
mov r13, rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], 0x3e
mov qword [rbp - 0x50], 0x3f
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402c92c8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402c92d8]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1402c92e8]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1402c92f0]
mov dword [r13 + 0x38], eax
movzx eax, word [0x1402c92f4]
mov word [r13 + 0x3c], ax
mov byte [r13 + 0x3e], 0
call fcn.14027c160
mov edx, eax
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov ecx, 1
nop word [rax + 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 0x1400d3800
mov dword [rbp - 0x40], 0x270
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor edi, edi
mov qword [rbp - 0x78], rdi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x70], r15
mov byte [rsp + 0x78], dil
test ebx, ebx
jle 0x1400d38db
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.1400c2900
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x1400d3885
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.1400c2900
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x1400d3870
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + r13]
cmp rdi, r15
jae 0x1400d38b8
lea rax, [rdi + 1]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp r15, 0x10
cmovae rax, qword [rsp + 0x78]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x1400d38c9
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x78]
call fcn.1400b0ee0
sub rbx, 1
mov r15, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
jne 0x1400d3854
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x58], bl
test esi, esi
jle 0x1400d398e
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400c2900
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x1400d393a
lea rcx, [rsp + 0x20]
call fcn.1400c2900
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x1400d3925
shr rax, 0x20
cdqe
movzx r9d, byte [rax + r13]
cmp rbx, r14
jae 0x1400d396d
lea rax, [rbx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp r14, 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x1400d397e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x58]
call fcn.1400b0ee0
sub rsi, 1
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
jne 0x1400d3910
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rdi
cmp rax, 1
jb 0x1400d3bf1
lea rdx, [rsp + 0x78]
mov r13, qword [rsp + 0x78]
cmp r15, 0x10
cmovae rdx, r13
mov qword [rsp + 0x20], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rdi + 1]
mov esi, reloc.WS2_32.dll_ntohs
lea r12, [rsp + 0x28]
cmp rax, rsi
jbe 0x1400d3a75
mov rsi, rax
or rsi, 0xf
cmp rsi, rcx
jbe 0x1400d3a2d
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140279b90
test rax, rax
je 0x1400d3bf7
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
lea rax, [rdi + 1]
mov rdx, qword [rsp + 0x20]
jmp 0x1400d3a70
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rsi, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400d3a55
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400d3beb
jmp 0x1400d3a04
test rcx, rcx
je 0x1400d3a6d
call fcn.140279b90
mov r12, rax
lea rax, [rdi + 1]
mov rdx, qword [rsp + 0x20]
jmp 0x1400d3a70
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov r8, rdi
mov rcx, r12
call fcn.14027d780
mov byte [rdi + r12], reloc.WLDAP32.dll_Ordinal_46
mov byte [r12 + rdi + 1], 0
lea rdx, [rsp + 0x58]
cmp r14, 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.1400c3cc0
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400d3b1f
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d3b1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3bf7
call fcn.140279bcc
movdqa xmm0, xmmword [0x1402d3d30]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400d3b70
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d3b6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3bfd
call fcn.140279bcc
nop
cmp r15, 0x10
jb 0x1400d3ba4
lea rdx, [r15 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400d3b9b
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3be5
mov rcx, r13
call fcn.140279bcc
nop
mov edx, 0x40
mov rcx, qword [rbp - 0x68]
call fcn.140279bcc
mov rax, rbx
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140279b70
lea r11, [rsp + 0x1460]
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.14029cb2c
nop
call fcn.1400c36b0
int3
call fcn.1400c37e0
int3
call fcn.14029cb2c
nop
call fcn.14029cb2c
int3