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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e668
mov eax, dword fs:[0]
push eax
mov eax, 0x1498
call fcn.00609180
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13cc], eax
cmp byte [ecx + 0x128], 0
mov dword [ebp - 0x13dc], eax
je 0x5a9847
xor ecx, ecx
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x5a9afe
call fcn.005f8a84
mov dword [ebp - 0x44], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x13c4], eax
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ebp + ecx*4 - 0x13c4], eax
inc ecx
cmp ecx, 0x270
jb 0x5a9860
lea eax, [ebp - 0x13c8]
mov dword [ebp - 0x13c8], 0x270
push eax
lea ecx, [ebp - 0x13d0]
mov dword [ebp - 0x13d0], 0
mov dword [ebp - 0x13cc], 0xffffffff
call fcn.005a54c0
mov edi, eax
lea ecx, [ebp - 0x13d0]
lea eax, [ebp - 0x13c8]
push eax
call fcn.005a54c0
mov esi, eax
lea ecx, [ebp - 0x13d0]
lea eax, [ebp - 0x13c8]
push eax
call fcn.005a54c0
mov dword [ebp - 0x13d4], eax
lea ecx, [ebp - 0x13d0]
lea eax, [ebp - 0x13c8]
push eax
call fcn.005a54c0
mov dword [ebp - 0x13cc], eax
lea ecx, [ebp - 0x1474]
mov eax, dword [ebp - 0x13d4]
and esi, 0xffff0fff
and eax, 0x3fffffff
add esi, 0x4000
sub eax, 0x80000000
mov dword [ebp - 0x13d8], esi
push 1
mov dword [ebp - 0x13d4], eax
call fcn.004def60
mov eax, dword [ebp - 0x1474]
lea ecx, [ebp - 0x1460]
push 0
push 8
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
mov eax, dword [ebp - 0x1474]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x1434], 0x47
lea eax, [ebp - 0x1484]
push eax
call fcn.005f580d
add esp, 0xc
lea ecx, [ebp - 0x1474]
mov esi, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x1474]
mov eax, dword [eax + 4]
add eax, ecx
mov ecx, esi
push eax
call dword [0x659730]
call esi
add esp, 0xc
lea ecx, [ebp - 0x1474]
push edi
call fcn.004df0c0
push 0
mov edi, eax
lea eax, [ebp - 0x1494]
push 8
push eax
call fcn.005f580d
add esp, 0xc
mov esi, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
mov ecx, esi
call dword [0x659730]
call esi
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x13d8]
call fcn.004df0c0
push 0
mov edi, eax
lea eax, [ebp - 0x14a4]
push 8
push eax
call fcn.005f580d
add esp, 0xc
mov esi, dword [eax]
mov ecx, esi
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call dword [0x659730]
call esi
mov eax, dword [ebp - 0x13d4]
add esp, 0xc
mov ecx, edi
push eax
call fcn.004df0c0
push 0
mov edi, eax
lea eax, [ebp - 0x38]
push 8
push eax
call fcn.005f580d
add esp, 0xc
mov esi, dword [eax]
mov ecx, esi
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
call dword [0x659730]
call esi
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x13cc]
call fcn.004df0c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1474]
call fcn.004e0d30
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004e3440
mov edx, dword [ebp - 0x2c]
add esp, 8
cmp edx, 0x10
jb 0x5a9ab2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5a9aa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a9b1b
push edx
push ecx
call fcn.00608415
add esp, 8
mov esi, dword [ebp - 0x13dc]
lea ecx, [ebp - 0x1474]
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004df1f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 4
call fcn.0060e0d0
int3