Function at 0x48a840
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x48a849
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x48a862
add esp, 0xfffffff0
call fcn.00403624
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x1d]
push ecx
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea edi, [ebp - 0x1d]
xor eax, eax
push ebp
push 0x48ab12
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.004032d0
mov eax, dword [edi + 0x14]
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
mov edx, dword [ebp + 8]
call fcn.004042cc
push 0xf
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0xc], eax
push 7
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x10]
call fcn.00404128
push 8
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x14]
call fcn.00404128
push 2
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048abdc
mov dword [ebx + 0x18], eax
push 0xa
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0x1c], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x20]
call fcn.00404128
push 9
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x24]
call fcn.00404128
push 0xc
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x28]
call fcn.00404128
push 1
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048abdc
mov dword [ebx + 0x2c], eax
push 0x12
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048abdc
mov dword [ebx + 0x30], eax
push 0xb
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x34]
call fcn.00404128
push 0x11
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048abdc
mov dword [ebx + 0x38], eax
push 4
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x68]
call fcn.00404128
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x3c]
call fcn.00404128
push 0x15
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0x40], eax
push 0x13
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x44]
call fcn.00404128
push 0x1b
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x48]
call fcn.00404128
push 0x19
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0x4c], eax
push 0x16
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x50]
call fcn.00404128
push 0x1a
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0x54], eax
push 0x14
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0x58], eax
push 0xd
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x5c]
call fcn.00404128
push 0xe
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x60]
call fcn.00404128
push 0x18
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x64]
call fcn.00404128
push 0x10
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048acac
mov dword [ebx + 0x6c], eax
push 0x1e
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.0048ab84
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x70]
call fcn.00404128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ab19
lea eax, [ebp - 0x5c]
mov edx, 0xf
call fcn.004040f8
ret