Function at 0x10130950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ebx, ebx
jle 0x10130ce4
push esi
mov esi, dword [ebp + 8]
push edi
lea esp, [esp]
push esi
call fcn.101302a0
mov edx, dword [esi + 0xc]
xor eax, eax
mov edi, dword [esi + 8]
mov ecx, edx
shld edx, edi, 1
shr ecx, 0x1f
xor eax, edx
add edi, edi
xor ecx, edi
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov dword [esi + 8], ecx
mov ecx, edi
shrd edi, edx, 2
shl ecx, 0x1e
shr edx, 2
xor ecx, edx
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x1c]
xor eax, eax
xor eax, edi
mov dword [esi + 0x14], ecx
mov edi, dword [esi + 0x18]
mov ecx, edx
shld edx, edi, 0x1c
shr ecx, 4
shl edi, 0x1c
xor ecx, edi
mov dword [esi + 0x10], eax
mov edi, dword [esi + 0x20]
xor eax, eax
xor eax, edx
mov dword [esi + 0x18], ecx
mov edx, dword [esi + 0x24]
mov ecx, edx
shld edx, edi, 0x1b
shr ecx, 5
shl edi, 0x1b
xor ecx, edi
mov dword [esi + 0x1c], eax
mov edi, dword [esi + 0x28]
xor eax, eax
xor eax, edx
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x2c]
mov ecx, edi
shrd edi, edx, 0x1c
shl ecx, 4
shr edx, 0x1c
xor ecx, edx
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x34]
xor eax, eax
xor eax, edi
mov dword [esi + 0x2c], ecx
mov edi, dword [esi + 0x30]
mov ecx, edi
shrd edi, edx, 0x14
shl ecx, 0xc
shr edx, 0x14
xor ecx, edx
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x3c]
xor eax, eax
xor eax, edi
mov dword [esi + 0x34], ecx
mov edi, dword [esi + 0x38]
mov ecx, edx
shld edx, edi, 6
mov dword [esi + 0x30], eax
xor eax, eax
shl edi, 6
shr ecx, 0x1a
xor ecx, edi
mov edi, dword [esi + 0x40]
xor eax, edx
mov dword [esi + 0x38], ecx
mov edx, dword [esi + 0x44]
mov dword [esi + 0x3c], eax
mov ecx, edi
xor eax, eax
shrd edi, edx, 9
shl ecx, 0x17
xor eax, edi
shr edx, 9
xor ecx, edx
mov edi, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov dword [esi + 0x44], ecx
mov ecx, edx
shld edx, edi, 0x14
shr ecx, 0xc
shl edi, 0x14
xor ecx, edi
mov dword [esi + 0x40], eax
mov edi, dword [esi + 0x50]
xor eax, eax
xor eax, edx
mov dword [esi + 0x48], ecx
mov edx, dword [esi + 0x54]
mov ecx, edx
shld edx, edi, 3
shr ecx, 0x1d
shl edi, 3
xor ecx, edi
mov dword [esi + 0x4c], eax
mov edi, dword [esi + 0x58]
xor eax, eax
xor eax, edx
mov dword [esi + 0x50], ecx
mov edx, dword [esi + 0x5c]
mov ecx, edx
shld edx, edi, 0xa
shr ecx, 0x16
shl edi, 0xa
xor ecx, edi
mov dword [esi + 0x54], eax
mov edi, dword [esi + 0x60]
xor eax, eax
xor eax, edx
mov dword [esi + 0x58], ecx
mov edx, dword [esi + 0x64]
mov ecx, edi
shrd edi, edx, 0x15
shl ecx, 0xb
shr edx, 0x15
xor ecx, edx
mov dword [esi + 0x5c], eax
mov edx, dword [esi + 0x6c]
xor eax, eax
xor eax, edi
mov dword [esi + 0x64], ecx
mov edi, dword [esi + 0x68]
mov ecx, edx
shld edx, edi, 0x19
shr ecx, 7
mov dword [esi + 0x60], eax
xor eax, eax
xor eax, edx
shl edi, 0x19
mov edx, dword [esi + 0x74]
xor ecx, edi
mov edi, dword [esi + 0x70]
mov dword [esi + 0x68], ecx
mov ecx, edi
shrd edi, edx, 0x19
shl ecx, 7
mov dword [esi + 0x6c], eax
xor eax, eax
shr edx, 0x19
xor eax, edi
mov edi, dword [esi + 0x78]
xor ecx, edx
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x74], ecx
mov ecx, edi
mov dword [esi + 0x70], eax
xor eax, eax
shl ecx, 9
shrd edi, edx, 0x17
xor eax, edi
shr edx, 0x17
xor ecx, edx
mov edi, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov dword [esi + 0x7c], ecx
mov ecx, edi
shrd edi, edx, 0x13
shl ecx, 0xd
shr edx, 0x13
xor ecx, edx
mov dword [esi + 0x78], eax
mov edx, dword [esi + 0x8c]
xor eax, eax
xor eax, edi
mov dword [esi + 0x84], ecx
mov edi, dword [esi + 0x88]
mov ecx, edx
shld edx, edi, 0xf
shr ecx, 0x11
shl edi, 0xf
xor ecx, edi
mov dword [esi + 0x80], eax
mov edi, dword [esi + 0x90]
xor eax, eax
xor eax, edx
mov dword [esi + 0x88], ecx
mov edx, dword [esi + 0x94]
mov ecx, edx
shld edx, edi, 0x15
shr ecx, 0xb
shl edi, 0x15
xor ecx, edi
mov dword [esi + 0x8c], eax
mov edi, dword [esi + 0x98]
xor eax, eax
xor eax, edx
mov dword [esi + 0x90], ecx
mov edx, dword [esi + 0x9c]
mov ecx, edx
shld edx, edi, 8
shr ecx, 0x18
shl edi, 8
xor ecx, edi
mov dword [esi + 0x94], eax
mov edi, dword [esi + 0xa0]
xor eax, eax
xor eax, edx
mov dword [esi + 0x98], ecx
mov edx, dword [esi + 0xa4]
mov ecx, edx
shld edx, edi, 0x12
shr ecx, 0xe
shl edi, 0x12
xor ecx, edi
mov dword [esi + 0x9c], eax
mov edi, dword [esi + 0xa8]
xor eax, eax
xor eax, edx
mov dword [esi + 0xa0], ecx
mov edx, dword [esi + 0xac]
mov ecx, edx
shld edx, edi, 2
mov dword [esi + 0xa4], eax
xor eax, eax
shr ecx, 0x1e
xor eax, edx
mov edx, dword [esi + 0xb4]
shl edi, 2
xor ecx, edi
mov dword [esi + 0xac], eax
mov edi, dword [esi + 0xb0]
xor eax, eax
mov dword [esi + 0xa8], ecx
mov ecx, edi
shrd edi, edx, 3
shl ecx, 0x1d
xor eax, edi
shr edx, 3
xor ecx, edx
mov dword [esi + 0xb0], eax
mov edi, dword [esi + 0xb8]
xor eax, eax
mov edx, dword [esi + 0xbc]
mov dword [esi + 0xb4], ecx
mov ecx, edi
shrd edi, edx, 8
shl ecx, 0x18
shr edx, 8
xor eax, edi
mov edi, dword [esi + 0xc0]
xor ecx, edx
mov edx, dword [esi + 0xc4]
mov dword [esi + 0xbc], ecx
mov ecx, edx
shld edx, edi, 0xe
mov dword [esi + 0xb8], eax
xor eax, eax
shr ecx, 0x12
xor eax, edx
shl edi, 0xe
xor ecx, edi
mov dword [esi + 0xc4], eax
push esi
mov dword [esi + 0xc0], ecx
call fcn.10130100
push esi
call fcn.1012fdd0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ecx*8 + 0x102bc670]
xor dword [esi], eax
mov eax, dword [ecx*8 + 0x102bc674]
inc ecx
xor dword [esi + 4], eax
mov dword [ebp - 4], ecx
cmp ecx, ebx
jl 0x10130970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret