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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ebx
push esi
mov esi, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
xor edx, edx
push edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
movsx edx, byte [ebp + edx - 0x10]
mov esi, edi
and esi, 0xfffd
or esi, 2
mov ebx, esi
xor ebx, 1
imul ebx, esi
sar ebx, 8
xor ebx, edx
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x511160]
mov edx, edi
movzx esi, cl
add esi, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
imul esi, esi, 0x8088405
inc esi
mov ebx, esi
shr ebx, 0x18
xor ebx, edi
mov dword [eax + 0x14], esi
and ebx, 0xff
shr edx, 8
xor edx, dword [ebx*4 + 0x511160]
mov edi, edx
and edi, 0xfffd
or edi, 2
mov ebx, edi
xor ebx, 1
imul ebx, edi
mov edi, dword [ebp - 0x18]
movsx edi, byte [ebp + edi - 0xf]
sar ebx, 8
xor ebx, edi
xor ebx, ecx
and ebx, 0xff
mov dword [eax + 0x18], edx
shr ecx, 8
xor ecx, dword [ebx*4 + 0x511160]
movzx edi, cl
add edi, esi
imul edi, edi, 0x8088405
inc edi
mov esi, edi
shr esi, 0x18
xor esi, edx
and esi, 0xff
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], ecx
shr edx, 8
xor edx, dword [esi*4 + 0x511160]
mov esi, edx
and esi, 0xfffd
or esi, 2
mov ebx, esi
xor ebx, 1
imul ebx, esi
mov esi, dword [ebp - 0x18]
movsx esi, byte [ebp + esi - 0xe]
sar ebx, 8
xor ebx, esi
xor ebx, ecx
mov dword [eax + 0x18], edx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x511160]
movzx esi, cl
add esi, edi
imul esi, esi, 0x8088405
inc esi
mov edi, esi
shr edi, 0x18
xor edi, edx
and edi, 0xff
shr edx, 8
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
xor edx, dword [edi*4 + 0x511160]
mov edi, edx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [ebp - 0x18]
sar ebx, 8
xor bl, byte [ebp + edx - 0xd]
mov dword [eax + 0x18], edi
mov byte [ebp - 0x11], bl
movsx ebx, bl
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x511160]
add edx, 4
movzx ebx, cl
add ebx, esi
imul ebx, ebx, 0x8088405
inc ebx
mov esi, ebx
mov dword [eax + 0x14], esi
shr esi, 0x18
xor esi, edi
and esi, 0xff
shr edi, 8
mov dword [eax + 0x10], ecx
xor edi, dword [esi*4 + 0x511160]
mov dword [ebp - 0x1c], ebx
mov dword [eax + 0x18], edi
mov dword [ebp - 0x18], edx
cmp edx, 0xc
jl 0x450b90
mov al, byte [ebp + 0x14]
mov edi, dword [ebp + 0x10]
test al, al
je 0x450d32
mov ecx, dword [ebp + 0xc]
shr ecx, 8
cmp cl, byte [ebp - 0x11]
jmp 0x450d3a
mov edx, edi
shr edx, 0x18
cmp dl, byte [ebp - 0x11]
sete bl
test bl, bl
jne 0x450d77
mov esi, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
movzx eax, al
push eax
push str.isDataDescriptor
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push edi
push str.crc32
mov ecx, esi
call edx
push 0xc
lea eax, [ebp - 0x10]
push eax
push str.PwdProtectData
mov ecx, esi
call fcn.004205d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00462838
mov esp, ebp
pop ebp
ret 0x14