Function at 0x401f20
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40afc1
push eax
mov eax, 0x10c1c
mov dword fs:[0], esp
call fcn.0040ade0
push ebp
push esi
lea eax, [esp + 0x10]
push edi
mov ebp, ecx
push eax
call fcn.00401360
add esp, 4
push str.CoeFile.cfg
lea ecx, [esp + 0x14]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x10c3c], esi
call sub.MFC42u.DLL_operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c30], 2
call fcn.0040a91a
mov eax, 0x1388
mov edx, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], edx
mov eax, 0xc8
mov ecx, 0x64
mov edx, 0xffffffb0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], 0x10c00
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 0x40240000
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0x40240000
mov dword [esp + 0x68], 0x3e8
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0xa
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0x3ff00000
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 0x3ff00000
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], 0x3ff00000
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], 0x3ff00000
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], 0x3ff00000
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], 0x3ff00000
mov dword [esp + 0xc], edx
lea eax, [esp + 0xb0]
fild dword [esp + 0xc]
add edx, 0xa
add eax, 0x10
cmp edx, 0x5a
mov dword [esp + 0xc], edx
fst qword [eax - 0x18]
fstp qword [eax - 0x10]
jl 0x40207a
mov dword [esp + 0x1b8], 0x7530
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0xc0490000
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0x40490000
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 0xc0490000
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0
mov dword [esp + 0x220], 0
mov dword [esp + 0x224], 0x40490000
mov dword [esp + 0x230], 0
mov dword [esp + 0x234], 0xc0490000
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 0
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0x40490000
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0x40490000
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 0x40490000
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 0x40490000
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], 0
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 0
mov dword [esp + 0x228], 0
mov dword [esp + 0x22c], 0
mov dword [esp + 0x238], 0
mov dword [esp + 0x23c], 0xc0490000
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 0xc0490000
mov dword [esp + 0x258], 0
mov dword [esp + 0x25c], 0xc0490000
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0x40d99980
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x10a78], esi
mov dword [esp + 0x10a80], 0
mov dword [esp + 0x10a84], 0x40590000
mov dword [esp + 0x10a88], 0
mov dword [esp + 0x10a8c], 0x40100000
mov dword [esp + 0x10a94], 0xfe4
lea eax, [esp + 0x268]
mov edi, 0x41
mov edx, 0x41
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
add eax, 0x10
dec edx
jne 0x402296
dec edi
jne 0x402291
xor eax, eax
lea edi, [esp + 0x10a98]
mov dword [esp + 0x10a90], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CFile::CFile
mov edx, dword [esp + 0x10]
push esi
push esi
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x10c3c], 3
call sub.MFC42u.DLL_CFile::Open
test eax, eax
je 0x40231c
lea eax, [esp + 0x28]
push 0x10c00
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CFile::Read
cmp eax, 0x10c00
jne 0x402313
cmp dword [esp + 0x28], 0x10c00
jne 0x402313
mov ecx, 0x4300
lea esi, [esp + 0x28]
lea edi, [ebp + 0x68]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CFile::Close
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c30], 2
call fcn.0040aaa6
lea ecx, [esp + 0x10]
mov dword [esp + 0x10c30], 0xffffffff
call fcn.0040a91a
mov ecx, dword [esp + 0x10c28]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret