Function at 0x101adf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cee18
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1021e964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
lea edi, [ecx + 1]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
test edi, edi
je 0x101ae041
cmp edi, 0x7fffffff
ja 0x101ae1ae
cmp edi, 0x1000
jb 0x101ae010
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x101ae1b3
push eax
call fcn.1018d216
add esp, 4
test eax, eax
je 0x101ae1b8
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [ebp - 0x28], esi
mov dword [esi - 4], eax
jmp 0x101ae01e
push edi
call fcn.1018d216
add esp, 4
mov dword [ebp - 0x28], eax
mov esi, eax
push edi
lea eax, [esi + edi]
mov dword [ebp - 0x1c], esi
push 0
push esi
mov dword [ebp - 0x14], eax
call fcn.101a4190
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, esi
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test edx, edx
je 0x101ae12e
test eax, eax
je 0x101ae12e
xor edi, edi
test ecx, ecx
je 0x101ae12a
cmp ecx, 0x40
jb 0x101ae104
dec eax
add eax, ecx
mov dword [ebp - 0x2c], eax
lea eax, [edx - 1]
add eax, ecx
cmp dword [ebp - 0x20], eax
ja 0x101ae083
cmp dword [ebp - 0x2c], edx
jae 0x101ae101
movaps xmm1, xmmword [0x1002e3a0]
mov eax, ecx
mov ecx, dword [ebp - 0x20]
and eax, 0xffffffc0
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, edx
sub eax, ecx
lea ecx, [edx + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x30]
add edi, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp edi, dword [ebp - 0x30]
jb 0x101ae0b0
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], edi
cmp edi, ecx
jae 0x101ae12a
jmp 0x101ae104
mov eax, dword [ebp - 0x20]
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 0x24]
sub edx, edi
mov edi, dword [ebp + 0xc]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor al, 0x67
mov byte [ecx - 1], al
sub edx, 1
jne 0x101ae114
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov byte [eax + ecx], 0
mov edi, dword [ebp - 0x38]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
push ecx
push esi
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [edi], 0x10010c38
call fcn.100a1fd0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x101ae191
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
mov dword [ebp - 4], 3
cmp ecx, 0x1000
jb 0x101ae187
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae1b8
push ecx
push esi
call fcn.1018d246
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018d760
mov esp, ebp
pop ebp
ret
call fcn.1004a330
call fcn.1004a070
call fcn.100be3b4
int3