Function at 0x10056bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [edx + 4]
push edi
mov edi, dword [ebp + 0x10]
lea ebx, [ebx - 1]
shr ebx, 0x1f
dec ebx
mov eax, dword [edi + 4]
xor eax, ecx
and eax, ebx
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [edi + 4], eax
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 9
ja case.default.0x10056be3
jmp dword [ecx*4 + 0x10056d30]
mov ecx, 0xa
mov dword [ebp + 8], ecx
cmp eax, ecx
jle case.0x10056be3.10
mov eax, dword [edx]
mov esi, dword [ebp + 8]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
mov ecx, dword [edx]
mov esi, dword [eax + esi*4]
xor esi, ecx
and esi, ebx
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [ebp + 0xc]
xor dword [eax + ecx*4], esi
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp + 0x14]
jl 0x10056bf6
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
mov edx, dword [eax + 0x24]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x24], ecx
mov eax, dword [edi]
xor dword [eax + 0x24], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov edx, dword [eax + 0x20]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [edi]
xor dword [eax + 0x20], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + 0x1c]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x1c], ecx
mov eax, dword [edi]
xor dword [eax + 0x1c], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0x18]
mov edx, dword [eax + 0x18]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
xor dword [eax + 0x18], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
mov edx, dword [eax + 0x14]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi]
xor dword [eax + 0x14], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x10]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x10], ecx
mov eax, dword [edi]
xor dword [eax + 0x10], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0xc]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [edi]
xor dword [eax + 0xc], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 8]
mov edx, dword [eax + 8]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
xor dword [eax + 8], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 4], ecx
mov eax, dword [edi]
xor dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [edx]
mov ecx, dword [eax]
mov edx, dword [esi]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [esi], edx
mov eax, dword [edi]
pop edi
pop esi
pop ebx
xor dword [eax], ecx
pop ebp
ret