Function at 0x100d9a30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
push ebx
push ebp
xor ecx, ecx
push esi
mov dword [esp + 0x24], 0x1c792e83
mov dword [esp + 0x40], 0x21e1cde3
mov dword [esp + 0x44], 0xf4d50d87
mov dword [esp + 0x48], 0x9cefa3f8
mov dword [esp + 0x4c], 0xa4beea47
mov dword [esp + 0x50], 0xb5bfbc70
mov dword [esp + 0x54], 0x6aa127fa
mov dword [esp + 0x58], 0x8a845dd1
mov dword [esp + 0x5c], 0x1d3af235
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
push edi
lea esp, [esp]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
mov eax, esi
shr eax, cl
mov ebp, esi
shl ebp, cl
lea ebx, [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, 0x7823aa97
mul esi
mov ecx, edx
mov eax, 0xb21642c9
mul esi
shr edx, 7
shr ecx, 0xd
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 + 0x18], ebp
mov dword [esp + 0x14], ecx
or edi, 0xffffffff
jmp 0x100d9b10
lea ecx, [edi + 3]
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x44]
mov dword [esp + 0x34], ecx
mov edx, edi
and edx, 7
mov ecx, dword [esp + edx*4 + 0x44]
mov dword [esp + 0x2c], ecx
lea edx, [edi - 1]
and edx, 7
mov edx, dword [esp + edx*4 + 0x44]
mov dword [esp + 0x3c], edx
lea edx, [edi + 4]
mov dword [esp + 0x20], edx
lea edx, [edi + 1]
and edx, 7
mov edx, dword [esp + edx*4 + 0x44]
mov dword [esp + 0x1c], edx
lea ecx, [edi + 2]
mov edx, ecx
and edx, 7
mov edx, dword [esp + edx*4 + 0x44]
mov dword [esp + 0x30], edx
mov edx, dword [ebx - 4]
xor edx, ebp
add edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
lea eax, [edi - 2]
and eax, 7
mov eax, dword [esp + eax*4 + 0x44]
mov dword [esp + 0x40], eax
add ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x10]
add eax, ebp
xor edx, eax
mov dword [esp + 0x28], edx
xor edx, edx
mov eax, esi
div ecx
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x3c]
add ecx, eax
xor ecx, esi
add edx, ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [ebx]
xor ecx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [esp + 0x20]
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x44]
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 + 0x2c]
add edx, eax
xor edx, esi
add ecx, edx
mov edx, dword [ebx + 4]
xor edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [esp + 0x1c]
xor edx, dword [esp + 0x14]
add ecx, edx
lea edx, [edi - 3]
and edx, 7
mov edx, dword [esp + edx*4 + 0x44]
add edx, esi
xor ecx, edx
mov edx, ebp
add eax, edx
xor ecx, eax
xor edx, edx
mov eax, esi
div dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor edx, dword [esp + 0x30]
add edi, 5
add ebx, 0x10
add eax, dword [esp + 0x1c]
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 + 0x1c]
add eax, esi
xor ecx, eax
mov eax, dword [esp + 0x10]
add edx, eax
xor ecx, edx
xor edx, edx
mov eax, esi
div edi
mov edi, dword [esp + 0x20]
add eax, dword [esp + 0x30]
xor eax, esi
add ecx, eax
mov eax, dword [esp + 0x34]
xor eax, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x28], ecx
lea ecx, [edi + 1]
cmp ecx, 8
jb 0x100d9b10
mov ecx, dword [esp + 0x38]
add dword [esp + 0x24], 4
add ecx, 3
mov dword [esp + 0x38], ecx
cmp ecx, 0x15
jb 0x100d9a90
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret