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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a31f
mov eax, dword fs:[0]
push eax
mov eax, 0x13cc
call fcn.004597d0
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13d0], edi
mov dword [ebp - 0x13c4], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x13d8], edi
xorps xmm0, xmm0
mov dword [ebp - 0x13bc], 0
push 0x34
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004070d0
mov dword [ebp - 4], 1
call fcn.0040ef50
mov dword [ebp - 0x34], 0xffffffff
mov edx, 1
mov dword [ebp - 0x13b4], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [ebp + edx*4 - 0x13b4], eax
inc edx
cmp edx, 0x270
jb 0x4033a0
mov esi, dword [ebp - 0x1c]
sub esi, 1
mov dword [ebp - 0x13b8], 0x270
jns 0x403415
push str.invalid_min_and_max_arguments_for_uniform_int
push 0x471954
push 0
push 0x845
push 0x471c00
push 2
call fcn.00416af0
add esp, 0x18
cmp eax, 1
jne 0x4033f7
int3
push 0
push 0x845
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_random
push 0x471a84
push str._invalid_min_and_max_arguments_for_uniform_int_
call fcn.004173a0
add esp, 0x14
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [edi], 0
movups xmmword [edi + 4], xmm0
push 8
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00410650
mov byte [ebp - 4], 1
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
or dword [ebp - 0x13bc], 1
mov ecx, edi
call fcn.00404670
xor esi, 0x80000000
mov dword [ebp - 0x13c0], 0xe
mov dword [ebp - 0x13c4], esi
lea ecx, [ebp - 0x13b8]
cmp esi, 0x7fffffff
jne 0x403497
call fcn.00408e10
mov ecx, eax
jmp 0x4034e9
add esi, 0x80000001
call fcn.00408e10
mul esi
mov dword [ebp - 0x13c8], eax
mov ecx, edx
cmp eax, esi
jae 0x4034e9
mov eax, esi
xor edx, edx
neg eax
div esi
mov eax, edx
mov dword [ebp - 0x13cc], eax
cmp dword [ebp - 0x13c8], eax
jae 0x4034e9
mov edi, edx
nop word [eax + eax]
lea ecx, [ebp - 0x13b8]
call fcn.00408e10
mul esi
mov ecx, edx
cmp eax, edi
jb 0x4034d0
mov edi, dword [ebp - 0x13d0]
lea esi, [ecx - 0x80000000]
xor esi, 0x80000000
cmp esi, dword [ebp - 0x1c]
jbe 0x40353e
push str.string_subscript_out_of_range
push 0x471954
push 0
push 0xfea
push 0x472310
push 2
call fcn.00416af0
add esp, 0x18
cmp eax, 1
jne 0x403520
int3
push 0
push 0xfea
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexstring
push 0x471a84
push str._string_subscript_out_of_range_
call fcn.004173a0
add esp, 0x14
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x14]
cmova eax, dword [ebp - 0x2c]
mov dl, byte [eax + esi]
mov esi, dword [edi + 0x18]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x403573
lea eax, [ecx + 1]
mov dword [edi + 0x14], eax
lea eax, [edi + 4]
cmp esi, 0xf
jbe 0x403569
mov eax, dword [eax]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40358c
push dword [ebp - 0x14]
mov byte [ebp - 0x13d4], 0
mov ecx, edi
push dword [ebp - 0x13d4]
push 1
call fcn.004077b0
sub dword [ebp - 0x13c0], 1
mov esi, dword [ebp - 0x13c4]
jne 0x403480
lea ecx, [ebp - 0x30]
call fcn.00405770
mov ecx, dword [ebp - 0x30]
push 8
push ecx
mov dword [ebp - 0x30], 0
call fcn.00410400
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret