Function at 0x41df24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, edx
add edx, edx
shr eax, 0x1f
or eax, edx
mov edx, ecx
mov dword [ebp - 4], eax
lea eax, [ecx + ecx]
shr edx, 0x1f
or edx, eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], edx
push 0x3f
je 0x41e078
lea edi, [eax + 8]
mov dword [ebp + 0xc], 8
pop eax
mov esi, dword [edi - 4]
mov ecx, dword [edi - 8]
xor esi, edx
xor ecx, edx
mov edx, esi
shl edx, 0x1c
shr esi, 4
add edx, esi
mov esi, edx
mov ebx, edx
shr esi, 0x18
and esi, eax
shr ebx, 0x10
mov esi, dword [esi*4 + 0x4658b0]
and ebx, eax
or esi, dword [ebx*4 + 0x4656b0]
mov ebx, edx
shr ebx, 8
and ebx, eax
and edx, eax
or esi, dword [ebx*4 + 0x4654b0]
mov ebx, ecx
shr ebx, 0x18
and ebx, eax
or esi, dword [ebx*4 + 0x4657b0]
mov ebx, ecx
shr ebx, 0x10
and ebx, eax
or esi, dword [ebx*4 + 0x4655b0]
mov ebx, ecx
shr ebx, 8
and ebx, eax
and ecx, eax
or esi, dword [ebx*4 + 0x4653b0]
or esi, dword [edx*4 + 0x4652b0]
or esi, dword [ecx*4 + 0x4651b0]
mov ecx, dword [edi]
add edi, 0x10
xor dword [ebp - 4], esi
mov esi, dword [edi - 0xc]
xor esi, dword [ebp - 4]
xor ecx, dword [ebp - 4]
mov edx, esi
shl edx, 0x1c
shr esi, 4
add edx, esi
mov esi, edx
mov ebx, edx
shr esi, 0x18
and esi, eax
shr ebx, 0x10
mov esi, dword [esi*4 + 0x4658b0]
and ebx, eax
or esi, dword [ebx*4 + 0x4656b0]
mov ebx, edx
shr ebx, 8
and ebx, eax
and edx, eax
or esi, dword [ebx*4 + 0x4654b0]
mov ebx, ecx
shr ebx, 0x18
and ebx, eax
or esi, dword [ebx*4 + 0x4657b0]
mov ebx, ecx
shr ebx, 0x10
and ebx, eax
or esi, dword [ebx*4 + 0x4655b0]
mov ebx, ecx
shr ebx, 8
and ebx, eax
and ecx, eax
or esi, dword [ebx*4 + 0x4653b0]
or esi, dword [edx*4 + 0x4652b0]
mov edx, dword [ebp - 8]
or esi, dword [ecx*4 + 0x4651b0]
xor edx, esi
dec dword [ebp + 0xc]
mov dword [ebp - 8], edx
jne 0x41df67
jmp 0x41e18f
lea edi, [eax + 0x70]
mov dword [ebp + 0xc], 8
pop eax
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
xor esi, edx
xor ecx, edx
mov edx, esi
shl edx, 0x1c
shr esi, 4
add edx, esi
mov esi, edx
mov ebx, edx
shr esi, 0x18
and esi, eax
shr ebx, 0x10
mov esi, dword [esi*4 + 0x4658b0]
and ebx, eax
or esi, dword [ebx*4 + 0x4656b0]
mov ebx, edx
shr ebx, 8
and ebx, eax
and edx, eax
or esi, dword [ebx*4 + 0x4654b0]
mov ebx, ecx
shr ebx, 0x18
and ebx, eax
or esi, dword [ebx*4 + 0x4657b0]
mov ebx, ecx
shr ebx, 0x10
and ebx, eax
or esi, dword [ebx*4 + 0x4655b0]
mov ebx, ecx
shr ebx, 8
and ebx, eax
and ecx, eax
or esi, dword [ebx*4 + 0x4653b0]
or esi, dword [edx*4 + 0x4652b0]
or esi, dword [ecx*4 + 0x4651b0]
mov ecx, dword [edi]
sub edi, 0x10
xor dword [ebp - 4], esi
mov esi, dword [edi + 0x14]
xor esi, dword [ebp - 4]
xor ecx, dword [ebp - 4]
mov edx, esi
shl edx, 0x1c
shr esi, 4
add edx, esi
mov esi, edx
mov ebx, edx
shr esi, 0x18
and esi, eax
shr ebx, 0x10
mov esi, dword [esi*4 + 0x4658b0]
and ebx, eax
or esi, dword [ebx*4 + 0x4656b0]
mov ebx, edx
shr ebx, 8
and ebx, eax
and edx, eax
or esi, dword [ebx*4 + 0x4654b0]
mov ebx, ecx
shr ebx, 0x18
and ebx, eax
or esi, dword [ebx*4 + 0x4657b0]
mov ebx, ecx
shr ebx, 0x10
and ebx, eax
or esi, dword [ebx*4 + 0x4655b0]
mov ebx, ecx
shr ebx, 8
and ebx, eax
and ecx, eax
or esi, dword [ebx*4 + 0x4653b0]
or esi, dword [edx*4 + 0x4652b0]
mov edx, dword [ebp - 8]
or esi, dword [ecx*4 + 0x4651b0]
xor edx, esi
dec dword [ebp + 0xc]
mov dword [ebp - 8], edx
jne 0x41e083
mov eax, dword [ebp - 4]
pop edi
mov ecx, eax
pop esi
shl ecx, 0x1f
shr eax, 1
or ecx, eax
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], ecx
mov ecx, edx
shl ecx, 0x1f
shr edx, 1
or ecx, edx
mov dword [eax + 4], ecx
leave
ret