Function at 0x5a2b90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b498c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x7a1070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 0x12c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::CommandBuffer__.0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::CommandBuffer__.0
mov ecx, dword [ebp - 0x14]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x120
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Fbo__.0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::Fbo__.0
mov ecx, dword [ebp - 0x18]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x114
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Fbo__.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::Fbo__.0
mov ecx, dword [ebp - 0x1c]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0x108
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Sampler__.0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x20]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::Sampler__.0
mov ecx, dword [ebp - 0x20]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Sampler__.0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x24]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::Sampler__.0
mov ecx, dword [ebp - 0x24]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xf0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x28]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov ecx, dword [ebp - 0x28]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xd8
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x2c]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov ecx, dword [ebp - 0x2c]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x30]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov ecx, dword [ebp - 0x30]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
push fcn.005a08e0
push 2
push 0xc
mov eax, dword [ebp - 0x10]
add eax, 0xa8
push eax
call fcn.0065c1a4
push fcn.005a08e0
push 2
push 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
push ecx
call fcn.0065c1a4
mov edx, dword [ebp - 0x10]
add edx, 0x84
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::TextureView__.0
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x34]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::TextureView__.0
mov ecx, dword [ebp - 0x34]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0x6c
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov ecx, dword [ebp - 0x38]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0x54
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov ecx, dword [ebp - 0x3c]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0x48
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::PipelineLayout__.0
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x40]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::PipelineLayout__.0
mov ecx, dword [ebp - 0x40]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0x3c
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::DescriptorSetLayout__.0
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x44]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::DescriptorSetLayout__.0
mov ecx, dword [ebp - 0x44]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0x30
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::Sampler__.0
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x48]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::Sampler__.0
mov ecx, dword [ebp - 0x48]
call fcn.0056e650
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.005a2f20
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.005a3670
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.005a3670
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::EffectApi__.0
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::EffectApi__.0
mov ecx, dword [ebp - 0x4c]
call fcn.0056e650
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret