Function at 0x100176c7
Capabilities:
Encode data using xor

Disassembly:
push 0x138
mov eax, 0x1004e96b
call fcn.1004d36e
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x5e1b1a14
mov dword [ebp - 0x34], 0xb060513
xor ebx, ebx
mov dword [ebp - 0x30], 0x7376417
mov dword [ebp - 0x2c], 0x1000d00
call fcn.100130aa
movaps xmm0, xmmword [0x10057c20]
lea ecx, [ebp - 0x28]
mov esi, eax
mov word [ebp - 0x18], 0x100
movups xmmword [ebp - 0x28], xmm0
call fcn.100130ec
push ecx
push esi
mov edx, 0x100d1a54
mov ecx, eax
call fcn.100312e3
movaps xmm0, xmmword [0x10056dc0]
movups xmmword [ebp - 0x88], xmm0
pop ecx
movaps xmm0, xmmword [0x10057010]
movups xmmword [ebp - 0x78], xmm0
pop ecx
movaps xmm0, xmmword [0x10057b30]
mov ecx, ebx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0xbfada1ab
mov word [ebp - 0x54], 0xba
mov byte [ebp - 0x52], 1
lea eax, [ecx + 0x5b]
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 0x35
jb 0x1001775e
movaps xmm0, xmmword [0x10057ca0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x52], bl
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0xea
mov byte [ebp - 0x16], 1
call fcn.100021b1
push ecx
lea ecx, [ebp - 0x88]
mov edx, 0x100837e0
push ecx
mov ecx, eax
call fcn.100312e3
movaps xmm0, xmmword [0x10057690]
movups xmmword [ebp - 0x13c], xmm0
pop ecx
movaps xmm0, xmmword [str.9_t_tn_]
movups xmmword [ebp - 0x12c], xmm0
pop ecx
movaps xmm0, xmmword [0x10057a80]
mov ecx, ebx
movups xmmword [ebp - 0x11c], xmm0
mov byte [ebp - 0x8c], 1
movaps xmm0, xmmword [0x10057b60]
movups xmmword [ebp - 0x10c], xmm0
movaps xmm0, xmmword [0x10057ab0]
movups xmmword [ebp - 0xfc], xmm0
movaps xmm0, xmmword [0x10057ae0]
movups xmmword [ebp - 0xec], xmm0
movaps xmm0, xmmword [0x100578c0]
movups xmmword [ebp - 0xdc], xmm0
movaps xmm0, xmmword [0x100578d0]
movups xmmword [ebp - 0xcc], xmm0
movaps xmm0, xmmword [0x10057780]
movups xmmword [ebp - 0xbc], xmm0
movaps xmm0, xmmword [0x100579b0]
movups xmmword [ebp - 0xac], xmm0
movaps xmm0, xmmword [0x10056b50]
movups xmmword [ebp - 0x9c], xmm0
lea eax, [ecx + 0x5b]
xor byte [ebp + ecx - 0x13c], al
inc ecx
cmp ecx, 0xaf
jb 0x10017847
movaps xmm0, xmmword [0x10057c20]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x8c], bl
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x100efe8
call fcn.1000edd8
push ecx
lea ecx, [ebp - 0x13c]
mov edx, 0x100837e4
push ecx
mov ecx, eax
call fcn.100312e3
cmp dword [0x100837e4], 0x19
pop ecx
pop ecx
jne 0x100178ec
push ecx
mov esi, 0xff
mov edx, 0x100d1a4c
push esi
push ebx
mov ecx, str.Color_Alpha
call fcn.1002c634
pop ecx
pop ecx
push esi
push ebx
mov edx, 0x100837f0
mov ecx, str.Color_Red
call fcn.1002c634
pop ecx
pop ecx
push esi
push ebx
mov edx, 0x100d1a48
mov ecx, str.Color_Green
call fcn.1002c634
pop ecx
pop ecx
push esi
push ebx
mov edx, 0x100d1a50
mov ecx, str.Color_Blue
call fcn.1002c634
add esp, 0xc
mov ecx, 0xd4
mov edx, ebx
mov al, byte [edx + 0x10051d44]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10017910
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x100178f3
mov byte [ebp - 0x17], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.1002a230
or dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x10057c20]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xeeefe8
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x14], 1
call fcn.1000ed5a
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 0x1005b0b8
push 4
pop edx
mov ecx, eax
call fcn.1002c2aa
add esp, 0x14
mov edx, ebx
push 0x66
pop ecx
mov al, byte [edx + 0x10051d58]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x100179ac
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x1001798f
mov byte [ebp - 0x17], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
call fcn.1002a230
or dword [ebp - 4], 0xffffffff
movaps xmm0, xmmword [0x10057c20]
pop ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0xedeeefe8
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x3c], 0x100
call fcn.100130cb
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 0x1005b0bc
push 4
pop edx
mov ecx, eax
mov dword [ebp - 0x144], 0x42c80000
call fcn.1002c2aa
add esp, 0x14
call fcn.1004d32c
ret