Function at 0x4a06a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], 1
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], esi
mov eax, dword [esi + 0x20]
xor eax, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x24]
xor eax, dword [edx + 4]
mov ebx, dword [esi + 0x28]
xor ebx, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x593c70]
xor ecx, dword [eax*4 + 0x5918c0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x593380]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x5914a8]
mov eax, dword [ebp - 0xc]
mov dword [edi], ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5918c0]
xor ecx, dword [eax*4 + 0x593380]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x593c70]
movzx eax, dl
xor ecx, dword [eax*4 + 0x5914a8]
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x593380]
xor edx, dword [ecx*4 + 0x593c70]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x5918c0]
movzx eax, bl
shr ebx, 0x18
xor edx, dword [eax*4 + 0x5914a8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov dword [edi + 8], edx
mov eax, dword [ebx*4 + 0x593c70]
xor eax, dword [ecx*4 + 0x5918c0]
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x593380]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5914a8]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x1c]
dec ecx
cmp ecx, 1
jbe 0x4a0908
mov esi, dword [edi + 4]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 8]
add edx, 0x34
mov dword [ebp - 0x10], edx
nop dword [eax]
mov ecx, dword [edx - 4]
xor ecx, dword [edi]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
xor ebx, esi
xor edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
xor ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0xc], ecx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x593c70]
xor ecx, dword [eax*4 + 0x5918c0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x593380]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x5914a8]
mov eax, dword [ebp - 0xc]
mov dword [edi], ecx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5918c0]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax*4 + 0x593380]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor esi, dword [eax*4 + 0x593c70]
movzx eax, bl
shr ebx, 0x10
xor esi, dword [eax*4 + 0x5914a8]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov dword [edi + 4], esi
mov eax, dword [eax*4 + 0x593380]
xor eax, dword [ecx*4 + 0x593c70]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x5918c0]
movzx eax, dl
shr edx, 0x18
xor ecx, dword [eax*4 + 0x5914a8]
mov dword [edi + 8], ecx
mov eax, dword [edx*4 + 0x593c70]
mov dword [ebp + 8], ecx
movzx ecx, bl
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
inc ebx
add edx, 0x10
mov dword [ebp - 0x14], ebx
xor eax, dword [ecx*4 + 0x5918c0]
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], edx
xor eax, dword [ecx*4 + 0x593380]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5914a8]
mov ecx, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov ecx, dword [ecx + 0x1c]
dec ecx
cmp ebx, ecx
jb 0x4a07e0
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x1c]
add eax, eax
mov ecx, dword [esi + eax*8 + 0x18]
mov edx, dword [esi + eax*8 + 0x10]
mov ebx, dword [esi + eax*8 + 0x14]
xor ecx, dword [edi + 8]
xor edx, dword [edi]
xor ebx, dword [edi + 4]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + eax*8 + 0x1c]
xor ecx, dword [edi + 0xc]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi], al
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 1], al
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 3], al
movzx eax, bl
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 4], al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 7], al
mov eax, dword [ebp + 8]
movzx eax, al
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 8], al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 9], al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 0xa], al
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 0xb], al
movzx eax, cl
mov ecx, dword [ebp - 8]
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 0xc], al
movzx eax, dl
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 0xd], al
movzx eax, bl
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 0xe], al
mov eax, dword [ebp + 8]
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5914a9]
mov byte [edi + 0xf], al
mov eax, dword [ecx + 0x1c]
add eax, 2
add eax, eax
mov eax, dword [ecx + eax*8]
xor dword [edi], eax
mov eax, dword [ecx + 0x1c]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x24]
xor dword [edi + 4], eax
mov eax, dword [ecx + 0x1c]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x28]
xor dword [edi + 8], eax
mov eax, dword [ecx + 0x1c]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x2c]
xor dword [edi + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret