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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10349380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x14]
lea ebx, [eax + eax*2]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], 0x474e5089
mov dword [ebp - 8], 0xa1a0a0d
mov dword [ebp - 0x40], ebx
test edi, edi
jne 0x10053faa
mov dword [ebp - 0x2c], ebx
jmp 0x10053fad
mov dword [ebp - 0x40], ebx
xor ecx, ecx
lea eax, [ebx + 1]
mov dword [ebp - 0x20], eax
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10265450
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10053ffc
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, 3
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10265450
mov edi, eax
add esp, 4
test edi, edi
jne 0x1005400f
mov eax, dword [ebp - 0x38]
push eax
call fcn.1025fabe
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10255465
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [ebp - 0x14], edx
test esi, esi
jle 0x100541b1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
nop dword [eax]
nop word [eax + eax]
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x4c], 0x7fffffff
mov dword [ebp - 0x48], ecx
push edi
push ecx
push ecx
mov ecx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x18]
call fcn.10053c80
xor esi, esi
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 0x44], esi
test ebx, ebx
jle 0x100540d9
cmp ebx, 8
jb 0x100540d9
cmp dword [0x1034eee4], 2
jl 0x100540d9
mov eax, ebx
and eax, 0x80000007
jns 0x10054080
dec eax
or eax, 0xfffffff8
inc eax
mov edx, ebx
xorps xmm1, xmm1
sub edx, eax
xorps xmm2, xmm2
nop word [eax + eax]
pmovsxbd xmm0, dword [ecx + edi]
pabsd xmm0, xmm0
paddd xmm1, xmm0
pmovsxbd xmm0, dword [edi + ecx + 4]
add ecx, 8
pabsd xmm0, xmm0
paddd xmm2, xmm0
cmp ecx, edx
jl 0x10054090
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd esi, xmm1
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
cmp ecx, ebx
jge 0x10054142
mov eax, ebx
sub eax, ecx
cmp eax, 2
jl 0x1005412f
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov esi, ebx
nop
movsx eax, byte [ecx + edi]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
movsx eax, byte [edi + ecx + 1]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
add esi, eax
cmp ecx, dword [ebp - 0x3c]
jl 0x10054100
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x44]
cmp ecx, ebx
jge 0x1005413a
movsx eax, byte [ecx + edi]
cdq
xor eax, edx
sub eax, edx
add esi, eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
add esi, eax
mov edx, dword [ebp - 0x4c]
cmp esi, edx
mov ecx, dword [ebp - 0x48]
mov eax, ecx
cmovge eax, dword [ebp - 0x30]
inc ecx
cmp esi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], ecx
cmovge esi, edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x1c]
cmp ecx, 5
jl 0x10054043
cmp ecx, eax
je 0x1005418b
push edi
push eax
push ecx
mov ecx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x18]
call fcn.10053c80
mov ecx, dword [ebp - 0x30]
add esp, 0x18
mov eax, dword [ebp - 0x34]
push ebx
push edi
mov byte [eax], cl
inc eax
push eax
call fcn.102574c0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 1]
add dword [ebp - 0x34], eax
inc edx
add esp, 0xc
mov dword [ebp - 0x14], edx
cmp edx, esi
jl 0x10054030
mov ebx, dword [ebp - 0x20]
push edi
call fcn.1025fabe
imul ebx, esi
lea eax, [ebp - 0x10]
mov esi, dword [ebp - 0x38]
mov ecx, esi
push 8
push eax
mov edx, ebx
call fcn.100531c0
mov ebx, eax
push esi
mov dword [ebp - 0x3c], ebx
call fcn.1025fabe
add esp, 0x10
test ebx, ebx
je 0x10053ffc
mov ecx, dword [ebp - 0x10]
xor edx, edx
add ecx, 0x2d
add ecx, 0xc
setb dl
neg edx
or edx, ecx
push edx
call fcn.10265450
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
je 0x10053ffc
mov ebx, dword [ebp - 0x10]
lea edi, [edx + 8]
mov ecx, dword [ebp - 0x54]
lea eax, [ebx + 0x39]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
or edx, 0xffffffff
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sar eax, 0x18
mov byte [edi + 8], al
mov eax, ecx
sar eax, 0x10
mov byte [edi + 9], al
mov eax, ecx
sar eax, 8
mov byte [edi + 0xa], al
mov byte [edi + 0xb], cl
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sar eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
sar eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
sar eax, 8
xor esi, esi
mov dword [edi], 0xd000000
mov dword [edi + 4], 0x52444849
mov byte [edi + 0xe], al
mov byte [edi + 0xf], cl
mov dword [edi + 0x10], 0x208
mov byte [edi + 0x14], 0
nop
movzx ecx, byte [edi + esi + 4]
inc esi
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1033e1f0]
cmp esi, 0x11
jl 0x10054280
not edx
mov esi, dword [ebp - 0x3c]
mov eax, edx
mov byte [edi + 0x18], dl
shr eax, 0x18
mov byte [edi + 0x15], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0x16], al
mov eax, edx
shr eax, 8
mov byte [edi + 0x17], al
mov eax, ebx
sar eax, 0x18
mov byte [edi + 0x19], al
mov eax, ebx
sar eax, 0x10
mov byte [edi + 0x1a], al
mov eax, ebx
sar eax, 8
push ebx
mov byte [edi + 0x1b], al
mov byte [edi + 0x1c], bl
mov dword [edi + 0x1d], 0x54414449
add edi, 0x21
push esi
push edi
call fcn.102574c0
push esi
add edi, ebx
call fcn.1025fabe
mov eax, dword [ebp - 0x10]
add esp, 0x10
or edx, 0xffffffff
lea ebx, [eax + 4]
test ebx, ebx
jle 0x10054320
mov esi, edi
sub esi, eax
sub esi, 4
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1033e1f0]
sub ebx, 1
jne 0x10054306
not edx
mov dword [edi + 4], 0
mov eax, edx
mov byte [edi + 3], dl
shr eax, 0x18
mov byte [edi], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr eax, 8
mov byte [edi + 2], al
mov dword [edi + 8], 0x444e4549
movzx eax, byte [edi + 9]
movzx ecx, byte [edi + 0xa]
xor eax, 0x46
mov edx, dword [eax*4 + 0x1033e1f0]
xor edx, 0x22fde9
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1033e1f0]
movzx ecx, byte [edi + 0xb]
movzx eax, dl
xor ecx, eax
shr edx, 8
mov eax, dword [ebp - 0x20]
xor edx, dword [ecx*4 + 0x1033e1f0]
not edx
mov ecx, edx
mov byte [edi + 0xf], dl
shr ecx, 0x18
mov byte [edi + 0xc], cl
mov ecx, edx
shr ecx, 0x10
mov byte [edi + 0xd], cl
mov ecx, edx
shr ecx, 8
mov byte [edi + 0xe], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10255465
mov esp, ebp
pop ebp
ret