Function at 0x100024c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190fad
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x101fd000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, ecx
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], eax
call fcn.10001e20
push dword [ebp - 0x14]
call fcn.1002adef
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
inc eax
shl eax, 4
push eax
call fcn.1002adef
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x20], eax
push eax
push esi
call fcn.10002260
movups xmm1, xmmword [edi]
xor eax, eax
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x3c], xmm1
cmp dword [ebp - 0x14], eax
jbe 0x100025c7
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x3c]
sub edi, esi
nop dword [eax + eax]
push dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x28], eax
call fcn.10001ee0
lea eax, [ebp - 0x2d]
cmp esi, eax
ja 0x100025a0
lea eax, [esi + 0xf]
lea ecx, [ebp - 0x3c]
cmp eax, ecx
jb 0x100025a0
mov eax, esi
mov edx, 0x10
nop dword [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x10002590
jmp 0x100025a9
movups xmm0, xmmword [esi]
xorps xmm0, xmm1
movups xmmword [esi], xmm0
mov eax, dword [ebp - 0x28]
sub edi, 0x10
add esi, 0x10
movups xmm1, xmmword [eax]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
movups xmmword [ebp - 0x3c], xmm1
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x14]
jb 0x10002560
push dword [ebp - 0x20]
call fcn.1002adf8
mov esi, dword [ebp - 0x24]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
add esp, 4
movq qword [esi], xmm0
mov dword [esi + 8], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
sub edi, dword [ebp + 0xc]
je 0x10002636
cmp edi, 0x7fffffff
ja 0x10002714
push edi
mov ecx, esi
call fcn.100029a0
mov esi, dword [esi]
push edi
push dword [ebp - 0x18]
push esi
call fcn.10169070
lea eax, [edi + esi]
add esp, 0xc
mov esi, dword [ebp - 0x24]
mov dword [esi + 4], eax
push dword [ebp - 0x18]
call fcn.1002adf8
mov ecx, dword [ebp + 0xc]
add esp, 4
test ecx, ecx
je 0x1000268a
mov edx, dword [ebp + 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000266b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002719
push edx
push ecx
call fcn.10165540
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 0x100026cf
mov edx, dword [ebp + 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100026b0
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002719
push edx
push ecx
call fcn.10165540
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 0x100026ff
mov edx, dword [ebp + 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100026f5
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002719
push edx
push ecx
call fcn.10165540
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
call fcn.10002990
call fcn.1016cb5f
int3