Function at 0x44dd50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x14], 0
je 0x44e10c
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
lea edi, [ecx + 2]
sub ecx, eax
lea esi, [eax + 2]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], esi
lea ebx, [ecx - 2]
mov dword [ebp - 0x28], ebx
movzx edx, byte [edi + 1]
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x20], 1
movzx ecx, byte [edi - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + ebx]
mov esi, dword [ebp + 0xc]
movzx ebx, byte [edi + 5]
shl edx, 8
or edx, ecx
shl ebx, 8
xor edx, dword [esi]
movzx ecx, byte [edi + 4]
or ebx, ecx
mov dword [ebp - 8], edx
movzx ecx, byte [edi + 3]
movzx edx, byte [edi + 9]
shl ebx, 8
or ebx, ecx
shl edx, 8
movzx ecx, byte [edi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [edi + 8]
or edx, ecx
xor ebx, dword [esi + 4]
movzx ecx, byte [edi + 7]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x14], ebx
movzx ecx, byte [edi + 6]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 0xd]
xor edx, dword [esi + 8]
shl ecx, 8
mov dword [ebp - 4], ecx
movzx ecx, byte [edi + 0xc]
or dword [ebp - 4], ecx
shl dword [ebp - 4], 8
movzx ecx, byte [edi + 0xb]
or dword [ebp - 4], ecx
shl dword [ebp - 4], 8
movzx ecx, byte [edi + 0xa]
or dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [esi + 0xc]
cmp dword [ebp + 8], 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
jbe 0x44df60
mov edx, dword [ebp + 8]
lea edi, [esi + 0x18]
dec edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edx
inc edx
mov dword [ebp - 0x20], edx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
mov ebx, dword [eax + edx*4 + 0x900]
mov edx, dword [ebp - 0x14]
xor ebx, dword [eax + ecx*4 + 0x500]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
xor ebx, dword [eax + ecx*4 + 0xd00]
movzx ecx, dl
xor ebx, dword [eax + ecx*4 + 0x100]
mov ecx, dword [ebp - 8]
xor ebx, dword [edi - 4]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
mov edi, dword [eax + edx*4 + 0x900]
xor edi, dword [eax + ecx*4 + 0x500]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x18
xor edi, dword [eax + ecx*4 + 0xd00]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edi, dword [eax + ecx*4 + 0x100]
mov ecx, dword [ebp - 0x10]
xor edi, dword [ecx]
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x900]
mov edx, dword [ebp - 0xc]
xor esi, dword [eax + ecx*4 + 0x500]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
movzx edx, dl
xor esi, dword [eax + ecx*4 + 0xd00]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + edx*4 + 0x900]
movzx ecx, cl
xor esi, dword [eax + ecx*4 + 0x100]
mov ecx, dword [ebp - 0x10]
xor esi, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x14], ebx
xor edx, dword [eax + ecx*4 + 0x500]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor edx, dword [eax + ecx*4 + 0xd00]
mov ecx, dword [ebp - 8]
movzx ecx, cl
xor edx, dword [eax + ecx*4 + 0x100]
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx - 8]
mov ecx, esi
mov dword [ebp - 8], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
add edi, 0x10
mov dword [ebp - 0xc], edx
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edi
jne 0x44de42
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x20]
shr ecx, 0x10
add edi, edi
movzx ecx, cl
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
movzx ecx, byte [ecx + eax]
shl ecx, 8
or edx, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + eax]
or edx, ecx
mov ecx, dword [ebp - 8]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + eax]
or edx, ecx
mov ecx, dword [ebp - 4]
xor edx, dword [esi + edi*8]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x20], edx
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 8]
shr ecx, 0x18
movzx ecx, byte [ecx + eax]
shl ecx, 8
or edx, ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + eax]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + eax]
or edx, ecx
mov ecx, dword [ebp - 8]
xor edx, dword [esi + edi*8 + 4]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
movzx ebx, byte [ecx + eax]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
movzx ecx, byte [ecx + eax]
shl ecx, 8
or ebx, ecx
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + eax]
or ebx, ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + eax]
or ebx, ecx
movzx ecx, dl
xor ebx, dword [esi + edi*8 + 8]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
movzx ecx, byte [ecx + eax]
shl ecx, 8
or edx, ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + eax]
or edx, ecx
mov ecx, dword [ebp - 4]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + eax]
or edx, ecx
xor edx, dword [esi + edi*8 + 0xc]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov ecx, esi
shr ecx, 0x18
mov byte [edi + 1], cl
mov ecx, esi
shr ecx, 0x10
mov byte [edi], cl
mov ecx, esi
shr ecx, 8
mov esi, edi
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0x20]
mov byte [esi - 2], cl
mov esi, dword [ebp - 0x1c]
mov ecx, esi
shr ecx, 0x18
mov byte [edi + 5], cl
mov ecx, esi
shr ecx, 0x10
mov byte [edi + 4], cl
mov ecx, esi
shr ecx, 8
mov esi, edi
mov edi, dword [ebp - 0x24]
add edi, 0x10
mov dword [ebp - 0x24], edi
mov byte [esi + 3], cl
mov ecx, dword [ebp - 0x1c]
mov byte [esi + 2], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 9], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 8], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 7], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esi + 0xd], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 0xc], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 0xb], cl
mov ecx, dword [ebp + 0x14]
mov byte [esi + 6], bl
sub ecx, 0x10
mov ebx, dword [ebp - 0x28]
mov byte [esi + 0xa], dl
add esi, 0x10
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x18], esi
test ecx, ecx
jne 0x44dd80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret