Function at 0x1016a7a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101f1bf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
mov ebp, ecx
lea eax, [esp + 0xa0]
push edi
push eax
mov ecx, esi
call fcn.10161ce0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov dword [ebp + 0x370], ecx
mov ecx, dword [esp + 0xb0]
mov dword [ebp + 0x374], edx
mov edx, dword [esp + 0xb8]
mov dword [ebp + 0x378], eax
mov eax, dword [esp + 0xb4]
xor ebx, ebx
mov dword [ebp + 0x37c], ecx
mov dword [ebp + 0x384], edx
mov dword [ebp + 0x380], eax
mov dword [esp + 0x90], 0x10206fc8
mov dword [esp + 0x94], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
lea ecx, [esp + 0x90]
lea edx, [esp + 0xc0]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x108], ebx
call fcn.101621b0
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xd0]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xdc]
sub esp, 0x1c
mov ecx, 7
lea esi, [esp + 0x3c]
mov edi, esp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.10168760
push ebx
mov ecx, ebp
call fcn.10167fc0
mov esi, dword [esp + 0x108]
mov ecx, esi
call fcn.101616a0
push eax
mov ecx, ebp
call fcn.10167fe0
lea edx, [esp + 0x40]
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.101616c0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.10168020
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.10161720
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x104], 1
call fcn.10168080
mov dword [esp + 0x70], 0x10206fc8
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 2
push ecx
mov ecx, esi
call fcn.101617a0
lea edx, [esp + 0x70]
mov ecx, ebp
push edx
call fcn.10168120
lea ecx, [esp + 0xe4]
call fcn.10070f36
lea eax, [esp + 0xe4]
mov ecx, esi
push eax
mov byte [esp + 0x104], 3
call fcn.101619c0
lea ecx, [esp + 0xe4]
push ecx
mov ecx, ebp
call fcn.10168300
mov ecx, esi
call fcn.10167610
push eax
mov ecx, ebp
call fcn.10169ae0
mov ecx, esi
call fcn.10167630
push eax
mov ecx, ebp
call fcn.10169b00
mov dword [esp + 0x48], 0x102078b0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea edx, [esp + 0x48]
push ebx
push edx
mov ecx, esi
mov byte [esp + 0x108], 4
call fcn.10161aa0
push 0xffffffffffffffff
lea ecx, [ebp + 0x35c]
push ebx
call fcn.10196750
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x1016aaca
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x1016aa34
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 0x364]
lea edi, [ebp + 0x35c]
push 0xffffffffffffffff
mov edx, dword [eax + ecx + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + ecx + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + ecx + 0x18]
mov dword [esp + 0x34], edx
mov edx, dword [eax + ecx + 0xc]
mov dword [esp + 0x28], edx
mov edx, dword [eax + ecx + 0x14]
mov dword [esp + 0x30], edx
mov edx, dword [eax + ecx + 0x10]
mov eax, dword [eax + ecx + 0x1c]
lea ecx, [esi + 1]
push ecx
mov ecx, edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], eax
call fcn.10196750
mov eax, dword [edi + 4]
lea edx, [esi*8]
sub edx, esi
mov ecx, 7
lea esi, [esp + 0x1c]
lea edi, [eax + edx*4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x50]
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x1016aa30
mov esi, dword [esp + 0x108]
mov ecx, esi
call fcn.10167650
mov ecx, esi
mov dword [ebp + 0x3cc], eax
call fcn.10167670
mov dword [ebp + 0x3d0], eax
mov eax, dword [ebp + 0x3c0]
xor edi, edi
cmp eax, ebx
jle 0x1016ab28
mov ecx, dword [ebp + 0x3bc]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
mov dword [esp + 0x10], ecx
je 0x1016ab13
call fcn.101588c0
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x3bc]
inc edi
mov dword [eax + edi*4 - 4], ebx
mov eax, dword [ebp + 0x3c0]
cmp edi, eax
jl 0x1016aaf0
add ebp, 0x3b8
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.101961c0
mov ecx, esi
call fcn.101625e0
cmp eax, ebx
mov dword [esp + 0x84], eax
jle 0x1016ad37
mov dword [esp + 0x14], ebx
jmp 0x1016ab5b
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10162520
push 0x64
mov edi, eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0xbc], eax
cmp eax, ebx
mov byte [esp + 0x100], 5
je 0x1016ab91
mov ecx, eax
call fcn.101553d0
mov esi, eax
jmp 0x1016ab93
xor esi, esi
mov dword [esp + 0x5c], 0x102076a8
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
lea edx, [esp + 0x5c]
mov ecx, edi
push edx
mov byte [esp + 0x104], 6
call fcn.101554f0
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call fcn.10155550
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call fcn.101556e0
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
call fcn.10155740
lea ecx, [esp + 0x1c]
call fcn.10070f36
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
mov byte [esp + 0x104], 7
call fcn.101554a0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.101554d0
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
mov dword [esi], eax
call fcn.1016a170
mov eax, dword [eax]
mov byte [esp + 0x100], 8
push eax
lea eax, [esi + 0x18]
push 0x102430a8
push eax
call fcn.1007b320
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x100], 7
call fcn.10078300
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call fcn.1016a190
mov eax, dword [eax]
lea edx, [esi + 0x1c]
push eax
push 0x102430a8
push edx
mov byte [esp + 0x10c], 9
call fcn.1007b320
add esp, 0xc
lea ecx, [esp + 0x8c]
mov byte [esp + 0x100], 7
call fcn.10078300
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.1016a1b0
mov eax, dword [eax]
lea ecx, [esi + 0x20]
push eax
push 0x102430a8
push ecx
mov byte [esp + 0x10c], 0xa
call fcn.1007b320
add esp, 0xc
lea ecx, [esp + 0x88]
mov byte [esp + 0x100], 7
call fcn.10078300
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea edx, [edi + 1]
push edx
call fcn.101961c0
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x100], 6
mov dword [eax + edi*4], esi
call sub.MFC42u.DLL_CDWordArray::CDWordArray
mov dword [esp + 0x5c], 0x102076a8
mov eax, dword [esp + 0x60]
mov byte [esp + 0x100], 0xb
cmp eax, ebx
je 0x1016ad0f
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
inc eax
mov byte [esp + 0x100], 4
cmp eax, ecx
mov dword [esp + 0x5c], 0x101f9bdc
mov dword [esp + 0x14], eax
jl 0x1016ab54
mov dword [esp + 0x48], 0x102078b0
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x100], 0xc
cmp eax, ebx
je 0x1016ad58
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov edi, 0x101f9bdc
lea ecx, [esp + 0xe4]
mov dword [esp + 0x48], edi
mov byte [esp + 0x100], 2
call sub.MFC42u.DLL_CDWordArray::CDWordArray
mov esi, 0x10206fc8
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x74]
mov byte [esp + 0x100], 0xd
cmp eax, ebx
je 0x1016ad97
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], edi
mov byte [esp + 0x100], bl
call fcn.10078300
mov dword [esp + 0x90], esi
mov eax, dword [esp + 0x94]
mov dword [esp + 0x100], 0xe
cmp eax, ebx
je 0x1016add1
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf4
ret 4