Function at 0x51d0b8
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x51d0c0
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x51d67c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00403478
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0045d3c0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x51d698
call fcn.004068c8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0051e614
push 0x51d6c8
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x51d700
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.004064f4
push 0x51d6c8
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x51d748
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.004064f4
push 0x51d7a0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x51d7f0
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x18]
call fcn.004064f4
push 1
mov ecx, 0x51d850
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1c], al
push 1
mov ecx, 0x51d89c
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1d], al
push 1
mov ecx, 0x51d8f0
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1e], al
push 1
mov ecx, 0x51d94c
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1f], al
push 0x51d998
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x51da04
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x20]
call fcn.004064f4
push 0x51da44
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x51dab0
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x24]
call fcn.004064f4
push 0xa
mov ecx, 0x51daf4
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
push 7
mov ecx, 0x51db3c
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x2c], eax
push 7
mov ecx, 0x51db8c
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x30], eax
push 0xa
mov ecx, 0x51dbe0
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x34], eax
push 7
mov ecx, 0x51dc28
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x38], eax
push 7
mov ecx, 0x51dc74
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x3c], eax
push 0
mov ecx, 0x51dcc4
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x40], eax
push 7
mov ecx, 0x51dcc4
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x44], eax
push 7
mov ecx, 0x51dcc4
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x48], eax
push 0xa
mov ecx, 0x51dd0c
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x4c], eax
push 7
mov ecx, 0x51dd50
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x50], eax
push 7
mov ecx, 0x51dd9c
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x54], eax
push 0xa
mov ecx, 0x51ddec
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x58], eax
push 7
mov ecx, 0x51de40
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
push 7
mov ecx, 0x51de98
mov edx, 0x51d734
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x60], eax
push 0x51def4
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x51df54
mov edx, 0x51df7c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x64]
call fcn.004064f4
push 0x51df9c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x51e000
mov edx, 0x51df7c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x68]
call fcn.004064f4
push 0x1e
mov ecx, 0x51e030
mov edx, 0x51e058
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x6c], eax
push 0xf
mov ecx, 0x51e030
mov edx, 0x51e058
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x70], eax
push 1
mov ecx, 0x51e074
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x74], al
push 1
mov ecx, 0x51e0d0
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x75], al
push 1
mov ecx, 0x51e124
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x76], al
push 1
mov ecx, 0x51e17c
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x77], al
push 0xe
mov ecx, 0x51e1d4
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x78], eax
push 0x1e
mov ecx, 0x51e218
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x7c], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x51e268
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x80]
call fcn.004064f4
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x51e2c0
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x84]
call fcn.004064f4
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x51e31c
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x88]
call fcn.004064f4
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x51e374
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x8c]
call fcn.004064f4
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x51e3c8
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x90]
call fcn.004064f4
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x51e424
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x94]
call fcn.004064f4
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x51e480
mov edx, 0x51e0ac
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x98]
call fcn.004064f4
push 0
mov ecx, 0x51e4e0
mov edx, 0x51e510
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x9c], al
push 0x51e52c
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x51e540
mov edx, 0x51e510
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0xa0]
call fcn.004064f4
push 0x1e
mov ecx, 0x51e568
mov edx, 0x51e510
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0xa4], eax
push 1
mov ecx, 0x51e590
mov edx, 0x51e5c8
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0xa8], al
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x51e5e0
mov edx, 0x51e5c8
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0xac]
call fcn.004064f4
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x51e5f4
mov edx, 0x51e5c8
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0xb0]
call fcn.004064f4
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x51e608
mov edx, 0x51e5c8
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0xb4]
call fcn.004064f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d683
lea eax, [ebp - 0x54]
mov edx, 0x15
call fcn.004064ec
ret