Function at 0x4d6690
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 0x4d68bd
mov ebx, dword [esp + 0x44]
je 0x4d6723
push dword [ebx + 4]
push ebp
call fcn.004c5910
mov edi, eax
add esp, 8
cmp dword [edi], 0xe
jne 0x4d6bbb
push dword [ebx + 0xc]
push ebp
call fcn.004d6310
push str.cmat_bitcast
push dword [edi + 4]
mov esi, eax
push ebp
call fcn.004d62a0
push 0x46
push dword [ebp + 0x10]
mov edi, eax
call fcn.00409a10
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 0x4d6a2f
push 6
push dword [ebx + 0xc]
push ebp
call fcn.004cc010
push eax
push ebp
call fcn.004cc070
push dword [ebx + 4]
mov dword [esp + 0x28], eax
push ebp
call fcn.004c5910
push dword [ebx + 0x10]
mov dword [esp + 0x40], eax
push ebp
call fcn.004c7930
add esp, 0x24
mov esi, eax
cmp dword [esp + 0x48], 5
mov dword [esp + 0x1c], esi
jbe 0x4d67c4
push dword [ebx + 0x14]
push ebp
call fcn.0048ee70
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 0x4d67f9
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.004c9750
mov eax, dword [esp + 0x30]
push dword [eax]
push dword [esp + 0x3c]
push dword [esp + 0x68]
push ebp
call fcn.004c88a0
add esp, 0x30
jmp 0x4d67f9
push 0x20
lea edi, [ebp + 0x10]
push 1
push dword [edi]
call fcn.00409bc0
mov esi, eax
push esi
push ebp
call fcn.0041dbe0
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.004d62a0
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
sub esi, 0
jne 0x4d6827
mov dword [esp + 0x18], 2
push dword [esp + 0x10]
push ebp
call fcn.004cbb60
mov esi, eax
mov eax, dword [esp + 0x1c]
push 0x4c
push dword [eax]
call fcn.00409a10
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 + 0x523811]
mov dword [edx + eax*4 + 0x30], ecx
call fcn.0041dbe0
mov eax, dword [esp + 0x34]
push dword [eax + 0x24]
push dword [ebx + 8]
push ebp
call fcn.00498c90
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
sub eax, 0x116a
je 0x4d6a4d
sub eax, 1
je 0x4d6926
mov eax, dword [esp + 0x44]
push dword [eax + 0xc]
push ebp
call fcn.004c5910
push 0x4b
push dword [ebp + 0x10]
mov esi, dword [eax + 0x18]
call fcn.00409a10
mov edi, eax
push 0x20
push 1
lea ebx, [edi + 0x1c]
push ebx
push edi
call fcn.00407ec0
imul ecx, dword [edi + 0x18], 0x64
push edi
push ebp
movzx ecx, byte [ecx + 0x523810]
mov dword [edi + ecx*4 + 0x30], esi
call fcn.0041dbe0
mov eax, dword [esp + 0x6c]
push ebx
push dword [eax + 8]
push ebp
call fcn.00498a30
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.004d6310
push dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
push ebp
call fcn.004d6310
push dword [ebx + 0x14]
mov dword [esp + 0x30], eax
push ebp
call fcn.004d6310
add esp, 0x18
mov dword [esp + 0x18], eax
cmp dword [esp + 0x48], 6
jbe 0x4d6960
mov ecx, dword [ebx + 0x18]
jmp 0x4d6962
xor ecx, ecx
push dword [ebx + 4]
mov dword [esp + 0x44], ecx
push ebp
call fcn.004c5910
push str.cmat_muladd
push dword [eax + 4]
push ebp
call fcn.004d62a0
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.00409a10
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 + 0x523801]
mov dword [edx + eax*4 + 0x30], esi
imul eax, dword [edx + 0x18], 0x64
movzx eax, byte [eax + 0x523812]
mov dword [edx + eax*4 + 0x30], ecx
push edx
push ebp
call fcn.0041dbe0
push dword [edi + 0x24]
push dword [ebx + 8]
push ebp
call fcn.00498c90
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.004cc010
push eax
push ebp
call fcn.004cc070
push dword [ebx + 0xc]
mov dword [esp + 0x34], eax
push ebp
call fcn.004c7930
add esp, 0x1c
mov esi, eax
cmp dword [esp + 0x48], 4
mov dword [esp + 0x20], esi
jbe 0x4d6ae5
push dword [ebx + 0x10]
push ebp
call fcn.0048ee70
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 0x4d6b1a
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.004c9750
mov eax, dword [esp + 0x3c]
push dword [eax]
push dword [esp + 0x38]
push dword [esp + 0x68]
push ebp
call fcn.004c8870
add esp, 0x30
jmp 0x4d6b1a
push 0x20
lea edi, [ebp + 0x10]
push 1
push dword [edi]
call fcn.00409bc0
mov esi, eax
push esi
push ebp
call fcn.0041dbe0
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.004d6310
add esp, 8
mov dword [esp + 0x20], eax
mov ebx, 1
sub esi, 0
jne 0x4d6b39
mov ebx, 2
push dword [esp + 0x1c]
push ebp
call fcn.004cbb60
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x50
push dword [eax]
call fcn.00409a10
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 + 0x523811]
mov dword [ecx + eax*4 + 0x30], ebx
call fcn.0041dbe0
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.0048c060
int3