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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e343
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a78d0]
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 0x51a2b0
push 0x519990
push 2
push 0xc
lea eax, [esi + 0x19b4c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00575554
push 0x51a2b0
push 0x519990
push 2
push 0xc
lea eax, [esi + 0x19b64]
mov byte [ebp - 4], 0x11
push eax
call fcn.00575554
push 0x51a2b0
push 0x519990
push 2
push 0xc
lea eax, [esi + 0x19b7c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00575554
mov dword [esi + 0x19ba8], 0
mov dword [esi + 0x19ba0], 0
mov dword [esi + 0x19ba4], 0
push 0x51a2b0
push 0x519990
push 1
push 0xc
lea eax, [esi + 0x19bac]
mov byte [ebp - 4], 0x14
push eax
call fcn.00575554
lea ecx, [esi + 0x19bb8]
call fcn.005198d0
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.00573130
push 0xa
lea ecx, [esi + 0x19d48]
mov byte [ebp - 4], 0x17
call fcn.00573130
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 [0x591838]
mov word [eax - 0x80], cx
mov word [eax - 0x48], bx
mov ecx, dword [str.Test]
mov dword [eax - 0x46], ecx
mov cl, byte [0x591840]
mov byte [eax - 0x42], cl
mov dword [eax - 4], edi
jns 0x5196e0
mov ecx, esi
call fcn.0051ca00
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.005118a0
push 0x32
lea ecx, [esi + 0x3a30]
call fcn.005118a0
push 0xa
lea ecx, [esi + 0x19df8]
mov dword [esi + 0x3aa0], 0
mov byte [esi + 0x1ae10], 0
call fcn.005118a0
push 4
lea ecx, [esi + 0x19d08]
call fcn.005118a0
push 0x19
lea ecx, [esi + 0x19d68]
call fcn.005118a0
push 0x19
lea ecx, [esi + 0x19db0]
call fcn.005118a0
push 0xa
lea ecx, [esi + 0x19d8c]
mov dword [esi + 0x19d64], 0
call fcn.005118a0
push 0x96
lea ecx, [esi + 0x19dd4]
call fcn.005118a0
push 0x32
lea ecx, [esi + 0x19b04]
call fcn.005118a0
push 0x1e
lea ecx, [esi + 0x19b28]
call fcn.005118a0
push 0x190
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x519823
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 0x519825
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 0x51985e
push 0x63
push ebx
call fcn.0051a400
mov eax, dword [ebx]
add esp, 8
mov dword [edi + 8], eax
push 0x63
lea ecx, [esi + 0x28]
call fcn.005118a0
push 4
lea ecx, [esi + 0x3f58]
call fcn.005118a0
push 0x64
lea ecx, [esi + 0x4c]
mov dword [esi + 0x20], 0
call fcn.005118a0
push 0x64
lea ecx, [esi + 0x70]
call fcn.005118a0
push 0x80
lea ecx, [esi + 0x108]
call fcn.005118a0
push 0x64
lea ecx, [esi + 0xc0]
call fcn.005118a0
push 0x64
lea ecx, [esi + 0xe4]
call fcn.005118a0
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