Function at 0x10078160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
xor edx, edx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x3bcd4], 0
lea edi, [ebx + 0x19c]
mov dword [ebx + 0x3bcd0], 0
lea esi, [ebx + 0x20c]
mov dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1e8], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c8], 0x20
mov dword [ebx + 0x1f0], 1
mov dword [ebx + 0x1e4], 4
mov dword [ebx + 0x1f4], 0
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x100781d6
mov dword [ebx + 0x118], 0
lea edx, [ebp - 0x44]
mov dword [ebx + 0x148], 0
mov ecx, ebx
mov dword [ebx + 0x170], 0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x198], edi
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x18], 0
call fcn.10075a00
lea esi, [ebx + 0x306a0]
mov edx, 2
mov word [esi], 0x100
mov ebx, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
mov ecx, ebx
mov eax, 1
sar ecx, 1
dec ecx
shl eax, cl
mov dword [ebp - 8], eax
test eax, eax
je 0x100783d1
mov ecx, eax
lea edi, [edx + esi]
mov edx, dword [ebp - 4]
mov al, bl
mov esi, ecx
movzx eax, al
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
add edx, esi
mov esi, dword [ebp - 0xc]
rep stosb byte es:[edi], al
mov dword [ebp - 4], edx
inc ebx
cmp ebx, 0x16
jl 0x10078395
mov ebx, dword [ebp - 0x10]
mov edi, 8
nop
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop word [eax + eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x1007840a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x10078400
sub esi, 1
jne 0x100783f0
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x100783e0
pop edi
mov dword [ebx + 0x325ac], esi
mov dword [ebx + 0x3bd10], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret