Function at 0x140055a30
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 - 0x1de0]
mov eax, 0x1ee0
call fcn.1400a7b70
sub rsp, rax
mov rax, qword [0x1400d5180]
xor rax, rsp
mov qword [rbp + 0x1dd0], rax
mov r13, rcx
mov qword [rbp - 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x9c0]
call fcn.1400548b0
nop
lea rcx, [rbp + 0x9a0]
call fcn.140054c40
nop
lea rcx, [rbp + 0xa00]
call fcn.140055070
nop
lea rcx, [rbp + 0x9e0]
call fcn.1400553b0
nop
lea rcx, [rbp + 0xa20]
call fcn.1400556d0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x9d0]
sub rax, rcx
mov rdx, qword [rbp + 0x9b0]
cmp rax, rdx
jb 0x1400564bb
lea r9, [rbp + 0x9c0]
cmp qword [rbp + 0x9d8], 0xf
cmova r9, qword [rbp + 0x9c0]
lea rax, [rbp + 0x9a0]
cmp qword [rbp + 0x9b8], 0xf
cmova rax, qword [rbp + 0x9a0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x9c0]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0x58]
call fcn.1400085f0
mov dword [rsp + 0x40], 2
lea r9, [rbp + 0xa00]
cmp qword [rbp + 0xa18], 0xf
cmova r9, qword [rbp + 0xa00]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, rsi
mov rdi, qword [rbp + 0xa10]
cmp rdi, rax
ja 0x140055ba6
lea rax, [rsi + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x58]
lea rcx, [rbx + rsi]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov byte [rax + rdi], r14b
lea rax, [rsp + 0x58]
jmp 0x140055bbb
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140007a00
xorps xmm0, xmm0
movups xmmword [rbp + 0x980], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x990], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x980], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x990], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x40], 6
lea r9, [rbp + 0x9e0]
cmp qword [rbp + 0x9f8], 0xf
cmova r9, qword [rbp + 0x9e0]
mov rsi, qword [rbp + 0x990]
mov rcx, qword [rbp + 0x998]
mov rax, rcx
sub rax, rsi
mov rdi, qword [rbp + 0x9f0]
cmp rdi, rax
ja 0x140055c71
lea rax, [rsi + rdi]
mov qword [rbp + 0x990], rax
lea rbx, [rbp + 0x980]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x980]
lea rcx, [rbx + rsi]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi]
mov byte [rax + rdi], 0
lea rax, [rbp + 0x980]
jmp 0x140055c88
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x980]
call fcn.140007a00
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rsp + 0x40], ntohs
lea r8, [rbp + 0xa20]
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.140008520
mov dword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140055d1a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055d15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055d15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
movdqa xmm0, xmmword [0x1400bb100]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x998]
cmp rdx, 0xf
jbe 0x140055d70
inc rdx
mov rcx, qword [rbp + 0x980]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055d6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055d6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
movdqa xmm0, xmmword [0x1400bb100]
movdqu xmmword [rbp + 0x990], xmm0
mov byte [rbp + 0x980], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140055dc7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055dc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x980], xmm0
mov qword [rbp + 0x990], rax
mov rdx, qword [r13 + 0x10]
cmp qword [r13 + 0x18], 0xf
jbe 0x140055def
add rdx, qword [r13]
mov rbx, qword [r13]
jmp 0x140055df5
add rdx, r13
mov rbx, r13
mov rdi, rdx
movdqu xmmword [rbp + 0x980], xmm0
mov rcx, r14
mov qword [rbp + 0x990], rcx
cmp rbx, rdx
je 0x140055e62
mov rdx, qword [rbp + 0x988]
nop word [rax + rax]
movsx eax, byte [rbx]
mov dword [rsp + 0x48], eax
cmp rdx, rcx
je 0x140055e3b
mov dword [rdx], eax
add rdx, 4
mov qword [rbp + 0x988], rdx
jmp 0x140055e5a
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0x980]
call fcn.140057400
mov rcx, qword [rbp + 0x990]
mov rdx, qword [rbp + 0x988]
inc rbx
cmp rbx, rdi
jne 0x140055e20
mov ebx, 0xffffffff
mov dword [rbp + 0x1dc4], ebx
mov edx, 0x1571
mov dword [rbp + 0xa44], edx
mov r14d, 1
mov ecx, r14d
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0xa44], edx
inc rcx
cmp rcx, 0x270
jb 0x140055e81
lea r8, [rbp + 0x980]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x980]
call fcn.140057210
xor edx, edx
xor r8d, r8d
nop
mov eax, dword [rbp + r8*4 - 0x40]
mov dword [rbp + r8*4 + 0xa44], eax
mov ecx, edx
or ecx, eax
mov edx, eax
shr edx, 0x1f
test r8, r8
cmovne edx, ecx
inc r8
cmp r8, 0x270
jb 0x140055ec0
mov eax, dword [rbp + 0xa44]
mov ecx, 0x80000000
test edx, edx
cmove eax, ecx
mov dword [rbp + 0xa44], eax
mov r8d, 0x270
mov dword [rbp + 0xa40], r8d
cmp qword [r13 + 0x18], 0xf
jbe 0x140055f24
mov rdx, qword [r13]
mov r9, rdx
mov qword [rsp + 0x48], rdx
add rdx, qword [r13 + 0x10]
jmp 0x140055f33
mov r9, r13
mov qword [rsp + 0x48], r13
mov rdx, qword [r13 + 0x10]
add rdx, r13
mov qword [rsp + 0x50], rdx
mov ecx, 0x40
mov rsi, 0xffffffffffffffff
lea rcx, [rcx - 1]
shr rsi, 1
cmp rsi, rbx
ja 0x140055f44
cmp r9, rdx
je 0x1400561cc
lea rax, [r9 + 1]
cmp rax, rdx
je 0x1400561cc
lea r15, [rcx - 1]
nop word [rax + rax]
lea r12, [r14 + 1]
nop dword [rax]
nop dword [rax + rax]
xor edi, edi
xor ebx, ebx
test r14, r14
je 0x14005616d
nop dword [rax]
mov rcx, r15
shl rdi, cl
add rdi, rdi
nop dword [rax]
cmp r8d, 0x270
jne 0x140056008
lea rax, [rbp + 0xa48]
mov r9d, r8d
nop dword [rax]
nop word [rax + rax]
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 0x140055fc0
mov r8d, dword [rbp + 0xa40]
jmp 0x14005610c
cmp r8d, 0x4e0
jb 0x14005610c
lea r10, [rbp + 0x1404]
mov r9d, 0xe3
mov r11d, dword [rbp + 0x1404]
nop dword [rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x140056030
lea r10, [rbp + 0x1790]
mov r9d, 0x18c
mov r11d, dword [rbp + 0x1790]
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x140056090
mov edx, dword [rbp + 0x1dc0]
xor edx, dword [rbp + 0xa44]
btr edx, 0x1f
xor edx, dword [rbp + 0x1dc0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x1074]
mov dword [rbp + 0x1400], ecx
xor r8d, r8d
mov dword [rbp + 0xa40], r8d
mov eax, r8d
mov ecx, dword [rbp + rax*4 + 0xa44]
inc r8d
mov dword [rbp + 0xa40], r8d
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1dc4]
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, rsi
ja 0x140055fa0
or rdi, rax
mov rcx, r15
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r14
jb 0x140055f90
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x140056196
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r14
jne 0x140055f80
xor edx, edx
mov rax, rdi
div r12
mov r9, qword [rsp + 0x48]
cmp rdx, r14
je 0x1400561ba
movzx ecx, byte [r14 + r9]
movzx eax, byte [rdx + r9]
mov byte [r14 + r9], al
mov byte [rdx + r9], cl
inc r14
lea rax, [r14 + r9]
cmp rax, qword [rsp + 0x50]
jne 0x140055f70
cmp qword [r13 + 0x10], 0x32
jbe 0x1400562ad
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov rdx, r13
cmp qword [r13 + 0x18], 0xf
jbe 0x1400561f4
mov rdx, qword [r13]
mov r8d, 0x32
lea rcx, [rbp - 0x68]
call fcn.1400031d0
lea rax, [rbp - 0x68]
cmp r13, rax
je 0x14005626a
mov rdx, qword [r13 + 0x18]
cmp rdx, 0xf
jbe 0x140056243
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x14005623e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005629f
mov rcx, r8
call fcn.1400a719c
xor r14d, r14d
mov qword [r13 + 0x18], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [r13 + 0x10], xmm1
lea edx, [r14 + 0xf]
mov byte [rbp - 0x68], r14b
jmp 0x140056271
mov rdx, qword [rbp - 0x50]
xor r14d, r14d
cmp rdx, 0xf
jbe 0x1400562b0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400562a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400562a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
jmp 0x1400562b0
xor r14d, r14d
mov rcx, qword [rbp + 0x980]
test rcx, rcx
je 0x140056300
mov rax, qword [rbp + 0x990]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400562fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400562fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
nop
mov rdx, qword [rbp + 0xa38]
cmp rdx, 0xf
jbe 0x140056344
inc rdx
mov rcx, qword [rbp + 0xa20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005633f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005633f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
movdqa xmm0, xmmword [0x1400bb100]
movdqu xmmword [rbp + 0xa30], xmm0
mov byte [rbp + 0xa20], 0
mov rax, qword [rbp + 0x9f8]
cmp rax, 0xf
jbe 0x1400563a1
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x9e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005639b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005639b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
nop
mov rax, qword [rbp + 0xa18]
cmp rax, 0xf
jbe 0x1400563e7
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0xa00]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400563e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400563e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
nop
mov rdx, qword [rbp + 0x9b8]
cmp rdx, 0xf
jbe 0x14005642b
inc rdx
mov rcx, qword [rbp + 0x9a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
mov qword [rbp + 0x9b0], r14
mov qword [rbp + 0x9b8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x9a0], 0
mov rdx, qword [rbp + 0x9d8]
cmp rdx, 0xf
jbe 0x140056488
inc rdx
mov rcx, qword [rbp + 0x9c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056483
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056483
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a719c
mov rax, r13
mov rcx, qword [rbp + 0x1dd0]
xor rcx, rsp
call fcn.1400a7140
lea r11, [rsp + 0x1ee0]
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.140001be0
int3