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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
movzx esi, al
movzx eax, bl
add eax, esi
mov dword [ebp - 0x4a8], ecx
push edi
mov edi, 0xc
test al, 7
jne 0x53ba06
lea eax, [esi + ebx]
mov dword [ebp - 0x4ac], 0x10
push eax
mov dword [ebp - 0x4b0], eax
call fcn.0060ad8e
add esp, 4
mov dword [ebp - 0x4b4], eax
test eax, eax
je 0x53ba06
push esi
push dword [ebp - 0x4a8]
push eax
call fcn.00607820
mov eax, dword [ebp - 0x4b4]
push ebx
push dword [ebp + 0x10]
add eax, esi
push eax
call fcn.00607820
mov ebx, dword [ebp - 0x4b0]
push ebx
lea eax, [ebx + ebx]
mov dword [ebp - 0x4a8], eax
inc eax
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4b8], eax
call fcn.0060ad8e
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x53ba06
movaps xmm0, xmmword [0x682390]
mov ecx, dword [ebp + 0x18]
movups xmmword [ebp - 0x14], xmm0
cmp ecx, 2
je 0x53b8a8
cmp ecx, 3
je 0x53b8a3
sub ecx, 4
je 0x53b892
sub ecx, 1
je 0x53b8a3
sub ecx, 1
jne 0x53b8a8
mov dword [ebp - 0x4ac], edi
lea edi, [ecx + 8]
mov dword [ebp - 0x14], 0x87a023
mov dword [ebp - 0xc], 0x20396543
jmp 0x53b8a8
mov dword [ebp - 0x4ac], 0xd
mov edi, 8
jmp 0x53b8a8
mov edi, 0x10
push 0x8c
lea eax, [ebp - 0xa4]
push 0
push eax
call fcn.00607da0
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x4c0], 0x20396443
push eax
push dword [ebp - 0x4ac]
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x4bc], 0xd44214f3
push eax
call fcn.0053c080
push 1
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0xa4]
push eax
push ebx
push esi
push dword [ebp - 0x4b4]
call fcn.0054ffb0
push ebx
push esi
call fcn.0053ba20
add esp, 0x3c
mov ebx, eax
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53b912
sub eax, edx
lea edi, [ebp - 0x4a4]
sar eax, 1
mov ecx, 0x100
mov esi, 0x681f88
xor edx, edx
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + eax]
xor esi, esi
test edi, edi
jle 0x53b958
nop
movzx ecx, byte [esi + ebx]
inc esi
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x4a4]
cmp esi, edi
jl 0x53b940
lea eax, [ebp - 0x4b8]
not edx
push 4
push eax
mov dword [ebp - 0x4b8], edx
call fcn.0053ba20
mov edi, eax
mov eax, dword [ebp - 0x4a8]
add eax, 9
lea ecx, [eax + eax]
push ecx
call fcn.005ea3bc
mov esi, eax
add esp, 0xc
test esi, esi
je 0x53b9d9
test ebx, ebx
je 0x53b9ce
test edi, edi
je 0x53b9ce
mov eax, dword [ebp - 0x4a8]
push 8
push edi
add eax, 9
push eax
push esi
call fcn.0060d34e
push dword [ebp - 0x4a8]
lea eax, [esi + 0x10]
push ebx
push dword [ebp - 0x4b0]
push eax
call fcn.0060d34e
mov eax, dword [ebp - 0x4a8]
add esp, 0x20
xor ecx, ecx
mov word [esi + eax*2 + 0x10], cx
jmp 0x53b9d9
push esi
call fcn.005e9ca1
add esp, 4
xor esi, esi
test edi, edi
je 0x53b9e6
push edi
call fcn.005e9ca1
add esp, 4
test ebx, ebx
je 0x53b9f3
push ebx
call fcn.005e9ca1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e9f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e9f40
mov esp, ebp
pop ebp
ret