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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d38b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10029094]
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
push 0
push 2
call fcn.10007230
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x10005b38
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x128
push eax
push ebx
call fcn.10006ec0
add esp, 8
test eax, eax
jne 0x10005b56
push ebx
call fcn.10007190
add esp, 4
xor al, al
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.1000a678
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x139], 0
nop dword [eax]
call fcn.10005060
test eax, eax
je 0x10005dc4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x140]
test eax, 0xffff0000
jne 0x10005ba2
movzx eax, ax
push eax
call fcn.10005e90
jmp 0x10005ba8
push eax
call fcn.10005390
mov esi, dword [ebp - 0x140]
mov dword [ebp - 4], 1
mov edi, dword [esi - 0xc]
test edi, edi
js 0x10005dce
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x10005be3
push edi
lea ecx, [ebp - 0x140]
call fcn.100051b0
mov esi, dword [ebp - 0x140]
lea eax, [edi + 1]
push eax
push esi
call fcn.100109bb
push eax
call fcn.10004860
add esp, 0xc
cmp edi, dword [esi - 8]
jg 0x10005dce
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
cmp dword [esi - 4], 1
jle 0x10005c20
push dword [esi - 0xc]
lea ecx, [ebp - 0x140]
call fcn.10004bc0
mov esi, dword [ebp - 0x140]
mov al, byte [esi]
or edi, 0xffffffff
test al, al
je 0x10005cc6
mov edx, esi
nop
movzx eax, al
lea edx, [edx + 1]
xor edi, eax
mov eax, edi
shr edi, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edi
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov edi, eax
shr eax, 1
and edi, 1
neg edi
and edi, 0xedb88320
xor edi, eax
mov al, byte [edx]
test al, al
jne 0x10005c30
push dword [esi - 8]
not edi
push esi
call fcn.1000d92c
add esp, 8
test eax, eax
js 0x10005dce
cmp eax, dword [esi - 8]
jg 0x10005dce
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
xor eax, eax
mov dword [ebp - 0x158], 0x90ffa223
mov dword [ebp - 0x154], 0xe6d13a0b
mov dword [ebp - 0x150], 0x136534da
mov dword [ebp - 0x14c], 0x8594c64a
mov dword [ebp - 0x148], 0x2284c0ea
mov dword [ebp - 0x144], 0x7450a4e2
nop word [eax + eax]
cmp dword [ebp + eax*4 - 0x158], edi
je 0x10005d8a
inc eax
cmp eax, 6
jl 0x10005d30
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10005d5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x138]
push eax
push ebx
call fcn.10006e20
add esp, 8
test eax, eax
jne 0x10005b60
push ebx
call fcn.10007190
mov al, byte [ebp - 0x139]
add esp, 4
jmp 0x10005b3a
mov byte [ebp - 0x139], 1
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10005db0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
push ebx
call fcn.10007190
mov al, byte [ebp - 0x139]
add esp, 4
jmp 0x10005b3a
push 0x80004005
call fcn.10004980
push 0x80070057
call fcn.10004980
int3