Function at 0x1004de10
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
push 0x100c7aef
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13c8
call fcn.100c4b00
mov eax, dword [0x10101380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x13d4], esi
mov dword [ebp - 0x13c4], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x13d8], esi
xorps xmm0, xmm0
mov dword [ebp - 0x13c8], 0
push 0x3e
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.10030e70
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x13b4], edx
mov ecx, 1
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x13b4], edx
inc ecx
cmp ecx, 0x270
jb 0x1004dec0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x13b8]
dec eax
mov dword [ebp - 0x13b8], 0x270
mov dword [ebp - 0x13bc], eax
call fcn.1004e230
mov edi, 0xd
mul edi
cmp eax, edi
jae 0x1004df22
cmp eax, 9
jae 0x1004df22
nop
lea ecx, [ebp - 0x13b8]
call fcn.1004e230
mul edi
cmp eax, 9
jb 0x1004df10
xorps xmm0, xmm0
lea edi, [edx - 0x7fffffff]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor edi, 0x80000000
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x13c0], edi
mov byte [esi], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x13c8], 1
jbe 0x1004e062
mov eax, dword [ebp - 0x13bc]
xor eax, 0x80000000
mov dword [ebp - 0x13bc], eax
nop dword [eax]
lea ecx, [ebp - 0x13b8]
cmp eax, 0x7fffffff
jne 0x1004df96
call fcn.1004e230
mov ecx, eax
jmp 0x1004dfef
lea edi, [eax - 0x7fffffff]
call fcn.1004e230
mul edi
mov dword [ebp - 0x13cc], eax
mov ecx, edx
cmp eax, edi
jae 0x1004dfe9
mov eax, edi
xor edx, edx
neg eax
div edi
mov eax, edx
mov dword [ebp - 0x13d0], eax
cmp dword [ebp - 0x13cc], eax
jae 0x1004dfe9
mov esi, edx
nop dword [eax]
lea ecx, [ebp - 0x13b8]
call fcn.1004e230
mul edi
mov ecx, edx
cmp eax, esi
jb 0x1004dfd0
mov esi, dword [ebp - 0x13d4]
mov edi, dword [ebp - 0x13c0]
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0x30]
add ecx, 0x80000000
xor ecx, 0x80000000
cmp dword [ebp - 0x1c], 0xf
cmova eax, dword [ebp - 0x30]
mov al, byte [ecx + eax]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x1004e032
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x1004e025
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x1004e04a
push dword [ebp - 0x18]
mov byte [ebp - 0x13c4], 0
push dword [ebp - 0x13c4]
push ecx
mov ecx, esi
call fcn.10030f50
mov eax, dword [ebp - 0x13bc]
sub edi, 1
mov dword [ebp - 0x13c0], edi
jne 0x1004df80
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x1004e097
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004e08d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004e08d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c3087
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100c2c0c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret