Function at 0x100143b0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058b06
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x1006e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 1
push 0
push 1
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10001070
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
lea edx, [ebp + 8]
push edx
call fcn.10003c60
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10001440
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
lea edx, [ebp + 0xc]
push edx
call fcn.10003c60
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10001440
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x1c
call fcn.10002c60
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x20
mov dword [ebp - 0x21c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x20
call fcn.10002c60
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x24
mov dword [ebp - 0x214], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x24
call fcn.10002c60
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x28
mov dword [ebp - 0x20c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x28
call fcn.10002c60
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x2c
mov dword [ebp - 0x204], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x2c
call fcn.10002c60
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x30
mov dword [ebp - 0x1fc], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x30
call fcn.10002c60
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x3c
mov dword [ebp - 0x1f4], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x34
call fcn.10002c60
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x40
mov dword [ebp - 0x1ec], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x38
call fcn.10002c60
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x44
mov dword [ebp - 0x1e4], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x3c
call fcn.10002c60
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x48
mov dword [ebp - 0x1dc], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x40
call fcn.10002c60
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x4c
mov dword [ebp - 0x1d4], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x44
call fcn.10002c60
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x50
mov dword [ebp - 0x1cc], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x48
call fcn.10002c60
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x54
mov dword [ebp - 0x1c4], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x4c
call fcn.10002c60
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x5c
mov dword [ebp - 0x1bc], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x50
call fcn.10002c60
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x64
mov dword [ebp - 0x1b4], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x54
call fcn.10002c60
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x6c
mov dword [ebp - 0x1ac], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x58
call fcn.10002c60
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x70
mov dword [ebp - 0x1a4], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x5c
call fcn.10002c60
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x74
mov dword [ebp - 0x19c], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x60
call fcn.10002c60
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x78
mov dword [ebp - 0x194], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x64
call fcn.10002c60
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x7c
mov dword [ebp - 0x18c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x68
call fcn.10002c60
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x80
mov dword [ebp - 0x184], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x6c
call fcn.10002c60
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x84
mov dword [ebp - 0x17c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x70
call fcn.10002c60
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x88
mov dword [ebp - 0x174], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x74
call fcn.10002c60
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x8c
mov dword [ebp - 0x16c], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x78
call fcn.10002c60
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x90
mov dword [ebp - 0x164], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x80
call fcn.10002c60
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x98
mov dword [ebp - 0x15c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x84
call fcn.10002c60
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xa4
mov dword [ebp - 0x154], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x88
call fcn.10002c60
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x9c
mov dword [ebp - 0x14c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x8c
call fcn.10002c60
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xa0
mov dword [ebp - 0x144], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x98
call fcn.10002c60
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xa8
mov dword [ebp - 0x13c], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x9c
call fcn.10002c60
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xac
mov dword [ebp - 0x134], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x90
call fcn.10002c60
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xb0
mov dword [ebp - 0x12c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x94
call fcn.10002c60
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xb4
mov dword [ebp - 0x124], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xa4
call fcn.10002c60
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xb8
mov dword [ebp - 0x11c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xa8
call fcn.10002c60
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xbc
mov dword [ebp - 0x114], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xac
call fcn.10002c60
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xc0
mov dword [ebp - 0x10c], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xb0
call fcn.10002c60
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xc4
mov dword [ebp - 0x104], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xb8
call fcn.10002c60
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xcc
mov dword [ebp - 0xfc], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xbc
call fcn.10002c60
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xd0
mov dword [ebp - 0xf4], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xc0
call fcn.10002c60
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xd4
mov dword [ebp - 0xec], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xc8
call fcn.10002c60
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xdc
mov dword [ebp - 0xe4], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xcc
call fcn.10002c60
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xe0
mov dword [ebp - 0xdc], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xd0
call fcn.10002c60
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xe4
mov dword [ebp - 0xd4], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xdc
call fcn.10002c60
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xf4
mov dword [ebp - 0xcc], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xf4
call fcn.10002c60
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x10c
mov dword [ebp - 0xc4], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xf8
call fcn.10002c60
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x110
mov dword [ebp - 0xbc], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xf0
call fcn.10002c60
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x108
mov dword [ebp - 0xb4], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x104
call fcn.10002c60
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x11c
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x254], 0
jmp 0x10014c50
mov edx, dword [ebp - 0x254]
add edx, 1
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
cmp dword [ebp + eax*8 - 0x220], 0
je 0x10014cde
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp + ecx*8 - 0x220]
push edx
lea ecx, [ebp - 0x258]
call fcn.10008910
test eax, eax
jne 0x10014cd9
lea ecx, [ebp - 0x25c]
call fcn.10002200
push eax
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp + eax*8 - 0x21c]
call fcn.10005760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.10002290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.10002290
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10002290
jmp 0x1001505e
jmp 0x10014c41
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 8
call fcn.10002c60
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x34
mov dword [ebp - 0x9c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xc
call fcn.10002c60
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x38
mov dword [ebp - 0x94], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x10
call fcn.10002c60
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x58
mov dword [ebp - 0x8c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x14
call fcn.10002c60
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x60
mov dword [ebp - 0x84], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x18
call fcn.10002c60
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x68
mov dword [ebp - 0x7c], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xb4
call fcn.10002c60
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xc8
mov dword [ebp - 0x74], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xd4
call fcn.10002c60
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xe8
mov dword [ebp - 0x6c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x7c
call fcn.10002c60
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x94
mov dword [ebp - 0x64], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xe0
call fcn.10002c60
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xf8
mov dword [ebp - 0x5c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xe4
call fcn.10002c60
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0xfc
mov dword [ebp - 0x54], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xe8
call fcn.10002c60
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x100
mov dword [ebp - 0x4c], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xec
call fcn.10002c60
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0x104
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xfc
call fcn.10002c60
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x114
mov dword [ebp - 0x3c], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x100
call fcn.10002c60
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0x118
mov dword [ebp - 0x34], ecx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xd8
call fcn.10002c60
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
add eax, 0xec
mov dword [ebp - 0x2c], eax
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x108
call fcn.10002c60
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
add edx, 0x120
mov dword [ebp - 0x24], edx
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0xc4
call fcn.10002c60
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
add ecx, 0xd8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x254], 0
jmp 0x10014f91
mov edx, dword [ebp - 0x254]
add edx, 1
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
cmp dword [ebp + eax*8 - 0xa0], 0
je 0x10015025
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp + ecx*8 - 0xa0]
push edx
lea ecx, [ebp - 0x258]
call fcn.10008910
test eax, eax
jne 0x10015020
lea ecx, [ebp - 0x25c]
call fcn.10003c20
push eax
call fcn.1002f901
add esp, 4
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp + ecx*8 - 0x9c]
mov dword [edx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.10002290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.10002290
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10002290
jmp 0x1001505e
jmp 0x10014f82
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.10002290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.10002290
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10002290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002d4ad
mov esp, ebp
pop ebp
ret 8