Function at 0x100b98c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
push esi
push edi
mov edi, dword [esp + 0x68]
mov eax, edi
mov dword [esp + 8], 0x1c792e83
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100b98d6
sub eax, edx
mov esi, eax
mov edx, esi
shr edx, 2
xor eax, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x21e1cde6
mov dword [esp + 0x48], 0xf4d50d87
mov dword [esp + 0x4c], 0xfcefa3f8
mov dword [esp + 0x50], 0xa4beea44
mov dword [esp + 0x54], 0xbebfbc70
mov dword [esp + 0x58], 0xeaa127fa
mov dword [esp + 0x5c], 0x85845dd1
mov dword [esp + 0x60], 0xbd3af235
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
test edx, edx
jbe 0x100b9b4f
push ebx
xor ecx, ecx
push ebp
mov dword [esp + 0x38], ecx
mov esi, dword [edi + eax*4]
mov eax, esi
shr eax, cl
mov ebp, esi
shl ebp, cl
lea ebx, [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, 0xb84423bf
mul esi
mov ecx, edx
mov eax, 0x2cd38621
mul esi
shr edx, 8
shr ecx, 0x14
add ecx, edx
mov eax, 0xc0e07039
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
add ecx, eax
mov eax, 0x86186187
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
add ecx, eax
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 2
mov edx, esi
add ecx, eax
shr edx, 1
add ecx, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
or edi, 0xffffffff
lea esp, [esp]
lea ecx, [edi + 3]
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x4c]
mov dword [esp + 0x30], ecx
mov edx, edi
and edx, 7
mov ecx, dword [esp + edx*4 + 0x4c]
mov dword [esp + 0x28], ecx
lea edx, [edi - 1]
and edx, 7
mov edx, dword [esp + edx*4 + 0x4c]
mov dword [esp + 0x3c], edx
lea edx, [edi + 4]
mov dword [esp + 0x24], edx
lea edx, [edi + 1]
and edx, 7
mov edx, dword [esp + edx*4 + 0x4c]
mov dword [esp + 0x20], edx
lea ecx, [edi + 2]
mov edx, ecx
and edx, 7
mov edx, dword [esp + edx*4 + 0x4c]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx - 4]
xor edx, ebp
add edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
lea eax, [edi - 2]
and eax, 7
mov eax, dword [esp + eax*4 + 0x4c]
mov dword [esp + 0x40], eax
add ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x14]
add eax, ebp
xor edx, eax
mov dword [esp + 0x10], edx
xor edx, edx
mov eax, esi
div ecx
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x3c]
add ecx, eax
xor ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x28]
xor ecx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [ebx]
xor ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x24]
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x4c]
add ecx, esi
xor edx, ecx
mov ecx, ebp
add eax, ecx
xor edx, eax
mov dword [esp + 0x3c], edx
xor edx, edx
lea ecx, [edi + 3]
mov eax, esi
div ecx
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x28]
add edx, eax
xor edx, esi
add ecx, edx
mov edx, dword [ebx + 4]
xor edx, dword [esp + 0x1c]
add ecx, edx
mov edx, dword [esp + 0x20]
xor edx, dword [esp + 0x18]
add ecx, edx
lea edx, [edi - 3]
and edx, 7
mov edx, dword [esp + edx*4 + 0x4c]
add edx, esi
xor ecx, edx
mov edx, ebp
add eax, edx
xor ecx, eax
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
xor edx, dword [esp + 0x2c]
add edi, 5
add ebx, 0x10
add eax, dword [esp + 0x20]
xor eax, esi
add ecx, eax
mov eax, dword [ebx - 8]
xor eax, ebp
add ecx, eax
mov eax, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x20]
add eax, esi
xor ecx, eax
mov eax, dword [esp + 0x14]
add edx, eax
xor ecx, edx
xor edx, edx
mov eax, esi
div edi
mov edi, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
xor eax, esi
add ecx, eax
mov eax, dword [esp + 0x30]
xor eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [edi + 1]
cmp ecx, 8
jb 0x100b99c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
inc eax
add ecx, 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp eax, edx
jb 0x100b9944
mov esi, dword [esp + 0x48]
pop ebp
pop ebx
lea eax, [edx*4]
cmp eax, esi
jae 0x100b9b75
lea ebx, [ebx]
mov edx, eax
and edx, 3
lea ecx, [esp + edx + 8]
mov dl, byte [eax + edi]
add dl, al
xor byte [ecx], dl
inc eax
cmp eax, esi
jb 0x100b9b60
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x5c
ret 4