Function at 0x1007ecc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.10074ec0
mov eax, dword [0x10108760]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x54]
cmp ebx, ebp
je 0x1007ed5f
mov eax, esi
cmp edi, 0x10
jb 0x1007ed55
mov eax, edi
shr eax, 4
mov dword [esp + 0x14], eax
push ecx
push ebp
push ebx
call edx
mov eax, dword [esi]
add esp, 0xc
xor dword [ebp], eax
sub edi, 0x10
mov eax, dword [esi + 4]
xor dword [ebp + 4], eax
mov eax, dword [esi + 8]
xor dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov esi, ebx
xor dword [ebp + 0xc], eax
add ebx, 0x10
mov ecx, dword [esp + 0x20]
add ebp, 0x10
dec dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jne 0x1007ed11
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi], xmm0
jmp 0x1007edd0
cmp edi, 0x10
jb 0x1007edd0
mov eax, edi
shr eax, 4
mov dword [esp + 0x14], eax
lea ecx, [ecx]
push ecx
lea eax, [esp + 0x38]
push eax
push ebx
call edx
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [esi]
sub edi, 0x10
xor eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x38]
mov dword [esi], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0xc]
add ebx, 0x10
mov dword [ebp + 0xc], eax
add ebp, 0x10
dec dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
jne 0x1007ed70
test edi, edi
je 0x1007ef4f
lea ecx, [esp + 0x34]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, 1
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, 2
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, 3
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
lea eax, [ebp + 2]
mov dword [esp + 0x18], eax
mov eax, ecx
sub ebp, eax
jmp 0x1007ee20
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push ebx
call dword [esp + 0x28]
add esp, 0xc
xor eax, eax
cmp eax, edi
jae 0x1007ef01
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x34]
add esi, eax
mov dl, byte [esi + ecx]
mov ecx, dword [esp + 0x24]
mov cl, byte [esi + ecx]
xor cl, byte [esi]
mov byte [esi + ebp], cl
mov ecx, dword [esp + 0x24]
mov byte [esi + ecx], dl
mov ecx, dword [esp + 0x30]
add ecx, esi
mov esi, dword [esp + 0x10]
cmp ecx, edi
jae 0x1007ef00
mov cl, byte [esp + eax + 0x35]
xor cl, byte [esi + eax + 1]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 1]
mov byte [esi + eax - 1], cl
lea esi, [esp + 0x34]
mov ecx, dword [esp + 0x10]
add esi, eax
mov byte [ecx + eax + 1], dl
mov ecx, dword [esp + 0x28]
add ecx, esi
mov esi, dword [esp + 0x10]
cmp ecx, edi
jae 0x1007eefb
mov cl, byte [esp + eax + 0x36]
xor cl, byte [esi + eax + 2]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 2]
mov byte [esi + eax], cl
lea esi, [esp + 0x34]
mov ecx, dword [esp + 0x10]
add esi, eax
mov byte [ecx + eax + 2], dl
mov ecx, dword [esp + 0x2c]
add ecx, esi
mov esi, dword [esp + 0x10]
cmp ecx, edi
jae 0x1007eef6
mov cl, byte [esp + eax + 0x37]
xor cl, byte [esi + eax + 3]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 3]
mov byte [esi + eax + 1], cl
mov esi, dword [esp + 0x10]
mov byte [esi + eax + 3], dl
add eax, 4
cmp eax, 0x10
jb 0x1007ee33
jmp 0x1007ef01
add eax, 3
jmp 0x1007ef01
add eax, 2
jmp 0x1007ef01
inc eax
cmp edi, 0x10
jbe 0x1007ef32
add dword [esp + 0x14], 0x10
add ebx, 0x10
add dword [esp + 0x18], 0x10
add ebp, 0x10
sub edi, 0x10
jne 0x1007ee20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1005aadd
add esp, 0x38
ret
cmp eax, 0x10
jae 0x1007ef4f
mov edx, 0x10
lea ecx, [esi + eax]
sub ebx, esi
sub edx, eax
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x1007ef43
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005aadd
add esp, 0x38
ret