Function at 0x53c170
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, esi
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x53c181
mov eax, dword fs:[0x2c]
sub edi, edx
push ebx
mov ecx, dword [eax]
mov eax, dword [0x6160f8]
cmp eax, dword [ecx + 4]
jle 0x53c383
push 0x6160f8
call fcn.00592b09
add esp, 4
cmp dword [0x6160f8], 0xffffffff
jne 0x53c383
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor eax, eax
test cl, 1
je 0x53c1cf
bts eax, 7
shr ecx, 1
test cl, 1
je 0x53c1da
bts eax, 6
shr ecx, 1
test cl, 1
je 0x53c1e5
bts eax, 5
shr ecx, 1
test cl, 1
je 0x53c1f0
bts eax, 4
shr ecx, 1
test cl, 1
je 0x53c1fb
bts eax, 3
shr ecx, 1
test cl, 1
je 0x53c206
bts eax, 2
shr ecx, 1
test cl, 1
je 0x53c211
bts eax, 1
test cl, 2
je 0x53c21a
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
test bl, 1
je 0x53c2b0
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x53c2a1
mov ecx, dword [esp + 0x14]
mov dword [ecx*4 + 0x613ef8], edx
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0xff
jle 0x53c1c4
mov edx, 0x6146f8
nop dword [eax]
mov ecx, dword [edx - 0x800]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, cl
mov dword [edx - 0x400], ecx
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, cl
mov dword [edx], ecx
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, cl
mov dword [edx + 0x400], ecx
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, cl
mov dword [edx + 0x800], ecx
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, cl
mov dword [edx + 0xc00], ecx
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, cl
mov dword [edx + 0x1000], ecx
shr ecx, 8
xor ecx, dword [eax*4 + 0x613ef8]
mov dword [edx + 0x1400], ecx
add edx, 4
cmp edx, 0x614af4
jle 0x53c2e0
push 0x6160f8
call fcn.00592abf
add esp, 4
or edx, 0xffffffff
cmp edi, 8
jb 0x53c425
mov ebx, edi
shr ebx, 3
movzx ecx, byte [esi + 3]
sub edi, 8
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
xor edx, ecx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6152f8]
xor ecx, dword [eax*4 + 0x6156f8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x614ef8]
movzx eax, byte [esi + 6]
xor ecx, dword [eax*4 + 0x6142f8]
movzx eax, byte [esi + 5]
xor ecx, dword [eax*4 + 0x6146f8]
movzx eax, byte [esi + 7]
xor ecx, dword [eax*4 + 0x613ef8]
movzx eax, byte [esi + 4]
add esi, 8
xor ecx, dword [eax*4 + 0x614af8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x615af8]
mov edx, ecx
sub ebx, 1
jne 0x53c394
pop ebx
test edi, edi
je 0x53c44a
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x613ef8]
sub edi, 1
jne 0x53c430
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push eax
lea eax, [esp + 0x1c]
not edx
push eax
movzx eax, dl
xor edx, edx
lea ecx, [eax*4]
add ecx, ebp
call fcn.0053766a
mov al, byte [esp + 0x17]
add esp, 8
pop edi
pop esi
pop ebp
add esp, 8
ret 4