Function at 0x100f87f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x60
cmp dword [esp + 0x6c], 0x8b49
push esi
push edi
jne 0x100f8b34
mov esi, dword [esp + 0x70]
lea eax, [esp + 8]
push dword [esi]
push eax
call fcn.10108700
push dword [esi]
call fcn.10108340
add esp, 0xc
test eax, eax
jne 0x100f8930
cmp dword [esp + 0x1c], 0x10
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
mov byte [esp + 0x2c], al
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x28], 0x74786574
mov dword [esp + 0x2c], 0x73657275
call fcn.100e47b0
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
movups xmm0, xmmword [eax]
push 0xe
push str._samplerIndex_
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100e47b0
mov ecx, dword [esp + 0x78]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x50], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x50]
push eax
movq qword [esp + 0x64], xmm0
call fcn.100de290
cmp dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
push dword [esp + 0x18]
cmovae eax, dword [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x50], 8
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x40], 0x706d6173
mov dword [esp + 0x44], 0x7372656c
mov byte [esp + 0x48], 0
call fcn.100e47b0
push 0xe
push str._samplerIndex_
jmp 0x100f8ab8
mov esi, dword [esp + 0x6c]
mov ecx, esi
push 0x3f
push str.____const_uint_textureIndex__samplerIndex___textureIndexOffset
call fcn.100290c0
cmp dword [esp + 0x1c], 0x10
lea edx, [esp + 8]
cmovae edx, dword [esp + 8]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f8955
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.100290c0
push 2
push 0x101a0f08
mov ecx, esi
call fcn.100290c0
cmp dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
push dword [esp + 0x18]
cmovae eax, dword [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x50], 8
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x40], 0x74786574
mov dword [esp + 0x44], 0x73657275
mov byte [esp + 0x48], 0
call fcn.100e47b0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
movups xmm0, xmmword [eax]
push 0xe
push str._textureIndex_
movups xmmword [esp + 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100e47b0
lea ecx, [esp + 0x50]
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [esp + 0x78]
cmp eax, ecx
je 0x100f8a2f
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
push 0x44
push str.____const_uint_samplerArrayIndex__samplerIndex___samplerIndexOffset
mov ecx, esi
call fcn.100290c0
cmp dword [esp + 0x1c], 0x10
lea ecx, [esp + 8]
cmovae ecx, dword [esp + 8]
mov edx, ecx
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100f8a50
sub edx, edi
push edx
push ecx
mov ecx, esi
call fcn.100290c0
push 2
push 0x101a0f08
mov ecx, esi
call fcn.100290c0
cmp dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
push dword [esp + 0x18]
cmovae eax, dword [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x50], 8
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x40], 0x706d6173
mov dword [esp + 0x44], 0x7372656c
mov byte [esp + 0x48], 0
call fcn.100e47b0
push 0x13
push str._samplerArrayIndex_
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x38], xmm0
mov byte [eax], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
call fcn.100e47b0
lea ecx, [esp + 0x50]
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [esp + 0x7c]
cmp eax, ecx
je 0x100f8be5
pop edi
movups xmmword [eax], xmm0
pop esi
movq qword [eax + 0x10], xmm1
add esp, 0x60
ret
mov edi, dword [esp + 0x78]
push ebx
mov ebx, 0xf
mov ecx, dword [edi + 0x14]
cmp ecx, 1
jb 0x100f8b5d
mov eax, edi
cmp ecx, 0x10
jb 0x100f8b4f
mov eax, dword [edi]
mov dword [edi + 0x10], 1
mov word [eax], 0x78
jmp 0x100f8b8c
mov eax, ecx
mov esi, ebx
shr eax, 1
add eax, ecx
cmp eax, 0xf
cmova esi, eax
call fcn.100deea0
lea ecx, [esi + 1]
push ecx
mov ecx, eax
call fcn.100e4650
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], esi
mov word [eax], 0x78
mov dword [edi], eax
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 0x14]
cmp ecx, 1
jb 0x100f8bb7
mov eax, esi
cmp ecx, 0x10
jb 0x100f8ba4
mov eax, dword [esi]
pop ebx
mov dword [esi + 0x10], 1
pop edi
mov word [eax], 0x73
pop esi
add esp, 0x60
ret
mov eax, ecx
shr eax, 1
add eax, ecx
cmp eax, 0xf
cmova ebx, eax
call fcn.100deea0
lea ecx, [ebx + 1]
push ecx
mov ecx, eax
call fcn.100e4650
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 1
pop ebx
mov word [eax], 0x73
mov dword [esi], eax
pop edi
pop esi
add esp, 0x60
ret