Function at 0x10111730
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10111730
mov eax, 0x38
call fcn.101aa6d0
mov eax, dword [0x102745f0]
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]
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edx
test edi, edi
je 0x101119eb
cmp ebx, ebp
je 0x101117ec
mov eax, esi
cmp edi, 0x10
jb 0x101117d8
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
lea esp, [esp]
push ecx
push ebp
push ebx
call edx
mov eax, dword [esi]
xor dword [ebp], eax
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]
xor dword [ebp + 0xc], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, ebx
add esp, 0xc
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
dec dword [esp + 0x10]
jne 0x10111790
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], edi
movq xmm0, qword [eax]
movq qword [esi], xmm0
movq xmm0, qword [eax + 8]
movq qword [esi + 8], xmm0
jmp 0x10111864
cmp edi, 0x10
jb 0x10111864
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
lea ebx, [ebx]
push ecx
lea eax, [esp + 0x38]
push eax
push ebx
call edx
mov ecx, dword [ebx]
mov eax, dword [esi]
xor eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [ebp], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x44]
mov dword [esi], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x48]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [esp + 0x4c]
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
add esp, 0xc
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
dec dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1c]
jne 0x10111800
mov dword [esp + 0x54], edi
test edi, edi
je 0x101119eb
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 + 0x10], eax
lea eax, [ebp + 2]
mov dword [esp + 0x14], eax
mov eax, ecx
sub ebp, eax
lea esp, [esp]
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
push ebx
call dword [esp + 0x2c]
add esp, 0xc
xor eax, eax
cmp eax, edi
jae 0x10111990
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x34]
add esi, eax
mov dl, byte [esi + ecx]
mov cl, byte [esi]
xor cl, byte [esi + edi]
mov byte [esi + ebp], cl
mov ecx, edi
mov edi, dword [esp + 0x54]
mov byte [esi + ecx], dl
mov ecx, dword [esp + 0x30]
add ecx, esi
cmp ecx, edi
jae 0x1011198f
mov cl, byte [esi + 1]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 1]
xor cl, byte [esi + eax + 1]
mov esi, dword [esp + 0x14]
mov byte [esi + eax - 1], cl
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x34]
mov byte [ecx + eax + 1], dl
mov ecx, dword [esp + 0x28]
add esi, eax
add ecx, esi
cmp ecx, edi
jae 0x1011198a
mov cl, byte [esi + 2]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 2]
xor cl, byte [esi + eax + 2]
mov esi, dword [esp + 0x14]
mov byte [esi + eax], cl
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x34]
mov byte [ecx + eax + 2], dl
mov ecx, dword [esp + 0x2c]
add esi, eax
add ecx, esi
cmp ecx, edi
jae 0x10111985
mov cl, byte [esi + 3]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 3]
xor cl, byte [esi + eax + 3]
mov esi, dword [esp + 0x14]
add eax, 4
mov byte [esi + eax - 3], cl
mov esi, dword [esp + 0x18]
mov byte [esi + eax - 1], dl
cmp eax, 0x10
jb 0x101118c3
jmp 0x10111990
add eax, 3
jmp 0x10111990
add eax, 2
jmp 0x10111990
inc eax
cmp edi, 0x10
jbe 0x101119c7
add dword [esp + 0x10], 0x10
add dword [esp + 0x14], 0x10
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
mov dword [esp + 0x54], edi
test edi, edi
jne 0x101118b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x38
ret
cmp eax, 0x10
jae 0x101119eb
mov ecx, dword [esp + 0x18]
sub ebx, ecx
lea edx, [ecx + eax]
mov ecx, 0x10
sub ecx, eax
lea esp, [esp]
mov al, byte [ebx + edx]
mov byte [edx], al
lea edx, [edx + 1]
dec ecx
jne 0x101119e0
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x38
ret