Function at 0x10017390
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 0xffffffffffffffff
push 0x1003adbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10002030
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10002030
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10002030
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10002030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.10002030
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10002030
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10002030
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.10002030
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.10002030
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.10002030
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.10002030
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10002030
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10002030
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.10002030
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10002030
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.10002030
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.10002030
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10002030
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.10002030
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.10002030
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10002030
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.10002030
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.10002030
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.10002030
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10002030
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10002030
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.10002030
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.10002030
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.10002030
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10002030
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.10002030
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.10002030
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10002030
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.10002030
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.10002030
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret