Function at 0x4219e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [ecx + 0x4c]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [ecx + 0x54]
mov edx, dword [ebx]
mov ebp, dword [ebx + 4]
push edi
mov edi, dword [ebx + 8]
xor eax, edx
mov edx, dword [ecx + 0x50]
xor edx, ebp
mov ebp, dword [ebx + 0xc]
xor esi, edi
mov edi, dword [ecx + 0x58]
xor edi, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x1f]
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
mov dword [esp + 0x10], eax
and eax, 0xff
mov ebx, dword [ebx*4 + 0x45e90c]
and edx, 0xff
xor ebx, dword [ebp*4 + 0x45e50c]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
and esi, 0xff
and edi, 0xff
mov dword [esp + 0x28], 1
xor ebx, dword [ebp*4 + 0x45e10c]
mov ebp, dword [eax*4 + 0x45dd0c]
mov eax, dword [esp + 0x2c]
xor ebx, ebp
mov ebp, dword [esp + 0x1e]
mov dword [eax], ebx
mov ebx, dword [esp + 0x13]
and ebx, 0xff
and ebp, 0xff
mov ebx, dword [ebx*4 + 0x45e90c]
xor ebx, dword [ebp*4 + 0x45e50c]
mov ebp, dword [esp + 0x19]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x45e10c]
mov ebp, dword [edx*4 + 0x45dd0c]
mov edx, dword [esp + 0x17]
xor ebx, ebp
and edx, 0xff
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x12]
mov edx, dword [edx*4 + 0x45e90c]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x45e50c]
mov ebx, dword [esp + 0x1d]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x45e10c]
mov ebx, dword [esi*4 + 0x45dd0c]
mov esi, dword [esp + 0x16]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1b]
mov ebx, dword [esi*4 + 0x45e50c]
mov esi, dword [esp + 0x11]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x45e90c]
xor edx, ebx
mov ebx, dword [esi*4 + 0x45e10c]
xor edx, ebx
mov ebx, dword [edi*4 + 0x45dd0c]
xor edx, ebx
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x48]
dec edx
cmp edx, 1
jle 0x421cc5
lea ebx, [ecx + 0x60]
mov dword [esp + 0x2c], ebx
mov edx, dword [ebx - 4]
mov ebp, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [ebx]
xor edx, ebp
mov ebp, dword [eax + 8]
xor esi, edi
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
xor edi, ebp
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x18], edi
xor ebx, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x1f]
mov ebp, dword [esp + 0x1a]
and ebx, 0xff
and ebp, 0xff
and edx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x45e90c]
and edi, 0xff
xor ebx, dword [ebp*4 + 0x45e50c]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x45e10c]
mov ebp, dword [edx*4 + 0x45dd0c]
mov edx, dword [esp + 0x13]
xor ebx, ebp
and edx, 0xff
mov dword [eax], ebx
mov ebx, dword [esp + 0x1e]
mov edx, dword [edx*4 + 0x45e90c]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x45e50c]
mov ebx, dword [esp + 0x19]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x45e10c]
mov ebx, dword [esi*4 + 0x45dd0c]
mov esi, dword [esp + 0x12]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 4], edx
mov edx, dword [esp + 0x17]
mov ebx, dword [esi*4 + 0x45e50c]
mov esi, dword [esp + 0x1d]
and edx, 0xff
mov ebp, dword [edi*4 + 0x45dd0c]
and esi, 0xff
mov edx, dword [edx*4 + 0x45e90c]
xor edx, ebx
mov ebx, dword [esi*4 + 0x45e10c]
xor edx, ebx
mov esi, dword [esp + 0x16]
xor edx, ebp
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov ebp, dword [esi*4 + 0x45e50c]
mov edi, dword [edx*4 + 0x45e90c]
mov edx, dword [esp + 0x11]
and edx, 0xff
xor edi, ebp
mov esi, dword [edx*4 + 0x45e10c]
mov edx, dword [esp + 0x1c]
and edx, 0xff
xor edi, esi
mov ebx, dword [edx*4 + 0x45dd0c]
mov edx, dword [esp + 0x28]
xor edi, ebx
mov ebx, dword [esp + 0x2c]
inc edx
add ebx, 0x10
mov dword [eax + 0xc], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov esi, dword [ecx + 0x48]
dec esi
cmp edx, esi
jl 0x421b54
mov edi, dword [ecx + 0x48]
mov ebp, dword [eax]
mov edx, edi
add edi, 4
shl edx, 4
add edx, ecx
mov ebx, dword [eax + 8]
shl edi, 4
mov esi, dword [edx + 0x3c]
mov edi, dword [edi + ecx]
xor esi, ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x10], esi
xor edi, ebp
mov ebp, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
xor ebp, ebx
mov ebx, dword [eax + 0xc]
and esi, 0xff
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
xor edx, ebx
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x15]
mov dword [esp + 0x1c], edx
and esi, 0xff
mov byte [eax], bl
and edi, 0xff
and ebp, 0xff
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x1a]
and esi, 0xff
mov byte [eax + 1], bl
and edx, 0xff
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x1f]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x19]
mov byte [eax + 3], bl
mov bl, byte [edi*4 + 0x45dd0d]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x1e]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x13]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x1d]
mov byte [eax + 7], bl
mov bl, byte [ebp*4 + 0x45dd0d]
and esi, 0xff
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x12]
and esi, 0xff
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov esi, dword [esp + 0x17]
and esi, 0xff
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x45dd0d]
mov byte [eax + 0xb], bl
mov dl, byte [edx*4 + 0x45dd0d]
mov byte [eax + 0xc], dl
mov edx, dword [esp + 0x11]
and edx, 0xff
mov dl, byte [edx*4 + 0x45dd0d]
mov byte [eax + 0xd], dl
mov edx, dword [esp + 0x16]
and edx, 0xff
mov dl, byte [edx*4 + 0x45dd0d]
mov byte [eax + 0xe], dl
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov dl, byte [edx*4 + 0x45dd0d]
mov ebx, dword [eax]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x48]
mov ebp, dword [eax + 4]
shl edx, 4
mov edi, dword [eax + 8]
mov edx, dword [edx + ecx + 0x4c]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 0x48]
add edx, 5
shl edx, 4
mov edx, dword [edx + ecx]
xor ebp, edx
mov dword [eax + 4], ebp
mov edx, dword [ecx + 0x48]
shl edx, 4
mov edx, dword [edx + ecx + 0x54]
xor edi, edx
mov dword [eax + 8], edi
mov edx, dword [ecx + 0x48]
shl edx, 4
pop edi
pop esi
mov ecx, dword [edx + ecx + 0x58]
mov edx, dword [eax + 0xc]
xor edx, ecx
pop ebp
mov dword [eax + 0xc], edx
pop ebx
add esp, 0x14
ret 8