Function at 0x101fb808
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov ebp, eax
ror ebp, 8
and ebp, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebp, eax
xor ebp, dword [esi]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
xor eax, dword [esi + 4]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
xor ecx, dword [esi + 8]
mov edx, edi
ror edx, 8
and edx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or edx, edi
xor edx, dword [esi + 0xc]
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x1001fdb0]
xor edi, dword [ebx*4 + 0x100201b0]
mov ebx, ebp
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1001f9b0]
mov dword [esp + 0x10], edx
shr edx, 8
mov ebx, eax
and ebx, 0xff
xor edi, dword [ebx*4 + 0x100205b0]
and edx, 0xff
mov edx, dword [edx*4 + 0x100201b0]
xor edi, dword [esi + 0x10]
mov ebx, ebp
shr ebx, 0x10
and ebx, 0xff
xor edx, dword [ebx*4 + 0x1001fdb0]
mov ebx, eax
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001f9b0]
mov ebx, ecx
and ebx, 0xff
xor edx, dword [ebx*4 + 0x100205b0]
mov ebx, ebp
xor edx, dword [esi + 0x14]
mov esi, eax
shr esi, 0x10
shr ebx, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x1001fdb0]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x100201b0]
mov ebx, ecx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x1001f9b0]
mov ebx, dword [esp + 0x10]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x100205b0]
mov ebx, dword [esp + 0x24]
xor esi, dword [ebx + 0x18]
shr eax, 8
shr ecx, 0x10
and eax, 0xff
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x1001fdb0]
xor ebx, dword [eax*4 + 0x100201b0]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x1001f9b0]
mov eax, dword [esp + 0x24]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x100205b0]
lea ecx, [eax + 0x20]
xor ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf0]
sar eax, 1
sub eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
je 0x101fbbdb
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x1001fdb0]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor eax, dword [ebp*4 + 0x100201b0]
mov ebp, edi
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x1001f9b0]
mov ebp, edx
and ebp, 0xff
xor eax, dword [ebp*4 + 0x100205b0]
mov ebp, edi
xor eax, dword [ecx]
shr ebp, 0x10
and ebp, 0xff
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x100201b0]
xor eax, dword [ebp*4 + 0x1001fdb0]
mov ebp, edx
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x1001f9b0]
mov ebp, esi
and ebp, 0xff
xor eax, dword [ebp*4 + 0x100205b0]
mov ebp, edi
xor eax, dword [ecx + 4]
shr ebp, 8
mov ecx, edx
and ebp, 0xff
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1001fdb0]
xor ecx, dword [ebp*4 + 0x100201b0]
mov ebp, esi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x1001f9b0]
mov ebp, ebx
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x100205b0]
mov ebp, dword [esp + 0x24]
xor ecx, dword [ebp + 8]
shr esi, 0x10
and esi, 0xff
mov ebp, dword [esi*4 + 0x1001fdb0]
shr edx, 8
and edx, 0xff
xor ebp, dword [edx*4 + 0x100201b0]
mov edx, dword [esp + 0x24]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x1001f9b0]
and edi, 0xff
xor ebp, dword [edi*4 + 0x100205b0]
mov edi, ecx
xor ebp, dword [edx + 0xc]
shr edi, 8
mov esi, ebp
shr esi, 0x10
and edi, 0xff
and esi, 0xff
mov ebx, dword [esi*4 + 0x1001fdb0]
xor ebx, dword [edi*4 + 0x100201b0]
mov esi, dword [esp + 0x10]
mov edi, esi
shr edi, 0x18
xor ebx, dword [edi*4 + 0x1001f9b0]
mov edi, eax
and edi, 0xff
xor ebx, dword [edi*4 + 0x100205b0]
xor ebx, dword [edx + 0x10]
mov edx, ebp
mov edi, ebx
shr edx, 8
mov ebx, esi
and edx, 0xff
shr ebx, 0x10
mov edx, dword [edx*4 + 0x100201b0]
and ebx, 0xff
xor edx, dword [ebx*4 + 0x1001fdb0]
mov ebx, eax
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001f9b0]
mov ebx, ecx
and ebx, 0xff
xor edx, dword [ebx*4 + 0x100205b0]
mov ebx, dword [esp + 0x24]
xor edx, dword [ebx + 0x14]
mov ebx, eax
shr ebx, 0x10
shr esi, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x1001fdb0]
and esi, 0xff
xor ebx, dword [esi*4 + 0x100201b0]
mov esi, ecx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1001fdb0]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x1001f9b0]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x100201b0]
mov eax, dword [esp + 0x10]
mov esi, ebp
and esi, 0xff
xor ebx, dword [esi*4 + 0x100205b0]
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x1001f9b0]
and eax, 0xff
xor ecx, dword [eax*4 + 0x100205b0]
mov esi, ebx
mov ebx, dword [esp + 0x24]
xor ecx, dword [ebx + 0x1c]
xor esi, dword [ebx + 0x18]
add dword [esp + 0x24], 0x20
sub dword [esp + 0x14], 1
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jne 0x101fb9ac
mov eax, ebx
shr eax, 0x10
and eax, 0xff
movzx eax, byte [eax + 0x100209b0]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + 0x100209b0]
shl ebp, 8
xor eax, ebp
shl eax, 8
mov ebp, esi
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x100209b0]
xor eax, ebp
shl eax, 8
mov ebp, edx
and ebp, 0xff
movzx ebp, byte [ebp + 0x100209b0]
xor eax, ebp
xor eax, dword [ecx]
mov ebp, eax
ror ebp, 8
and ebp, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebp, eax
mov eax, dword [esp + 0x20]
mov dword [eax], ebp
mov eax, edi
shr eax, 0x10
and eax, 0xff
movzx eax, byte [eax + 0x100209b0]
mov ebp, edx
shr ebp, 0x18
movzx ebp, byte [ebp + 0x100209b0]
shl ebp, 8
xor eax, ebp
shl eax, 8
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x100209b0]
xor eax, ebp
shl eax, 8
mov ebp, esi
and ebp, 0xff
movzx ebp, byte [ebp + 0x100209b0]
xor eax, ebp
xor eax, dword [ecx + 4]
mov ebp, eax
ror ebp, 8
and ebp, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebp, eax
mov eax, dword [esp + 0x20]
mov dword [eax + 4], ebp
mov eax, edx
shr eax, 0x10
and eax, 0xff
movzx eax, byte [eax + 0x100209b0]
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp + 0x100209b0]
shl ebp, 8
xor eax, ebp
mov ebp, edi
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x100209b0]
shl eax, 8
xor eax, ebp
mov ebp, ebx
and ebp, 0xff
movzx ebp, byte [ebp + 0x100209b0]
shl eax, 8
xor eax, ebp
xor eax, dword [ecx + 8]
mov ebp, eax
ror ebp, 8
and ebp, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebp, eax
shr esi, 0x10
and esi, 0xff
mov eax, ebp
mov ebp, dword [esp + 0x20]
mov dword [ebp + 8], eax
movzx eax, byte [esi + 0x100209b0]
shr ebx, 0x18
movzx esi, byte [ebx + 0x100209b0]
shr edx, 8
shl esi, 8
xor eax, esi
and edx, 0xff
movzx edx, byte [edx + 0x100209b0]
shl eax, 8
xor eax, edx
and edi, 0xff
movzx edx, byte [edi + 0x100209b0]
shl eax, 8
xor eax, edx
xor eax, dword [ecx + 0xc]
pop edi
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
pop esi
mov dword [ebp + 0xc], ecx
pop ebp
pop ebx
add esp, 0xc
ret