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

Disassembly:
sub esp, 0x1e4
mov eax, dword [0x40e328]
xor eax, esp
mov dword [esp + 0x1e0], eax
mov ecx, dword [esp + 0x1f0]
mov eax, dword [esp + 0x1f4]
push ebx
mov ebx, dword [esp + 0x1ec]
push esi
push edi
mov edi, dword [esp + 0x1f8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], str.MultisampleTexture
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], str.MultisampleRenderBuffer
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], str.DebugMarkers
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], str.Timestamps
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], str.Instancing
mov dword [esp + 0x48], 5
mov dword [esp + 0x4c], str.CustomInstanceStepRate
mov dword [esp + 0x50], 6
mov dword [esp + 0x54], str.PrimitiveRestart
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], str.NonDynamicUniformBuffers
mov dword [esp + 0x60], 8
mov dword [esp + 0x64], str.NonFourAlignedEffectiveIndexBufferOffset
mov dword [esp + 0x68], 9
mov dword [esp + 0x6c], str.NPOTTextureRepeat
mov dword [esp + 0x70], 0xa
mov dword [esp + 0x74], str.RedOrAlpha8IsRed
mov dword [esp + 0x78], 0xb
mov dword [esp + 0x7c], str.ElementIndexUint
mov dword [esp + 0x80], 0xc
mov dword [esp + 0x84], str.Compute
mov dword [esp + 0x88], 0xd
mov dword [esp + 0x8c], str.WideLines
mov dword [esp + 0x90], 0xe
mov dword [esp + 0x94], str.VertexShaderPointSize
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x9c], str.BaseVertex
mov dword [esp + 0xa0], 0x10
mov dword [esp + 0xa4], str.BaseInstance
mov dword [esp + 0xa8], 0x11
mov dword [esp + 0xac], str.TriangleFanTopology
mov dword [esp + 0xb0], 0x12
mov dword [esp + 0xb4], str.ReadBackNonUniformBuffer
mov dword [esp + 0xb8], 0x13
mov dword [esp + 0xbc], str.ReadBackNonBaseMipLevel
mov dword [esp + 0xc0], 0x14
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], str.RGBA8
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd4], str.BGRA8
mov dword [esp + 0xd8], 2
mov dword [esp + 0xdc], 0x4089c4
mov dword [esp + 0xe0], 3
mov dword [esp + 0xe4], 0x4089c8
mov dword [esp + 0xe8], 4
mov dword [esp + 0xec], str.RED_OR_ALPHA8
mov dword [esp + 0xf0], 5
mov dword [esp + 0xf4], str.RGBA16F
mov dword [esp + 0xf8], 6
mov dword [esp + 0xfc], str.RGBA32F
mov dword [esp + 0x100], 7
mov dword [esp + 0x104], str.R16F
mov dword [esp + 0x108], 8
mov dword [esp + 0x10c], str.R32F
mov dword [esp + 0x110], 9
mov dword [esp + 0x114], 0x4089fc
mov dword [esp + 0x118], 0xa
mov dword [esp + 0x11c], str.D32F
mov dword [esp + 0x120], 0xb
mov dword [esp + 0x124], 0x408a08
mov dword [esp + 0x128], 0xc
mov dword [esp + 0x12c], 0x408a0c
mov dword [esp + 0x130], 0xd
mov dword [esp + 0x134], 0x408a10
mov dword [esp + 0x138], 0xe
mov dword [esp + 0x13c], 0x408a14
mov dword [esp + 0x140], 0xf
mov dword [esp + 0x144], 0x408a18
push 0
push 0
push eax
push ecx
mov dword [esp + 0x158], 0x10
mov dword [esp + 0x15c], str.BC6H
mov dword [esp + 0x160], 0x11
mov dword [esp + 0x164], 0x408a24
mov dword [esp + 0x168], 0x12
mov dword [esp + 0x16c], str.ETC2_RGB8
mov dword [esp + 0x170], 0x13
mov dword [esp + 0x174], str.ETC2_RGB8A1
mov dword [esp + 0x178], 0x14
mov dword [esp + 0x17c], str.ETC2_RGBA8
mov dword [esp + 0x180], 0x15
mov dword [esp + 0x184], str.ASTC_4x4
mov dword [esp + 0x188], 0x16
mov dword [esp + 0x18c], str.ASTC_5x4
mov dword [esp + 0x190], 0x17
mov dword [esp + 0x194], str.ASTC_5x5
mov dword [esp + 0x198], 0x18
mov dword [esp + 0x19c], str.ASTC_6x5
mov dword [esp + 0x1a0], 0x19
mov dword [esp + 0x1a4], str.ASTC_6x6
mov dword [esp + 0x1a8], 0x1a
mov dword [esp + 0x1ac], str.ASTC_8x5
mov dword [esp + 0x1b0], 0x1b
mov dword [esp + 0x1b4], str.ASTC_8x6
mov dword [esp + 0x1b8], 0x1c
mov dword [esp + 0x1bc], str.ASTC_8x8
mov dword [esp + 0x1c0], 0x1d
mov dword [esp + 0x1c4], str.ASTC_10x5
mov dword [esp + 0x1c8], 0x1e
mov dword [esp + 0x1cc], str.ASTC_10x6
mov dword [esp + 0x1d0], 0x1f
mov dword [esp + 0x1d4], str.ASTC_10x8
mov dword [esp + 0x1d8], 0x20
mov dword [esp + 0x1dc], str.ASTC_10x10
mov dword [esp + 0x1e0], 0x21
mov dword [esp + 0x1e4], str.ASTC_12x10
mov dword [esp + 0x1e8], 0x22
mov dword [esp + 0x1ec], str.ASTC_12x12
mov dword [esp + 0x1f0], 0x23
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], 0
call dword [sym.imp.Qt5Gui.dll_public:_static_class_QRhi____cdecl_QRhi::create_enum_QRhi::Implementation__struct_QRhiInitParams___class_QFlags_enum_QRhi::Flag___struct_QRhiNativeHandles__]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x403536
push ebp
push edi
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_const__]
mov ecx, ebx
call edi
push 0x408af4
mov ecx, eax
call edi
push str.__Min_Texture_Size:
mov ecx, ebx
call edi
mov ebp, dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QRhi::resourceLimit_enum_QRhi::ResourceLimit_const]
mov ecx, esi
push 1
mov ebx, eax
call ebp
push eax
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___int_]
push 0x40875c
mov ecx, eax
call edi
mov ecx, dword [esp + 0x18]
push str.__Max_Texture_Size:
call edi
push 2
mov ecx, esi
mov ebx, eax
call ebp
push eax
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___int_]
push 0x40875c
mov ecx, eax
call edi
mov ecx, dword [esp + 0x18]
push str.__Max_Color_Attachments:
call edi
push 3
mov ecx, esi
mov ebx, eax
call ebp
push eax
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___int_]
push 0x40875c
mov ecx, eax
call edi
mov ecx, dword [esp + 0x18]
push str.__Frames_in_Flight:
call edi
push 4
mov ecx, esi
mov ebx, eax
call ebp
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___int_]
mov ecx, ebx
push eax
call ebp
push 0x40875c
mov ecx, eax
call edi
mov ecx, dword [esp + 0x18]
push str.__Uniform_Buffer_Alignment:
call edi
mov ecx, esi
mov ebx, eax
call dword [sym.imp.Qt5Gui.dll_public:_int___thiscall_QRhi::ubufAlignment_void_const]
push eax
mov ecx, ebx
call ebp
push 0x40875c
mov ecx, eax
call edi
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov ecx, esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.Qt5Gui.dll_public:_class_QVector_int____thiscall_QRhi::supportedSampleCounts_void_]
lea ecx, [esp + 0x10]
call fcn.004024a0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00403cc0
cmp ebx, eax
je 0x4033af
mov ebp, dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QByteArray::number_int__int_]
mov edi, eax
nop dword [eax]
push 0xa
push dword [ebx]
lea eax, [esp + 0x24]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x24]
push eax
call fcn.00402340
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
add ebx, 4
cmp ebx, edi
jne 0x403380
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_const__]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4033d0
cmp eax, 0xffffffff
je 0x4033e1
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x4033e1
push 4
push 4
push dword [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData___unsigned_int__unsigned_int_]
add esp, 0xc
mov ebp, dword [esp + 0x18]
mov ecx, ebp
push str.__Supported_MSAA_sample_counts:
call edi
mov ebx, eax
mov byte [esp + 0x14], 0x2c
push 1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.Qt5Core.dll_class_QByteArray___cdecl_QtPrivate::QByteArrayList_join_class_QList_class_QByteArray__const___char_const___int_]
add esp, 0x10
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___class_QByteArray_const__]
push 0x40875c
mov ecx, eax
call edi
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push str.__Features:_n
mov ecx, ebp
call edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], str.MultisampleTexture
push str.
mov ecx, ebp
call edi
mov ebx, eax
mov ecx, esi
mov eax, dword [esp + 0x10]
push dword [esp + eax + 0x2c]
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QRhi::isFeatureSupported_enum_QRhi::Feature_const]
test al, al
mov ecx, 0x408bb8
mov eax, 0x408bbc
cmove ecx, eax
push ecx
mov ecx, ebx
call edi
push 0x408bc0
mov ecx, eax
call edi
push dword [esp + 0x1c]
mov ecx, eax
call edi
push 0x40875c
mov ecx, eax
call edi
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
shl eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [esp + eax + 0x28]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x403450
push 0x408bc4
mov ecx, ebp
call edi
xor ebx, ebx
lea ebp, [esp + 0xd0]
xor eax, eax
nop dword [eax]
push 0
push dword [esp + eax + 0xd8]
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_bool___thiscall_QRhi::isTextureFormatSupported_enum_QRhiTexture::Format__class_QFlags_enum_QRhiTexture::Flag__const]
test al, al
je 0x4034f7
mov ecx, dword [esp + 0x18]
push 0x408bc0
call edi
push dword [ebp]
mov ecx, eax
call edi
inc ebx
lea ebp, [esp + 0xd0]
lea eax, [ebx*8]
add ebp, eax
cmp dword [ebp], 0
jne 0x4034d0
mov ecx, dword [esp + 0x18]
push 0x40875c
call edi
lea ecx, [esp + 0x24]
call fcn.00401f00
mov ecx, esi
call dword [sym.imp.Qt5Gui.dll_public:_void___thiscall_QRhi::destructor_void_]
push 4
push esi
call fcn.0040706c
add esp, 8
pop ebp
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040707a
add esp, 0x1e4
ret