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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
mov dword [ecx], 0x6f1888
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [edi]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 4]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x2c]
mov byte [ecx + 0x24], al
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x28], eax
call fcn.004cb890
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x34]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx], 0x6f1e88
mov dword [ebx + 0x54], 0x6e5b30
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x58], eax
mov byte [ebx + 0x71], 0
call fcn.004cb890
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x78]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
call fcn.004cb890
mov byte [ebx + 0x8c], 1
mov byte [ebx + 0x8d], 0
mov dword [ebx + 0x80], eax
lea eax, [ebx + 0x84]
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
call fcn.004cb890
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0x90], eax
lea eax, [ebx + 0x98]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov eax, esi
mov byte [ebx + 0xac], al
call fcn.004cb890
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xb0], eax
lea eax, [ebx + 0x214]
mov dword [ebx + 0x220], eax
mov dword [ebx + 0x22c], 0
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x24c], 0
mov dword [ebx + 0x25c], 0
mov dword [ebx + 0x26c], 0
mov dword [ebx + 0x274], 0
mov dword [ebx], fcn.00555dc0
mov dword [ebx + 0x27c], 0
call fcn.004cb890
mov esi, eax
call fcn.004cb890
mov dword [esp], 0xd
mov ecx, eax
call fcn.004cba30
mov dword [eax + 4], 0
add eax, 0xc
sub esp, 4
mov dword [eax - 4], 0
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [ebx + 0x384], eax
lea eax, [ebx + 0x38c]
mov dword [ebx + 0x380], esi
mov dword [ebx + 0x38c], 0
mov dword [ebx + 0x390], 0
mov dword [ebx + 0x39c], 0
mov dword [ebx + 0x394], eax
mov dword [ebx + 0x398], eax
call fcn.004cb890
mov dword [ebx + 0x3a4], 0
mov dword [ebx + 0x3a8], 0
mov dword [ebx + 0x3ac], 0
mov dword [ebx + 0x3a0], eax
call fcn.004cb890
mov dword [ebx + 0x3b4], 0
mov dword [ebx + 0x3b8], 0
mov dword [ebx + 0x3bc], 0
mov dword [ebx + 0x3b0], eax
call fcn.004cb890
mov dword [ebx + 0x3c8], 0
mov dword [ebx + 0x3cc], 0
mov dword [ebx + 0x3d8], 0
mov dword [ebx + 0x3c0], eax
lea eax, [ebx + 0x3c8]
mov dword [ebx + 0x3d0], eax
mov dword [ebx + 0x3d4], eax
call fcn.004cb890
mov dword [ebx + 0x3e4], 0
mov dword [ebx + 0x3e8], 0
mov dword [ebx + 0x3f4], 0
mov dword [ebx + 0x3dc], eax
lea eax, [ebx + 0x3e4]
mov dword [ebx + 0x3ec], eax
mov dword [ebx + 0x3f0], eax
call fcn.004cb890
mov dword [ebx + 0x400], 0
mov dword [ebx + 0x404], 0
mov dword [ebx + 0x410], 0
mov dword [ebx + 0x3f8], eax
lea eax, [ebx + 0x400]
mov dword [ebx + 0x408], eax
mov dword [ebx + 0x40c], eax
call fcn.004cb890
mov dword [ebx + 0x418], 0
mov dword [ebx + 0x41c], 0
mov dword [ebx + 0x420], 0
mov dword [ebx + 0x414], eax
call fcn.004cb890
mov dword [ebx + 0x428], 0
mov dword [ebx + 0x42c], 0
mov dword [ebx + 0x430], 0
mov dword [ebx + 0x424], eax
call fcn.004cb890
mov dword [ebx + 0x43c], 0
mov dword [ebx + 0x440], 0
mov dword [ebx + 0x44c], 0
mov dword [ebx + 0x434], eax
lea eax, [ebx + 0x43c]
mov dword [ebx + 0x444], eax
mov dword [ebx + 0x448], eax
call fcn.004cb890
lea ecx, [ebx + 0x478]
mov dword [ebx + 0x458], 0
mov dword [ebx + 0x45c], 0
mov dword [ebx + 0x468], 0
mov dword [ebx + 0x46c], 0
mov dword [ebx + 0x470], 0
mov dword [ebx + 0x450], eax
lea eax, [ebx + 0x458]
mov dword [ebx + 0x460], eax
mov dword [ebx + 0x464], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x474], 0
mov dword [esp], eax
call fcn.005f4c40
mov dword [ebx + 0x480], 0
mov dword [ebx + 0x484], 0
sub esp, 4
call fcn.004cb890
mov esi, eax
call fcn.004cb890
mov dword [esp], 0xd
mov ecx, eax
call fcn.004cba30
mov dword [eax + 4], 0
add eax, 0xc
sub esp, 4
mov dword [eax - 4], 0
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [ebx + 0x488], esi
mov dword [ebx + 0x48c], eax
call fcn.004cb890
mov dword [ebx + 0x498], 0
mov dword [ebx + 0x49c], 0
mov dword [ebx + 0x4a8], 0
mov dword [ebx + 0x490], eax
lea eax, [ebx + 0x498]
mov dword [ebx + 0x4a0], eax
mov dword [ebx + 0x4a4], eax
call fcn.004cb890
mov dword [ebx + 0x4b0], 0
mov dword [ebx + 0x4b4], 0
mov dword [ebx + 0x4b8], 0
mov dword [ebx + 0x4ac], eax
call fcn.004cb890
mov dword [ebx + 0x4c0], 0
mov dword [ebx + 0x4c4], 0
mov dword [ebx + 0x4c8], 0
mov dword [ebx + 0x4cc], 0
mov dword [ebx + 0x4d0], 0
mov dword [ebx + 0x4bc], eax
mov dword [ebx + 0x4d4], 0
mov dword [ebx + 0x4d8], 0
mov dword [ebx + 0x4dc], 0
call fcn.004cb890
movzx edx, word [ebx + 0x2de]
and byte [ebx + 0x2c4], 0xc0
and word [ebx + 0x2c6], 0xfe3f
and word [ebx + 0x2c4], 0xc03f
and dx, 0xf80f
movzx ecx, word [ebx + 0x2f2]
or dx, 0x3f0
mov word [ebx + 0x2de], dx
movzx edx, byte [ebx + 0x2dc]
mov dword [ebx + 0x500], eax
movzx eax, byte [ebx + 0x2cc]
or cx, 0x1fe0
mov word [ebx + 0x2f2], cx
shr cx, 8
and edx, 0xfffffff8
or ecx, 0xffffffe0
or edx, 4
and eax, 0xffffff80
mov byte [ebx + 0x2dc], dl
mov edx, dword [ebx + 0x2e4]
or eax, 1
and byte [ebx + 0x2c9], 0x80
or eax, 0x10
or dword [ebx + 0x2e0], 0x7fff8000
or word [ebx + 0x2d8], 0xfff
or edx, 0x7f8000
mov dword [ebx + 0x2e4], edx
shr edx, 0x18
or edx, 0xffffff80
mov dword [ebx + 0x504], 0
mov dword [ebx + 0x508], 0
mov dword [ebx + 0x50c], 0
mov dword [ebx + 0x2c0], 0
mov byte [ebx + 0x2c8], 0
mov dword [ebx + 0x2d0], 0xffffffff
mov dword [ebx + 0x2d4], 0xffffffff
mov byte [ebx + 0x2f9], 0
mov byte [ebx + 0x2fa], 0
mov byte [ebx + 0x2fb], 0
mov dword [ebx + 0x2fc], 0xfffff800
mov byte [ebx + 0x2e7], dl
movzx edx, word [ebx + 0x29e]
mov byte [ebx + 0x2f3], cl
movzx ecx, word [ebx + 0x2b2]
or byte [ebx + 0x2e8], 0x7f
and byte [ebx + 0x284], 0xc0
and dx, 0xf80f
or dx, 0x3f0
or cx, 0x1fe0
or word [ebx + 0x2e8], 0x780
or dword [ebx + 0x2ec], 0x1ff80
or word [ebx + 0x2f0], 0x1ff8
and byte [ebx + 0x2f7], 0x1f
and byte [ebx + 0x2f8], 0xe0
and dword [ebx + 0x2c4], 0xffc03fff
and word [ebx + 0x286], 0xfe3f
and word [ebx + 0x284], 0xc03f
and byte [ebx + 0x289], 0x80
or dword [ebx + 0x2a0], 0x7fff8000
mov byte [ebx + 0x2cc], al
movzx eax, byte [ebx + 0x28c]
mov word [ebx + 0x29e], dx
mov byte [ebx + 0x2f4], 0xff
mov dword [ebx + 0x280], 0
mov byte [ebx + 0x288], 0
and eax, 0xffffff80
mov dword [ebx + 0x290], 0xffffffff
mov dword [ebx + 0x294], 0xffffffff
mov word [ebx + 0x2b2], cx
movzx edx, byte [ebx + 0x29c]
or word [ebx + 0x298], 0xfff
or eax, 1
shr cx, 8
or eax, 0x18
or byte [ebx + 0x2a8], 0x7f
or ecx, 0xffffffe0
and edx, 0xfffffff8
or edx, 4
mov byte [ebx + 0x29c], dl
mov edx, dword [ebx + 0x2a4]
or word [ebx + 0x2a8], 0x780
or dword [ebx + 0x2ac], 0x1ff80
or word [ebx + 0x2b0], 0x1ff8
or edx, 0x7f8000
mov dword [ebx + 0x2a4], edx
shr edx, 0x18
or edx, 0xffffff80
mov byte [ebx + 0x2a7], dl
mov byte [ebx + 0x2b3], cl
and byte [ebx + 0x2b7], 0x1f
and byte [ebx + 0x2b8], 0xe0
and dword [ebx + 0x284], 0xffc03fff
and word [ebx + 0x306], 0xfe3f
and byte [ebx + 0x304], 0xc0
mov byte [ebx + 0x28c], al
mov byte [ebx + 0x2b9], 0
mov byte [ebx + 0x2ba], 0
mov byte [ebx + 0x2bb], 0
mov dword [ebx + 0x2bc], 0xfffff800
mov byte [ebx + 0x2b4], 0xff
mov dword [ebx + 0x300], 0
and word [ebx + 0x304], 0xc03f
movzx eax, word [ebx + 0x31e]
movzx edx, word [ebx + 0x332]
or byte [ebx + 0x328], 0x7f
and byte [ebx + 0x309], 0x80
and ax, 0xf80f
or ax, 0x3f0
or dx, 0x1fe0
mov word [ebx + 0x31e], ax
movzx eax, byte [ebx + 0x31c]
and byte [ebx + 0x30c], 0x80
or dword [ebx + 0x320], 0x7fff8000
or word [ebx + 0x318], 0xfff
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x31c], al
mov eax, dword [ebx + 0x324]
mov word [ebx + 0x332], dx
mov byte [ebx + 0x308], 0
mov dword [ebx + 0x310], 0xffffffff
or eax, 0x7f8000
mov dword [ebx + 0x324], eax
shr eax, 0x18
or eax, 0xffffff80
or word [ebx + 0x328], 0x780
shr dx, 8
or edx, 0xffffffe0
mov byte [ebx + 0x327], al
or dword [ebx + 0x32c], 0x1ff80
or word [ebx + 0x330], 0x1ff8
mov dword [ebx + 0x314], 0xffffffff
mov byte [ebx + 0x339], 0
mov byte [ebx + 0x33a], 0
mov byte [ebx + 0x33b], 0
mov dword [ebx + 0x33c], 0xfffff800
mov byte [ebx + 0x333], dl
movzx eax, word [ebx + 0x35e]
movzx edx, byte [ebx + 0x35c]
and byte [ebx + 0x344], 0xc0
and byte [ebx + 0x337], 0x1f
and ax, 0xf80f
or ax, 0x3f0
and edx, 0xfffffff8
mov word [ebx + 0x35e], ax
movzx eax, word [ebx + 0x372]
or edx, 4
and byte [ebx + 0x338], 0xe0
and dword [ebx + 0x304], 0xffc03fff
and word [ebx + 0x346], 0xfe3f
or ax, 0x1fe0
and word [ebx + 0x344], 0xc03f
and byte [ebx + 0x349], 0x80
and byte [ebx + 0x34c], 0x80
or dword [ebx + 0x360], 0x7fff8000
or word [ebx + 0x358], 0xfff
mov word [ebx + 0x372], ax
shr ax, 8
mov byte [ebx + 0x334], 0xff
or eax, 0xffffffe0
mov dword [ebx + 0x340], 0
mov byte [ebx + 0x348], 0
mov dword [ebx + 0x350], 0xffffffff
mov dword [ebx + 0x354], 0xffffffff
mov byte [ebx + 0x379], 0
mov byte [ebx + 0x37a], 0
mov byte [ebx + 0x37b], 0
mov dword [ebx + 0x37c], 0xfffff800
mov byte [ebx + 0x35c], dl
mov ecx, dword [ebx + 0x364]
or byte [ebx + 0x368], 0x7f
movzx edx, word [ebx + 0x368]
or dword [ebx + 0x36c], 0x1ff80
or ecx, 0x7f8000
mov dword [ebx + 0x364], ecx
shr ecx, 0x18
or ecx, 0xffffff80
or dx, 0x780
or word [ebx + 0x370], 0x1ff8
and byte [ebx + 0x377], 0x1f
and byte [ebx + 0x378], 0xe0
and dword [ebx + 0x344], 0xffc03fff
cmp dword [ebp + 0x20], 3
mov byte [ebx + 0x367], cl
mov word [ebx + 0x368], dx
mov byte [ebx + 0x373], al
mov byte [ebx + 0x374], 0xff
mov dword [ebx + 0x4e0], 0
mov dword [ebx + 0x4e4], 0
mov dword [ebx + 0x4e8], 0
mov dword [ebx + 0x4ec], 0
mov dword [ebx + 0x4f0], 0
mov dword [ebx + 0x4f4], 0
mov dword [ebx + 0x4f8], 0
mov dword [ebx + 0x4fc], 0
ja 0x54e7a2
and dx, 0xf87f
cmp dword [ebp + 0x20], 3
mov word [ebx + 0x368], dx
jne 0x54e7a2
and byte [ebx + 0x368], 0x80
and ecx, 0x7f
mov byte [ebx + 0x367], cl
mov edx, dword [edi]
test edx, edx
je 0x54e7af
mov eax, dword [edi + 8]
test eax, eax
jne 0x54e7c1
mov ecx, dword [ebp + 0x24]
mov dword [esp], str.ERROR:_HLSL_currently_only_supported_when_requesting_SPIR_V_for_Vulkan._n
call fcn.004d0840
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x2c