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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1483
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d28d0]
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 + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 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 + 0x60], 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 + 0x84], 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
mov dword [esi + 0xb0], 0
lea eax, [esi + 0xc0]
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 + 0xe4]
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 + 0x108]
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 + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], 0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
lea edi, [esi + 0x3a30]
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
lea eax, [esi + 0x3f58]
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 ebx, [esi + 0x3fc4]
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 eax, [esi + 0x19b04]
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 + 0x19b28]
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 0x53d170
push 0x53c840
push 2
push 0xc
lea eax, [esi + 0x19b4c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00597e04
push 0x53d170
push 0x53c840
push 2
push 0xc
lea eax, [esi + 0x19b64]
mov byte [ebp - 4], 0x11
push eax
call fcn.00597e04
push 0x53d170
push 0x53c840
push 2
push 0xc
lea eax, [esi + 0x19b7c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00597e04
mov dword [esi + 0x19ba8], 0
mov dword [esi + 0x19ba0], 0
mov dword [esi + 0x19ba4], 0
push 0x53d170
push 0x53c840
push 1
push 0xc
lea eax, [esi + 0x19bac]
mov byte [ebp - 4], 0x14
push eax
call fcn.00597e04
lea ecx, [esi + 0x19bb8]
call fcn.0053c780
lea eax, [esi + 0x19d08]
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 + 0x19d2c]
mov byte [ebp - 4], 0x16
call fcn.005959d0
push 0xa
lea ecx, [esi + 0x19d48]
mov byte [ebp - 4], 0x17
call fcn.005959d0
lea eax, [esi + 0x19d68]
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 + 0x19d8c]
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 + 0x19db0]
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 + 0x19dd4]
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 + 0x19df8]
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 byte [ebp - 4], 0x1d
lea eax, [esi + 0x19e1c]
mov edx, 0x1d
mov edi, 1
mov ebx, 0x190
lea ebx, [ebx]
dec edx
mov word [eax + 0x82], di
movq xmm0, qword [str.127.0.0.1]
lea eax, [eax + 0x88]
movq qword [eax - 0x88], xmm0
mov cx, word [0x5bbb28]
mov word [eax - 0x80], cx
mov word [eax - 0x48], bx
mov ecx, dword [str.Test]
mov dword [eax - 0x46], ecx
mov cl, byte [0x5bbb30]
mov byte [eax - 0x42], cl
mov dword [eax - 4], edi
jns 0x53c590
mov ecx, esi
call fcn.0053f910
xor eax, eax
mov dword [esi + 0xc], 0
push 0x64
lea ecx, [esi + 0x3fc4]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x1d4], eax
call fcn.0053daf0
push 0x32
lea ecx, [esi + 0x3a30]
call fcn.0053daf0
push 0xa
lea ecx, [esi + 0x19df8]
mov dword [esi + 0x3aa0], 0
mov byte [esi + 0x1ae10], 0
call fcn.0053daf0
push 4
lea ecx, [esi + 0x19d08]
call fcn.0053daf0
push 0x19
lea ecx, [esi + 0x19d68]
call fcn.0053daf0
push 0x19
lea ecx, [esi + 0x19db0]
call fcn.0053daf0
push 0xa
lea ecx, [esi + 0x19d8c]
mov dword [esi + 0x19d64], 0
call fcn.0053daf0
push 0x96
lea ecx, [esi + 0x19dd4]
call fcn.0053daf0
push 0x32
lea ecx, [esi + 0x19b04]
call fcn.0053daf0
push 0x1e
lea ecx, [esi + 0x19b28]
call fcn.0053daf0
push 0x190
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x53c6d3
mov dword [edi], vtable.CMemoryPoolTempl_struct_LEV_PENALTY_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0x10], 0
jmp 0x53c6d5
xor edi, edi
push 0x80
lea eax, [edi + 0x10]
mov dword [esi + 0x24], edi
push str.LevPenalty
push eax
call dword [sym.imp.MSVCR120.dll_strncpy]
lea ebx, [edi + 4]
mov dword [edi + 0xc], 0xa
add esp, 0xc
cmp dword [ebx], 0
jne 0x53c70e
push 0x63
push ebx
call fcn.0053d2c0
mov eax, dword [ebx]
add esp, 8
mov dword [edi + 8], eax
push 0x63
lea ecx, [esi + 0x28]
call fcn.0053daf0
push 4
lea ecx, [esi + 0x3f58]
call fcn.0053daf0
push 0x64
lea ecx, [esi + 0x4c]
mov dword [esi + 0x20], 0
call fcn.0053daf0
push 0x64
lea ecx, [esi + 0x70]
call fcn.0053daf0
push 0x80
lea ecx, [esi + 0x108]
call fcn.0053daf0
push 0x64
lea ecx, [esi + 0xc0]
call fcn.0053daf0
push 0x64
lea ecx, [esi + 0xe4]
call fcn.0053daf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret