Function at 0x140007310
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 - 0x1330]
mov eax, 0x1430
call fcn.1400f2f80
sub rsp, rax
mov rax, qword [0x140160080]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x60], esi
movdqa xmm0, xmmword [0x14014c130]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x14014c270]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [0x14014bd90]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [str.CBA____ZYXWVU]
movdqa xmmword [rsp + 0x50], xmm1
mov ecx, esi
nop dword [rax]
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x21], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x22], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x23], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x24], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x25], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x26], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x27], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x28], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x29], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x2a], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x2b], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x2c], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x2d], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x2e], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x2f], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x30], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x31], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x32], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x33], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x34], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x35], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x36], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x37], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x38], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x39], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x3a], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x3b], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x3c], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x3d], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x3e], al
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x3f], al
add rcx, 0x1f
cmp rcx, 0x3e
jb 0x1400073a0
mov byte [rsp + 0x5f], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rax, [rsp + 0x21]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400074e6
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x70]
call fcn.140032c10
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x6c], edx
inc rcx
cmp rcx, 0x270
jb 0x140007520
mov ebx, 0x270
mov dword [rbp - 0x70], ebx
mov r14d, dword [rbp - 0x80]
dec r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x60], 1
test r15, r15
je 0x1400077a5
mov r12, qword [rbp - 0x78]
mov r13, qword [rsp + 0x70]
nop dword [rax]
cmp r14d, 0xffffffff
jne 0x14000770f
cmp ebx, 0x270
jne 0x1400075e1
lea r8, [rbp - 0x68]
mov r9d, ebx
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 0x1400075a0
mov ebx, dword [rbp - 0x70]
jmp 0x1400076d6
cmp ebx, 0x4e0
jb 0x1400076d6
mov r8, rsi
lea r9, [rbp + 0x954]
lea r10, [rbp + 0xf88]
lea r11, [rbp - 0x6c]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r9 + r8*4]
xor edx, dword [rbp + r8*4 + 0x958]
btr edx, 0x1f
xor edx, dword [r9 + r8*4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r10 + r8*4]
shr edx, 1
xor ecx, edx
mov dword [r11 + r8*4], ecx
inc r8
cmp r8, 0xe3
jb 0x140007610
mov r8d, 0xe3
lea r9, [rbp + 0x958]
lea r10, [rbp - 0x6c]
nop dword [rax + rax]
mov eax, dword [rbp + r8*4 + 0x954]
mov edx, eax
xor edx, dword [r9 + r8*4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x3f8]
shr edx, 1
xor ecx, edx
mov dword [r10 + r8*4], ecx
inc r8
cmp r8, 0x26f
jb 0x140007660
mov edx, dword [rbp + 0x1310]
and edx, 0x80000000
mov eax, dword [rbp - 0x6c]
btr eax, 0x1f
or 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 [rbp + 0x5c4]
mov dword [rbp + 0x950], ecx
mov ebx, esi
mov dword [rbp - 0x70], ebx
mov eax, ebx
mov edx, dword [rbp + rax*4 - 0x6c]
inc ebx
mov dword [rbp - 0x70], ebx
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x1314]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x140007752
lea ebx, [r14 + 1]
lea rcx, [rbp - 0x70]
call fcn.14003b500
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x140007749
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140007749
lea rcx, [rbp - 0x70]
call fcn.14003b500
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140007736
shr rcx, 0x20
mov ebx, dword [rbp - 0x70]
xor esi, esi
lea rdx, [rsp + 0x70]
cmp r12, 0xf
cmova rdx, r13
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140007793
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140007788
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000779b
mov rcx, rdi
call fcn.140033350
sub r15, 1
jne 0x140007580
lea rcx, [rsp + 0x70]
call fcn.140030630
mov rax, rdi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.1400f24a0
lea r11, [rsp + 0x1430]
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