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

Disassembly:
push 0xffffffffffffffff
push 0x10151e99
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0xbc]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x8c], 1
test cl, cl
push eax
lea ecx, [esp + 0x18]
call fcn.10031430
mov byte [esp + 0x8c], 2
test eax, 0x905
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], ebx
jne 0x100452e1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
mov esi, 0xf
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10009fd0
mov dword [esp + 0x30], 1
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x14]
call fcn.1001f8c0
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x7c], 0x10
jb 0x100452d8
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x7c], esi
jmp 0x10045546
push esi
call fcn.10039b40
add esp, 4
test cl, cl
mov edx, dword [esi + 0x220]
mov dword [esp + 0x38], edx
test bl, bl
lea eax, [esi + 0x8c]
mov dword [esi + 0x220], eax
mov dl, dl
mov ecx, dword [esi + 0x220]
mov ebx, dword [ecx + 0x190]
call fcn.100367f0
push edx
pop edx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x14]
push edx
push eax
push edi
push ecx
lea edx, [esp + 0x54]
push esi
push edx
call fcn.10040a10
add esp, 0x18
mov byte [esp + 0x8c], 3
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x10045354
mov eax, dword [eax + 4]
jmp 0x10045357
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.10031430
mov byte [esp + 0x8c], 5
cmp dword [esp + 0x5c], edi
jb 0x1004537c
mov eax, dword [esp + 0x48]
push eax
call fcn.100e2dad
add esp, 4
xor ebx, ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
test bl, bl
lea ecx, [esp + 0x1c]
call fcn.100e610c
mov byte [esp + 0x8c], 6
test edi, edi
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x101593b0
push edx
call fcn.100436a0
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x3c], ecx
mov cl, cl
push eax
pop eax
xor edi, edi
cmp ecx, ebx
jle 0x1004540e
mov eax, dword [esp + 0x20]
nop
cmp edi, ebx
jl 0x10045572
cmp edi, dword [esp + 0x24]
jge 0x10045572
mov edx, dword [eax + edi*4]
cmp dword [edx - 0xc], ebx
jle 0x10045407
push 1
mov eax, edx
push eax
push 0x64
push esi
call fcn.10043df0
add esp, 0x10
test eax, 0x6b6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
add edi, 1
cmp edi, ecx
jl 0x100453d0
fld qword [esp + 0xb4]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xa8]
push ebx
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xb4]
push eax
push ecx
push edx
push 0x64
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.10044100
add esp, 0x30
mov byte [esp + 0x8c], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
call fcn.10009fd0
mov byte [esp + 0x8c], 6
cmp dword [esp + 0x5c], 0x10
jb 0x10045487
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100e2dad
add esp, 4
mov edi, 0xf
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
push edx
pop edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x220], edx
push edx
pop edx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x6c]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push eax
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10009fd0
mov dword [esp + 0x30], 1
mov byte [esp + 0x8c], 5
lea ecx, [esp + 0x1c]
call fcn.100e6454
mov byte [esp + 0x8c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100454ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10045527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x7c], 0x10
jb 0x10045542
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov eax, ebp
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f43d6
add esp, 0x7c
ret
jmp fcn.100e2ea6