Function at 0x10013d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a022
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x88], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
lea eax, [edi + 0x28]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x88], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
lea eax, [edi + 0x3c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x88], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
lea eax, [edi + 0x50]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x88], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
lea ecx, [edi + 0x64]
call fcn.10019b50
lea eax, [edi + 0x158]
mov dword [ebp - 0x88], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
lea eax, [edi + 0x16c]
mov dword [ebp - 0x88], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
lea eax, [edi + 0x180]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 0xc], 0x28
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov word [edi + 0x16], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
movsd qword [edi + 0x1b8], xmm0
movups xmmword [edi + 0x198], xmm0
mov dword [edi + 0x1c0], 0
movups xmmword [edi + 0x1a8], xmm0
mov dword [edi + 0x1d0], 0
cmp byte [0x1008c7cc], 0
jne 0x1001400b
movaps xmm1, xmmword [0x100552d0]
xor ecx, ecx
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x80], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x70], xmm0
add ecx, 8
cmp ecx, 0x18
jl 0x10013fa0
cmp ecx, 0x1c
jge 0x10013fde
mov dword [ebp + ecx*4 - 0x80], ecx
inc ecx
cmp ecx, 0x1c
jl 0x10013fd4
mov eax, 0x1c
lea edx, [ebp - 0x80]
xor esi, esi
test eax, eax
je 0x10014004
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
inc esi
lea eax, [ecx + 0x48]
xor byte [ecx + str.___vba5_z798_7:____N], al
cmp esi, 0x1c
jne 0x10013ff0
mov byte [0x1008c7cc], 1
push str.___vba5_z798_7:____N
lea ecx, [ebp - 0x9c]
call fcn.1000fce0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x180]
call fcn.100189c0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
jl 0x1001405b
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1001405b
push eax
call fcn.1002f05f
add esp, 4
cmp byte [0x1008c7a9], 0
jne 0x100140eb
movaps xmm1, xmmword [0x100552d0]
xor ecx, ecx
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x84], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x74], xmm0
add ecx, 8
cmp ecx, 0x18
jl 0x10014071
cmp ecx, 0x1d
jge 0x100140bd
nop dword [eax + eax]
mov dword [ebp + ecx*4 - 0x84], ecx
inc ecx
cmp ecx, 0x1d
jl 0x100140b0
mov eax, 0x1d
lea edx, [ebp - 0x84]
xor esi, esi
test eax, eax
je 0x100140e4
nop
mov ecx, dword [edx]
lea edx, [edx + 4]
inc esi
lea eax, [ecx + 0x48]
xor byte [ecx + str.___vba5_f487.6.:], al
cmp esi, 0x1d
jne 0x100140d0
mov byte [0x1008c7a9], 1
push str.___vba5_f487.6.:
lea ecx, [ebp - 0x9c]
call fcn.1000fce0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x180]
call fcn.100189c0
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
jl 0x10014137
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x10014137
push eax
call fcn.1002f05f
add esp, 4
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.100288b6
mov esp, ebp
pop ebp
ret 4