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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c8
call fcn.004c2000
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1571
push edi
mov edi, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x13b0], esi
mov dword [ebp - 0x13ac], edi
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x139c], 0x1571
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x139c], edx
inc ecx
cmp ecx, 0x270
jl 0x48e167
mov dword [ebp - 0x13a0], 0x270
mov ecx, 1
or eax, 0xffffffff
shr eax, 1
inc ecx
cmp eax, 1
ja 0x48e198
lea eax, [ecx + 7]
mov dword [ebp - 0xc], 0xffffffff
xor edx, edx
mov dword [ebp - 8], 0xffffffff
div ecx
xor edx, edx
mov ecx, eax
mov eax, 8
div ecx
mov dword [ebp - 0x14], ecx
sub ecx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
call fcn.004bad82
movzx edx, ax
mov ecx, 1
mov dword [ebp - 0x139c], edx
mov edi, edi
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x139c], edx
inc ecx
cmp ecx, 0x270
jl 0x48e1e0
lea eax, [ebp - 0x13a1]
mov dword [ebp - 0x13a0], 0x270
push eax
push 0x10
lea ecx, [ebp - 0x13c8]
call fcn.0048b910
mov ebx, dword [ebp - 0x13c8]
mov ecx, dword [ebp - 0x13c4]
sub ecx, ebx
inc ecx
shr ecx, 1
cmp dword [ebp - 0x13c4], ebx
sbb eax, eax
not eax
and eax, ecx
mov dword [ebp - 0x13a8], eax
je 0x48e278
xor edi, edi
mov esi, eax
jmp 0x48e250
lea ecx, [ebp - 0x13a0]
call fcn.0048bae0
inc edi
mov word [ebx], ax
lea ebx, [ebx + 2]
cmp edi, esi
jne 0x48e250
mov esi, dword [ebp - 0x13b0]
mov edi, dword [ebp - 0x13ac]
mov eax, dword [ebp - 0x13a8]
mov ecx, dword [ebp - 0x13c8]
xor ebx, ebx
test eax, eax
je 0x48e2c8
mov edi, ecx
jmp 0x48e290
mov cl, byte [edi]
mov eax, dword [esi + 4]
mov byte [ebp - 0x13a1], cl
cmp dword [esi + 8], eax
je 0x48e2a7
mov byte [eax], cl
inc dword [esi + 4]
jmp 0x48e2b6
lea ecx, [ebp - 0x13a1]
push ecx
push eax
mov ecx, esi
call fcn.00483ec0
inc ebx
add edi, 2
cmp ebx, dword [ebp - 0x13a8]
jne 0x48e290
mov edi, dword [ebp - 0x13ac]
lea eax, [ebp - 0x13a1]
push eax
push 0x10
lea ecx, [ebp - 0x13bc]
call fcn.0048b910
mov edx, dword [ebp - 0x13bc]
xor ebx, ebx
mov ecx, dword [ebp - 0x13b8]
mov esi, edx
sub ecx, esi
inc ecx
shr ecx, 1
cmp dword [ebp - 0x13b8], esi
sbb eax, eax
not eax
and eax, ecx
mov dword [ebp - 0x13a8], eax
je 0x48e338
mov edi, eax
jmp 0x48e310
lea ecx, [ebp - 0x13a0]
call fcn.0048bae0
inc ebx
mov word [esi], ax
lea esi, [esi + 2]
cmp ebx, edi
jne 0x48e310
mov edi, dword [ebp - 0x13ac]
mov eax, dword [ebp - 0x13a8]
mov edx, dword [ebp - 0x13bc]
xor esi, esi
mov ebx, edx
test eax, eax
je 0x48e378
mov cl, byte [ebx]
mov eax, dword [edi + 4]
mov byte [ebp - 0x13a1], cl
cmp dword [edi + 8], eax
je 0x48e357
mov byte [eax], cl
inc dword [edi + 4]
jmp 0x48e366
lea ecx, [ebp - 0x13a1]
push ecx
push eax
mov ecx, edi
call fcn.00483ec0
inc esi
add ebx, 2
cmp esi, dword [ebp - 0x13a8]
jne 0x48e340
mov edx, dword [ebp - 0x13bc]
pop edi
pop esi
pop ebx
test edx, edx
je 0x48e3ae
mov ecx, dword [ebp - 0x13b4]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x48e3a4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e3f5
push ecx
push edx
call fcn.004c1d47
add esp, 8
mov edx, dword [ebp - 0x13c8]
test edx, edx
je 0x48e3e7
mov ecx, dword [ebp - 0x13c0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x48e3dd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e3f5
push ecx
push edx
call fcn.004c1d47
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c7ca1
int3