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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0
mov eax, 1
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ecx, dword [edi + 0x1390]
dec ecx
shl ax, cl
add ax, ax
dec ax
movzx esi, ax
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x1388], ebx
jbe 0x48bc77
mov edx, dword [edi]
cmp edx, 0x270
jne 0x48bb20
lea edx, [edi + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x48bae2
mov edx, dword [edi]
jmp 0x48bc0c
cmp edx, 0x4e0
jb 0x48bc0f
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
lea ecx, [ecx]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x48bb40
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
lea esp, [esp]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x48bb90
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
xor edx, edx
mov dword [edi + 0x9c0], eax
mov dword [edi], 0
mov esi, dword [ebp - 0x10]
mov ecx, dword [edi + edx*4 + 4]
mov eax, ecx
shr eax, 0xb
inc edx
and eax, dword [edi + 0x1384]
xor ecx, eax
mov dword [edi], edx
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 eax, dword [edi + 0x1394]
ja 0x48bad2
mov ecx, dword [edi + 0x1390]
and eax, esi
shl bx, cl
mov ecx, dword [ebp - 0xc]
or ax, bx
inc ecx
movzx ebx, ax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x1388]
jb 0x48bad2
jmp 0x48bc79
xor ecx, ecx
lea eax, [esi + esi]
or eax, 1
movzx eax, ax
mov dword [ebp - 0x10], eax
cmp ecx, dword [edi + 0x138c]
jae 0x48be2c
mov edx, dword [edi]
cmp edx, 0x270
jne 0x48bce0
lea eax, [edi + 8]
mov esi, edx
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x48bca0
mov edx, dword [edi]
jmp 0x48bdc4
cmp edx, 0x4e0
jb 0x48bdc4
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
lea ecx, [ecx]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x48bd00
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x48bd48
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
xor edx, edx
mov dword [edi + 0x9c0], eax
mov dword [edi], 0
mov ecx, dword [edi + edx*4 + 4]
mov eax, ecx
shr eax, 0xb
inc edx
and eax, dword [edi + 0x1384]
xor ecx, eax
mov dword [edi], edx
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 esi, ecx
shr esi, 0x12
xor esi, ecx
cmp esi, dword [edi + 0x1398]
ja 0x48bc93
mov ecx, dword [edi + 0x1390]
and esi, dword [ebp - 0x10]
inc ecx
mov eax, dword [ebp - 0xc]
shl bx, cl
inc eax
or bx, si
mov dword [ebp - 0xc], eax
movzx ebx, bx
mov dword [ebp - 8], ebx
cmp eax, dword [edi + 0x138c]
jb 0x48bc93
pop edi
pop esi
mov ax, bx
pop ebx
mov esp, ebp
pop ebp
ret