Function at 0x101a4580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0xb0], edx
mov esi, ecx
mov dword [ebp - 0xb4], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 8], ebx
movups xmm0, xmmword [eax]
sete bl
mov byte [ebp - 0x10], dl
mov eax, edx
mov dword [ebp - 0xc], 0x546c4173
sar eax, 8
mov byte [ebp - 0xf], al
mov eax, edx
sar eax, 0x10
mov byte [ebp - 0xe], al
mov eax, edx
sar eax, 0x18
lea edx, [ebp - 0x20]
push 0x18
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xd], al
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xa4], 0x67452301
mov dword [ebp - 0xa0], 0xefcdab89
mov dword [ebp - 0x9c], 0x98badcfe
mov dword [ebp - 0x98], 0x10325476
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
call fcn.101a3c40
add esp, 4
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x48]
call fcn.101a3b90
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x38]
push eax
call fcn.101a4400
mov edi, dword [esi + 0x2c]
add esp, 4
movups xmm0, xmmword [ebp - 0x38]
xor eax, eax
mov dword [edi], 1
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0xa
nop dword [eax]
mov ecx, eax
lea edx, [ebp - 0x28]
and ecx, 3
mov esi, eax
add edx, ecx
shr esi, 2
mov cl, byte [ebp + eax - 0x48]
inc eax
mov byte [edx + esi*4], cl
cmp eax, 0x10
jb 0x101a4680
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.101a31c0
cmp dword [edi + 8], 1
jne 0x101a478a
mov ebx, 1
cmp dword [edi + 0x1c], ebx
jbe 0x101a478a
lea esi, [edi + 0x32]
movzx eax, byte [esi + 1]
lea esi, [esi + 0x10]
movzx ecx, byte [esi - 0x11]
inc ebx
mov edx, dword [eax*4 + 0x1029a588]
xor edx, dword [ecx*4 + 0x1029bdf8]
movzx eax, byte [esi - 0x10]
xor edx, dword [eax*4 + 0x1029d6a8]
movzx eax, byte [esi - 0x12]
xor edx, dword [eax*4 + 0x1029a188]
mov dword [esi - 0x12], edx
movzx eax, byte [esi - 0xb]
movzx ecx, byte [esi - 0xc]
mov edx, dword [eax*4 + 0x1029a588]
xor edx, dword [ecx*4 + 0x1029d6a8]
movzx eax, byte [esi - 0xd]
xor edx, dword [eax*4 + 0x1029bdf8]
movzx eax, byte [esi - 0xe]
xor edx, dword [eax*4 + 0x1029a188]
mov dword [esi - 0xe], edx
movzx eax, byte [esi - 7]
movzx ecx, byte [esi - 8]
mov edx, dword [eax*4 + 0x1029a588]
xor edx, dword [ecx*4 + 0x1029d6a8]
movzx eax, byte [esi - 9]
xor edx, dword [eax*4 + 0x1029bdf8]
movzx eax, byte [esi - 0xa]
xor edx, dword [eax*4 + 0x1029a188]
mov dword [esi - 0xa], edx
movzx eax, byte [esi - 3]
movzx ecx, byte [esi - 4]
mov edx, dword [eax*4 + 0x1029a588]
movzx eax, byte [esi - 5]
xor edx, dword [ecx*4 + 0x1029d6a8]
xor edx, dword [eax*4 + 0x1029bdf8]
movzx eax, byte [esi - 6]
xor edx, dword [eax*4 + 0x1029a188]
mov dword [esi - 6], edx
cmp ebx, dword [edi + 0x1c]
jb 0x101a46c1
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp + 0x14]
push dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
shl eax, 3
cmp dword [ebp + 8], 0
mov dword [edi], 0
mov ecx, dword [ecx + 0x2c]
push eax
je 0x101a47cb
call fcn.101a2ae0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
call fcn.101a2e60
mov ecx, dword [ebp - 8]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101d506b
mov esp, ebp
pop ebp
ret