Function at 0x4134a0
Capabilities:
Get number of processors
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6b85
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ac30c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.CGameResourceManager.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x1de8], ebx
mov dword [esi + 0x1dec], ebx
mov dword [esi + 0x1df0], ebx
mov dword [esi + 0x1df4], ebx
mov dword [esi + 0x1df8], ebx
mov dword [esi + 0x1dfc], ebx
mov dword [esi + 0x201c], ebx
mov dword [esi + 0x2020], ebx
mov dword [esi + 0x2024], ebx
mov dword [esi + 0x2028], ebx
mov dword [esi + 0x202c], ebx
mov dword [esi + 0x2030], ebx
mov dword [esi + 0x2088], ebx
mov dword [esi + 0x208c], ebx
mov dword [esi + 0x2090], ebx
mov dword [esi + 0x2094], ebx
mov dword [esi + 0x2098], ebx
mov dword [esi + 0x209c], ebx
mov dword [esi + 0x14c88], ebx
mov dword [esi + 0x14c8c], ebx
mov dword [esi + 0x14c90], ebx
mov dword [esi + 0x14c94], ebx
mov dword [esi + 0x14c98], ebx
mov dword [esi + 0x14c9c], ebx
mov dword [esi + 0x14cac], ebx
mov dword [esi + 0x14cb0], ebx
mov dword [esi + 0x14cb4], ebx
mov dword [esi + 0x14cb8], ebx
mov dword [esi + 0x14cbc], ebx
mov dword [esi + 0x14cc0], ebx
mov dword [esi + 0x14cd0], ebx
mov dword [esi + 0x14cd4], ebx
mov dword [esi + 0x14cd8], ebx
mov dword [esi + 0x14cdc], ebx
mov dword [esi + 0x14ce0], ebx
mov dword [esi + 0x14ce4], ebx
push 0x40fd80
push 0x40f4f0
push 2
push 0xc
lea eax, [esi + 0x14cf4]
push eax
mov byte [ebp - 4], 0x11
call fcn.00599fe5
push 0x40fd80
push 0x40f4f0
push 2
push 0xc
lea ecx, [esi + 0x14d0c]
push ecx
mov byte [ebp - 4], 0x12
call fcn.00599fe5
push 0x40fd80
push 0x40f4f0
push 2
push 0xc
lea edx, [esi + 0x14d24]
push edx
mov byte [ebp - 4], 0x13
call fcn.00599fe5
mov dword [esi + 0x14d50], ebx
mov dword [esi + 0x14d48], ebx
mov dword [esi + 0x14d4c], ebx
push 0x40fd80
push 0x40f4f0
push 1
push 0xc
lea eax, [esi + 0x14d54]
push eax
mov byte [ebp - 4], 0x15
call fcn.00599fe5
lea ecx, [esi + 0x14d60]
call fcn.0040c610
mov dword [esi + 0x14eb0], ebx
mov dword [esi + 0x14eb4], ebx
mov dword [esi + 0x14eb8], ebx
mov dword [esi + 0x14ebc], ebx
mov dword [esi + 0x14ec0], ebx
mov dword [esi + 0x14ec4], ebx
push 0xa
lea ecx, [esi + 0x14ed4]
mov byte [ebp - 4], 0x17
call fcn.00593e50
push 0xa
lea ecx, [esi + 0x14ef0]
mov byte [ebp - 4], 0x18
call fcn.00593e50
mov dword [esi + 0x14f10], ebx
mov dword [esi + 0x14f14], ebx
mov dword [esi + 0x14f18], ebx
mov dword [esi + 0x14f1c], ebx
mov dword [esi + 0x14f20], ebx
mov dword [esi + 0x14f24], ebx
mov dword [esi + 0x14f34], ebx
mov dword [esi + 0x14f38], ebx
mov dword [esi + 0x14f3c], ebx
mov dword [esi + 0x14f40], ebx
mov dword [esi + 0x14f44], ebx
mov dword [esi + 0x14f48], ebx
mov dword [esi + 0x14f58], ebx
mov dword [esi + 0x14f5c], ebx
mov dword [esi + 0x14f60], ebx
mov dword [esi + 0x14f64], ebx
mov dword [esi + 0x14f68], ebx
mov dword [esi + 0x14f6c], ebx
mov byte [ebp - 4], 0x1c
lea eax, [esi + 0x14f7c]
lea ecx, [ebx + 0x1d]
lea ebx, [ebx]
mov edx, 1
mov word [eax + 0x52], dx
mov edx, dword [0x5cab38]
mov dword [eax], edx
mov edx, dword [0x5cab3c]
mov dword [eax + 4], edx
mov edx, dword [0x5cab40]
mov dword [eax + 8], edx
movzx edx, byte [0x5cab44]
mov byte [eax + 0xc], dl
mov edx, 0x190
mov word [eax + 0x10], dx
mov edx, dword [0x5cab4c]
mov dword [eax + 0x12], edx
movzx edx, byte [0x5cab50]
mov byte [eax + 0x16], dl
mov dword [eax + 0x54], 1
add eax, 0x58
dec ecx
jns 0x413840
xor eax, eax
push 0x3e8
lea ecx, [esi + 0x2088]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x1a8], eax
call fcn.004d6390
push 0x32
lea ecx, [esi + 0x1de8]
call fcn.004d6390
push 0x1e
lea ecx, [esi + 0x14cd0]
call fcn.004d6390
push 0xa
lea ecx, [esi + 0x14f58]
mov dword [esi + 0x1e58], ebx
mov dword [esi + 0x159d0], ebx
call fcn.004d6390
push 4
lea ecx, [esi + 0x14eb0]
call fcn.004d6390
push 0x19
lea ecx, [esi + 0x14f10]
call fcn.004d6390
push 0xa
lea ecx, [esi + 0x14f34]
mov dword [esi + 0x14f0c], ebx
call fcn.004d6390
push 0x32
lea ecx, [esi + 0x14c88]
call fcn.004d6390
push 0x1e
lea ecx, [esi + 0x14cac]
call fcn.004d6390
push 0x19c
call fcn.00599f65
add esp, 4
cmp eax, ebx
je 0x413965
mov dword [eax], vtable.CMemoryPoolTempl_struct_LEV_PENALTY_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 0x18], bl
mov dword [eax + 0x98], ebx
jmp 0x413967
xor eax, eax
push str.LevPenalty
push 0xa
push 0x63
mov ecx, eax
mov dword [esi + 0x24], eax
call fcn.004129e0
push 0x63
lea ecx, [esi + 0x28]
call fcn.004d6390
push 4
lea ecx, [esi + 0x201c]
call fcn.004d6390
push 0x64
lea ecx, [esi + 0x4c]
mov dword [esi + 0x20], ebx
call fcn.004d6390
push 0x64
lea ecx, [esi + 0x70]
call fcn.004d6390
push 0x80
lea ecx, [esi + 0x108]
call fcn.004d6390
push 0x64
lea ecx, [esi + 0xc0]
call fcn.004d6390
push 0x64
lea ecx, [esi + 0xe4]
call fcn.004d6390
push 0xc8
lea ecx, [esi + 0x184]
call fcn.004d6390
mov ecx, esi
call fcn.0040fe00
mov ecx, esi
call fcn.0040c730
mov ecx, esi
call fcn.0040c7f0
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