Function at 0x14020e2c0
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 - 0x14a0]
mov eax, 0x15a0
call fcn.1402f8180
sub rsp, rax
mov rax, qword [0x14038c0c0]
xor rax, rsp
mov qword [rbp + 0x1490], rax
mov r15, rcx
mov qword [rbp + 0xf8], rcx
xor r13d, r13d
mov dword [rsp + 0x34], r13d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1484], 0xffffffff
mov dword [rbp + 0x104], 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 + 0x104], edx
inc rcx
cmp rcx, 0x270
jb 0x14020e330
mov dword [rbp + 0x100], 0x270
lea r12, str.0123456789ABCDEF
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov rdi, r13
mov qword [rsp + 0x68], r13
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x58], dil
mov dword [rsp + 0x34], 2
mov r14d, ntohs
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
add eax, 0x80000000
movsxd rcx, eax
xor rcx, 0xffffffff80000000
movzx r9d, byte [r12 + rcx]
cmp rdi, rsi
jae 0x14020e3f2
lea rax, [rdi + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x58]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x14020e405
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.14021f610
sub r14, 1
je 0x14020e417
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
jmp 0x14020e3a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
mov ebx, 0x80000000
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rbp - 0x48], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rbp - 0x47], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rbp - 0x46], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov ecx, eax
shl rcx, 4
mov rdx, r12
mov eax, ebx
shr rcx, 0x20
add eax, ecx
movsxd rcx, eax
xor rcx, 0xffffffff80000000
movzx eax, byte [rdx + rcx]
mov qword [rbp - 0x38], 4
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], 0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rbp - 0x68], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rbp - 0x67], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rbp - 0x66], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov ecx, eax
shl rcx, 4
mov rdx, r12
mov eax, ebx
shr rcx, 0x20
add eax, ecx
cdqe
xor rax, 0xffffffff80000000
movzx eax, byte [rdx + rax]
mov qword [rbp - 0x58], 4
mov byte [rbp - 0x65], al
mov byte [rbp - 0x64], 0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rsp + 0x78], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rsp + 0x79], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
sub rax, rbx
xor rax, 0xffffffff80000000
movzx eax, byte [rax + r12]
mov byte [rsp + 0x7a], al
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov ecx, eax
shl rcx, 4
mov rdx, r12
shr rcx, 0x20
lea eax, [rcx + rbx]
cdqe
xor rax, 0xffffffff80000000
movzx eax, byte [rdx + rax]
mov qword [rbp - 0x78], 4
mov byte [rsp + 0x7b], al
mov byte [rsp + 0x7c], 0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r14d, 0x3e
mov dword [rsp + 0x34], r14d
mov edi, 8
movzx ebx, byte [rsp + 0x30]
nop
lea rcx, [rbp + 0x100]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
add eax, 0x80000000
movsxd rcx, eax
xor rcx, 0xffffffff80000000
movzx r9d, byte [rcx + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14020e6dc
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14020e6ef
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14021f610
sub rdi, 1
jne 0x14020e680
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
lea rsi, [0x140367f98]
cmp rax, 1
jb 0x14020e790
lea r8, [rcx + 1]
mov qword [rsp + 0x48], r8
lea rbx, [rsp + 0x38]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x38]
lea rax, [0x140367f99]
cmp rax, rbx
jbe 0x14020e751
lea rax, [rbx + rcx]
cmp rsi, rax
ja 0x14020e751
cmp rbx, rsi
ja 0x14020e749
mov rdi, r13
jmp 0x14020e756
mov rdi, rbx
sub rdi, rsi
jmp 0x14020e756
mov edi, 1
lea rcx, [rbx + 1]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 1
sub r8, rdi
lea rdx, [rsi + 1]
add rdx, rdi
lea rcx, [rbx + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x38]
jmp 0x14020e7b6
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140225900
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], 0
or r14d, 0x40
mov dword [rsp + 0x34], r14d
mov r8d, 1
lea rdx, [0x140367fec]
lea rcx, [rbp - 0x28]
call fcn.140219080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], 0
bts r14d, 7
mov dword [rsp + 0x34], r14d
lea r9, [rsp + 0x78]
lea r8, [rbp + 0xd8]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x58]
call fcn.140221280
bts r14d, 8
mov dword [rsp + 0x34], r14d
mov r8d, 1
lea rdx, [0x140367fec]
lea rcx, [rbp + 0x58]
call fcn.140219080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], 0
bts r14d, 9
mov dword [rsp + 0x34], r14d
lea r9, [rbp - 0x68]
lea r8, [rbp + 0xb8]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140221280
bts r14d, 0xa
mov dword [rsp + 0x34], r14d
mov r8d, 1
lea rdx, [0x140367fec]
lea rcx, [rbp + 0x38]
call fcn.140219080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], 0
bts r14d, 0xb
mov dword [rsp + 0x34], r14d
lea r9, [rbp - 0x48]
lea r8, [rbp + 0x98]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140221280
bts r14d, 0xc
mov dword [rsp + 0x34], r14d
mov r8d, 1
lea rdx, [0x140367fec]
lea rcx, [rbp + 0x18]
call fcn.140219080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], 0
bts r14d, 0xd
mov dword [rsp + 0x34], r14d
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x78]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.140221280
bts r14d, 0xe
mov dword [rsp + 0x34], r14d
mov r8d, 1
lea rdx, [0x140367f94]
lea rcx, [rbp - 8]
call fcn.140219080
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14020ea06
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ea01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ea01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x14020ea60
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ea53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ea53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14020eaa6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ea99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ea99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x14020eafb
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020eaee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020eaee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14020eb41
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020eb34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020eb34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x14020eb96
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020eb89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020eb89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14020ebdc
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ebcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ebcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x14020ec31
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ec24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ec24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14020ec77
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ec6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ec6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14020ecc0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ecbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ecbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14020ed13
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ed0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ed0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14020ed52
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ed4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ed4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14020ed91
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020ed8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020ed8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14020edd1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020edcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020edcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
mov rax, r15
mov rcx, qword [rbp + 0x1490]
xor rcx, rsp
call fcn.1402f73e0
lea r11, [rsp + 0x15a0]
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