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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x4459a0
cmp dword [esi + 0x38], 0
je 0x4459a0
cmp dword [esi + 0x9c], 0
je 0x445693
call fcn.00445ca0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
call fcn.00445460
add esp, 8
test eax, eax
je 0x4456c0
mov eax, 0xffffff99
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x90
call fcn.005873b1
mov edi, eax
add esp, 4
test edi, edi
je 0x44570e
push 0x4000
call fcn.005873b1
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], 0
mov dword [edi + 0x8c], 0
test eax, eax
jne 0x445724
push edi
call fcn.00587396
add esp, 4
pop edi
pop ebx
mov eax, 0xffffff98
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x40], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], eax
mov dword [edi + 0x18], 0
movups xmmword [edi + 0x60], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x70], xmm0
cmp ecx, 0xc
jne 0x445939
mov dword [edi + 0x8c], 1
mov eax, dword [esi + 0x60]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1e
mov dword [edi + 8], 0
add eax, dword [esi + 0x98]
mov dword [edi + 0x3c], eax
mov dword [esi + 0x9c], edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0xa0], 0
test edi, edi
je 0x445926
mov dword [esi + 0xb0], 0x686570
mov dword [esi + 0xa4], 0x12345678
mov dword [esi + 0xa8], 0x23456789
mov dword [esi + 0xac], 0x34567890
mov al, byte [edi]
test al, al
je 0x44584b
mov ebx, 0x12345678
mov dword [ebp - 0x14], 0x23456789
mov edx, 0x34567890
movsx eax, al
lea edi, [edi + 1]
xor eax, ebx
mov ecx, ebx
movzx eax, al
shr ecx, 8
mov ebx, dword [eax*4 + 0x686570]
xor ebx, ecx
movzx eax, bl
add eax, dword [ebp - 0x14]
imul eax, eax, 0x8088405
mov dword [esi + 0xa4], ebx
inc eax
mov dword [esi + 0xa8], eax
mov dword [ebp - 0x14], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x686570]
mov dword [esi + 0xac], edx
mov al, byte [edi]
test al, al
jne 0x4457f8
mov ecx, dword [esi + 0x9c]
push 0
mov eax, dword [ecx + 0x88]
add eax, dword [ecx + 0x3c]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 0x10]
push dword [esi + 0x1c]
call eax
add esp, 0x10
test eax, eax
jne 0x44570e
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 4]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, 0xc
jb 0x44570e
mov edi, dword [esi + 0xb0]
xor edx, edx
nop dword [eax + eax]
mov ecx, dword [esi + 0xac]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
mov ecx, dword [esi + 0xa4]
shr eax, 8
xor byte [ebp + edx - 0x10], al
movsx eax, byte [ebp + edx - 0x10]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [edi + eax*4]
xor eax, ecx
mov ecx, dword [esi + 0xac]
mov dword [esi + 0xa4], eax
movzx eax, al
add eax, dword [esi + 0xa8]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0xa8], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
mov dword [esi + 0xac], ecx
cmp edx, 0xc
jl 0x4458a0
mov eax, dword [esi + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [esi + 0xa0], 1
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
cmp ecx, 8
jne 0x44577c
sub esp, 8
mov dword [edi + 0x24], 0
lea ecx, [edi + 4]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ecx], 0
mov dword [edi + 8], 0
call fcn.00445f40
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x445984
mov dword [edi + 0x40], 8
jmp 0x44577c
push edi
call fcn.00587396
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffff9a
xor ecx, ebp
pop esi
call fcn.0055d371
mov esp, ebp
pop ebp
ret