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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
cmp eax, 0x1169
jg 0x4d6a3d
mov ebx, dword [esp + 0x44]
je 0x4d68a3
push dword [ebx + 4]
push ebp
call fcn.004c5a90
mov edi, eax
add esp, 8
cmp dword [edi], 0xe
jne 0x4d6d3b
push dword [ebx + 0xc]
push ebp
call fcn.004d6490
push str.cmat_bitcast
push dword [edi + 4]
mov esi, eax
push ebp
call fcn.004d6420
push 0x46
push dword [ebp + 0x10]
mov edi, eax
call fcn.00409aa0
xorps xmm0, xmm0
lea ecx, [edi + 0x48]
movups xmmword [esp + 0x44], xmm0
mov edx, eax
mov dword [esp + 0x50], ecx
movups xmm0, xmmword [esp + 0x44]
lea eax, [esi + 0x48]
movups xmmword [edx + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x50], eax
movups xmm0, xmmword [esp + 0x44]
movups xmmword [edx + 0x68], xmm0
jmp 0x4d6baf
push 6
push dword [ebx + 0xc]
push ebp
call fcn.004cc190
push eax
push ebp
call fcn.004cc1f0
push dword [ebx + 4]
mov dword [esp + 0x28], eax
push ebp
call fcn.004c5a90
push dword [ebx + 0x10]
mov dword [esp + 0x40], eax
push ebp
call fcn.004c7ab0
add esp, 0x24
mov esi, eax
cmp dword [esp + 0x48], 5
mov dword [esp + 0x1c], esi
jbe 0x4d6944
push dword [ebx + 0x14]
push ebp
call fcn.0048efc0
mov edi, eax
mov dword [esp + 0x48], 0
lea eax, [ebp + 0x10]
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
cmp eax, 6
jbe 0x4d6979
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 6
push ecx
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebx
push ebp
call fcn.004c98d0
mov eax, dword [esp + 0x30]
push dword [eax]
push dword [esp + 0x3c]
push dword [esp + 0x68]
push ebp
call fcn.004c8a20
add esp, 0x30
jmp 0x4d6979
push 0x20
lea edi, [ebp + 0x10]
push 1
push dword [edi]
call fcn.00409c50
mov esi, eax
push esi
push ebp
call fcn.0041dcb0
add esp, 0x14
mov dword [esp + 0x14], edi
add esi, 0x18
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push str.cmat_bitcast
push dword [eax + 4]
push ebp
call fcn.004d6420
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
sub esi, 0
jne 0x4d69a7
mov dword [esp + 0x18], 2
push dword [esp + 0x10]
push ebp
call fcn.004cbce0
mov esi, eax
mov eax, dword [esp + 0x1c]
push 0x4c
push dword [eax]
call fcn.00409aa0
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
mov edx, eax
add ecx, 0x48
mov dword [esp + 0x44], ecx
movups xmm0, xmmword [esp + 0x38]
mov ecx, dword [esp + 0x28]
imul eax, dword [edx + 0x18], 0x64
movups xmmword [edx + 0x58], xmm0
push edx
xorps xmm0, xmm0
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x48], esi
movups xmm0, xmmword [esp + 0x3c]
push ebp
movups xmmword [edx + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x4c], edi
movups xmm0, xmmword [esp + 0x40]
movups xmmword [edx + 0x78], xmm0
movzx eax, byte [eax + 0x523869]
mov dword [edx + eax*4 + 0x30], ecx
call fcn.0041dcb0
mov eax, dword [esp + 0x34]
push dword [eax + 0x24]
push dword [ebx + 8]
push ebp
call fcn.00498dd0
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
sub eax, 0x116a
je 0x4d6bcd
sub eax, 1
je 0x4d6aa6
mov eax, dword [esp + 0x44]
push dword [eax + 0xc]
push ebp
call fcn.004c5a90
push 0x4b
push dword [ebp + 0x10]
mov esi, dword [eax + 0x18]
call fcn.00409aa0
mov edi, eax
push 0x20
push 1
lea ebx, [edi + 0x1c]
push ebx
push edi
call fcn.00407f50
imul ecx, dword [edi + 0x18], 0x64
push edi
push ebp
movzx ecx, byte [ecx + 0x523868]
mov dword [edi + ecx*4 + 0x30], esi
call fcn.0041dcb0
mov eax, dword [esp + 0x6c]
push ebx
push dword [eax + 8]
push ebp
call fcn.00498b70
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ebx, dword [esp + 0x44]
push dword [ebx + 0xc]
push ebp
call fcn.004d6490
push dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
push ebp
call fcn.004d6490
push dword [ebx + 0x14]
mov dword [esp + 0x30], eax
push ebp
call fcn.004d6490
add esp, 0x18
mov dword [esp + 0x18], eax
cmp dword [esp + 0x48], 6
jbe 0x4d6ae0
mov ecx, dword [ebx + 0x18]
jmp 0x4d6ae2
xor ecx, ecx
push dword [ebx + 4]
mov dword [esp + 0x44], ecx
push ebp
call fcn.004c5a90
push str.cmat_muladd
push dword [eax + 4]
push ebp
call fcn.004d6420
mov edi, eax
mov eax, dword [esp + 0x54]
mov esi, eax
and eax, 0xf
push 0x4d
push dword [ebp + 0x10]
shr esi, 4
and esi, 1
mov dword [esp + 0x5c], eax
call fcn.00409aa0
mov edx, eax
lea ecx, [edi + 0x48]
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x50], ecx
add eax, 0x48
movups xmm0, xmmword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
movups xmmword [edx + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x50], eax
movups xmm0, xmmword [esp + 0x44]
mov eax, dword [esp + 0x38]
add eax, 0x48
movups xmmword [edx + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x50], eax
movups xmm0, xmmword [esp + 0x44]
mov eax, dword [esp + 0x34]
add eax, 0x48
movups xmmword [edx + 0x78], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x50], eax
imul eax, dword [edx + 0x18], 0x64
movups xmm0, xmmword [esp + 0x44]
movups xmmword [edx + 0x88], xmm0
movzx eax, byte [eax + 0x523859]
mov dword [edx + eax*4 + 0x30], esi
imul eax, dword [edx + 0x18], 0x64
movzx eax, byte [eax + 0x52386a]
mov dword [edx + eax*4 + 0x30], ecx
push edx
push ebp
call fcn.0041dcb0
push dword [edi + 0x24]
push dword [ebx + 8]
push ebp
call fcn.00498dd0
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ebx, dword [esp + 0x44]
push 6
push dword [ebx + 4]
push ebp
call fcn.004cc190
push eax
push ebp
call fcn.004cc1f0
push dword [ebx + 0xc]
mov dword [esp + 0x34], eax
push ebp
call fcn.004c7ab0
add esp, 0x1c
mov esi, eax
cmp dword [esp + 0x48], 4
mov dword [esp + 0x20], esi
jbe 0x4d6c65
push dword [ebx + 0x10]
push ebp
call fcn.0048efc0
mov edi, eax
mov dword [esp + 0x48], 0
lea eax, [ebp + 0x10]
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
cmp eax, 5
jbe 0x4d6c9a
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x30]
push ecx
push eax
push ebx
push ebp
call fcn.004c98d0
mov eax, dword [esp + 0x3c]
push dword [eax]
push dword [esp + 0x38]
push dword [esp + 0x68]
push ebp
call fcn.004c89f0
add esp, 0x30
jmp 0x4d6c9a
push 0x20
lea edi, [ebp + 0x10]
push 1
push dword [edi]
call fcn.00409c50
mov esi, eax
push esi
push ebp
call fcn.0041dcb0
add esp, 0x14
mov dword [esp + 0x18], edi
add esi, 0x18
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push dword [ebx + 8]
push ebp
call fcn.004d6490
add esp, 8
mov dword [esp + 0x20], eax
mov ebx, 1
sub esi, 0
jne 0x4d6cb9
mov ebx, 2
push dword [esp + 0x1c]
push ebp
call fcn.004cbce0
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x50
push dword [eax]
call fcn.00409aa0
mov ecx, eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x30]
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x44], esi
add eax, 0x48
movups xmm0, xmmword [esp + 0x38]
push ecx
push ebp
movups xmmword [ecx + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x4c], eax
movups xmm0, xmmword [esp + 0x40]
imul eax, dword [ecx + 0x18], 0x64
movups xmmword [ecx + 0x68], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x4c], edi
movups xmm0, xmmword [esp + 0x40]
movups xmmword [ecx + 0x78], xmm0
movzx eax, byte [eax + 0x523869]
mov dword [ecx + eax*4 + 0x30], ebx
call fcn.0041dcb0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push str.dst_type__base_type__vtn_base_type_cooperative_matrix
push 0x51158c
push 0xad
push str..._.._src_compiler_spirv_vtn_cmat.c
push ebp
call fcn.0048c1b0
int3