Function at 0x796094
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx]
push edi
mov edi, esi
ror edi, 8
mov edx, 0xff00ff00
and edi, edx
rol esi, 8
mov eax, 0xff00ff
and esi, eax
or edi, esi
mov esi, dword [ebx + 4]
xor edi, dword [ecx]
mov ebx, esi
ror ebx, 8
and ebx, edx
rol esi, 8
and esi, eax
or ebx, esi
xor ebx, dword [ecx + 4]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov ebx, dword [esi + 8]
mov esi, ebx
ror esi, 8
and esi, edx
rol ebx, 8
and ebx, eax
or esi, ebx
xor esi, dword [ecx + 8]
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 0xc], ebx
ror ebx, 8
and ebx, edx
mov edx, dword [ebp + 0xc]
rol edx, 8
and edx, eax
or ebx, edx
xor ebx, dword [ecx + 0xc]
mov edx, esi
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x10
shr edx, 8
mov eax, 0xff
and ebx, eax
and edx, eax
mov edx, dword [edx*4 + 0x1035bfa8]
xor edx, dword [ebx*4 + 0x1035bba8]
mov ebx, edi
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1035b7a8]
mov ebx, dword [ebp + 0xc]
and ebx, eax
xor edx, dword [ebx*4 + 0x1035c3a8]
mov ebx, dword [ebp + 0xc]
xor edx, dword [ecx + 0x10]
shr ebx, 8
mov dword [ebp - 0x10], esi
and ebx, eax
shr esi, 0x10
and esi, eax
mov dword [ebp - 8], esi
mov esi, dword [ebx*4 + 0x1035bfa8]
mov ebx, dword [ebp - 8]
xor esi, dword [ebx*4 + 0x1035bba8]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x1035b7a8]
mov ebx, edi
and ebx, eax
xor esi, dword [ebx*4 + 0x1035c3a8]
mov ebx, dword [ebp + 0xc]
xor esi, dword [ecx + 0x14]
shr ebx, 0x10
mov dword [ebp - 0xc], edi
and ebx, eax
shr edi, 8
and edi, eax
mov dword [ebp - 8], edi
mov edi, dword [ebx*4 + 0x1035bba8]
mov ebx, dword [ebp - 8]
xor edi, dword [ebx*4 + 0x1035bfa8]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1035b7a8]
mov ebx, dword [ebp - 4]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035c3a8]
mov ebx, dword [ebp - 0xc]
xor edi, dword [ecx + 0x18]
shr ebx, 0x10
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x1035bfa8]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035bba8]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1035b7a8]
mov ebx, dword [ebp - 0x10]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035c3a8]
add ecx, 0x20
xor edi, dword [ecx - 4]
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 8]
sar edi, 1
dec edi
mov dword [ebp + 8], edi
je 0x7963f4
mov edi, dword [ebp - 8]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x1035bfa8]
mov ebx, esi
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x1035bba8]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1035b7a8]
mov ebx, dword [ebp + 0xc]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035c3a8]
mov ebx, dword [ebp - 8]
xor edi, dword [ecx]
shr ebx, 0x10
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x1035bfa8]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035bba8]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1035b7a8]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x1035c3a8]
mov ebx, edx
xor edi, dword [ecx + 4]
shr ebx, 8
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
shr edi, 0x10
and edi, eax
and ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [edi*4 + 0x1035bba8]
mov edi, dword [ebp - 0x10]
xor ebx, dword [edi*4 + 0x1035bfa8]
mov edi, dword [ebp - 8]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x1035b7a8]
mov edi, esi
shr edx, 0x10
shr esi, 8
and edx, eax
and esi, eax
and edi, eax
xor ebx, dword [edi*4 + 0x1035c3a8]
mov edi, dword [esi*4 + 0x1035bfa8]
xor edi, dword [edx*4 + 0x1035bba8]
mov edx, dword [ebp + 0xc]
xor ebx, dword [ecx + 8]
mov esi, dword [ebp - 4]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1035b7a8]
mov edx, dword [ebp - 8]
and edx, eax
xor edi, dword [edx*4 + 0x1035c3a8]
shr esi, 0x10
xor edi, dword [ecx + 0xc]
mov edx, ebx
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1035bfa8]
and esi, eax
xor edx, dword [esi*4 + 0x1035bba8]
mov esi, dword [ebp - 0xc]
shr esi, 0x18
xor edx, dword [esi*4 + 0x1035b7a8]
mov esi, edi
and esi, eax
xor edx, dword [esi*4 + 0x1035c3a8]
mov esi, edi
xor edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], edi
shr esi, 8
shr ebx, 0x10
and ebx, eax
and esi, eax
mov esi, dword [esi*4 + 0x1035bfa8]
xor esi, dword [ebx*4 + 0x1035bba8]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x1035b7a8]
mov ebx, dword [ebp - 0xc]
and ebx, eax
xor esi, dword [ebx*4 + 0x1035c3a8]
mov ebx, dword [ebp - 0xc]
shr edi, 0x10
shr ebx, 8
and edi, eax
mov edi, dword [edi*4 + 0x1035bba8]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035bfa8]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1035b7a8]
mov ebx, dword [ebp - 4]
and ebx, eax
xor edi, dword [ebx*4 + 0x1035c3a8]
mov ebx, dword [ebp - 4]
xor edi, dword [ecx + 0x18]
xor esi, dword [ecx + 0x14]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1035bfa8]
shr edi, 0x10
and edi, eax
xor ebx, dword [edi*4 + 0x1035bba8]
mov edi, dword [ebp + 0xc]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x1035b7a8]
mov edi, dword [ebp - 0x10]
and edi, eax
xor ebx, dword [edi*4 + 0x1035c3a8]
add ecx, 0x20
xor ebx, dword [ecx - 4]
dec dword [ebp + 8]
mov dword [ebp + 0xc], ebx
jne 0x796216
mov ebx, dword [ebp - 8]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, 0xff00
mov edi, esi
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x1035c7a8]
and edi, 0xff0000
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, 0xff000000
xor edi, ebx
mov ebx, dword [ebp + 0xc]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x1035c7a8]
xor edi, ebx
xor edi, dword [ecx]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov edi, dword [ebp + 0x10]
mov dword [edi], ebx
mov edi, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1035c7a8]
shr edi, 0x10
and ebx, 0xff00
and edi, eax
mov edi, dword [edi*4 + 0x1035c7a8]
and edi, 0xff0000
xor edi, ebx
mov ebx, esi
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, 0xff000000
xor edi, ebx
mov ebx, edx
and ebx, eax
movzx ebx, byte [ebx*4 + 0x1035c7a8]
xor edi, ebx
xor edi, dword [ecx + 4]
mov ebx, edi
ror ebx, 8
and ebx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov edi, dword [ebp + 0x10]
mov dword [edi + 4], ebx
mov edi, dword [ebp + 0xc]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x1035c7a8]
mov ebx, edx
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, 0xff00
and edi, 0xff0000
xor edi, ebx
mov ebx, dword [ebp - 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, 0xff000000
xor edi, ebx
mov ebx, esi
and ebx, eax
movzx ebx, byte [ebx*4 + 0x1035c7a8]
xor edi, ebx
xor edi, dword [ecx + 8]
mov ebx, edi
ror ebx, 8
shr esi, 8
and esi, eax
and ebx, 0xff00ff00
shr edx, 0x10
and edx, eax
rol edi, 8
and edi, 0xff00ff
or ebx, edi
mov edi, dword [ebp + 0x10]
mov dword [edi + 8], ebx
mov esi, dword [esi*4 + 0x1035c7a8]
mov edx, dword [edx*4 + 0x1035c7a8]
and esi, 0xff00
and edx, 0xff0000
xor edx, esi
mov esi, dword [ebp + 0xc]
shr esi, 0x18
mov esi, dword [esi*4 + 0x1035c7a8]
and esi, 0xff000000
xor edx, esi
mov esi, dword [ebp - 8]
and esi, eax
movzx eax, byte [esi*4 + 0x1035c7a8]
xor edx, eax
xor edx, dword [ecx + 0xc]
mov eax, edx
ror eax, 8
and eax, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or eax, edx
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebx
leave
ret