Function at 0x1005de30
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 ebx
mov ebx, esp
and esp, 0xffffffc0
push ebp
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ded20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], esi
mov eax, dword [0x1020ed34]
xor esi, esi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x70]
movsd xmm0, qword [0x101e33b8]
mov dword [ebp - 0x60], ecx
lea edx, [ecx + 8]
movsd qword [edx + 0x10], xmm0
mov dword [ebp - 0x90], edx
mov dword [edx], esi
mov dword [ebp - 0x88], edx
mov dword [edx + 8], esi
mov eax, 0x40
mov dword [edx + 4], eax
push eax
add ecx, 0x10
push ecx
call fcn.1000d650
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x90]
add eax, 0x18
mov dword [eax + 0x14], 0xfffffff7
mov dword [eax], esi
mov dword [ebp - 0xb8], eax
mov dword [eax + 4], esi
mov edx, 8
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1002bef0
add esp, 8
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx + 8]
add esp, 0xfffffff8
mov dword [esp + 4], ecx
lea eax, [edx + 4]
mov dword [esp], eax
call fcn.10025ee0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
movsd xmm0, qword [0x101e33c0]
xor esi, esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], esi
movsd qword [ecx + 0x38], xmm0
push esi
add eax, 0x10
mov dword [ecx + 0x40], eax
add ecx, 0x48
call fcn.1000ff00
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x90]
push 0
add ecx, 0x58
call fcn.1000ff00
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x60]
movsd xmm0, qword [0x101e33b8]
lea eax, [edx + 0x70]
movsd qword [eax + 0x10], xmm0
mov dword [eax + 8], esi
mov dword [ebp - 0x58], eax
mov dword [eax], esi
mov dword [ebp - 0x50], eax
mov ecx, 0x40
mov dword [eax + 4], ecx
add esp, 0xfffffff8
mov dword [esp + 4], ecx
add edx, 0x78
mov dword [esp], edx
call fcn.1000d650
add esp, 8
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x50]
add eax, 0x18
mov dword [eax + 0x14], 0xfffffff7
mov dword [eax], esi
mov dword [ebp - 0x98], eax
mov dword [eax + 4], esi
mov edx, 8
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1002bef0
add esp, 8
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 8]
add esp, 0xfffffff8
mov dword [esp + 4], ecx
lea eax, [edx + 4]
mov dword [esp], eax
call fcn.10025ee0
add esp, 8
mov dword [ebp - 4], 6
mov dword [ebp - 4], 6
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 9
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
movsd xmm0, qword [0x101e33c0]
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
movsd qword [ecx + 0x38], xmm0
push eax
add esi, 0x10
mov dword [ecx + 0x40], esi
add ecx, 0x48
call fcn.1000ff00
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x58]
push 0
add ecx, 0x58
call fcn.1000ff00
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x58]
push 0
add ecx, 0x68
call fcn.1000ff00
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x70]
mov dword [ecx], 0x10295444
call fcn.10042370
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x70]
add ecx, 0xf0
call fcn.100311e0
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x70]
mov esi, dword [ebx + 8]
movsd xmm0, qword [0x101e1b38]
movsd qword [ecx + 0x1f0], xmm0
movsd qword [ecx + 0x1f8], xmm0
mov dword [ecx], 0x10295584
mov dword [ecx + 0x1c0], esi
mov dword [ecx + 0xf0], 0x10295784
xor eax, eax
mov dword [ecx + 0x1c4], eax
mov dword [ecx + 0x1cc], eax
mov dword [ecx + 0x1e8], 0xffffffff
push eax
mov dword [ecx + 0x1d0], eax
mov dword [ecx + 0x220], 0x64
mov dword [ecx + 0x1d4], eax
mov dword [ecx + 0x1d8], eax
mov dword [ecx + 0x200], eax
mov dword [ecx + 0x224], eax
mov byte [ecx + 0x228], al
mov dword [ecx + 0x22c], eax
mov dword [ecx + 0x234], eax
mov dword [ecx + 0x248], eax
pxor xmm1, xmm1
movsd qword [ecx + 0x210], xmm1
mov dword [ecx + 0x244], eax
add ecx, 0x254
call fcn.1000ff00
mov dword [ebp - 4], 0x10
movsd xmm0, qword [0x1020b020]
mov ecx, dword [ebp - 0x70]
movsd qword [ebp - 0x78], xmm0
add ecx, 0x268
mov dword [ebp - 0x60], ecx
push 0
call fcn.1000ff00
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x60]
push 0
pxor xmm0, xmm0
movsd qword [ecx + 0x10], xmm0
add ecx, 0x18
mov dword [ebp - 0x58], ecx
call fcn.1000ff00
mov dword [ebp - 4], 0x12
mov esi, dword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x78]
movsd qword [esi + 0x20], xmm0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov edx, 1
mov byte [esi + 0x1c], dl
mov dword [esi + 0x14], edx
add esp, 0xfffffff8
add esi, 0x18
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.1000c5d0
add esp, 8
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
test eax, eax
jle 0x1005e1ff
shl eax, 3
push eax
push 0
push dword [edx + 4]
call fcn.101d7520
add esp, 0xc
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x2a8
call fcn.1000ff00
mov dword [ebp - 4], 0x14
movsd xmm0, qword [0x1020b020]
mov ecx, dword [ebp - 0x70]
movsd qword [ebp - 0x78], xmm0
add ecx, 0x2b8
mov dword [ebp - 0x60], ecx
push 0
call fcn.1000ff00
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x60]
push 0
pxor xmm0, xmm0
movsd qword [ecx + 0x10], xmm0
add ecx, 0x18
mov dword [ebp - 0x58], ecx
call fcn.1000ff00
mov dword [ebp - 4], 0x16
mov esi, dword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x78]
movsd qword [esi + 0x20], xmm0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov edx, 1
mov byte [esi + 0x1c], dl
mov dword [esi + 0x14], edx
add esp, 0xfffffff8
add esi, 0x18
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.1000c5d0
add esp, 8
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
test eax, eax
jle 0x1005e2b3
shl eax, 3
push eax
push 0
push dword [edx + 4]
call fcn.101d7520
add esp, 0xc
mov dword [ebp - 4], 0x17
movsd xmm0, qword [0x1020b020]
mov ecx, dword [ebp - 0x70]
movsd qword [ebp - 0x78], xmm0
add ecx, 0x2f8
mov dword [ebp - 0x60], ecx
push 0
call fcn.1000ff00
mov dword [ebp - 4], 0x18
mov ecx, dword [ebp - 0x60]
push 0
pxor xmm0, xmm0
movsd qword [ecx + 0x10], xmm0
add ecx, 0x18
mov dword [ebp - 0x58], ecx
call fcn.1000ff00
mov dword [ebp - 4], 0x19
mov esi, dword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x78]
movsd qword [esi + 0x20], xmm0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov edx, 1
mov byte [esi + 0x1c], dl
mov dword [esi + 0x14], edx
add esp, 0xfffffff8
add esi, 0x18
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.1000c5d0
add esp, 8
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
test eax, eax
jle 0x1005e350
shl eax, 3
push eax
push 0
push dword [edx + 4]
call fcn.101d7520
add esp, 0xc
mov dword [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x338
call fcn.1000ff00
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x348
call fcn.1000ff00
mov dword [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x358
call fcn.1000ff00
mov dword [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x368
call fcn.1000ff00
mov dword [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x378
call fcn.1000ff00
mov dword [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x388
call fcn.1000ff00
mov dword [ebp - 4], 0x20
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x3c4
call fcn.1000ff00
mov dword [ebp - 4], 0x21
mov ecx, dword [ebp - 0x70]
push 0
add ecx, 0x3d4
call fcn.1000ff00
mov dword [ebp - 4], 0x22
mov ecx, dword [ebp - 0x70]
push 8
add ecx, 0x3e4
call fcn.1000d580
mov dword [ebp - 4], 0x23
push dword [ebx + 0xc]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
mov dword [ecx + 0x3f4], eax
mov dword [ecx + 0x3f8], edx
mov dword [ecx + 0x3fc], esi
call fcn.1005e630
movsd xmm0, qword [0x101e33c8]
mov ecx, dword [ebp - 0x70]
add esp, 0xfffffff8
movsd qword [esp], xmm0
call fcn.1005e7d0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x70]
mov dword [esi + 0xf8], esi
mov ecx, dword [ebp - 0x64]
call fcn.101bc753
mov edi, dword [ebp - 0x6c]
mov eax, esi
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14