Function at 0x4200b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov eax, dword [ecx + 0x18]
push ebp
push esi
mov esi, dword [ecx + 0x1c]
push edi
mov edi, dword [esp + 0x28]
mov ebp, dword [ecx + 0x20]
mov dword [esp + 0x28], 1
mov edx, dword [edi + 4]
mov ebx, dword [edi]
xor edx, esi
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor eax, ebx
mov ebx, dword [ecx + 0x24]
xor esi, ebp
xor edi, ebx
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 + 0x452b78]
and edx, 0xff
xor ebx, dword [ebp*4 + 0x452778]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
and esi, 0xff
and edi, 0xff
xor ebx, dword [ebp*4 + 0x452378]
mov ebp, dword [eax*4 + 0x451f78]
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 + 0x452b78]
xor ebx, dword [ebp*4 + 0x452778]
mov ebp, dword [esp + 0x19]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x452378]
mov ebp, dword [edx*4 + 0x451f78]
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 + 0x452b78]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x452778]
mov ebx, dword [esp + 0x1d]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x452378]
mov ebx, dword [esi*4 + 0x451f78]
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 + 0x452778]
mov esi, dword [esp + 0x11]
and edx, 0xff
and esi, 0xff
mov edx, dword [edx*4 + 0x452b78]
xor edx, ebx
mov ebx, dword [esi*4 + 0x452378]
xor edx, ebx
mov ebx, dword [edi*4 + 0x451f78]
xor edx, ebx
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x14]
dec edx
cmp edx, 1
jle 0x420395
lea ebx, [ecx + 0x2c]
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 + 0x452b78]
and edi, 0xff
xor ebx, dword [ebp*4 + 0x452778]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x452378]
mov ebp, dword [edx*4 + 0x451f78]
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 + 0x452b78]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x452778]
mov ebx, dword [esp + 0x19]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x452378]
mov ebx, dword [esi*4 + 0x451f78]
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 + 0x452778]
mov esi, dword [esp + 0x1d]
and edx, 0xff
mov ebp, dword [edi*4 + 0x451f78]
and esi, 0xff
mov edx, dword [edx*4 + 0x452b78]
xor edx, ebx
mov ebx, dword [esi*4 + 0x452378]
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 + 0x452778]
mov edi, dword [edx*4 + 0x452b78]
mov edx, dword [esp + 0x11]
and edx, 0xff
xor edi, ebp
mov esi, dword [edx*4 + 0x452378]
mov edx, dword [esp + 0x1c]
and edx, 0xff
xor edi, esi
mov ebx, dword [edx*4 + 0x451f78]
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 + 0x14]
dec esi
cmp edx, esi
jl 0x420224
mov ebx, dword [ecx + 0x14]
mov edi, dword [eax]
mov edx, ebx
mov ebp, dword [eax + 4]
shl edx, 4
add edx, ecx
mov esi, dword [edx + 8]
xor esi, edi
mov edi, dword [edx + 0xc]
xor edi, ebp
inc ebx
mov edx, dword [edx + 0x14]
mov dword [esp + 0x10], esi
shl ebx, 4
and esi, 0xff
mov dword [esp + 0x14], edi
mov ebp, dword [ebx + ecx]
mov ebx, dword [eax + 8]
xor ebp, ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x18], ebp
xor edx, ebx
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x15]
and esi, 0xff
mov dword [esp + 0x1c], edx
mov byte [eax], bl
and edi, 0xff
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x1a]
and esi, 0xff
mov byte [eax + 1], bl
and ebp, 0xff
and edx, 0xff
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x1f]
and esi, 0xff
mov byte [eax + 2], bl
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x19]
mov byte [eax + 3], bl
mov bl, byte [edi*4 + 0x451f79]
and esi, 0xff
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x1e]
and esi, 0xff
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x13]
and esi, 0xff
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x1d]
mov byte [eax + 7], bl
mov bl, byte [ebp*4 + 0x451f79]
and esi, 0xff
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x12]
and esi, 0xff
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x451f79]
mov esi, dword [esp + 0x17]
and esi, 0xff
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x451f79]
mov byte [eax + 0xb], bl
mov dl, byte [edx*4 + 0x451f79]
mov byte [eax + 0xc], dl
mov edx, dword [esp + 0x11]
and edx, 0xff
mov dl, byte [edx*4 + 0x451f79]
mov byte [eax + 0xd], dl
mov edx, dword [esp + 0x16]
and edx, 0xff
mov dl, byte [edx*4 + 0x451f79]
mov byte [eax + 0xe], dl
mov edx, dword [esp + 0x1b]
and edx, 0xff
mov dl, byte [edx*4 + 0x451f79]
mov ebx, dword [eax]
mov byte [eax + 0xf], dl
mov edx, dword [ecx + 0x14]
mov esi, dword [eax + 4]
shl edx, 4
mov edi, dword [eax + 8]
mov edx, dword [edx + ecx + 0x18]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 0x14]
shl edx, 4
mov edx, dword [edx + ecx + 0x1c]
xor esi, edx
mov dword [eax + 4], esi
mov edx, dword [ecx + 0x14]
add edx, 2
shl edx, 4
mov edx, dword [edx + ecx]
xor edi, edx
mov dword [eax + 8], edi
mov edx, dword [ecx + 0x14]
shl edx, 4
pop edi
pop esi
mov ecx, dword [edx + ecx + 0x24]
mov edx, dword [eax + 0xc]
xor edx, ecx
pop ebp
mov dword [eax + 0xc], edx
pop ebx
add esp, 0x14
ret 8