Function at 0x795a18
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ebp, edi
ror ebp, 8
mov esi, 0xff00ff00
and ebp, esi
rol edi, 8
mov ebx, edx
mov edx, 0xff00ff
and edi, edx
or ebp, edi
mov dword [eax], ebp
mov edi, dword [ecx + 4]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 4], ebp
mov edi, dword [ecx + 8]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 8], ebp
mov edi, dword [ecx + 0xc]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0xc], ebp
cmp ebx, 0x80
jne 0x795ba2
mov esi, ebp
mov edx, ebp
shr edx, 0x10
lea ecx, [ebx + 0x7f]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
mov edi, esi
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + 0x1035c7a8]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + 0x1035c7a8]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
lea ebp, [eax + 0x10]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [esp + 0x14], edx
mov dword [eax + 0x18], edx
mov edx, dword [eax + 0xc]
xor edx, dword [esp + 0x14]
mov dword [eax + 0x14], ebp
mov dword [eax + 0x1c], edx
mov dword [esp + 0x14], 0x1035dfac
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0xc]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
shr edx, 8
and ebp, ebx
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
and ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp]
add dword [esp + 0x14], 4
xor edx, dword [eax]
lea ebp, [eax + 0x10]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov dword [eax + 0x14], ebp
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x18], edx
mov ebp, dword [eax + 0xc]
xor ebp, edx
cmp dword [esp + 0x14], 0x1035dfd0
mov dword [eax + 0x1c], ebp
jne 0x795b0f
push 0xa
pop eax
jmp 0x795eae
mov edi, dword [ecx + 0x10]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0x10], ebp
mov edi, dword [ecx + 0x14]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0x14], ebp
cmp ebx, 0xc0
jne 0x795cfd
mov esi, ebp
mov edx, esi
shr edx, 0x10
lea ecx, [ebx + 0x3f]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
mov edi, esi
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + 0x1035c7a8]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + 0x1035c7a8]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
lea ebp, [eax + 0x18]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x1c], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ebp
mov dword [esp + 0x14], 0x1035dfac
mov edx, dword [eax + 0x10]
xor edx, dword [eax + 0x24]
mov ebp, dword [eax + 0x14]
xor ebp, edx
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x14]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
shr edx, 8
and ebp, ebx
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
and ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp]
add dword [esp + 0x14], 4
xor edx, dword [eax]
lea ebp, [eax + 0x18]
mov dword [ebp], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov dword [eax + 0x1c], ebp
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x20], edx
mov ebp, dword [eax + 0xc]
xor ebp, edx
cmp dword [esp + 0x14], 0x1035dfc8
mov dword [eax + 0x24], ebp
jne 0x795c5a
push 0xc
jmp 0x795b9c
mov edi, dword [ecx + 0x18]
mov ebp, edi
ror ebp, 8
and ebp, esi
rol edi, 8
and edi, edx
or ebp, edi
mov dword [eax + 0x18], ebp
mov ecx, dword [ecx + 0x1c]
mov edi, ecx
ror edi, 8
and edi, esi
rol ecx, 8
and ecx, edx
or edi, ecx
mov dword [eax + 0x1c], edi
cmp ebx, 0x100
jne 0x795eac
mov esi, edi
mov edx, esi
shr edx, 0x10
lea ecx, [ebx - 1]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + 0x1035c7a8]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + 0x1035c7a8]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
lea ebp, [eax + 0x20]
mov dword [ebp], edx
mov dword [esp + 0x18], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ebp
mov dword [esp + 0x14], 0x1035dfac
mov ebp, dword [eax + 0x2c]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 8
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
and ebp, esi
shr edx, 0x10
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
mov ebp, dword [ebp*4 + 0x1035c7a8]
and ebp, ebx
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
xor edx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
xor ebp, edx
mov dword [eax + 0x34], ebp
mov dword [eax + 0x30], edx
mov edx, dword [eax + 0x18]
xor edx, ebp
mov ebp, dword [eax + 0x1c]
xor ebp, edx
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x38], edx
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 0x1c]
mov edx, ebp
mov dword [esp + 0x10], ebp
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
shr edx, 8
and ebp, ebx
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + 0x1035c7a8]
xor edx, ebp
mov ebp, dword [esp + 0x10]
and ebp, ecx
mov ebp, dword [ebp*4 + 0x1035c7a8]
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x14]
xor edx, dword [ebp]
add dword [esp + 0x14], 4
lea ebp, [eax + 0x20]
mov dword [ebp], edx
mov dword [esp + 0x18], ebp
mov ebp, dword [eax + 4]
xor ebp, edx
mov dword [eax + 0x24], ebp
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x28], edx
mov ebp, dword [eax + 0xc]
xor ebp, edx
cmp dword [esp + 0x14], 0x1035dfc4
mov dword [eax + 0x2c], ebp
jne 0x795db3
push 0xe
jmp 0x795b9c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret