Function at 0x4dc050
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push ebp
ror ecx, 0x1d
push esi
mov esi, dword [esp + 0x14]
ror eax, 0x1d
cmp dword [esp + 0x18], 0
push edi
je 0x4dc294
add esi, 8
mov dword [esp + 0x18], 4
lea ecx, [ecx]
mov edx, dword [esi - 4]
mov edi, dword [esi - 8]
xor edi, ecx
xor edx, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
mov edx, dword [esi + 4]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
mov edi, dword [esi]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
mov edx, dword [esi + 0xc]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
mov edi, dword [esi + 8]
xor ecx, ebx
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
mov ebp, edx
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
mov edx, dword [esi + 0x14]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
mov edi, dword [esi + 0x10]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
add esi, 0x20
xor ecx, ebx
dec dword [esp + 0x18]
jne 0x4dc080
mov edx, dword [esp + 0x14]
pop edi
pop esi
ror eax, 3
ror ecx, 3
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret
add esi, 0x70
mov dword [esp + 0x18], 4
nop
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
xor edi, ecx
xor edx, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
mov edx, dword [esi + 4]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
mov edi, dword [esi]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
mov edx, dword [esi - 4]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
mov edi, dword [esi - 8]
xor ecx, ebx
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
mov ebp, edx
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
mov edx, dword [esi - 0xc]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
mov edi, dword [esi - 0x10]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x528fa0]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528da0]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ba0]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ea0]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528ca0]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x528aa0]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x5291a0]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x5290a0]
sub esi, 0x20
xor ecx, ebx
dec dword [esp + 0x18]
jne 0x4dc2a0
mov edx, dword [esp + 0x14]
pop edi
pop esi
ror eax, 3
ror ecx, 3
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret