Function at 0x580cbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x18]
xor ecx, dword [eax + 8]
push edi
mov edi, dword [esi + 0x14]
xor edi, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x1c]
xor ecx, dword [eax + 0xc]
add esi, 0x10
mov ebx, dword [esi]
xor ebx, dword [eax]
mov dword [ebp - 0xc], ecx
movzx ecx, ch
mov dword [ebp - 0x14], edi
shr edi, 0x18
mov eax, ebx
shr eax, 0x10
mov edx, eax
mov eax, 0xff
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx*4 + 0x45e218]
mov ecx, dword [ebp - 8]
xor edx, dword [ecx*4 + 0x45e618]
mov ecx, dword [ebp - 0x10]
xor edx, dword [edi*4 + 0x45ea18]
movzx edi, byte [ebp - 0x13]
and ecx, eax
xor edx, dword [ecx*4 + 0x45de18]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, eax
mov dword [ebp - 8], edi
mov edi, dword [ecx*4 + 0x45e618]
mov ecx, dword [ebp - 8]
xor edi, dword [ecx*4 + 0x45e218]
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x45ea18]
mov ecx, ebx
and ecx, eax
xor edi, dword [ecx*4 + 0x45de18]
mov ecx, dword [ebp - 0x14]
add esi, 0x10
xor edi, dword [esi]
shr ecx, 0x10
mov dword [ebp - 0x28], edi
and ecx, eax
movzx edi, bh
mov dword [ebp - 8], edi
mov edi, dword [ecx*4 + 0x45e618]
mov ecx, dword [ebp - 8]
xor edi, dword [ecx*4 + 0x45e218]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x45ea18]
mov ecx, dword [ebp - 0xc]
xor edx, dword [esi + 8]
and ecx, eax
xor edi, dword [ecx*4 + 0x45de18]
shr ebx, 0x18
xor edi, dword [esi + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0xc]
shr edi, 0x10
and edi, eax
mov dword [ebp - 8], edi
movzx edi, byte [ebp - 0xf]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x45e618]
xor ecx, dword [edi*4 + 0x45e218]
mov edi, dword [ebp - 0x14]
xor ecx, dword [ebx*4 + 0x45ea18]
and edi, eax
xor ecx, dword [edi*4 + 0x45de18]
xor ecx, dword [esi + 4]
dec dword [ebp - 4]
je 0x580fbe
movzx edi, byte [ebp - 0x1b]
mov edi, dword [edi*4 + 0x45e218]
mov ebx, dword [ebp - 0x28]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x45e618]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45ea18]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x45de18]
mov ebx, edx
xor edi, dword [esi + 0x18]
shr ebx, 0x10
mov dword [ebp - 0x10], edi
movzx edi, ch
mov edi, dword [edi*4 + 0x45e218]
and ebx, eax
xor edi, dword [ebx*4 + 0x45e618]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x1c]
shr edi, 0x18
mov edi, dword [edi*4 + 0x45ea18]
xor dword [ebp - 8], edi
mov edi, dword [ebp - 8]
and ebx, eax
xor edi, dword [ebx*4 + 0x45de18]
movzx ebx, byte [ebp - 0x27]
xor edi, dword [esi + 0x10]
add esi, 0x20
mov dword [ebp - 0x18], edi
mov edi, ecx
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x45e618]
xor edi, dword [ebx*4 + 0x45e218]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45ea18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
and ebx, eax
xor edi, dword [ebx*4 + 0x45de18]
movzx edx, dh
xor edi, dword [esi - 4]
and ecx, eax
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x1c]
shr edi, 0x10
and edi, eax
mov ebx, dword [edi*4 + 0x45e618]
xor ebx, dword [edx*4 + 0x45e218]
mov edx, dword [ebp - 0x28]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x45ea18]
mov edx, dword [ebp - 0x18]
xor ebx, dword [ecx*4 + 0x45de18]
movzx ecx, byte [ebp - 0xb]
mov ecx, dword [ecx*4 + 0x45e218]
xor ebx, dword [esi - 0xc]
shr edx, 0x10
and edx, eax
xor ecx, dword [edx*4 + 0x45e618]
mov edx, ebx
shr edx, 0x18
xor ecx, dword [edx*4 + 0x45ea18]
mov edx, dword [ebp - 0x10]
and edx, eax
xor ecx, dword [edx*4 + 0x45de18]
movzx edi, bh
xor ecx, dword [esi + 8]
mov edx, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x45e618]
xor ecx, dword [edi*4 + 0x45e218]
mov edi, dword [ebp - 0xc]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x45ea18]
mov edi, dword [ebp - 0x18]
and edi, eax
xor ecx, dword [edi*4 + 0x45de18]
movzx edi, byte [ebp - 0x17]
xor ecx, dword [esi]
mov dword [ebp - 0x28], ecx
mov ecx, ebx
shr ecx, 0x10
and ecx, eax
mov ecx, dword [ecx*4 + 0x45e618]
xor ecx, dword [edi*4 + 0x45e218]
mov edi, dword [ebp - 0x10]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x45ea18]
mov edi, dword [ebp - 0xc]
and edi, eax
xor ecx, dword [edi*4 + 0x45de18]
mov edi, dword [ebp - 0xc]
xor ecx, dword [esi + 0xc]
shr edi, 0x10
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [ebp - 0xf]
and edi, eax
mov edi, dword [edi*4 + 0x45e618]
xor edi, dword [ecx*4 + 0x45e218]
and ebx, eax
mov ecx, edi
mov edi, dword [ebp - 0x18]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x45ea18]
xor ecx, dword [ebx*4 + 0x45de18]
xor ecx, dword [esi + 4]
dec dword [ebp - 4]
jne 0x580df1
mov dword [ebp - 0x20], edx
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + 0x45a078]
mov edi, dword [ebp - 0x1c]
shr edi, 0x18
mov dh, byte [edi + 0x45a078]
movzx edi, ch
movzx edi, byte [edi + 0x45a078]
shl edx, 8
or edx, edi
mov edi, dword [ebp - 0x28]
shl edx, 8
mov ebx, dword [ebp - 0x28]
and edi, eax
movzx edi, byte [edi + 0x45a078]
or edx, edi
mov edi, dword [ebp + 8]
add esi, 0x10
xor edx, dword [esi]
shr ebx, 0x18
mov dword [edi], edx
mov edx, dword [ebp - 0x1c]
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + 0x45a078]
mov dh, byte [ebx + 0x45a078]
movzx ebx, byte [ebp - 0x1f]
movzx ebx, byte [ebx + 0x45a078]
shl edx, 8
or edx, ebx
shl edx, 8
mov ebx, ecx
and ebx, eax
movzx ebx, byte [ebx + 0x45a078]
or edx, ebx
xor edx, dword [esi + 4]
mov ebx, ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x28]
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + 0x45a078]
shr ebx, 0x18
mov dh, byte [ebx + 0x45a078]
movzx ebx, byte [ebp - 0x1b]
movzx ebx, byte [ebx + 0x45a078]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0x20]
shl edx, 8
and ebx, eax
movzx ebx, byte [ebx + 0x45a078]
or edx, ebx
xor edx, dword [esi + 8]
shr ecx, 0x10
mov dword [edi + 8], edx
and ecx, eax
movzx edx, byte [ecx + 0x45a078]
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
mov dh, byte [ecx + 0x45a078]
movzx ecx, byte [ebp - 0x27]
movzx ecx, byte [ecx + 0x45a078]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
movzx eax, byte [ecx + 0x45a078]
shl edx, 8
or edx, eax
xor edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
leave
ret