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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x100129b5
push eax
mov dword fs:[0], esp
mov eax, 0x13e0
push ebx
call fcn.10012550
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x60], ecx
push 0x40
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
call fcn.1000ec1f
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
mov ecx, eax
mov dword [ebp - 0x2c], 0x3e
mov dword [ebp - 0x3c], ecx
add esp, 4
mov dword [ebp - 0x28], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x10014b60]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x10014b70]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [0x10014b80]
movq qword [ecx + 0x30], xmm0
mov eax, dword [0x10014b88]
mov dword [ecx + 0x38], eax
mov ax, word [0x10014b8c]
mov word [ecx + 0x3c], ax
mov byte [ecx + 0x3e], 0
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [ebp - 0x6c], 0xffffffff
mov edx, 1
mov dword [ebp - 0x13ec], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [ebp + edx*4 - 0x13ec], eax
inc edx
cmp edx, 0x270
jb 0x1000bd60
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
cmp edx, 0xf
mov dword [ebp - 0x13f0], 0x270
cmova eax, edi
add esi, eax
cmp edx, 0xf
mov dword [ebp - 0x58], esi
cmova ecx, edi
mov dword [ebp - 0x24], ecx
cmp ecx, esi
je 0x1000be5d
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], 1
cmp eax, esi
je 0x1000be5d
mov edx, 1
sub edx, ecx
mov dword [ebp - 0x20], edx
mov esi, dword [ebp - 0x1c]
lea eax, [esi + ecx]
mov dword [ebp - 0x5c], eax
add eax, edx
mov dword [ebp - 0x14], eax
mov ecx, eax
xor edi, edi
mov dword [ebp - 0x18], 0
test esi, esi
je 0x1000be01
lea ecx, [ebp - 0x13f0]
call fcn.1000e6e0
mov ecx, dword [ebp - 0x14]
or edi, 0xffffffff
mov dword [ebp - 0x18], eax
xor edx, edx
mov eax, edi
div ecx
xor edx, edx
mov ecx, eax
mov eax, dword [ebp - 0x18]
div dword [ebp - 0x14]
cmp eax, ecx
mov ecx, dword [ebp - 0x14]
jb 0x1000be22
xor edx, edx
mov eax, edi
div ecx
cmp edx, esi
jne 0x1000bde0
mov eax, dword [ebp - 0x18]
xor edx, edx
div ecx
cmp edx, esi
mov esi, dword [ebp - 0x58]
je 0x1000be40
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x5c]
mov al, byte [ecx + edx]
mov ah, byte [edi]
mov byte [edi], al
mov byte [ecx + edx], ah
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
inc eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add eax, ecx
cmp eax, esi
jne 0x1000bdd0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x3c]
mov ecx, 4
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
cmovb ecx, dword [ebp - 0x2c]
cmp edx, 0xf
push ecx
cmova eax, edi
lea ecx, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x54], xmm0
call fcn.10001890
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov eax, edx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
cmp eax, 4
jb 0x1000bec5
lea eax, [ecx + 4]
cmp edx, 0xf
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
cmova eax, dword [ebp - 0x54]
mov dword [eax + ecx], 0x7461642e
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0x54]
jmp 0x1000bedd
push 4
push str..dat
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x54]
push dword [ebp - 0x20]
push 4
call fcn.10008430
mov esi, dword [ebp - 0x60]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x1000bf45
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bf3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000bf7d
push ecx
push edx
call fcn.1000ef69
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp ecx, 0xf
jbe 0x1000bf8d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bf83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000bf83
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000ef69
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret