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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa0], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
cmp eax, 0xe
ja case.default.0x4a3725
jmp dword [eax*4 + 0x6a7a70]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
test byte [eax + 4], 0x20
mov ebx, eax
jne 0x4a3d11
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
movzx edx, byte [eax + 0x37]
movzx eax, byte [eax + 0x38]
shr dl, 5
shl eax, 3
or eax, edx
sub eax, 7
cmp al, 0x25
ja case.0x4a3768.15
movzx eax, al
jmp dword [eax*4 + 0x6a7aac]
mov eax, dword [ebp + 0x10]
mov esi, dword [edi + 0x50]
test byte [eax + 8], 1
mov dword [ebp - 0x84], esi
jne 0x4a37a4
movzx eax, word [eax + 0x18]
and ax, 0xfff
cmp ax, 0xfff
je 0x4a3f04
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
cmp eax, 0xe
jne 0x4a3efe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a402c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xa0]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
call fcn.004a4080
sub esp, 0x10
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + 0x38]
call fcn.004b5be0
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov ecx, edi
test al, al
mov eax, dword [edi]
je 0x4a3925
call dword [eax + 0x3c]
mov ecx, edi
mov ebx, eax
mov eax, dword [edi]
call dword [eax + 0x38]
mov edx, dword [ebp - 0xa0]
mov dword [esp], esi
mov dword [esp + 8], ebx
lea ecx, [edx + 0x38]
mov dword [esp + 4], eax
call fcn.004b6c40
sub esp, 0xc
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x6c]
test al, al
jne 0x4a3961
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp - 0xa0]
mov dword [esp], 0x20
lea ecx, [eax + 0x38]
call fcn.004b6520
sub esp, 4
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [esp], 0x40
lea ecx, [eax + 0x38]
call fcn.004b6520
sub esp, 4
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [esp], str.SPV_AMD_gpu_shader_half_float
lea ebx, [eax + 0x38]
mov ecx, ebx
call fcn.005a27f0
mov ecx, ebx
sub esp, 4
mov dword [esp], 0x10
call fcn.004b6520
sub esp, 4
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], 1
mov dword [esp], 0x20
lea ecx, [eax + 0x38]
call fcn.004b6350
sub esp, 8
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + 0x38]
mov dword [esp + 4], 0
mov dword [esp], 0x20
call fcn.004b6350
mov ecx, edi
mov esi, eax
mov eax, dword [edi]
sub esp, 8
call dword [eax + 0x68]
mov ecx, edi
test al, al
mov eax, dword [edi]
jne 0x4a3804
call dword [eax + 0x34]
cmp eax, 1
jle 0x4a382e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov edx, dword [ebp - 0xa0]
mov dword [esp], esi
lea ecx, [edx + 0x38]
mov dword [esp + 4], eax
call fcn.004b69b0
mov ecx, edi
mov esi, eax
mov eax, dword [edi]
sub esp, 8
call dword [eax + 0x6c]
test al, al
je 0x4a383d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a3cf0
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x4a3cf0
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4a3bc3
xor ebx, ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a3e80
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
sar edx, 3
lea eax, [edx - 1]
test eax, eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
jle 0x4a3e86
add eax, 0x38
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp + 8], edi
mov edi, esi
mov esi, dword [ebp + 8]
shl eax, 3
mov dword [ebp - 0xa4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0049e500
mov ecx, dword [ebp - 0xa8]
sub esp, 8
mov dword [esp], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call fcn.004b6de0
sub esp, 0xc
test ebx, ebx
mov edi, eax
jle 0x4a3a3f
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 4], 6
mov dword [esp], eax
call fcn.004b56f0
sub esp, 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov edx, dword [ebp - 0xa4]
sub dword [ebp - 0xa4], 8
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
imul ebx, dword [eax + edx]
sub dword [ebp - 0x9c], 1
jne 0x4a39e1
mov dword [ebp + 8], esi
mov esi, edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
test al, al
je 0x4a3cb0
mov ecx, dword [ebp - 0xa8]
mov dword [esp], esi
call fcn.004b5940
sub esp, 4
mov esi, eax
test ebx, ebx
jle 0x4a383d
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], 6
call fcn.004b56f0
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], 1
mov dword [esp], 0x40
lea ecx, [eax + 0x38]
call fcn.004b6350
sub esp, 8
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], 0
mov dword [esp], 0x40
lea ecx, [eax + 0x38]
call fcn.004b6350
sub esp, 8
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [esp], str.SPV_AMD_gpu_shader_int16
lea ebx, [eax + 0x38]
mov ecx, ebx
call fcn.005a27f0
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], 0x10
mov ecx, ebx
call fcn.004b6350
sub esp, 8
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [esp], str.SPV_AMD_gpu_shader_int16
lea ebx, [eax + 0x38]
mov ecx, ebx
call fcn.005a27f0
sub esp, 4
mov dword [esp + 4], 0
jmp 0x4a3b39
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa0]
test ebx, ebx
lea ecx, [eax + 0x38]
jne 0x4a38f9
call fcn.004b5d40
mov esi, eax
jmp 0x4a37f1
mov ebx, dword [ebp - 0xa0]
lea eax, [ebp - 0x94]
mov dword [esp], eax
mov dword [ebp - 0x94], 0x15
lea ecx, [ebx + 0x8c]
call fcn.0063e260
mov eax, ebx
sub esp, 4
jmp 0x4a38f6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a398d
mov dword [esp + 8], 0
lea ecx, [ebp - 0x84]
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.005b43c0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], esi
mov dword [ebp + 8], edi
mov ebx, dword [eax + 4]
sub esp, 0xc
test ebx, ebx
je 0x4a3c54
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov ecx, eax
sub ecx, edx
cmp ecx, 0xf
jle 0x4a3c54
lea esi, [edx + 8]
mov edi, ebx
cmp eax, esi
je 0x4a3c48
mov ecx, eax
mov edi, ebx
sub ecx, esi
sar ecx, 3
test ecx, ecx
je 0x4a3c48
shl ecx, 3
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
call sub.msvcrt.dll_memmove
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 8]
mov edi, dword [edx + 4]
sub eax, 8
mov dword [ebx + 8], eax
mov ebx, edi
test ebx, ebx
jne 0x4a3c07
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp + 8]
movzx eax, byte [eax + 0xc]
and eax, 7
cmp eax, 1
sete al
movzx eax, al
mov dword [esp + 0x10], eax
xor eax, eax
cmp dword [ebp + 0xc], 2
sete al
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.004ce560
mov ebx, dword [ebp - 0x8c]
jmp 0x4a398f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov ecx, dword [ebp - 0xa0]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0049e500
mov ecx, dword [ebp - 0xa8]
sub esp, 8
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call fcn.004b6de0
sub esp, 0xc
mov esi, eax
jmp 0x4a3a94
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4a3e94
mov eax, dword [ebp - 0xa0]
xor ebx, ebx
add eax, 0x38
mov dword [ebp - 0xa8], eax
jmp 0x4a3a72
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + 0x38]
call fcn.004b5ea0
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], 0x31
lea ecx, [eax + 0x8c]
lea eax, [ebp - 0x88]
mov dword [esp], eax
call fcn.0063e260
sub esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov dword [ebp - 0x9c], 0x7fffffff
movzx edx, byte [eax + 0x37]
movzx eax, byte [eax + 0x38]
shr dl, 5
and eax, 0x1f
movzx edx, dl
shl eax, 3
or eax, edx
cmp al, 0x2c
ja 0x4a3d85
mov eax, dword [eax*4 + 0x6a8cc0]
mov dword [ebp - 0x9c], eax
movzx eax, byte [ebx + 4]
mov edx, eax
shr dl, 3
and edx, 1
cmp dl, 1
mov edx, eax
sbb esi, esi
shr dl, 2
add esi, 2
and edx, 1
mov dword [ebp - 0xa8], edx
mov edx, eax
shr al, 1
and edx, 1
and eax, 1
mov dword [ebp - 0xb0], eax
movzx eax, byte [ebx + 1]
mov dword [ebp - 0xac], edx
mov edx, 1
sub eax, 1
cmp al, 6
ja 0x4a3dd7
movzx eax, al
mov edx, dword [eax*4 + 0x6a8d74]
movzx eax, byte [ebx]
mov dword [ebp - 0xb4], edx
cmp al, 4
je 0x4a4013
cmp al, 5
je 0x4a3fe0
mov eax, dword [ebp - 0xa0]
mov dword [esp], 0x20
add eax, 0x38
mov ecx, eax
mov dword [ebp - 0xa4], eax
call fcn.004b6520
mov edx, dword [ebp - 0xb4]
sub esp, 4
mov dword [esp + 0x14], esi
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x10], esi
mov esi, dword [ebp - 0xac]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [esp + 0xc], esi
mov esi, dword [ebp - 0xb0]
mov dword [esp + 8], esi
call fcn.004b7180
sub esp, 0x1c
mov esi, eax
test byte [ebx + 4], 0x10
je 0x4a37f1
mov ecx, dword [ebp - 0xa4]
mov dword [esp], eax
call fcn.004b7580
sub esp, 4
mov esi, eax
jmp 0x4a37f1
mov eax, dword [ebp - 0xa0]
add eax, 0x38
mov dword [ebp - 0xa8], eax
jmp 0x4a3a72
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
cmp eax, 0xe
je 0x4a3cfb
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 0xc]
mov dword [esp], edi
and eax, 7
cmp eax, 1
sete al
movzx eax, al
mov dword [esp + 0x10], eax
xor eax, eax
cmp dword [ebp + 0xc], 2
sete al
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x84]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
call fcn.004ce560
mov eax, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x84]
add eax, 0x38
mov dword [ebp - 0xa8], eax
jmp 0x4a3a72
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 0xc]
and eax, 7
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*8]
shl eax, 3
lea ecx, [eax + edx*8 + 0x650]
add ecx, dword [ebp - 0xa0]
lea eax, [ecx + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0xc]
mov edx, eax
mov eax, esi
mov dword [ebp - 0xa4], edx
xor edx, edx
div dword [ebp - 0xa4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x9c], edx
test eax, eax
je 0x4a3f81
mov ecx, dword [eax]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0xa4]
mov ebx, dword [ecx + 4]
cmp esi, ebx
je 0x4a3fd8
mov ecx, dword [ecx]
test ecx, ecx
je 0x4a3f7e
mov ebx, dword [ecx + 4]
xor edx, edx
mov eax, ebx
div edi
cmp dword [ebp - 0x9c], edx
je 0x4a3f63
mov edi, dword [ebp + 8]
mov dword [esp], 0xc
call fcn.006540e0
test eax, eax
je 0x4a3fa7
mov dword [eax], 0
mov edx, dword [ebp - 0x84]
mov dword [eax + 8], 0
mov dword [eax + 4], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00601700
sub esp, 0xc
lea ecx, [eax + 8]
mov esi, dword [ecx]
test esi, esi
jne 0x4a37f1
jmp 0x4a37a4
mov edi, dword [ebp + 8]
add ecx, 8
jmp 0x4a3fc9
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], 0
add eax, 0x38
mov dword [ebp - 0xa4], eax
mov dword [esp], 0x20
mov ecx, eax
call fcn.004b6350
mov edx, dword [ebp - 0xb4]
sub esp, 8
jmp 0x4a3e16
mov eax, dword [ebp - 0xa0]
mov dword [esp + 4], 1
add eax, 0x38
mov dword [ebp - 0xa4], eax
jmp 0x4a3ff7
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 2
imul ebx, eax, 0xcccccccd
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + 0x7c0]
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00644a90
sub esp, 4
mov ecx, eax
mov dword [esp], ebx
call fcn.0063c6e0
sub esp, 4
jmp 0x4a37b4
xor esi, esi
jmp 0x4a37f1