Function at 0x1008bc3f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
xor ecx, dword [ebp]
xor edx, dword [ebp + 4]
xor ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 8]
mov eax, edx
xor ecx, dword [ebp + 8]
shr eax, 8
mov dword [esp + 8], ecx
movzx ecx, al
mov eax, dword [esp + 8]
shr eax, 0x10
movzx eax, al
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [ecx*4 + 0x100eb1a0]
xor edi, dword [eax*4 + 0x100eb5a0]
mov eax, ebx
shr eax, 0x18
xor edi, dword [eax*4 + 0x100eb9a0]
mov eax, dword [esp + 0x20]
movzx eax, al
xor edi, dword [eax*4 + 0x100eada0]
mov eax, dword [esp + 0x10]
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp], edi
mov esi, dword [ecx*4 + 0x100eb1a0]
xor esi, dword [eax*4 + 0x100eb5a0]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor esi, dword [eax*4 + 0x100eb9a0]
movzx eax, dl
xor esi, dword [eax*4 + 0x100eada0]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 4], esi
mov ebp, dword [ecx*4 + 0x100eb1a0]
xor ebp, dword [eax*4 + 0x100eb5a0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
movzx ecx, dl
xor ebp, dword [eax*4 + 0x100eb9a0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebp, dword [eax*4 + 0x100eada0]
mov eax, dword [esp + 0x24]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx*4 + 0x100eb5a0]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100eb1a0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x100eb9a0]
movzx eax, bl
xor ebx, ebx
xor ecx, dword [eax*4 + 0x100eada0]
inc ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [eax + 0xc], ecx
mov edx, dword [0x10116970]
lea eax, [edx - 1]
cmp eax, ebx
jle 0x1008bec5
mov ebx, dword [esp + 0x28]
add ebx, 0x18
mov dword [esp + 0x18], ebx
mov eax, dword [ebx - 8]
xor eax, edi
mov edx, dword [ebx - 4]
mov dword [esp + 0x20], eax
xor edx, esi
mov eax, dword [ebx]
xor eax, ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x10], eax
xor ebx, ecx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebp, dword [esp + 0x24]
mov edi, dword [ecx*4 + 0x100eb5a0]
xor edi, dword [eax*4 + 0x100eb1a0]
mov eax, ebx
shr eax, 0x18
xor edi, dword [eax*4 + 0x100eb9a0]
mov eax, dword [esp + 0x20]
movzx eax, al
xor edi, dword [eax*4 + 0x100eada0]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp], edi
mov esi, dword [ecx*4 + 0x100eb5a0]
xor esi, dword [eax*4 + 0x100eb1a0]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor esi, dword [eax*4 + 0x100eb9a0]
movzx eax, dl
xor esi, dword [eax*4 + 0x100eada0]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 4], esi
mov ebp, dword [ecx*4 + 0x100eb1a0]
xor ebp, dword [eax*4 + 0x100eb5a0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
movzx ecx, dl
xor ebp, dword [eax*4 + 0x100eb9a0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebp, dword [eax*4 + 0x100eada0]
mov eax, dword [esp + 0x24]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx*4 + 0x100eb5a0]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100eb1a0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x100eb9a0]
movzx eax, bl
mov ebx, dword [esp + 0x18]
add ebx, 0x10
mov dword [esp + 0x18], ebx
xor ecx, dword [eax*4 + 0x100eada0]
mov eax, dword [esp + 0x24]
inc dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov edx, dword [0x10116970]
lea eax, [edx - 1]
cmp dword [esp + 0x14], eax
jl 0x1008bd8e
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x28]
shl edx, 4
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + eax - 0x10]
xor edx, edi
mov edi, dword [esp + 0x24]
mov ebx, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 8]
xor ebx, esi
xor eax, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x20], eax
movzx eax, dl
mov ecx, dword [ecx + ebp - 4]
xor ecx, dword [esp + 0x18]
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi], al
mov eax, ebx
shr eax, 8
movzx eax, al
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 1], al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x18
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 3], al
movzx eax, bl
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 4], al
mov eax, dword [esp + 0x20]
shr eax, 8
movzx eax, al
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 7], al
mov eax, dword [esp + 0x20]
movzx eax, al
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 8], al
mov eax, ecx
shr eax, 8
movzx eax, al
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 9], al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 0xa], al
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 0xb], al
movzx eax, cl
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 0xc], al
movzx eax, dl
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 0xd], al
movzx eax, bl
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x20]
shr eax, 0x18
mov al, byte [eax*4 + 0x100eada1]
mov byte [edi + 0xf], al
mov eax, dword [0x10116970]
add eax, eax
mov eax, dword [ebp + eax*8]
xor dword [edi], eax
mov eax, dword [0x10116970]
add eax, eax
mov eax, dword [ebp + eax*8 + 4]
xor dword [edi + 4], eax
mov eax, dword [0x10116970]
add eax, eax
mov eax, dword [ebp + eax*8 + 8]
xor dword [edi + 8], eax
mov eax, dword [0x10116970]
add eax, eax
mov eax, dword [ebp + eax*8 + 0xc]
xor dword [edi + 0xc], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret