Function at 0x4747f0
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2cc
mov eax, dword [0x97ffc0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
mov ebx, dword [esp + 0x2d4]
lea eax, [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x2dc]
push esi
push edi
push 0x50
push 0
push eax
call fcn.004f05c0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp dword [eax + 0x10], 2
je 0x47484c
mov eax, dword [ebp + 0x58]
mov eax, dword [ebx + eax*4 + 0x63bd0]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x5c]
mov eax, dword [ebx + eax*4 + 0x64104]
mov dword [esp + 0x24], eax
lea edi, [ebx + 0x10]
push 0x20
push edi
call fcn.0047ee30
push 0x20
push edi
mov esi, eax
call fcn.0047e9a0
push esi
lea esi, [ebx + 0x10]
mov edi, eax
push esi
call fcn.0047fe70
push edi
push esi
mov dword [esp + 0x90], eax
call fcn.0047fe70
mov dword [esp + 0xa0], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x38], edx
push 0x20
push dword [ebp + 0x1c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x3c], eax
call fcn.004767b0
xor ecx, ecx
mov dword [esp + 0x94], eax
add esp, 0x28
mov byte [esp + 0x13], dl
lea eax, [edx + 4]
mov dword [esp + 0x88], ecx
cmp dword [ebp + 0x3c], ecx
jbe 0x474dbd
xor edi, edi
mov dword [esp + 0x84], edi
push ecx
push ebp
call fcn.0040afc0
mov esi, dword [ebp + 0x38]
add esp, 8
mov edx, dword [edi + esi + 0x10]
lea ecx, [edi + esi]
cmp edx, 0x10
ja case.0x4748ef.1
jmp dword [edx*4 + 0x475be0]
push eax
push ecx
push 4
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.004765c0
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x475933
jmp 0x474d6b
push 2
push ecx
push 3
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.004765c0
add esp, 0x14
mov dword [esp + 0x78], eax
test eax, eax
je 0x475933
mov ecx, dword [ebp + 0x38]
movups xmm0, xmmword [ecx + edi]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
je 0x474d67
cmp dword [ebp + 0x20], 0xa
je 0x474d67
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x20000000
mov dword [ebx + 0x2c], eax
jmp 0x474d67
push 0x80
push 0
push ecx
push ebx
call fcn.00476a70
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x475933
jmp 0x474d67
cmp dword [ebp + 0x20], 5
je 0x474d67
cmp dword [ebp + 0x18], 5
je 0x4749b1
push eax
push 0
push ecx
push ebx
call fcn.00476a70
add esp, 0x10
jmp 0x4749b5
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x475933
mov ecx, dword [ebp + 0x38]
movups xmm0, xmmword [edi + ecx]
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 5
jne 0x474d67
movups xmm0, xmmword [edi + ecx]
psrldq xmm0, 0xc
movd eax, xmm0
mov ecx, dword [eax]
movzx eax, byte [ecx + 0x29]
push eax
push dword [ecx + 0x34]
push dword [ecx + 0x30]
call fcn.00407d30
mov esi, dword [esp + 0x20]
add esp, 0xc
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x18]
jp 0x474d6f
mov byte [esp + 0x13], 1
jmp 0x474d6f
push eax
push 0
push ecx
push ebx
call fcn.00476a70
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x475933
jmp 0x474d67
push 0x80
push 0
push ecx
push ebx
call fcn.00476a70
add esp, 0x10
mov dword [esp + 0x68], eax
test eax, eax
je 0x475933
jmp 0x474d67
push 0x80
push ecx
push 3
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.004765c0
add esp, 0x14
mov dword [esp + 0x7c], eax
test eax, eax
je 0x475933
jmp 0x474d67
push 0x80
push ecx
push 3
lea eax, [esp + 0x68]
push eax
push ebx
call fcn.004765c0
mov esi, eax
add esp, 0x14
mov dword [esp + 0x14], esi
test esi, esi
je 0x475933
mov eax, dword [esp + 0x18]
jmp 0x474d6f
push 2
push 0
push ecx
push ebx
call fcn.00476a70
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x475933
jmp 0x474d67
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x64230]
shl ecx, 6
mov eax, dword [ecx + eax]
mov dword [esp + 0x20], eax
jmp 0x474d67
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x64230]
shl ecx, 6
mov eax, dword [ecx + eax]
jmp 0x474d63
mov al, byte [ebp + 0x54]
lea esi, [ebx + 0x10]
push 0
push dword [ebp + 0x58]
mov byte [esp + 0x98], al
push esi
call fcn.0047eb70
add esp, 8
push eax
mov eax, dword [ebp + 0x38]
push 4
push 0
add eax, edi
push eax
push ebx
call fcn.00476a70
add esp, 0x10
push eax
push 0
push esi
call fcn.0047d020
mov edx, dword [ebx + 0x63fec]
add esp, 0x14
mov ecx, dword [ebx + 0x640fc]
mov edi, dword [ebp + 0x58]
shr ecx, 2
shr edx, 2
add ecx, edx
mov dword [esp + 0x8c], eax
cmp dword [ebx + 0x24], 6
mov esi, ecx
mov dword [esp + 0x98], ecx
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x18
mov dword [esp + 0x74], eax
imul eax, ecx
mov ecx, dword [ebx + 0x64208]
add ecx, eax
mov eax, dword [esp + 0x74]
cmp dword [ecx + 4], 0
jne 0x474bb0
mov edx, dword [ecx + 8]
cmp edx, edi
ja 0x474bb0
mov eax, dword [ecx + 0xc]
cmp eax, edi
jae 0x474bb5
mov eax, dword [esp + 0x74]
inc esi
add ecx, eax
jmp 0x474b98
push dword [esp + 0x90]
sub esi, dword [esp + 0x9c]
push dword [esp + 0x90]
push esi
push 0
push eax
push edx
push 0
push ebx
call fcn.0046da40
mov edi, dword [esp + 0xa4]
add esp, 0x20
mov dword [esp + 0x20], eax
jmp 0x474d67
push ebp
call fcn.0040ad00
add esp, 4
test al, al
je 0x474d67
mov al, byte [ebp + 0x55]
lea esi, [ebx + 0x10]
push 0
push dword [ebp + 0x5c]
mov byte [esp + 0x9c], al
push esi
call fcn.0047eb70
add esp, 8
push eax
mov eax, dword [ebp + 0x38]
push 4
push 0
add eax, edi
push eax
push ebx
call fcn.00476a70
add esp, 0x10
push eax
push 0
push esi
call fcn.0047d020
mov ecx, dword [ebx + 0x63fec]
add esp, 0x14
mov edi, dword [ebp + 0x5c]
shr ecx, 2
cmp dword [ebx + 0x24], 6
mov esi, ecx
mov dword [esp + 0x98], eax
sbb eax, eax
mov dword [esp + 0x8c], ecx
and eax, 0xfffffff8
add eax, 0x18
mov dword [esp + 0x74], eax
imul eax, ecx
mov ecx, dword [ebx + 0x64208]
add ecx, eax
mov eax, dword [esp + 0x74]
cmp dword [ecx + 4], 0
jne 0x474c89
mov edx, dword [ecx + 8]
cmp edx, edi
ja 0x474c89
mov eax, dword [ecx + 0xc]
cmp eax, edi
jae 0x474c8e
mov eax, dword [esp + 0x74]
inc esi
add ecx, eax
jmp 0x474c71
push dword [esp + 0x94]
sub esi, dword [esp + 0x90]
push dword [esp + 0x9c]
push esi
push 0
push eax
push edx
push 3
push ebx
call fcn.0046da40
mov edi, dword [esp + 0xa4]
add esp, 0x20
jmp 0x474d63
push 1
push 0
push 0x24
push 0
push ecx
push ebx
call fcn.00476a70
add esp, 0x10
push eax
push ebx
call fcn.0046dd10
mov esi, eax
lea eax, [ebx + 0x10]
push ebp
push eax
call fcn.0047f7a0
add esp, 0x18
test esi, esi
je 0x474d00
test eax, eax
je 0x474d00
push eax
push esi
push ebx
call fcn.0046c960
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x474d67
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x474d67
push ebp
call fcn.0040ad00
add esp, 4
test al, al
je 0x474d67
mov ecx, dword [ebp + 0x38]
mov al, byte [ebp + 0x45]
add ecx, edi
push 1
push 1
push 0x24
push 0
push ecx
push ebx
mov byte [esp + 0x34], al
call fcn.00476a70
add esp, 0x10
push eax
push ebx
call fcn.0046dd10
push dword [esp + 0x2c]
mov esi, eax
lea eax, [ebx + 0x10]
push eax
call fcn.0047f660
add esp, 0x18
test esi, esi
je 0x474d61
test eax, eax
je 0x474d61
push eax
push esi
push ebx
call fcn.0046c960
add esp, 0xc
jmp 0x474d63
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x88]
add edi, 0x14
inc ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ecx
cmp ecx, dword [ebp + 0x3c]
jb 0x4748d2
mov ecx, dword [esp + 0x7c]
mov edx, eax
mov edi, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x18], edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x14], esi
mov byte [esp + 0x13], cl
cmp eax, 4
jae 0x474ddb
mov eax, 4
mov ecx, eax
lea edi, [esp + 0x34]
mov eax, dword [esp + 0x80]
lea edi, [edi + edx*4]
sub ecx, edx
shl ecx, 2
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
mov edx, 3
cmp edi, edx
jae 0x474df8
mov eax, dword [esp + 0x70]
mov ecx, edx
sub ecx, edi
lea edi, [esp + edi*4 + 0x44]
shl ecx, 2
shr ecx, 2
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x30]
test esi, esi
mov eax, dword [ebp + 0x20]
cmove esi, dword [esp + 0x80]
mov dword [esp + 0x30], esi
cmp eax, 0xc
ja case.0x474e16.6
jmp dword [eax*4 + 0x475c24]
mov eax, dword [esp + 0x88]
lea eax, [eax + eax*4]
push dword [esi + eax*4 + 0x10]
push str.texture_source:__d_n
push 2
call fcn.004f3434
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
cmp dword [esp + 0x68], 0
je 0x474f38
cmp dword [ebx + 0x1c], 8
jb 0x474f38
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.sampleCmpBias
push eax
call fcn.00482a70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x474e7a
xor esi, esi
jmp 0x47592f
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x80000000
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x10]
push 0xff
push eax
call fcn.0047eb70
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x234], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x23c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24c], eax
lea eax, [esp + 0x220]
push 0xd
push eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x258], esi
push edi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.sampleBias
push eax
call fcn.00482a70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x474f5a
xor esi, esi
jmp 0x47592f
lea eax, [ebx + 0x10]
push 0x3d
push eax
call fcn.0047eb70
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1b8], eax
lea eax, [esp + 0x190]
push 0xc
push eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x1c4], esi
push edi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
cmp dword [esp + 0x68], 0
lea eax, [ebx + 0x10]
je 0x4750cb
push 6
push str.dx.op.sampleCmp
push eax
call fcn.00482a70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x475028
xor esi, esi
jmp 0x47592f
lea eax, [ebx + 0x10]
push 0x40
push eax
call fcn.0047eb70
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1d8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1dc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1e8], eax
lea eax, [esp + 0x1c0]
push 0xc
push eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x1f4], esi
push edi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
cmp dword [ebx + 0x14], 0
jne 0x47518c
push dword [esp + 0x6c]
push str.dx.op.sample
push eax
call fcn.00482a70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4750f4
xor esi, esi
jmp 0x47592f
lea eax, [ebx + 0x10]
push 0x3c
push eax
call fcn.0047eb70
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x104], eax
lea eax, [esp + 0xe0]
push 0xb
push eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x110], esi
push edi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
push ecx
mov dword [esp], 0
push eax
call fcn.0047e8d0
add esp, 8
mov dword [esp + 0x2c], eax
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.sampleLevel
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x47537b
jmp 0x47592f
cmp byte [esp + 0x13], 0
je 0x47529a
cmp dword [esp + 0x68], 0
je 0x4751a1
cmp dword [ebx + 0x1c], 7
jae 0x47529a
push 6
lea eax, [ebx + 0x10]
push str.dx.op.sampleCmpLevelZero
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47592f
lea eax, [ebx + 0x10]
push 0x41
push eax
call fcn.0047eb70
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x134], eax
lea eax, [esp + 0x10c]
push 0xb
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
cmp dword [esp + 0x68], 0
je 0x4751a1
mov eax, dword [ebx + 0x2c]
push dword [esp + 0x6c]
or dword [ebx + 0x28], 0x20000000
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x10]
push str.dx.op.sampleCmpLevel
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47592f
lea eax, [ebx + 0x10]
push 0xe0
push eax
call fcn.0047eb70
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1f8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1fc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x21c], eax
lea eax, [esp + 0x1f0]
push 0xc
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
lea eax, [ebx + 0x10]
push 0x3e
push eax
call fcn.0047eb70
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x160], eax
lea eax, [esp + 0x138]
push 0xb
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
cmp edi, edx
jae 0x47543d
mov ecx, edx
lea esi, [esp + 0x50]
sub ecx, edi
lea edi, [esi + edi*4]
shl ecx, 2
shr ecx, 2
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
cmp edi, edx
jae 0x47545c
sub edx, edi
lea esi, [esp + 0x5c]
shl edx, 2
lea edi, [esi + edi*4]
shr edx, 2
mov ecx, edx
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x68], 0
je 0x475588
cmp dword [ebx + 0x1c], 8
jb 0x475588
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.sampleCmpGrad
push eax
call fcn.00482a70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x475493
xor esi, esi
jmp 0x47592f
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x80000000
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x10]
push 0xfe
push eax
call fcn.0047eb70
mov dword [esp + 0x298], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x29c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2a0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2a4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2a8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2ac], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2b0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2b4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2bc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2cc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2d0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2d8], eax
lea eax, [esp + 0x298]
push 0x12
push eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x2e4], esi
push edi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.sampleGrad
push eax
call fcn.00482a70
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4755aa
xor esi, esi
jmp 0x47592f
lea eax, [ebx + 0x10]
push 0x3f
push eax
call fcn.0047eb70
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x260], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x264], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x268], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x26c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x278], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x27c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x280], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x288], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x290], eax
lea eax, [esp + 0x254]
push 0x11
push eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x29c], esi
push edi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
cmp dword [ebp + 0x18], 5
jne 0x4756f8
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.bufferLoad
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47592f
lea eax, [ebx + 0x10]
push 0x44
push eax
call fcn.0047eb70
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xac]
push 4
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
mov edx, dword [esp + 0x18]
cmp edx, 4
jae 0x47571b
mov eax, dword [esp + 0x70]
lea edi, [esp + 0x34]
mov ecx, 4
lea edi, [edi + edx*4]
sub ecx, edx
shl ecx, 2
shr ecx, 2
rep stosd dword es:[edi], eax
push dword [esp + 0x6c]
lea eax, [ebx + 0x10]
push str.dx.op.textureLoad
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47592f
cmp dword [esp + 0x2c], 0
jne 0x47575d
lea eax, [ebx + 0x10]
push 0x20
push eax
call fcn.0047ee30
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0047fe70
add esp, 0x10
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x10]
push 0x42
push eax
call fcn.0047eb70
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xbc]
push 9
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
push 0
lea eax, [ebx + 0x10]
push str.dx.op.getDimensions
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x47592f
lea eax, [ebx + 0x10]
push 0x48
push eax
call fcn.0047eb70
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa0]
push 3
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
jmp 0x47592d
mov edi, dword [ebp + 0x48]
mov ecx, str.dx.op.textureGather
push dword [esp + 0x6c]
and edi, edx
mov eax, str.dx.op.textureGatherCmp
cmp dword [esp + 0x6c], 0
cmove eax, ecx
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.00482a70
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x47587b
xor esi, esi
jmp 0x47592f
mov esi, dword [esp + 0x68]
xor eax, eax
test esi, esi
setne al
add eax, 0x49
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0047eb70
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x184], eax
lea eax, [ebx + 0x10]
push edi
push eax
call fcn.0047eb70
mov dword [esp + 0x190], eax
xor eax, eax
test esi, esi
mov dword [esp + 0x194], esi
setne al
add eax, 0xa
push eax
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x34]
lea eax, [ebx + 0x10]
push eax
call fcn.0047d140
add esp, 0x20
mov esi, eax
test esi, esi
jne 0x47593a
xor al, al
jmp 0x475aa0
xor edi, edi
cmp byte [ebp + 0x34], 0
jbe 0x475a9e
lea ecx, [ebx + 0x10]
nop dword [eax]
push edi
push esi
push ecx
call fcn.0047d340
push eax
mov dword [esp + 0x2c], eax
call fcn.00480140
mov edx, eax
add esp, 0x10
cmp edx, dword [ebx + 0x63bb0]
jne 0x475979
mov ecx, dword [ebx + 0x2c]
or dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], ecx
cmp edx, dword [ebx + 0x63ba8]
je 0x475989
cmp edx, dword [ebx + 0x63b9c]
jne 0x475993
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x10
mov dword [ebx + 0x2c], eax
cmp edx, dword [ebx + 0x63ba4]
jne 0x4759a8
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x8000
mov dword [ebx + 0x2c], eax
push dword [esp + 0x1c]
lea eax, [ebp + 0x24]
push edi
push eax
push ebx
call fcn.00477bd0
movzx eax, byte [ebp + 0x34]
lea ecx, [ebx + 0x10]
inc edi
add esp, 0x10
cmp edi, eax
jb 0x475950
jmp 0x475a9e
push 1
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00475c60
mov esi, eax
push esi
call fcn.00480140
mov edx, eax
add esp, 0x10
cmp edx, dword [ebx + 0x63bb0]
jne 0x4759f7
mov ecx, dword [ebx + 0x2c]
or dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], ecx
cmp edx, dword [ebx + 0x63ba8]
je 0x475a07
cmp edx, dword [ebx + 0x63b9c]
jne 0x475a11
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x10
mov dword [ebx + 0x2c], eax
cmp edx, dword [ebx + 0x63ba4]
jne 0x475a26
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x8000
mov dword [ebx + 0x2c], eax
push esi
push 0
lea eax, [ebp + 0x24]
push eax
push ebx
call fcn.00477bd0
push 0
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.00475c60
mov esi, eax
push esi
call fcn.00480140
mov edx, eax
add esp, 0x20
cmp edx, dword [ebx + 0x63bb0]
jne 0x475a5f
mov ecx, dword [ebx + 0x2c]
or dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], ecx
cmp edx, dword [ebx + 0x63ba8]
je 0x475a6f
cmp edx, dword [ebx + 0x63b9c]
jne 0x475a79
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x10
mov dword [ebx + 0x2c], eax
cmp edx, dword [ebx + 0x63ba4]
jne 0x475a8e
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x8000
mov dword [ebx + 0x2c], eax
push esi
push 1
lea eax, [ebp + 0x24]
push eax
push ebx
call fcn.00477bd0
add esp, 0x10
mov al, 1
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004eee65
add esp, 0x2cc
ret
push 0x20
push 0
lea eax, [ebx + 0x10]
push 0
push eax
call fcn.0047ec60
push 0
lea ecx, [ebx + 0x10]
mov edi, eax
push str.dx.op.getDimensions
push ecx
call fcn.00482a70
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x475b1e
lea eax, [ebx + 0x10]
push 0x48
push eax
call fcn.0047eb70
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edi
push 3
lea eax, [esp + 0xa4]
push eax
lea eax, [ebx + 0x10]
push esi
push eax
call fcn.0047d140
add esp, 0x18
push 3
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0047d340
mov esi, eax
push esi
call fcn.00480140
mov edx, eax
add esp, 0x10
cmp edx, dword [ebx + 0x63bb0]
jne 0x475b49
mov ecx, dword [ebx + 0x2c]
or dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], ecx
cmp edx, dword [ebx + 0x63ba8]
je 0x475b59
cmp edx, dword [ebx + 0x63b9c]
jne 0x475b63
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x10
mov dword [ebx + 0x2c], eax
cmp edx, dword [ebx + 0x63ba4]
jne 0x475b78
mov eax, dword [ebx + 0x2c]
or dword [ebx + 0x28], 0x8000
mov dword [ebx + 0x2c], eax
push esi
push 0
jmp 0x475a91
push 0
lea eax, [ebx + 0x10]
push str.dx.op.getDimensions
push eax
call fcn.00482a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x475b1e
lea eax, [ebx + 0x10]
push 0x48
push eax
call fcn.0047eb70
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], eax
jmp 0x475b07
push eax
push str.texture_op:__d_n
push 2
call fcn.004f3434
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
nop
test byte [eax + 0x47], 0
sbb eax, 1342195534
dec edx
inc edi
add byte [ecx], bl
dec ecx
inc edi
add byte [eax + 0x49], dh
inc edi
add byte [edx + 0x32004749], dl
dec edx
inc edi
add dh, al
dec edx
inc edi
add byte [0x7200474e], bl
dec edx
inc edi
add byte [ecx - 0x1affb8b6], bl
dec edx
inc edi
add byte [eax], al
dec ebx
inc edi
add byte [edi], dl
dec ebx
inc edi
add dl, ch
dec ebx
inc edi
add byte [edi + 0x800474c], bh
dec ebp
inc edi
add ch, bh
dec edi
inc edi
add byte [ebx + 0x4e], al
inc edi
add ch, al
push ecx
inc edi
add byte [edi], dl
push esp
inc edi
add byte [esi + edx*2 + 0x56840047], al
inc edi
add dh, al
pop ebx
inc edi
add dh, al
pop ebx
inc edi
add bl, ah
push edi
inc edi
add bl, cl
pop ecx
inc edi
add byte [eax + ebx*2 + 0x47], al
add byte [ecx - 0x7fffb8a6], bh
pop ebx
inc edi
add ah, cl
int3