Function at 0x100887b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x1017cf40]
xor eax, esp
mov dword [esp + 0x1d0], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, edx
mov dword [esp + 8], eax
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
cmp esi, 0x40
jbe 0x10088849
push 0x128
lea eax, [esp + 0x14]
push 0
push eax
call fcn.101135a0
movups xmm0, xmmword [0x1016a3a8]
push esi
mov edx, ebx
lea ecx, [esp + 0x20]
movups xmmword [esp + 0x120], xmm0
movups xmm0, xmmword [0x1016a3b8]
movups xmmword [esp + 0x130], xmm0
call fcn.10088750
add esp, 0x10
lea edx, [esp + 0x138]
push 0x20
push ecx
lea ecx, [esp + 0x18]
call fcn.100886b0
xorps xmm0, xmm0
add esp, 8
movups xmmword [esp + 0x158], xmm0
movups xmmword [esp + 0x168], xmm0
jmp 0x1008887c
push esi
lea eax, [esp + 0x13c]
push ebx
push eax
call fcn.10113700
add esp, 0xc
cmp esi, 0x40
jae 0x1008887c
mov eax, 0x40
sub eax, esi
push eax
lea eax, [esp + 0x13c]
add eax, esi
push 0
push eax
call fcn.101135a0
add esp, 0xc
movaps xmm1, xmmword [0x101762b0]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x138]
pxor xmm0, xmm1
movups xmmword [esp + eax + 0x178], xmm0
movups xmm0, xmmword [esp + eax + 0x148]
pxor xmm0, xmm1
movups xmmword [esp + eax + 0x188], xmm0
add eax, 0x20
cmp eax, 0x40
jl 0x10088890
push 0x128
lea eax, [esp + 0x14]
push 0
push eax
call fcn.101135a0
movups xmm0, xmmword [0x1016a3a8]
push 0x40
lea edx, [esp + 0x188]
movups xmmword [esp + 0x120], xmm0
lea ecx, [esp + 0x20]
movups xmm0, xmmword [0x1016a3b8]
movups xmmword [esp + 0x130], xmm0
call fcn.10085e70
mov ebx, dword [ebp + 0xc]
add esp, 0x10
cmp ebx, 0x40000000
jbe 0x10088944
lea esi, [ebx - 0x40000001]
shr esi, 0x1e
inc esi
nop dword [eax]
push 0x40000000
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10085e70
add esp, 4
add edi, 0x40000000
sub ebx, 0x40000000
sub esi, 1
jne 0x10088920
push ebx
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10085e70
mov esi, dword [esp + 0x138]
mov eax, 0x38
mov ecx, esi
mov edx, 0x78
and ecx, 0x3f
mov edi, esi
sub eax, ecx
sub edx, ecx
cmp ecx, 0x38
lea ecx, [esp + 0x14]
cmovb edx, eax
mov eax, dword [esp + 0x134]
shl eax, 3
push edx
shr edi, 0x1d
mov edx, 0x10169ee8
or edi, eax
shl esi, 3
call fcn.10085e70
add esp, 8
lea ecx, [esp + 0x10]
bswap edi
bswap esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
call fcn.10085f40
xor ecx, ecx
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0x110]
bswap eax
mov dword [esp + ecx*4 + 0x110], eax
inc ecx
cmp ecx, 8
jl 0x100889b0
push 0x20
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.10113700
movaps xmm1, xmmword [0x101762f0]
add esp, 0xc
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0x138]
pxor xmm0, xmm1
movups xmmword [esp + eax + 0x178], xmm0
movups xmm0, xmmword [esp + eax + 0x148]
pxor xmm0, xmm1
movups xmmword [esp + eax + 0x188], xmm0
add eax, 0x20
cmp eax, 0x40
jl 0x100889f0
push 0x128
lea eax, [esp + 0x14]
push 0
push eax
call fcn.101135a0
movups xmm0, xmmword [0x1016a3a8]
push 0x40
lea edx, [esp + 0x188]
movups xmmword [esp + 0x120], xmm0
lea ecx, [esp + 0x20]
movups xmm0, xmmword [0x1016a3b8]
movups xmmword [esp + 0x130], xmm0
call fcn.10085e70
push 0x20
lea edx, [esp + 0x1d0]
lea ecx, [esp + 0x24]
call fcn.10085e70
mov edx, dword [esp + 0x20]
add esp, 0x14
push 0x104
push ecx
lea ecx, [esp + 0x18]
call fcn.100886b0
mov ecx, dword [esp + 0x1e4]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010f1c0
mov esp, ebp
pop ebp
ret