Function at 0x101be350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x103c4120]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm1, xmmword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
movdqa xmm0, xmm1
psrldq xmm0, 8
movd dword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x14], xmm1
push edi
psrldq xmm1, 0xc
mov edi, dword [ebp + 0xc]
movd dword [ebp - 0x1c], xmm1
cmp esi, 0x10
jg 0x101be429
push 0xb492b66f
push 0xbe98f273
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.101c8330
push edx
push eax
call fcn.101c1ec0
add esp, 8
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
push esi
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
call fcn.101be5e0
add esp, 8
mov dword [ebp - 0x18], edx
mov ebx, eax
push 0xb492b66f
push 0xbe98f273
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.101c8330
mov ecx, dword [ebp - 0x18]
add ebx, eax
adc ecx, edx
mov dword [ebp - 0x18], ecx
cmp esi, 8
jb 0x101be40b
push edi
call fcn.101be5d0
mov ecx, dword [ebp - 0x18]
add esp, 4
jmp 0x101be40f
mov eax, ebx
mov edx, ecx
add eax, dword [ebp - 0x28]
adc edx, dword [ebp - 0x24]
push edx
push eax
call fcn.101c1ec0
add esp, 8
mov dword [ebp - 0x30], edx
mov esi, eax
jmp 0x101be558
push dword [ebp - 0x10]
lea eax, [edi - 8]
push dword [ebp - 0x14]
add eax, esi
push eax
call fcn.101be5d0
add esp, 4
add eax, 0xbe98f273
adc edx, 0xb492b66f
push edx
push eax
call fcn.101be6f0
lea ecx, [edi - 0x10]
mov dword [ebp - 0x18], edx
add ecx, esi
mov ebx, eax
push ecx
call fcn.101be5d0
add eax, ebx
mov ecx, esi
adc edx, dword [ebp - 0x18]
push edx
push eax
xor eax, eax
add ecx, dword [ebp - 0x20]
adc eax, dword [ebp - 0x1c]
push eax
push ecx
call fcn.101be6f0
mov ecx, eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
add esp, 0x24
add eax, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
adc eax, edx
mov dword [ebp - 0x24], eax
push edi
call fcn.101be5d0
add esp, 4
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
push edx
push eax
call fcn.101c1ec0
add esp, 8
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
xor edx, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
xor dword [ebp - 0x20], eax
mov ecx, edx
xor dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
lea eax, [edi + 8]
push eax
mov dword [ebp - 0x24], ecx
call fcn.101be5d0
add esp, 4
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
push edx
push eax
call fcn.101c1ec0
add esp, 8
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
xor edx, dword [ebp - 0x18]
xor eax, ebx
push 0xb492b66f
push 0xbe98f273
push edx
push eax
call fcn.101c8330
mov ecx, edx
mov ebx, eax
xor dword [ebp - 0x2c], ebx
sub esi, 0x10
xor dword [ebp - 0x30], ecx
add edi, 0x10
mov dword [ebp - 0x18], ecx
test esi, esi
jg 0x101be492
mov esi, dword [ebp - 0x2c]
push ecx
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.101be6f0
push dword [ebp - 0x1c]
mov edi, eax
mov ebx, edx
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
push dword [ebp - 0x30]
push esi
call fcn.101be6f0
push ebx
push dword [ebp - 0x2c]
mov esi, eax
mov ecx, edx
xor esi, edi
xor ecx, ebx
mov edi, dword [ebp + 8]
push edx
push eax
mov dword [edi], esi
mov dword [edi + 4], ecx
call fcn.101be6f0
mov ecx, dword [ebp - 4]
add esp, 0x30
mov dword [edi + 8], eax
xor ecx, ebp
mov dword [edi + 0xc], edx
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret