Function at 0x40fc70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push ebp
push esi
push edi
mov edi, 3
mov esi, dword [ecx + 0x10]
add esi, edx
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x14]
xor eax, ebx
add esi, eax
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x18]
xor edx, ebx
add esi, edx
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x1c]
xor eax, ebx
add esi, eax
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x20]
xor edx, ebx
add esi, edx
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x24]
xor eax, ebx
add esi, eax
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x28]
xor edx, ebx
add esi, edx
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x2c]
xor eax, ebx
add esi, eax
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x583830]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x583430]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x583c30]
and esi, 0xff
xor ebx, dword [esi*4 + 0x583030]
xor edx, ebx
sub edi, 1
jne 0x40fc82
mov esi, dword [ecx + 0x2c]
add esi, edx
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
and esi, 0xff
xor edi, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x28]
xor eax, edi
add esi, eax
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
and esi, 0xff
xor edi, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x24]
xor edx, edi
add esi, edx
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
and esi, 0xff
xor edi, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x20]
xor eax, edi
add esi, eax
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
and esi, 0xff
xor edi, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x1c]
xor edx, edi
add esi, edx
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
and esi, 0xff
xor edi, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x18]
xor eax, edi
add esi, eax
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
and esi, 0xff
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
xor edi, dword [esi*4 + 0x583030]
mov esi, dword [ecx + 0x14]
xor edx, edi
mov ecx, dword [ecx + 0x10]
add esi, edx
mov edi, esi
shr edi, 0x10
mov ebx, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x583830]
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x583430]
mov ebx, esi
and esi, 0xff
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x583c30]
xor edi, dword [esi*4 + 0x583030]
xor eax, edi
add ecx, eax
mov esi, ecx
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x583830]
mov edi, ecx
shr edi, 8
and edi, 0xff
xor esi, dword [edi*4 + 0x583430]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x583c30]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x583030]
mov ecx, dword [esp + 0x18]
pop edi
xor edx, esi
pop esi
pop ebp
mov dword [ecx], eax
mov dword [ecx + 4], edx
pop ebx
ret 8