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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a66a7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x695e80]
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 + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 0
lea eax, [esi + 0x168]
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 + 0x1dc0]
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 + 0x1ff4]
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 + 0x205e]
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 + 0x146a0]
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 + 0x146c4]
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 0x411630
push 0x410d80
push 2
push 0xc
lea eax, [esi + 0x146e8]
mov byte [ebp - 4], 0x10
push eax
call fcn.00586cd0
push 0x411630
push 0x410d80
push 2
push 0xc
lea eax, [esi + 0x14700]
mov byte [ebp - 4], 0x11
push eax
call fcn.00586cd0
push 0x411630
push 0x410d80
push 2
push 0xc
lea eax, [esi + 0x14718]
mov byte [ebp - 4], 0x12
push eax
call fcn.00586cd0
mov dword [esi + 0x14744], 0
mov dword [esi + 0x1473c], 0
mov dword [esi + 0x14740], 0
push 0x411630
push 0x410d80
push 1
push 0xc
lea eax, [esi + 0x14748]
mov byte [ebp - 4], 0x14
push eax
call fcn.00586cd0
lea ecx, [esi + 0x14754]
call fcn.00410c40
lea eax, [esi + 0x1487c]
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 0xa
lea ecx, [esi + 0x148a0]
mov byte [ebp - 4], 0x16
call fcn.005815c0
push 0xa
lea ecx, [esi + 0x148bc]
mov byte [ebp - 4], 0x17
call fcn.005815c0
lea ebx, [esi + 0x148dc]
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
lea edi, [esi + 0x14900]
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, 0x14924
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 eax, dword [ebp - 0x10]
xor ecx, ecx
push 0x64
mov byte [ebp - 4], 0x1b
mov dword [eax + 0x18c], ecx
lea ecx, [eax + 0x205e]
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.004f06a0
mov ecx, dword [ebp - 0x10]
push 0x32
lea ecx, [ecx + 0x1dc0]
call fcn.004f06a0
mov eax, dword [ebp - 0x10]
mov ecx, esi
push 0xa
mov dword [eax + 0x1e30], 0
mov dword [eax + 0x18068], 0
call fcn.004f06a0
mov ecx, dword [ebp - 0x10]
push 4
lea ecx, [ecx + 0x1487c]
call fcn.004f06a0
push 0x19
mov ecx, ebx
call fcn.004f06a0
mov ebx, dword [ebp - 0x10]
mov ecx, edi
push 0xa
mov dword [ebx + 0x148d8], 0
call fcn.004f06a0
push 0x32
lea ecx, [ebx + 0x146a0]
call fcn.004f06a0
push 0x1e
lea ecx, [ebx + 0x146c4]
call fcn.004f06a0
push 0x190
call fcn.0058554c
mov esi, eax
add esp, 4
test esi, esi
je 0x410b78
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 0x410b7a
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [ebx + 0x20], esi
push str.LevPenalty
push eax
call fcn.00586e00
lea edi, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [edi], 0
jne 0x410bb2
push 0x63
push edi
call fcn.004118b0
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
push 0x63
lea ecx, [ebx + 0x24]
call fcn.004f06a0
push 4
lea ecx, [ebx + 0x1ff4]
call fcn.004f06a0
push 0x64
lea ecx, [ebx + 0x48]
mov dword [ebx + 0x1c], 0
call fcn.004f06a0
push 0x64
lea ecx, [ebx + 0x6c]
call fcn.004f06a0
push 0x80
lea ecx, [ebx + 0x104]
call fcn.004f06a0
push 0x64
lea ecx, [ebx + 0xbc]
call fcn.004f06a0
push 0x64
lea ecx, [ebx + 0xe0]
call fcn.004f06a0
push 0xc8
lea ecx, [ebx + 0x168]
call fcn.004f06a0
mov ecx, ebx
call fcn.004182a0
mov ecx, ebx
call fcn.00412bf0
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