Function at 0x481f40
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x5c
push ebx
push esi
push edi
call fcn.004a2650
mov esi, eax
lea ecx, [esi + 0x14]
call fcn.00436a10
lea ecx, [esi + 0x34]
call fcn.00436a10
push 0x1a
mov edx, 6
mov byte [esi + 0x54], 0
mov ecx, esi
mov dword [esi + 0x10], 0xff
mov byte [esi + 0x56], 0
mov dword [esi], 0
call fcn.0041e500
mov dword [0x5606c0], esi
add esp, 4
mov byte [esi + 0x54], 1
mov edx, dword [0x5606c0]
mov esi, edx
mov ecx, dword [esi]
test ecx, ecx
je 0x481fbf
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 8]
shl eax, 2
push eax
push 0
push ecx
call fcn.004fdf60
mov edx, dword [0x5606c0]
add esp, 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x481fe2
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 8]
shl eax, 2
push eax
push 0
push ecx
call fcn.004fdf60
mov edx, dword [0x5606c0]
add esp, 0xc
mov esi, 2
nop word [eax + eax]
lea ecx, [esi - 2]
imul ecx, dword [edx + 8]
lea eax, [esi - 2]
shr eax, 2
sub ecx, eax
mov eax, dword [edx + 4]
lea edx, [esi - 1]
mov dword [eax + ecx*4 + 0x14], 0xffffffff
lea eax, [esi - 1]
mov ecx, dword [0x5606c0]
shr eax, 2
imul edx, dword [ecx + 8]
sub edx, eax
mov eax, dword [ecx + 4]
mov dword [eax + edx*4 + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [0x5606c0]
shr eax, 2
mov edx, dword [ecx + 8]
imul edx, esi
sub edx, eax
mov eax, dword [ecx + 4]
mov dword [eax + edx*4 + 0x14], 0xffffffff
lea edx, [esi + 1]
mov eax, dword [0x5606c0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
imul ecx, edx
shr edx, 2
sub ecx, edx
lea edx, [esi + 2]
mov dword [eax + ecx*4 + 0x14], 0xffffffff
mov eax, dword [0x5606c0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
imul ecx, edx
shr edx, 2
sub ecx, edx
lea edx, [esi + 3]
add esi, 6
mov dword [eax + ecx*4 + 0x14], 0xffffffff
mov eax, dword [0x5606c0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
imul ecx, edx
shr edx, 2
sub ecx, edx
mov dword [eax + ecx*4 + 0x14], 0xffffffff
lea eax, [esi - 2]
cmp eax, 0x18
jge 0x4820b8
mov edx, dword [0x5606c0]
jmp 0x481ff0
mov edx, 0x18
nop dword [eax]
mov eax, dword [0x5606c0]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
imul ecx, edx
inc edx
mov dword [eax + ecx*4], 0xffffffff
mov dword [eax + ecx*4 + 4], 0xffffffff
cmp edx, 0x1a
jl 0x4820c0
mov ecx, dword [0x5606c0]
call fcn.0041ea80
mov ecx, 0x5c
call fcn.004a2650
mov esi, eax
lea ecx, [esi + 0x14]
call fcn.00436a10
lea ecx, [esi + 0x34]
call fcn.00436a10
push 0x12
mov edx, 0x10
mov byte [esi + 0x54], 0
mov ecx, esi
mov dword [esi + 0x10], 0xff
mov byte [esi + 0x56], 0
mov dword [esi], 0
call fcn.0041e500
mov eax, dword [0x563db0]
add esp, 4
mov dword [0x5636a4], esi
xor ebx, ebx
mov dword [ebp - 4], 0
imul edi, eax, 0x8088405
mov ecx, 3
inc edi
mov eax, edi
mul ecx
mov ecx, dword [esi + 8]
imul ecx, ebx
inc edx
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
imul esi, edi, 0x8088405
mov edi, dword [ebp - 4]
add ecx, dword [ebp - 4]
inc esi
mov dword [eax + ecx*4], edx
mov eax, esi
mov ecx, 3
imul esi, esi, 0x8088405
mul ecx
mov eax, dword [0x5636a4]
inc esi
inc edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
imul ecx, ebx
add ecx, edi
mov dword [eax + ecx*4 + 4], edx
mov ecx, 3
mov eax, esi
mul ecx
mov eax, dword [0x5636a4]
inc edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
imul ecx, ebx
add ecx, edi
mov dword [eax + ecx*4 + 8], edx
mov ecx, 3
imul eax, esi, 0x8088405
inc eax
mov dword [ebp - 0xc], eax
mov dword [0x563db0], eax
mul ecx
mov eax, dword [0x5636a4]
inc edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
imul ecx, ebx
add ecx, edi
add edi, 4
mov dword [ebp - 4], edi
mov dword [eax + ecx*4 + 0xc], edx
cmp edi, 0x10
jge 0x4821f4
mov esi, dword [0x5636a4]
mov eax, dword [ebp - 0xc]
jmp 0x482144
inc ebx
cmp ebx, 0x10
jge 0x482208
mov esi, dword [0x5636a4]
mov eax, dword [ebp - 0xc]
jmp 0x48213d
mov eax, dword [0x5636a4]
movaps xmm0, xmmword [0x545690]
mov ecx, dword [eax + 8]
shl ecx, 6
add ecx, dword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [0x5636a4]
mov eax, dword [eax + 8]
movups xmmword [ecx + eax*4], xmm0
mov eax, dword [0x5636a4]
mov byte [eax + 0x54], 0
call fcn.00481e40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret