Function at 0x1000abe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x1001a050]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
push ebx
lea eax, [ecx + 7]
shr eax, 3
push esi
lea esi, [eax - 0x21]
push edi
mov ebx, edx
mov dword [esp + 0x18], esi
cmp eax, 0x42
jae 0x1000ac32
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
cmp byte [ebx + eax - 1], 0xbc
je 0x1000ac53
mov eax, 0x1701
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
neg ecx
mov eax, ecx
and eax, 7
mov ecx, 8
sub ecx, eax
or dl, 0xff
shl dl, cl
mov dword [esp + 0x24], eax
test byte [ebx], dl
jne 0x1000ac39
push 0x48
push 1
call fcn.1000f718
mov edi, eax
push esi
push 1
mov dword [esp + 0x24], edi
call fcn.1000f718
push esi
push 1
mov dword [esp + 0x38], eax
call fcn.1000f718
push 0x21
mov esi, eax
call fcn.1000f600
add esp, 0x1c
mov ecx, eax
mov dword [esp + 0x10], ecx
test edi, edi
je 0x1000ae8a
cmp dword [esp + 0x20], 0
je 0x1000ae8a
test esi, esi
je 0x1000ae8a
test ecx, ecx
je 0x1000ae8a
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
push 0x20
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.10001000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000ad49
mov edi, dword [esp + 0x18]
push edi
push esi
lea eax, [ebx + edi]
push 0x20
push eax
mov dword [esp + 0x2c], eax
call fcn.100085e0
add esp, 0x10
test edi, edi
je 0x1000ad10
mov ecx, ebx
mov eax, esi
sub ecx, esi
mov edx, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0x1000ad07
mov ecx, dword [esp + 0x24]
mov edx, 0xff
sar edx, cl
xor eax, eax
and byte [esi], dl
add edi, 0xffffffdf
je 0x1000ad2f
cmp byte [eax + esi], 0
jne 0x1000ad44
inc eax
cmp eax, edi
jb 0x1000ad24
cmp byte [edi + esi], 1
mov ebx, dword [esp + 0x14]
je 0x1000adf5
mov edi, 0x1701
jmp 0x1000ad4d
mov edi, 0x1701
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x1000ad6f
push 0x48
push 0
push ebx
call fcn.10012fe0
add esp, 0xc
push ebx
call fcn.1000f5c6
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x1000ad94
mov ecx, dword [esp + 0x18]
push ecx
push 0
push ebx
call fcn.10012fe0
add esp, 0xc
push ebx
call fcn.1000f5c6
mov ecx, dword [esp + 0x14]
add esp, 4
test esi, esi
je 0x1000adb5
mov edx, dword [esp + 0x18]
push edx
push 0
push esi
call fcn.10012fe0
add esp, 0xc
push esi
call fcn.1000f5c6
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
je 0x1000adde
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
push ecx
mov byte [ecx + 0x20], al
call fcn.1000f5c6
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret
push 0x20
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.10013090
add esp, 0xc
push 0x20
lea edx, [edi + esi + 1]
push edx
lea eax, [ebx + 0x28]
push eax
call fcn.10013090
add esp, 0xc
push 0x20
push 0x48
push ebx
lea ecx, [esp + 0x34]
call fcn.10001000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000ad4d
lea eax, [edi + 0x20]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x1000ae79
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x1000ae41
test eax, eax
je 0x1000ae83
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x1000ae79
cmp eax, 1
jbe 0x1000ae83
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x1000ae79
cmp eax, 2
jbe 0x1000ae83
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
je 0x1000ae83
mov edi, 0x1701
jmp 0x1000ad4d
xor edi, edi
jmp 0x1000ad4d
mov ebx, dword [esp + 0x14]
mov edi, 1
jmp 0x1000ad51