Function at 0x41d386
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
shl eax, 5
lea edi, [ecx + eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
xor ecx, dword [eax]
xor ebx, dword [eax + 4]
xor edx, dword [eax + 8]
mov dword [ebp + 0x10], ecx
mov ecx, dword [edi + 0x1c]
sub edi, 0x10
xor ecx, dword [eax + 0xc]
mov eax, ecx
mov dword [ebp - 0x18], ecx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], edi
mov ecx, dword [ecx*4 + 0x4583d8]
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
mov eax, dword [ebp + 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x457fd8]
xor ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x18]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4587d8]
xor ecx, dword [eax*4 + 0x4583d8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x457fd8]
mov eax, ebx
xor ecx, dword [edi + 0x14]
shr eax, 8
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4583d8]
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x457fd8]
xor ecx, dword [edi + 0x18]
mov dword [ebp - 4], ecx
movzx ecx, dl
movzx eax, bl
mov ecx, dword [ecx*4 + 0x4583d8]
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
mov eax, dword [ebp - 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x457fd8]
xor ecx, dword [edi + 0x1c]
mov dword [ebp + 0x10], ecx
sub dword [ebp - 0xc], 1
je 0x41d6be
mov esi, edi
mov eax, ecx
mov ebx, dword [ebp + 8]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4583d8]
mov edx, dword [ebp - 0x10]
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x457fd8]
xor ecx, dword [esi]
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4587d8]
xor ecx, dword [eax*4 + 0x4583d8]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x457fd8]
mov eax, ebx
xor ecx, dword [esi + 4]
shr eax, 8
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x4583d8]
mov ecx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0x4587d8]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x458bd8]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0x457fd8]
mov eax, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x4583d8]
shr eax, 0x10
movzx eax, al
xor ebx, dword [esi + 8]
xor edx, dword [eax*4 + 0x4587d8]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x458bd8]
mov eax, dword [ebp + 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x457fd8]
xor edx, dword [esi + 0xc]
sub esi, 0x20
mov eax, edx
mov dword [ebp - 0x14], esi
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4583d8]
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x457fd8]
mov eax, edx
xor ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], ecx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x4587d8]
xor ecx, dword [eax*4 + 0x4583d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
movzx eax, cl
xor esi, dword [eax*4 + 0x457fd8]
mov dword [ebp + 8], esi
mov eax, esi
mov esi, dword [ebp - 0x14]
xor eax, dword [esi + 0x14]
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4583d8]
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x457fd8]
xor ecx, dword [esi + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x4583d8]
xor ecx, dword [eax*4 + 0x4587d8]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x458bd8]
movzx eax, dl
xor ecx, dword [eax*4 + 0x457fd8]
xor ecx, dword [esi + 0x1c]
sub dword [ebp - 0xc], 1
mov dword [ebp + 0x10], ecx
jne 0x41d4be
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x458fd8]
mov eax, dword [ebp + 8]
shr eax, 0x18
movzx eax, byte [eax + 0x458fd8]
shl eax, 8
or ecx, eax
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp + 0x10]
xor ecx, dword [esi]
shr eax, 0x10
movzx eax, al
mov dword [edx], ecx
movzx ecx, byte [eax + 0x458fd8]
mov eax, dword [ebp - 4]
shr eax, 0x18
movzx eax, byte [eax + 0x458fd8]
shl eax, 8
or ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp + 0x10]
xor ecx, dword [esi + 4]
shr eax, 0x18
mov dword [edx + 4], ecx
movzx ecx, byte [eax + 0x458fd8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
shr ebx, 0x18
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp - 4]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp + 8]
xor ecx, dword [esi + 8]
shr eax, 0x10
movzx eax, al
mov dword [edx + 8], ecx
movzx ecx, byte [eax + 0x458fd8]
movzx eax, byte [ebx + 0x458fd8]
shl eax, 8
or ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
mov eax, dword [ebp + 0x10]
movzx eax, al
shl ecx, 8
pop edi
movzx eax, byte [eax + 0x458fd8]
or ecx, eax
xor ecx, dword [esi + 0xc]
pop esi
mov dword [edx + 0xc], ecx
pop ebx
mov esp, ebp
pop ebp
ret