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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10127350
mov eax, dword fs:[0]
push eax
mov eax, 0x13c4
call fcn.100c4bf0
mov eax, dword [0x10167c60]
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, dword [ebp + 8]
lea ecx, [ebp - 0x13ad]
mov dword [ebp - 0x13d0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c0], eax
mov dword [ebp - 0x13c4], 0
call fcn.10066350
push eax
lea ecx, [ebp - 0x24]
call fcn.100079a0
lea ecx, [ebp - 0x13ad]
mov dword [ebp - 4], 1
call fcn.10066190
push eax
lea ecx, [ebp - 0x20]
call fcn.100079a0
lea ecx, [ebp - 0x13ad]
mov byte [ebp - 4], 2
call fcn.10066270
push eax
lea ecx, [ebp - 0x1c]
call fcn.100079a0
lea ecx, [ebp - 0x13ad]
mov byte [ebp - 4], 3
call fcn.10066430
push eax
lea ecx, [ebp - 0x18]
call fcn.100079a0
lea ecx, [ebp - 0x13ad]
mov byte [ebp - 4], 4
call fcn.10066510
push eax
lea ecx, [ebp - 0x14]
call fcn.100079a0
push 0
mov dword [ebp - 4], 5
call fcn.100f831a
mov edx, eax
mov dword [ebp - 0x28], 0xffffffff
add esp, 4
mov dword [ebp - 0x13a8], 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 - 0x13a8], edx
inc ecx
cmp ecx, 0x270
jl 0x10066ff0
mov dword [ebp - 0x13ac], 0x270
mov dword [ebp - 0x13cc], 1
mov dword [ebp - 0x13c8], 5
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100671a8
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x13b4], esi
xor ebx, ebx
mov byte [ebp - 4], 6
lea edi, [ebx + 0x1a]
lea ecx, [ebp - 0x13ac]
call fcn.10036340
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
cmp edx, 0x9d89d89
jae 0x10067053
xor edx, edx
mov eax, ecx
div edi
add edx, 0x80000061
cmp edx, 0x80000000
lea eax, [edx - 0x80000000]
lea ecx, [edx - 0x80000000]
cmovae ecx, eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x13b8], ecx
mov dword [ebp - 0x13bc], eax
lea edi, [eax + 1]
test edi, edi
js 0x1006719e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x100670d0
push edi
lea ecx, [ebp - 0x13b4]
call fcn.1000b310
mov esi, dword [ebp - 0x13b4]
mov ecx, dword [ebp - 0x13bc]
mov eax, dword [ebp - 0x13b8]
mov word [esi + ecx*2], ax
cmp edi, dword [esi - 8]
jg 0x1006719e
xor eax, eax
mov dword [esi - 0xc], edi
inc ebx
mov word [esi + edi*2], ax
lea edi, [eax + 0x1a]
cmp ebx, 5
jne 0x10067053
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100671b2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x13c0]
add eax, 0x10
mov dword [edi], eax
push esi
lea eax, [ebp - 0x13ac]
mov dword [ebp - 0x13c4], 1
push eax
lea ecx, [ebp - 0x13cc]
call fcn.1005c6f0
mov eax, dword [ebp + eax*4 - 0x28]
push eax
push str._s__s
push edi
call fcn.100086f0
add esp, 0x10
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1006716a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push fcn.10007df0
push 5
push 4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0
push eax
call fcn.100c4d78
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.100c495f
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3