Function at 0x1007fa60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
push edi
ror esi, 0x1d
ror edx, 0x1d
test eax, eax
je 0x1007fbb8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], 8
lea edi, [eax + 8]
mov eax, dword [edi - 4]
mov ecx, dword [edi - 8]
xor eax, esi
xor ecx, esi
ror eax, 4
mov ebx, eax
mov ebp, eax
shr ebx, 0x12
shr ebp, 0xa
and ebx, 0x3f
and ebp, 0x3f
add edi, 0x10
mov ebx, dword [ebx*4 + 0x100b6f88]
xor ebx, dword [ebp*4 + 0x100b6d88]
mov ebp, eax
shr ebp, 2
and ebp, 0x3f
shr eax, 0x1a
xor ebx, dword [ebp*4 + 0x100b6b88]
mov ebp, ecx
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6e88]
mov ebp, ecx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6c88]
mov ebp, ecx
shr ebp, 2
and ebp, 0x3f
shr ecx, 0x1a
xor ebx, dword [ebp*4 + 0x100b6a88]
mov ebp, dword [eax*4 + 0x100b7188]
mov eax, dword [edi - 0x10]
xor ebx, ebp
mov ebp, dword [ecx*4 + 0x100b7088]
xor ebx, ebp
xor edx, ebx
mov ecx, edx
xor ecx, eax
mov eax, dword [edi - 0xc]
xor eax, edx
ror eax, 4
mov ebx, eax
mov ebp, eax
shr ebx, 0x12
and ebx, 0x3f
shr ebp, 0xa
mov ebx, dword [ebx*4 + 0x100b6f88]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6d88]
mov ebp, eax
shr ebp, 2
and ebp, 0x3f
shr eax, 0x1a
xor ebx, dword [ebp*4 + 0x100b6b88]
mov ebp, ecx
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6e88]
mov ebp, ecx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6c88]
mov ebp, ecx
shr ebp, 2
and ebp, 0x3f
shr ecx, 0x1a
xor ebx, dword [ebp*4 + 0x100b6a88]
mov ebp, dword [eax*4 + 0x100b7188]
mov eax, dword [ecx*4 + 0x100b7088]
xor ebx, ebp
xor ebx, eax
mov eax, dword [esp + 0x18]
xor esi, ebx
dec eax
mov dword [esp + 0x18], eax
jne 0x1007fa8e
mov eax, dword [esp + 0x14]
pop edi
ror edx, 3
ror esi, 3
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 8
lea edi, [ecx + 0x70]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
xor eax, esi
xor ecx, esi
ror eax, 4
mov ebx, eax
mov ebp, eax
shr ebx, 0x12
shr ebp, 0xa
and ebx, 0x3f
and ebp, 0x3f
sub edi, 0x10
mov ebx, dword [ebx*4 + 0x100b6f88]
xor ebx, dword [ebp*4 + 0x100b6d88]
mov ebp, eax
shr ebp, 2
and ebp, 0x3f
shr eax, 0x1a
xor ebx, dword [ebp*4 + 0x100b6b88]
mov ebp, ecx
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6e88]
mov ebp, ecx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6c88]
mov ebp, ecx
shr ebp, 2
and ebp, 0x3f
shr ecx, 0x1a
xor ebx, dword [ebp*4 + 0x100b6a88]
mov ebp, dword [eax*4 + 0x100b7188]
mov eax, dword [edi + 0x14]
xor ebx, ebp
mov ebp, dword [ecx*4 + 0x100b7088]
mov ecx, dword [edi + 0x10]
xor ebx, ebp
xor edx, ebx
xor eax, edx
xor ecx, edx
ror eax, 4
mov ebx, eax
mov ebp, eax
shr ebx, 0x12
and ebx, 0x3f
shr ebp, 0xa
mov ebx, dword [ebx*4 + 0x100b6f88]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6d88]
mov ebp, eax
shr ebp, 2
and ebp, 0x3f
shr eax, 0x1a
xor ebx, dword [ebp*4 + 0x100b6b88]
mov ebp, ecx
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6e88]
mov ebp, ecx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x100b6c88]
mov ebp, ecx
shr ebp, 2
and ebp, 0x3f
shr ecx, 0x1a
xor ebx, dword [ebp*4 + 0x100b6a88]
mov ebp, dword [eax*4 + 0x100b7188]
mov eax, dword [ecx*4 + 0x100b7088]
xor ebx, ebp
xor ebx, eax
mov eax, dword [esp + 0x18]
xor esi, ebx
dec eax
mov dword [esp + 0x18], eax
jne 0x1007fbc7
mov eax, dword [esp + 0x14]
pop edi
ror edx, 3
ror esi, 3
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
ret