Function at 0x4240c3
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
ror edx, 0x1d
ror ecx, 0x1d
cmp dword [esp + 0x18], 0
push edi
je 0x42430a
lea edi, [esi + 8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 4
mov esi, dword [edi - 8]
mov edi, dword [edi - 4]
xor edi, edx
xor esi, edx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
mov ebp, esi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
mov esi, dword [edi]
mov edi, dword [edi + 4]
xor ecx, ebx
xor esi, ecx
xor edi, ecx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
mov ebp, esi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor edx, ebx
xor esi, edx
xor edi, edx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
mov ebp, esi
shr ebp, 0x12
and ebx, 0x3f
and ebp, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
xor ecx, ebx
xor edi, ecx
xor esi, ecx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
mov ebp, esi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
shr edi, 0x1a
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
add edi, 0x20
xor edx, ebx
sub dword [esp + 0x10], 1
mov dword [esp + 0x1c], edi
jne 0x4240f0
mov eax, dword [esp + 0x18]
pop edi
pop esi
ror ecx, 3
ror edx, 3
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
pop ecx
ret
lea edi, [esi + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 4
lea esp, [esp]
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor edi, edx
xor esi, edx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
mov ebp, esi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
mov esi, dword [edi]
mov edi, dword [edi + 4]
xor ecx, ebx
xor esi, ecx
xor edi, ecx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
mov ebp, esi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
mov esi, dword [edi - 8]
mov edi, dword [edi - 4]
xor edx, ebx
xor esi, edx
xor edi, edx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
mov ebp, esi
shr ebp, 0x12
and ebx, 0x3f
and ebp, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
mov esi, dword [edi - 0x10]
mov edi, dword [edi - 0xc]
xor ecx, ebx
xor edi, ecx
xor esi, ecx
ror edi, 4
mov ebx, edi
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [eax + ebx*4 + 0x500]
mov ebp, esi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x400]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x300]
mov ebp, esi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x200]
mov ebp, edi
shr ebp, 2
shr edi, 0x1a
and ebp, 0x3f
xor ebx, dword [eax + ebp*4 + 0x100]
xor ebx, dword [eax + edi*4 + 0x700]
mov edi, esi
shr edi, 0x1a
xor ebx, dword [eax + edi*4 + 0x600]
mov edi, dword [esp + 0x1c]
shr esi, 2
and esi, 0x3f
xor ebx, dword [eax + esi*4]
sub edi, 0x20
xor edx, ebx
sub dword [esp + 0x10], 1
mov dword [esp + 0x1c], edi
jne 0x424320
mov eax, dword [esp + 0x18]
pop edi
pop esi
ror ecx, 3
ror edx, 3
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
pop ecx
ret