Function at 0x486010
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cec08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [esi + 0xc], 0x12345678
mov dword [esi + 0x10], 0x23456789
mov dword [esi + 0x14], 0x34567890
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
call fcn.0040b490
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
mov dword [ebp - 4], 0
call fcn.00411470
lea ecx, [ebp - 0x2c]
call fcn.0040d5b0
mov edi, eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], edi
call fcn.0040d580
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
test edi, edi
je 0x486119
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
nop
mov esi, dword [ebp - 0x30]
movsx eax, byte [eax + esi]
mov esi, dword [ebp - 0x40]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov dword [ebp - 0x3c], eax
mov dword [esi + 0xc], eax
movzx eax, al
add eax, edi
mov ecx, dword [ebp - 0x3c]
imul edi, eax, 0x8088405
inc edi
mov eax, edi
mov dword [esi + 0x10], edi
shr eax, 0x18
movsx eax, al
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [esi + 0x14], edx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x44]
jb 0x4860c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b4f0
mov dword [ebp - 0x30], 0
nop
call fcn.00418bc0
mov ecx, eax
movzx edx, al
sar ecx, 6
test cl, cl
movzx eax, cl
mov ecx, dword [esi + 0xc]
cmovne edx, eax
mov dword [ebp - 0x34], edx
mov eax, edx
movsx eax, al
xor eax, ecx
mov edx, dword [esi + 0x14]
movzx eax, al
mov edi, edx
shr ecx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0xc], eax
movzx eax, al
add eax, dword [esi + 0x10]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x10], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
mov eax, edi
xor eax, 1
mov dword [esi + 0x14], edx
mov edx, dword [ebp - 0x38]
imul eax, edi
sar eax, 8
xor al, byte [ebp - 0x34]
mov byte [edx + ecx], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0xa
jl 0x486130
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x3c], eax
mov ecx, dword [esi + 0xc]
movsx eax, al
xor eax, ecx
mov edx, dword [esi + 0x14]
movzx eax, al
mov edi, edx
shr ecx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
movzx eax, al
add eax, dword [esi + 0x10]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x10], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
mov eax, edi
xor eax, 1
mov dword [esi + 0x14], edx
imul eax, edi
sar eax, 8
xor al, byte [ebp - 0x3c]
mov byte [ecx + 0xa], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
shr eax, 0x18
mov dword [ebp + 0x10], eax
movsx eax, al
xor eax, ecx
mov edx, dword [esi + 0x14]
movzx eax, al
mov edi, edx
shr ecx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0xc], eax
movzx eax, al
add eax, dword [esi + 0x10]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x10], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
mov eax, edi
xor eax, 1
mov dword [esi + 0x14], edx
imul eax, edi
sar eax, 8
xor al, byte [ebp + 0x10]
mov byte [ecx + 0xb], al
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.004a4dea
mov esp, ebp
pop ebp
ret 0x14