Function at 0x100234a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004723a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], vtable.P_MaterialDefinitions.0
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
lea ebx, [esi + 0x34]
mov ecx, ebx
mov byte [esp + 0x24], 1
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
call fcn.10005040
mov ecx, ebx
call fcn.10005040
lea edi, [esi + 0x44]
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], 0x437f0000
mov ecx, edi
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
call fcn.10005040
mov ecx, edi
call fcn.10005040
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], 0x437f0000
lea edi, [esi + 0x54]
mov ecx, edi
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
call fcn.10005040
mov ecx, edi
call fcn.10005040
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], 0x437f0000
lea edi, [esi + 0x64]
mov ecx, edi
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
call fcn.10005040
mov ecx, edi
call fcn.10005040
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], 0x437f0000
lea edi, [esi + 0x74]
mov ecx, edi
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
call fcn.10005040
mov ecx, edi
call fcn.10005040
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], 0x437f0000
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], ebp
lea eax, [esi + 0xb4]
mov dword [esp + 0x18], eax
push ebp
mov ecx, eax
mov byte [esp + 0x28], 3
call dword [sym.imp.rlmfc.dll_private:_void___thiscall_std::rs::_Tidy_bool_]
lea eax, [esi + 0xc4]
mov dword [esp + 0x18], eax
push ebp
mov ecx, eax
mov byte [esp + 0x28], 7
call dword [sym.imp.rlmfc.dll_private:_void___thiscall_std::rs::_Tidy_bool_]
push str.E2_Library
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 9
mov dword [esi], vtable.P_Material.0
call dword [sym.imp.rlmfc.dll_public:_void___thiscall_R_MemoryScope::constructor_char_const__]
mov ecx, esi
mov byte [esp + 0x24], 0xa
call fcn.10023b40
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
inc dword [eax + 0x3c]
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov cl, byte [edi + 0x31]
mov byte [esi + 0x31], cl
mov edx, ebx
lea eax, [edi + 0x34]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov ecx, dword [edi + 0x40]
mov dword [ebx + 0xc], ecx
lea eax, [edi + 0x44]
mov edx, eax
mov ebx, dword [edx]
lea eax, [esi + 0x44]
mov ecx, eax
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0x50]
mov dword [eax + 0xc], ecx
lea eax, [edi + 0x54]
mov edx, eax
mov ebx, dword [edx]
lea eax, [esi + 0x54]
mov ecx, eax
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0x60]
mov dword [eax + 0xc], ecx
lea eax, [edi + 0x64]
mov edx, eax
mov ebx, dword [edx]
lea eax, [esi + 0x64]
mov ecx, eax
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0x70]
mov dword [eax + 0xc], ecx
lea eax, [edi + 0x74]
mov edx, eax
mov ebx, dword [edx]
lea eax, [esi + 0x74]
mov ecx, eax
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0x80]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x84]
mov dword [esi + 0x84], edx
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
mov cl, byte [edi + 0x8c]
mov byte [esi + 0x8c], cl
mov edx, dword [edi + 0x98]
mov dword [esi + 0x98], edx
mov eax, dword [edi + 0x9c]
mov dword [esi + 0x9c], eax
mov ecx, dword [edi + 0xa0]
mov dword [esi + 0xa0], ecx
lea ecx, [edi + 8]
lea ebx, [esi + 8]
cmp ebx, ecx
je 0x1002383a
call fcn.10030370
mov edx, eax
mov ecx, ebx
mov dword [esp + 0x2c], edx
call fcn.10030370
mov edx, dword [esp + 0x2c]
cmp edx, eax
ja 0x10023785
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
lea ebx, [esi + 8]
push eax
call fcn.100310d0
mov ecx, dword [ebx + 8]
push ecx
push eax
mov ecx, ebx
call sym.e2mfc.dll_public_virtual:_void___thiscall_P_CPUDriver::prepareSceneDirectionalLight_class_P_DirectionalLight___int_
lea ecx, [edi + 8]
call fcn.10030370
mov edx, dword [ebx + 4]
lea eax, [edx + eax*4]
mov dword [ebx + 8], eax
jmp 0x1002383a
lea ecx, [edi + 8]
call fcn.10030370
lea ecx, [esi + 8]
mov ebx, eax
call fcn.10025f80
cmp ebx, eax
ja 0x100237ea
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.10030370
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
lea edx, [edx + eax*4]
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x30], edx
call fcn.100310d0
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push eax
push edx
mov ecx, ebx
call fcn.100261d0
lea ecx, [edi + 8]
call fcn.10030370
mov ecx, dword [ebx + 4]
lea edx, [ecx + eax*4]
mov dword [ebx + 8], edx
jmp 0x1002383a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 8]
push eax
push ecx
mov ecx, ebx
call sym.e2mfc.dll_public_virtual:_void___thiscall_P_CPUDriver::prepareSceneDirectionalLight_class_P_DirectionalLight___int_
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
sub edx, eax
sar edx, 2
push edx
push eax
mov ecx, ebx
call fcn.10030b80
push ebp
lea ecx, [edi + 8]
call fcn.10030370
push eax
mov ecx, ebx
call fcn.10025e70
mov dword [ebx + 4], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.100261d0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [sym.imp.rlmfc.dll_unsigned_int_const_std::rs::npos]
mov ecx, dword [eax]
push ecx
push ebp
lea edx, [edi + 0xb4]
lea ebx, [esi + 0xb4]
push edx
mov ecx, ebx
call dword [sym.imp.rlmfc.dll_public:_class_std::rs____thiscall_std::rs::assign_class_std::rs_const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.rlmfc.dll_unsigned_int_const_std::rs::npos]
mov ecx, dword [eax]
push ecx
push ebp
lea edx, [edi + 0xc4]
push edx
lea ecx, [esi + 0xc4]
call dword [sym.imp.rlmfc.dll_public:_class_std::rs____thiscall_std::rs::assign_class_std::rs_const___unsigned_int__unsigned_int_]
mov eax, dword [edi + 0xa4]
mov dword [esi + 0xa4], eax
mov ecx, dword [edi + 0xa8]
mov dword [esi + 0xa8], ecx
cmp dword [esi + 0xbc], ebp
je 0x100238ac
push ebx
lea edx, [esp + 0x30]
push edx
mov ecx, sym.e2mfc.dll_class_std::rm_class_std::rs__class_P_VertexShader___P_Material::m_vertexShaders
call fcn.10026880
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
inc dword [eax + 0x1c]
cmp dword [esi + 0xcc], ebp
je 0x100238d2
lea eax, [esi + 0xc4]
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, sym.e2mfc.dll_class_std::rm_class_std::rs__class_P_PixelShader___P_Material::m_pixelShaders
call fcn.10026f90
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
inc dword [eax + 0x14]
mov ecx, esi
mov byte [esi + 0xb0], 1
call sym.e2mfc.dll_private:_void___thiscall_P_Material::setPipelineVertexFormat_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 9
call dword [sym.imp.rlmfc.dll_public:_void___thiscall_R_MemoryScope::destructor_void_]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4