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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101537b3
mov eax, dword fs:[0]
push eax
mov eax, 0x139c
call fcn.100f4ef0
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x139c], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x13a0], 0
mov ebx, 0x186a1
test esi, esi
je 0x10011c3f
lea ebx, [eax + 0x24]
lea edi, [ebx + 8]
push edi
call fcn.100504eb
add esp, 4
test eax, eax
je 0x10011be2
push eax
call fcn.1005092b
add esp, 4
mov ebx, dword [ebx]
mov esi, ebx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10011c12
mov ecx, dword [ebp - 0x13a0]
cmp dword [eax + 0x10], ecx
jge 0x10011bff
mov eax, dword [eax + 8]
jmp 0x10011c03
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10011bf5
cmp esi, ebx
je 0x10011c12
cmp ecx, dword [esi + 0x10]
jge 0x10011c14
mov esi, ebx
push edi
mov byte [ebp - 4], 1
call fcn.10050510
add esp, 4
test eax, eax
je 0x10011c2e
push eax
call fcn.1005092b
add esp, 4
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x10011cca
mov ebx, 0x186a1
call fcn.1005098d
mov dword [ebp - 0x14], 0xffffffff
mov edx, 1
mov dword [ebp - 0x1394], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [ebp + edx*4 - 0x1394], eax
inc edx
cmp edx, 0x270
jl 0x10011c56
mov dword [ebp - 0x1398], 0x270
nop
lea ecx, [ebp - 0x1398]
call fcn.10011590
mov ecx, eax
mov eax, 0x29f14f95
mul ecx
shr edx, 0xe
cmp edx, 0xa7c5
jae 0x10011c80
xor edx, edx
mov eax, ecx
div ebx
lea eax, [edx - 0x80000000]
cmp eax, 0x80000000
lea esi, [eax - 0x80000000]
mov eax, dword [ebp - 0x139c]
cmovae esi, edx
mov dword [ebp - 0x13a0], esi
jmp 0x10011bc2
push edi
mov dword [ebp - 0x13a8], edi
call fcn.100504eb
add esp, 4
test eax, eax
je 0x10011ce6
push eax
call fcn.1005092b
add esp, 4
mov ebx, dword [ebp - 0x139c]
mov byte [ebp - 4], 2
mov edx, dword [ebx + 0x24]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10011d21
mov ecx, dword [ebp - 0x13a0]
cmp dword [eax + 0x10], ecx
jge 0x10011d0e
mov eax, dword [eax + 8]
jmp 0x10011d12
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10011d04
cmp esi, edx
je 0x10011d21
cmp ecx, dword [esi + 0x10]
jge 0x10011d63
lea eax, [ebp - 0x13a0]
mov dword [ebp - 0x139c], eax
lea ecx, [ebx + 0x24]
lea eax, [ebp - 0x13a1]
push eax
lea eax, [ebp - 0x139c]
push eax
push 0x10161b20
call fcn.10010e80
push eax
add eax, 0x10
lea ecx, [ebx + 0x24]
push eax
push esi
lea eax, [ebp - 0x139c]
push eax
call fcn.10011010
mov esi, dword [ebp - 0x139c]
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x18]
call fcn.10011400
push edi
mov byte [ebp - 4], 3
call fcn.10050510
add esp, 4
test eax, eax
je 0x10011d89
push eax
call fcn.1005092b
add esp, 4
mov ecx, dword [ebp + 0x2c]
mov edi, dword [ebp - 0x13a0]
test ecx, ecx
je 0x10011da7
mov esi, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 0x28