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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc7f3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0xcaf584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0xbb1eeb
cmp dword [ebp + 0x18], ebx
je 0xbb1eeb
lea eax, [ebp - 0x2c]
push eax
call fcn.00c2c730
mov edx, dword [ebp - 0x2c]
mov esi, 0x10
or eax, 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0xbb1c50
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0xbb1c7b
jmp 0xbb1c60
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xc9caa8]
dec ecx
inc edx
cmp ecx, ebx
jne 0xbb1c60
not eax
mov dword [ebp - 0x8c], eax
mov eax, 0xf
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 2
push 7
push str.t_psp
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00b92a60
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 3
call fcn.00b9fc50
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0xbb1cd6
mov eax, dword [ebp - 0x64]
push eax
call fcn.00c125e4
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
cmp dword [ebp - 0x34], esi
jae 0xbb1ced
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0xbb1cf8
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push edx
push eax
lea ecx, [ebp - 0x84]
call fcn.00b92300
mov edi, dword [ebp - 0x88]
add edi, 8
push edi
call fcn.00c130b5
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov esi, eax
mov eax, dword [ebp - 0x8c]
push ecx
mov dword [esi + 4], eax
push edx
lea eax, [esi + 8]
push eax
mov dword [esi], edi
call fcn.00c168b0
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00c13498
add esp, 0x28
push edi
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00b92a60
mov byte [ebp - 4], 4
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 8]
jae 0xbb1d7d
lea edx, [ebp + 8]
mov eax, edx
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xbb1d90
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x64]
call fcn.00b92a60
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00bdc3e0
mov edi, 0x10
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x50], edi
jb 0xbb1dd6
mov eax, dword [ebp - 0x64]
push eax
call fcn.00c125e4
add esp, 4
push esi
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00c13498
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], ebx
je 0xbb1e75
cmp dword [ebp - 0x6c], edi
jb 0xbb1e09
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00c125e4
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], edi
jb 0xbb1e2c
mov edx, dword [ebp - 0x48]
push edx
call fcn.00c125e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0xbb1e49
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00c125e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], edi
jb 0xbb1e6a
mov ecx, dword [ebp + 8]
push ecx
call fcn.00c125e4
add esp, 4
mov eax, dword [ebp - 0x84]
jmp 0xbb1f09
cmp dword [ebp - 0x6c], edi
jb 0xbb1e86
mov edx, dword [ebp - 0x80]
push edx
call fcn.00c125e4
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x34], edi
jb 0xbb1ea9
mov eax, dword [ebp - 0x48]
push eax
call fcn.00c125e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0xbb1ec6
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00c125e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], edi
jb 0xbb1ee7
mov edx, dword [ebp + 8]
push edx
call fcn.00c125e4
add esp, 4
xor eax, eax
jmp 0xbb1f09
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0xbb1f04
mov eax, dword [ebp + 8]
push eax
call fcn.00c125e4
add esp, 4
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00c12239
mov esp, ebp
pop ebp
ret