Function at 0x1008da74
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]
xor ecx, dword [ebp + 8]
mov eax, ecx
mov dword [esp + 8], ecx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [ecx*4 + 0x100ed5f0]
xor esi, dword [eax*4 + 0x100ed1f0]
mov eax, ebx
shr eax, 0x18
push edi
xor esi, dword [eax*4 + 0x100ed9f0]
mov eax, dword [esp + 0x20]
movzx eax, al
xor esi, dword [eax*4 + 0x100ecdf0]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp], esi
mov edi, dword [ecx*4 + 0x100ed5f0]
xor edi, dword [eax*4 + 0x100ed1f0]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor edi, dword [eax*4 + 0x100ed9f0]
movzx eax, dl
xor edi, dword [eax*4 + 0x100ecdf0]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 4], edi
mov ebp, dword [ecx*4 + 0x100ed1f0]
xor ebp, dword [eax*4 + 0x100ed5f0]
mov eax, edx
shr eax, 0x18
shr edx, 0x10
movzx ecx, dl
xor edx, edx
xor ebp, dword [eax*4 + 0x100ed9f0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebp, dword [eax*4 + 0x100ecdf0]
mov eax, dword [esp + 0x24]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx*4 + 0x100ed5f0]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100ed1f0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x100ed9f0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x100ecdf0]
inc edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [eax + 0xc], ecx
mov ebx, dword [0x101189b0]
lea eax, [ebx - 1]
cmp eax, edx
jle 0x1008dcf8
mov edx, dword [esp + 0x28]
add edx, 0x18
mov dword [esp + 0x18], edx
mov eax, dword [edx - 8]
xor eax, esi
mov ebx, dword [edx - 4]
mov dword [esp + 0x20], eax
xor ebx, edi
mov eax, dword [edx]
xor eax, ebp
mov edx, dword [edx + 4]
mov dword [esp + 0x10], eax
xor edx, ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ebp, dword [esp + 0x24]
mov esi, dword [ecx*4 + 0x100ed5f0]
xor esi, dword [eax*4 + 0x100ed1f0]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x100ed9f0]
mov eax, dword [esp + 0x20]
movzx eax, al
xor esi, dword [eax*4 + 0x100ecdf0]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp], esi
mov edi, dword [ecx*4 + 0x100ed5f0]
xor edi, dword [eax*4 + 0x100ed1f0]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor edi, dword [eax*4 + 0x100ed9f0]
movzx eax, bl
xor edi, dword [eax*4 + 0x100ecdf0]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 4], edi
mov ebp, dword [ecx*4 + 0x100ed1f0]
xor ebp, dword [eax*4 + 0x100ed5f0]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
xor ebp, dword [eax*4 + 0x100ed9f0]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebp, dword [eax*4 + 0x100ecdf0]
mov eax, dword [esp + 0x24]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x20]
shr eax, 8
movzx ecx, al
movzx eax, bl
mov ecx, dword [ecx*4 + 0x100ed1f0]
xor ecx, dword [eax*4 + 0x100ed5f0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x100ed9f0]
movzx eax, dl
mov edx, dword [esp + 0x18]
add edx, 0x10
mov dword [esp + 0x18], edx
xor ecx, dword [eax*4 + 0x100ecdf0]
mov eax, dword [esp + 0x24]
inc dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov ebx, dword [0x101189b0]
lea eax, [ebx - 1]
cmp dword [esp + 0x14], eax
jl 0x1008dbc1
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x28]
shl ebx, 4
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + eax - 0x10]
mov ebx, dword [ebx + eax - 0xc]
xor edx, esi
mov eax, dword [ecx + eax - 8]
xor ebx, edi
xor eax, ebp
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x28]
movzx eax, dl
mov ecx, dword [ecx + ebp - 4]
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi], al
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [esp + 0x18]
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 1], al
mov eax, dword [esp + 0x20]
shr eax, 0x10
movzx eax, al
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x18
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 3], al
movzx eax, bl
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 4], al
mov eax, dword [esp + 0x20]
shr eax, 8
movzx eax, al
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 7], al
mov eax, dword [esp + 0x20]
movzx eax, al
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 8], al
mov eax, ecx
shr eax, 8
movzx eax, al
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 9], al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 0xa], al
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 0xb], al
movzx eax, cl
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 0xc], al
movzx eax, dl
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 0xd], al
movzx eax, bl
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x20]
shr eax, 0x18
mov al, byte [eax*4 + 0x100ecdf1]
mov byte [edi + 0xf], al
mov eax, dword [0x101189b0]
add eax, eax
mov eax, dword [ebp + eax*8]
xor dword [edi], eax
mov eax, dword [0x101189b0]
add eax, eax
mov eax, dword [ebp + eax*8 + 4]
xor dword [edi + 4], eax
mov eax, dword [0x101189b0]
add eax, eax
mov eax, dword [ebp + eax*8 + 8]
xor dword [edi + 8], eax
mov eax, dword [0x101189b0]
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