Function at 0x14003bb60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047e98], eax
jle 0x14003c247
lea rcx, [0x140047e98]
call fcn.140040288
cmp dword [0x140047e98], 0xffffffff
jne 0x14003c247
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140047d09], xmm0
movups xmmword [0x140047d19], xmm0
movups xmmword [0x140047d29], xmm0
mov dword [0x140047d39], eax
mov word [0x140047d3d], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x14003bc10
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + 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
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x14003bc40
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047d00], r8d
mov edx, 5
mov dword [0x140047d04], edx
movzx ecx, byte [0x140047d08]
test cl, cl
jne 0x14003bcf2
add r8d, edx
mov dword [0x140047d00], r8d
mov cl, 1
mov byte [0x140047d08], cl
mov r10d, 2
xor r9d, r9d
lea r11, [0x140000000]
test cl, cl
je 0x14003bd17
sub r8d, edx
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 - 2]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42810]
mov byte [r9 + r11 + 0x47d09], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003bd4e
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 - 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42811]
mov byte [r9 + r11 + 0x47d0a], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003bd96
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
mov eax, r10d
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42812]
mov byte [r9 + r11 + 0x47d0b], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003bddd
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42813]
mov byte [r9 + r11 + 0x47d0c], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003be25
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 2]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42814]
mov byte [r9 + r11 + 0x47d0d], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003be6d
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 3]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42815]
mov byte [r9 + r11 + 0x47d0e], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003beb5
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 4]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42816]
mov byte [r9 + r11 + 0x47d0f], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003befd
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 5]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42817]
mov byte [r9 + r11 + 0x47d10], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003bf45
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 6]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42818]
mov byte [r9 + r11 + 0x47d11], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003bf8d
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 + 7]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42819]
mov byte [r9 + r11 + 0x47d12], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003bfd5
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 + 8]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x4281a]
mov byte [r9 + r11 + 0x47d13], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c01d
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 + 9]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x4281b]
mov byte [r9 + r11 + 0x47d14], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c065
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 + 0xa]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x4281c]
mov byte [r9 + r11 + 0x47d15], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c0ad
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 + 0xb]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x4281d]
mov byte [r9 + r11 + 0x47d16], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c0f5
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea eax, [r10 + 0xc]
lea ecx, [r8 + 1]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x4281e]
mov byte [r9 + r11 + 0x47d17], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c13d
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 0xd]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x4281f]
mov byte [r9 + r11 + 0x47d18], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c185
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 0xe]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42820]
mov byte [r9 + r11 + 0x47d19], dl
mov eax, dword [0x140047d04]
mov r8d, dword [0x140047d00]
cmp byte [0x140047d08], 0
jne 0x14003c1cd
add r8d, eax
sub r8d, eax
mov dword [0x140047d00], r8d
mov byte [0x140047d08], 0
lea ecx, [r8 + 1]
lea eax, [r10 + 0xf]
cdq
idiv ecx
add dl, r8b
xor dl, byte [r9 + r11 + 0x42821]
mov byte [r9 + r11 + 0x47d1a], dl
mov edx, dword [0x140047d04]
movzx ecx, byte [0x140047d08]
mov r8d, dword [0x140047d00]
test cl, cl
jne 0x14003c226
add r8d, edx
mov dword [0x140047d00], r8d
mov cl, 1
mov byte [0x140047d08], cl
add r10d, 0x12
add r9, 0x12
lea eax, [r10 - 2]
cmp eax, 0x36
jl 0x14003bd02
lea rcx, [0x140047e98]
call fcn.14004021c
movaps xmm0, xmmword [0x140047d00]
movaps xmmword [rbx], xmm0
movaps xmm1, xmmword [0x140047d10]
movaps xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140047d20]
movaps xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140047d30]
movaps xmmword [rbx + 0x30], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret