Function at 0x100172e6
Capabilities:
Encode data using xor

Disassembly:
push 0x138
mov eax, 0x1004de9b
call fcn.1004c8ee
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0xebacafa7
mov dword [ebp - 0x34], 0x868988a0
xor ebx, ebx
mov dword [ebp - 0x30], 0x92a0f184
mov dword [ebp - 0x2c], 0x1009093
call fcn.10013164
movaps xmm0, xmmword [0x10056160]
lea ecx, [ebp - 0x28]
mov esi, eax
mov word [ebp - 0x18], 0x100
movups xmmword [ebp - 0x28], xmm0
call fcn.100131a6
push ecx
push esi
mov edx, 0x100d0a4c
mov ecx, eax
call fcn.10030862
movaps xmm0, xmmword [0x10056540]
movups xmmword [ebp - 0x88], xmm0
pop ecx
movaps xmm0, xmmword [0x10056070]
movups xmmword [ebp - 0x78], xmm0
pop ecx
movaps xmm0, xmmword [0x10055ed0]
mov ecx, ebx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x2a3a3438
mov word [ebp - 0x54], 0x29
mov byte [ebp - 0x52], 1
lea eax, [ecx - 0x18]
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 0x35
jb 0x1001737d
movaps xmm0, xmmword [0x100561b0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x52], bl
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x76
mov byte [ebp - 0x16], 1
call fcn.100021e1
push ecx
lea ecx, [ebp - 0x88]
mov edx, 0x100827d8
push ecx
mov ecx, eax
call fcn.10030862
movaps xmm0, xmmword [0x10056b50]
movups xmmword [ebp - 0x13c], xmm0
pop ecx
movaps xmm0, xmmword [0x10056030]
movups xmmword [ebp - 0x12c], xmm0
pop ecx
movaps xmm0, xmmword [0x10055fb0]
mov ecx, ebx
movups xmmword [ebp - 0x11c], xmm0
mov byte [ebp - 0x8c], 1
movaps xmm0, xmmword [0x10056060]
movups xmmword [ebp - 0x10c], xmm0
movaps xmm0, xmmword [0x10055fc0]
movups xmmword [ebp - 0xfc], xmm0
movaps xmm0, xmmword [0x10055c10]
movups xmmword [ebp - 0xec], xmm0
movaps xmm0, xmmword [0x10055d00]
movups xmmword [ebp - 0xdc], xmm0
movaps xmm0, xmmword [str.X_t___1__7_t_v]
movups xmmword [ebp - 0xcc], xmm0
movaps xmm0, xmmword [str._t_aj_r_n_v]
movups xmmword [ebp - 0xbc], xmm0
movaps xmm0, xmmword [0x10056960]
movups xmmword [ebp - 0xac], xmm0
movaps xmm0, xmmword [0x100559f0]
movups xmmword [ebp - 0x9c], xmm0
lea eax, [ecx - 0x18]
xor byte [ebp + ecx - 0x13c], al
inc ecx
cmp ecx, 0xaf
jb 0x10017466
movaps xmm0, xmmword [0x10056160]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x8c], bl
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x1007a7b
call fcn.1000eecd
push ecx
lea ecx, [ebp - 0x13c]
mov edx, 0x100827dc
push ecx
mov ecx, eax
call fcn.10030862
cmp dword [0x100827dc], 0x19
pop ecx
pop ecx
jne 0x1001750b
push ecx
mov esi, 0xff
mov edx, 0x100d0a44
push esi
push ecx
mov ecx, str.Color_Alpha
call fcn.1002bbae
pop ecx
pop ecx
push esi
push ecx
mov edx, 0x100827e0
mov ecx, str.Color_Red
call fcn.1002bbae
pop ecx
pop ecx
push esi
push ecx
mov edx, 0x100d0a40
mov ecx, str.Color_Green
call fcn.1002bbae
pop ecx
pop ecx
push esi
push ecx
mov edx, 0x100d0a48
mov ecx, str.Color_Blue
call fcn.1002bbae
add esp, 0xc
mov ecx, 0xd4
mov edx, ebx
mov al, byte [edx + 0x10050cb4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x1001752f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x10017512
mov byte [ebp - 0x17], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.100297aa
or dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x10056160]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0x797a7b
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x14], 1
call fcn.1000ee4f
push ecx
mov dword [esp], 0x3f800000
lea ecx, [ebp - 0x140]
mov esi, str._.3f
mov dword [ebp - 0x144], 0xc2c80000
push esi
push ecx
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x140], 0x42c80000
push ecx
push 0x1005a0bc
push 4
pop edx
mov ecx, eax
call fcn.1002b824
add esp, 0x14
mov edx, ebx
push 0x66
pop ecx
mov al, byte [edx + 0x10050cc8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x100175cb
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x100175ae
mov byte [ebp - 0x17], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
call fcn.100297aa
or dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x10056160]
pop ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0x78797a7b
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x3c], 0x100
call fcn.10013185
push ecx
mov dword [esp], 0x3f800000
lea ecx, [ebp - 0x144]
push esi
push ecx
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], 0xc2c80000
push ecx
push 0x1005a0c0
push 4
pop edx
mov ecx, eax
mov dword [ebp - 0x144], 0x42c80000
call fcn.1002b824
add esp, 0x14
call fcn.1004c8ac
ret