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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3f50
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [edx], 0
mov eax, dword [ebp - 0x14]
add eax, 8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], 0
mov edx, dword [ebp - 0x14]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::EffectApi__.0
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::EffectApi__.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], 0
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
add ecx, 8
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov dword [edx], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::Sampler__.0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Sampler__.0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
add edx, 0x3c
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], 0
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::DescriptorSetLayout__.0
mov edx, dword [ebp - 0x1c]
mov dword [edx], vtable.pvr::RefCountedResource_class_pvr::api::impl::DescriptorSetLayout__.0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [edx], 0
mov eax, dword [ebp - 0x20]
add eax, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ecx], 0
mov edx, dword [ebp - 0x20]
mov dword [edx], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::PipelineLayout__.0
mov eax, dword [ebp - 0x20]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::PipelineLayout__.0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
call fcn.005a34f0
mov eax, dword [ebp - 0x34]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x38]
call fcn.005a34f0
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 4
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x24]
add ecx, 8
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov dword [edx], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.pvr::EmbeddedRefCountedResource_class_pvr::api::impl::TextureView__.0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::TextureView__.0
mov byte [ebp - 4], 9
push fcn.005a08e0
push fcn.005a0a70
push 2
push 0xc
mov edx, dword [ebp - 0x10]
add edx, 0x90
push edx
call fcn.0065c75e
mov byte [ebp - 4], 0xa
push fcn.005a08e0
push fcn.005a0a70
push 2
push 0xc
mov eax, dword [ebp - 0x10]
add eax, 0xa8
push eax
call fcn.0065c75e
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
call fcn.005a34f0
mov eax, dword [ebp - 0x3c]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0xd8
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
call fcn.005a34f0
mov eax, dword [ebp - 0x40]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0xf0
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.005a34f0
mov edx, dword [ebp - 0x44]
mov dword [edx], vtable.pvr::RefCountedResource_class_pvr::api::impl::GraphicsPipeline__.0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
add eax, 0xfc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.005a6430
mov ecx, dword [ebp - 0x48]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Sampler__.0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x10]
add edx, 0x108
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
call fcn.005a6430
mov eax, dword [ebp - 0x4c]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::Sampler__.0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x114
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
call fcn.005a3530
mov edx, dword [ebp - 0x50]
mov dword [edx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Fbo__.0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x10]
add eax, 0x120
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.005a3530
mov ecx, dword [ebp - 0x54]
mov dword [ecx], vtable.pvr::RefCountedResource_class_pvr::api::impl::Fbo__.0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x10]
add edx, 0x12c
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x58]
call fcn.005a3180
mov eax, dword [ebp - 0x58]
mov dword [eax], vtable.pvr::RefCountedResource_class_pvr::api::impl::CommandBuffer__.0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret