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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ebx
test esi, esi
je 0x56bd5b
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x56bcf7
sub ecx, edx
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x56bd05
sub edx, edi
lea eax, [edx + 1]
add eax, ecx
push eax
call fcn.006637cb
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
sub eax, esi
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x56bd23
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x56bd32
sub ebx, esi
dec edx
nop dword [eax]
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x56bd40
mov ecx, ebx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x56bd60
sub esi, ecx
mov eax, 0xffffffff
cmp esi, 0x10
jb 0x56bf95
mov bl, byte [edi]
movsx edx, bl
sub bl, 0x61
cmp bl, 0x19
mov bl, byte [edi + 1]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 2]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 3]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 4]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 5]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 6]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 7]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 8]
lea ecx, [edx - 0x20]
cmova ecx, edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7751c8]
movsx edx, bl
sub bl, 0x61
cmp bl, 0x19
mov bl, byte [edi + 9]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 0xa]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 0xb]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 0xc]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 0xd]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 0xe]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
mov bl, byte [edi + 0xf]
lea ecx, [edx - 0x20]
cmova ecx, edx
movsx edx, bl
xor ecx, eax
sub bl, 0x61
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x7751c8]
cmp bl, 0x19
lea ecx, [edx - 0x20]
cmova ecx, edx
add edi, 0x10
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7751c8]
sub esi, 0x10
cmp esi, 0x10
jae 0x56bd77
test esi, esi
je 0x56bfc8
nop dword [eax]
mov bl, byte [edi]
lea edi, [edi + 1]
movsx edx, bl
sub bl, 0x61
cmp bl, 0x19
lea ecx, [edx - 0x20]
cmova ecx, edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7751c8]
sub esi, 1
jne 0x56bfa0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret