Function at 0x10001d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041cdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub eax, edx
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
test al, 0xf
jne 0x10001fba
push eax
call fcn.10024bf8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 4]
inc ecx
shl ecx, 4
push ecx
call fcn.10024bf8
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x20], eax
push eax
push edi
call fcn.10001b40
movups xmm1, xmmword [esi]
mov ecx, dword [ebp - 0x1c]
movups xmmword [ebp - 0x40], xmm1
test ecx, ecx
je 0x10001e80
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov esi, eax
sub edx, eax
sub edi, eax
lea eax, [ecx - 1]
mov dword [ebp - 0x14], edx
shr eax, 4
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
lea eax, [edx + esi]
push esi
push eax
call fcn.100017c0
lea eax, [ebp - 0x31]
cmp esi, eax
ja 0x10001e60
lea eax, [esi + 0xf]
lea ecx, [ebp - 0x40]
cmp eax, ecx
jb 0x10001e60
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10001e50
jmp 0x10001e69
movups xmm0, xmmword [esi]
xorps xmm1, xmm0
movups xmmword [esi], xmm1
mov edx, dword [ebp - 0x14]
sub edi, 0x10
movups xmm1, xmmword [edx + esi]
add esi, 0x10
sub dword [ebp - 0x1c], 1
movups xmmword [ebp - 0x40], xmm1
jne 0x10001e26
push dword [ebp - 0x20]
call fcn.10024bb5
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
je 0x10001ed9
cmp eax, 0x7fffffff
ja 0x10001ff7
push eax
mov ecx, edi
call fcn.10002270
push dword [ebp + 8]
mov esi, dword [edi]
push dword [ebp - 0x18]
push esi
call fcn.10026350
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
push dword [ebp - 0x18]
call fcn.10024bb5
mov ecx, dword [ebp + 0xc]
add esp, 4
test ecx, ecx
je 0x10001f2d
mov edx, dword [ebp + 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001f0e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ffc
push edx
push ecx
call fcn.10024bea
add esp, 8
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x10001f76
mov edx, dword [ebp + 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001f57
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ffc
push edx
push ecx
call fcn.10024bea
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x10001fa6
mov edx, dword [ebp + 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10001f9c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001ffc
push edx
push ecx
call fcn.10024bea
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x28
mov edx, 0x10
lea ecx, [ebp - 0x58]
call fcn.10001500
push eax
mov edx, str.Plaintext_length_must_be_divisible_by
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.10002010
add esp, 4
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.100014b0
push 0x10054574
lea eax, [ebp - 0x30]
push eax
call fcn.100262e0
call fcn.10002260
call fcn.1002b8d6
int3