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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047309
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push str.E2_Library
lea ecx, [ebp - 0x10]
call dword [sym.imp.rlmfc.dll_public:_void___thiscall_R_MemoryScope::constructor_char_const__]
mov eax, dword [sym.e2mfc.dll_enum_P_MaterialDefinitions::FogSource_P_Material::m_defaultFogSource]
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0x437f0000
mov dword [ebp - 0x18], 0x437f0000
mov dword [ebp - 0x1c], 0x437f0000
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
lea edx, [esi + 0x44]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], 0x437f0000
mov dword [ebp - 0x1c], 0x437f0000
mov dword [ebp - 0x18], 0x437f0000
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
lea eax, [esi + 0x54]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x437f0000
mov dword [ebp - 0x1c], 0x437f0000
mov dword [ebp - 0x18], 0x437f0000
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
lea ecx, [esi + 0x64]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov ecx, dword [sym.e2mfc.dll_class_G_FColor_P_Material::m_defaultFogColor]
lea eax, [esi + 0x74]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [0x10065c44]
mov dword [edx + 4], ecx
mov ecx, dword [0x10065c48]
mov dword [edx + 8], ecx
mov edx, dword [0x10065c4c]
mov dword [eax + 0xc], edx
mov eax, 1
lea ecx, [esi + 8]
mov dword [esi + 0x88], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0x84], 0x41000000
mov dword [esi + 0x98], 0x3f800000
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], 3
mov byte [esi + 0xb0], al
mov edx, dword [ecx + 4]
cmp edx, ebx
mov dword [ebp - 0x20], ebx
jne 0x10023f90
xor eax, eax
jmp 0x10023f98
mov eax, dword [ecx + 8]
sub eax, edx
sar eax, 2
mov edi, dword [ebp + 8]
cmp eax, edi
jae 0x10023fc3
cmp edx, ebx
jne 0x10023fa7
xor eax, eax
jmp 0x10023faf
mov eax, dword [ecx + 8]
sub eax, edx
sar eax, 2
lea edx, [ebp - 0x20]
push edx
mov edx, edi
sub edx, eax
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.10025fa0
jmp 0x10023ffa
cmp edx, ebx
je 0x10023ffa
mov eax, dword [ecx + 8]
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp edi, ecx
jae 0x10023ffa
cmp eax, eax
lea edx, [edx + edi*4]
mov edi, edx
mov edx, eax
je 0x10023fee
mov ecx, dword [edx]
mov dword [edi], ecx
add edx, 4
add edi, 4
cmp edx, eax
jne 0x10023fe0
mov edx, dword [esi + 0x10]
mov dword [esi + 0x10], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
xor eax, eax
cmp edi, ebx
jbe 0x1002400b
mov ecx, dword [esi + 0xc]
mov dword [ecx + eax*4], ebx
inc eax
cmp eax, edi
jb 0x10024000
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
push eax
call fcn.10028e70
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.rlmfc.dll_public:_void___thiscall_R_MemoryScope::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8