Function at 0x523458
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x523460
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x523b00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [esi]
call fcn.004240bc
mov eax, dword [0x5f242c]
mov eax, dword [eax]
push eax
mov ecx, dword [esi]
mov dl, 1
mov eax, dword [0x41e8ac]
call fcn.00424ddc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x523ac2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x14]
call fcn.00404b14
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x18]
call fcn.00404b14
mov eax, dword [ebp - 4]
call fcn.00426718
fstp qword [ebx + 0x20]
wait
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0x128], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x28]
call fcn.00404b14
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x2c]
call fcn.00404b14
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x30]
call fcn.00404b14
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x34]
call fcn.00404b14
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x38]
call fcn.00404b14
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x3c]
call fcn.00404b14
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x40]
call fcn.00404b14
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x44]
call fcn.00404b14
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x48]
call fcn.00404b14
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x4c]
call fcn.00404b14
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x50]
call fcn.00404b14
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x54]
call fcn.00404b14
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x58]
call fcn.00404b14
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x5c]
call fcn.00404b14
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x60]
call fcn.00404b14
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x64]
call fcn.00404b14
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x68]
call fcn.00404b14
xor esi, esi
xor edi, edi
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x58]
mov eax, esi
add eax, eax
lea eax, [ebx + eax*8]
lea eax, [eax + edi*4 + 0x6c]
call fcn.00404b14
inc edi
cmp edi, 4
jne 0x52366e
inc esi
cmp esi, 6
jne 0x52366c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0xcc]
call fcn.00404b14
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0xd0]
call fcn.00404b14
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0xd4]
call fcn.00404b14
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 0xd8]
call fcn.00404b14
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x6c]
lea eax, [ebx + 0xdc]
call fcn.00404b14
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x70]
lea eax, [ebx + 0x124]
call fcn.00404b14
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x130]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x52376f
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x130]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x523751
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x12c]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x5237b0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x12c]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x523792
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x138]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x5237f1
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x138]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x5237d3
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x13c]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x523832
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x13c]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x523814
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x140]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x523873
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x140]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x523855
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x144]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x5238b4
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x144]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x523896
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x148]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x5238f5
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x148]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x5238d7
mov eax, dword [ebp - 4]
call fcn.00426870
mov edi, eax
lea eax, [ebp - 8]
call fcn.00404ac0
xor esi, esi
mov eax, dword [ebx + 0x134]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp edi, esi
jle 0x523936
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00427684
mov eax, dword [ebx + 0x134]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
cmp edi, esi
jg 0x523918
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0xe0]
call fcn.00404b14
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0xe4]
call fcn.00404b14
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x7c]
lea eax, [ebx + 0xe8]
call fcn.00404b14
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0xec], eax
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0xf0], eax
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0xf4], eax
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0xf8], eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x80]
lea eax, [ebx + 0xfc]
call fcn.00404b14
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0x100], eax
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0x104], eax
mov eax, dword [ebp - 4]
call fcn.00426870
mov dword [ebx + 0x108], eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x10c]
call fcn.00404b14
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 0x110]
call fcn.00404b14
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x8c]
lea eax, [ebx + 0x114]
call fcn.00404b14
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x90]
lea eax, [ebx + 0x118]
call fcn.00404b14
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 0x11c]
call fcn.00404b14
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.00427684
mov edx, dword [ebp - 0x98]
lea eax, [ebx + 0x120]
call fcn.00404b14
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x523ada
mov eax, dword [ebp - 4]
call fcn.00403b90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523b07
lea eax, [ebp - 0x98]
mov edx, 0x25
call fcn.00404ae4
ret