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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7e29
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d5760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CGameResourceManager.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
lea eax, [esi + 0xbc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0xe0]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x104]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 0x13e], 0
mov dword [esi + 0x142], 0
mov dword [esi + 0x146], 0
mov dword [esi + 0x14a], 0
mov dword [esi + 0x14e], 0
mov dword [esi + 0x152], 0
mov dword [esi + 0x156], 0
mov dword [esi + 0x15a], 0
mov dword [esi + 0x15e], 0
mov dword [esi + 0x162], 0
mov dword [esi + 0x166], 0
mov dword [esi + 0x16a], 0
lea eax, [esi + 0x16e]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x47fe]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x4bd2]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x4c3c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x18c7e]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea eax, [esi + 0x18ca2]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
push 0x414da0
push 0x414520
push 2
push 0xc
lea eax, [esi + 0x18cc6]
mov byte [ebp - 4], 0x10
push eax
call fcn.005b7a10
push 0x414da0
push 0x414520
push 2
push 0xc
lea eax, [esi + 0x18cde]
mov byte [ebp - 4], 0x11
push eax
call fcn.005b7a10
push 0x414da0
push 0x414520
push 2
push 0xc
lea eax, [esi + 0x18cf6]
mov byte [ebp - 4], 0x12
push eax
call fcn.005b7a10
mov dword [esi + 0x18d22], 0
mov dword [esi + 0x18d1a], 0
mov dword [esi + 0x18d1e], 0
push 0x414da0
push 0x414520
push 1
push 0xc
lea eax, [esi + 0x18d26]
mov byte [ebp - 4], 0x14
push eax
call fcn.005b7a10
lea ecx, [esi + 0x18d32]
call fcn.004143e0
lea ebx, [esi + 0x18e5a]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
push 0xa
lea ecx, [esi + 0x18e7e]
mov byte [ebp - 4], 0x16
call fcn.005b2240
push 0xa
lea ecx, [esi + 0x18e9a]
mov byte [ebp - 4], 0x17
call fcn.005b2240
lea edi, [esi + 0x18eba]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add esi, 0x18ede
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.00417b00
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 0x64
mov dword [eax + 0x192], ecx
lea ecx, [eax + 0x4c3c]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
call fcn.004159f0
mov ecx, dword [ebp - 0x10]
push 0x32
lea ecx, [ecx + 0x47fe]
call fcn.004159f0
mov eax, dword [ebp - 0x10]
mov ecx, ebx
push 4
mov dword [eax + 0x486e], 0
call fcn.004159f0
push 0x19
mov ecx, edi
call fcn.004159f0
mov ebx, dword [ebp - 0x10]
mov ecx, esi
push 0xa
mov dword [ebx + 0x18eb6], 0
call fcn.004159f0
push 0x32
lea ecx, [ebx + 0x18c7e]
call fcn.004159f0
push 0x1e
lea ecx, [ebx + 0x18ca2]
call fcn.004159f0
push 0x190
call fcn.005b6294
mov esi, eax
add esp, 4
test esi, esi
je 0x414317
mov dword [esi], vtable.CMemoryPoolTempl_struct_LEV_PENALTY_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x414319
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [ebx + 0x20], esi
push str.LevPenalty
push eax
call fcn.005b7b40
lea edi, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [edi], 0
jne 0x414351
push 0x63
push edi
call fcn.00414f70
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
push 0x63
lea ecx, [ebx + 0x24]
call fcn.004159f0
push 4
lea ecx, [ebx + 0x4bd2]
call fcn.004159f0
push 0x64
lea ecx, [ebx + 0x48]
mov dword [ebx + 0x1c], 0
call fcn.004159f0
push 0x64
lea ecx, [ebx + 0x6c]
call fcn.004159f0
push 0x80
lea ecx, [ebx + 0x104]
call fcn.004159f0
push 0x64
lea ecx, [ebx + 0xbc]
call fcn.004159f0
push 0x64
lea ecx, [ebx + 0xe0]
call fcn.004159f0
push 0xc8
lea ecx, [ebx + 0x16e]
call fcn.004159f0
mov ecx, ebx
call fcn.0041bbc0
mov ecx, ebx
call fcn.00416350
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret