Function at 0x4d6580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
cmp byte [eax + 4], 0xc
jne case.default.0x4d65a0
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push esi
movzx eax, byte [ecx + 0x4d682f]
push edi
jmp dword [eax*4 + 0x4d688c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
push dword [ebp + 4]
push ebx
call fcn.004c5b40
push dword [ebp + 0xc]
mov edi, eax
push ebx
call fcn.004d6540
mov ebp, eax
push dword [ebp + 0x20]
call fcn.0045cf30
push eax
call fcn.0040e4b0
push dword [edi + 4]
mov esi, eax
call fcn.0045cf30
push eax
call fcn.0040e4b0
push eax
push esi
lea eax, [esp + 0x54]
mov byte [esp + 0x54], 0
push eax
push eax
push dword [esp + 0x60]
push ebx
call fcn.004cf6d0
push str.cmat_unary
push dword [edi + 4]
mov edi, dword [esp + 0x64]
mov ebx, eax
push edi
call fcn.004d64d0
add esp, 0x44
mov esi, eax
push 0x51
push dword [edi + 0x10]
call fcn.00409aa0
mov edx, eax
lea ecx, [esi + 0x48]
xorps xmm0, xmm0
lea eax, [ebp + 0x48]
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x24], ecx
movups xmm0, xmmword [esp + 0x18]
push edx
push edi
movups xmmword [edx + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x2c], eax
imul eax, dword [edx + 0x18], 0x64
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edx + 0x68], xmm0
movzx eax, byte [eax + 0x52386b]
mov dword [edx + eax*4 + 0x30], ebx
call fcn.0041dcb0
mov eax, dword [esp + 0x44]
push dword [esi + 0x24]
push dword [eax + 8]
push edi
call fcn.00498e40
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push 0
push 0
push eax
push eax
push ecx
push edi
mov byte [esp + 0x44], 0
call fcn.004cf6d0
mov ebx, dword [esp + 0x4c]
mov ebp, eax
push dword [ebx + 4]
push edi
call fcn.004c5b40
push dword [ebx + 0xc]
mov esi, eax
push edi
call fcn.004d6540
push dword [ebx + 0x10]
mov edi, eax
push dword [esp + 0x50]
call fcn.004d6540
push str.cmat_binary
push dword [esi + 4]
mov ebx, eax
push dword [esp + 0x5c]
call fcn.004d64d0
mov esi, eax
mov eax, dword [esp + 0x60]
push 0x45
push dword [eax + 0x10]
call fcn.00409aa0
mov edx, eax
lea ecx, [esi + 0x48]
xorps xmm0, xmm0
lea eax, [edi + 0x48]
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x60], ecx
add esp, 0x44
movups xmm0, xmmword [esp + 0x10]
movups xmmword [edx + 0x58], xmm0
push edx
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x48]
movups xmm0, xmmword [esp + 0x14]
mov ebx, dword [esp + 0x28]
push ebx
movups xmmword [edx + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x24], eax
imul eax, dword [edx + 0x18], 0x64
movups xmm0, xmmword [esp + 0x18]
movups xmmword [edx + 0x78], xmm0
movzx eax, byte [eax + 0x52386b]
mov dword [edx + eax*4 + 0x30], ebp
call fcn.0041dcb0
mov eax, dword [esp + 0x3c]
push dword [esi + 0x24]
push dword [eax + 8]
push ebx
call fcn.00498e40
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
push dword [ebx + 4]
push ebp
call fcn.004c5b40
push dword [ebx + 0xc]
mov edi, eax
push ebp
call fcn.004d6540
push dword [ebx + 0x10]
mov dword [esp + 0x40], eax
push ebp
call fcn.004990e0
mov esi, eax
push dword [esi + 0xc]
call fcn.0045f690
add esp, 0x1c
test al, al
je 0x4d6872
push dword [esi + 0xc]
call fcn.0048c710
push str.cmat_times_scalar
push dword [edi + 4]
test al, al
mov ecx, 0x140
mov ebx, 0xed
push ebp
cmovne ebx, ecx
call fcn.004d64d0
mov esi, dword [esi + 4]
mov edi, eax
push 0x4f
push dword [ebp + 0x10]
call fcn.00409aa0
mov edx, eax
lea ecx, [edi + 0x48]
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x34], ecx
add eax, 0x48
movups xmm0, xmmword [esp + 0x28]
push edx
push ebp
movups xmmword [edx + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x3c], eax
movups xmm0, xmmword [esp + 0x30]
imul eax, dword [edx + 0x18], 0x64
movups xmmword [edx + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x3c], esi
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edx + 0x78], xmm0
movzx eax, byte [eax + 0x52386b]
mov dword [edx + eax*4 + 0x30], ebx
call fcn.0041dcb0
mov eax, dword [esp + 0x54]
push dword [edi + 0x24]
push dword [eax + 8]
push ebp
call fcn.00498e40
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.glsl_type_is_cmat_dest_type_
push 0x51158c
push 0xc0
push str..._.._src_compiler_spirv_vtn_cmat.c
push dword [esp + 0x24]
call fcn.0048c1f0
push str.glsl_type_is_scalar_scalar_val__type_
push 0x51158c
push 0xf9
push str..._.._src_compiler_spirv_vtn_cmat.c
push ebp
call fcn.0048c1f0
cmpsd dword [esi], dword es:[edi]
dec ebp
add byte [eax + 0x67004d66], al
dec ebp
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
int3