Function at 0x10015be0
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1e0
mov esi, esp
mov dword [esi + 0x1c8], ebp
movsd xmm1, qword [ebp + 0x1c]
lea eax, [esi + 0x1d0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x1001c8b0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x160]
mov dword [eax + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x50], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov dword [esi + 0x18], eax
mov dword [esi + 0x150], edx
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x120], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
sub esp, 0x14
movsd qword [esp + 0xc], xmm1
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.10016110
add esp, 0x14
cmp eax, 0x64
jb 0x10015d27
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1d8], eax
lea eax, [esi + 0x78]
push eax
call fcn.1000ae40
add esp, 4
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
xor edx, edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
sub esp, 0x18
movq xmm0, qword [ebp + 0x1c]
movq qword [esp + 0x10], xmm0
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [esi + 0x18]
mov dword [esp], eax
mov dword [esp + 0xc], str._.0Lf
call fcn.1001df7b
add esp, 0x18
mov dword [esi + 4], eax
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1001600d
push dword [esi + 4]
call fcn.100295e7
add esp, 4
test eax, eax
je 0x1001601a
mov dword [esi + 0x20], eax
jmp 0x10015d37
mov dword [esi + 4], eax
lea eax, [esi + 0xf0]
mov dword [esi + 0x20], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x14]
mov dword [edx], 0xffffffff
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1d8], 0
push edx
call fcn.10007358
mov dword [esi + 0x1d8], 1
lea ecx, [esi + 0x14]
push 0x10052238
call fcn.10018258
mov edx, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0x18]
mov dword [esi + 4], edx
mov edx, dword [esi + 4]
add edx, eax
mov edi, dword [ecx]
push dword [esi + 0x20]
push edx
push eax
mov dword [esi + 0x74], ecx
call dword [edi + 0x18]
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
je 0x10015daa
mov edx, dword [esi + 0x18]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 8], eax
jmp 0x10015db1
mov dword [esi + 8], 0
lea ebx, [esi + 0x60]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea edi, [esi + 0x38]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x28]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
mov cl, 0xff
lea eax, [esi + 3]
mov byte [eax], cl
lea eax, [esi + 2]
mov byte [eax], cl
lea eax, [esi + 0x5c]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
lea eax, [esi + 0x58]
mov dword [eax], ecx
mov dword [esi + 0x1d8], 2
movzx eax, byte [esi + 8]
movzx ecx, byte [ebp + 0x10]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x58]
push ecx
push edx
push edi
push ebx
lea edx, [esi + 2]
push edx
lea edx, [esi + 3]
push edx
lea edx, [esi + 0x5c]
push edx
lea edx, [esi + 0x14]
push edx
mov dword [esi + 0x70], eax
push eax
push dword [esi + 8]
call fcn.1001616c
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0xe0], 0xffffffff
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 4]
mov edx, ebx
mov dword [esi + 8], eax
sub edx, eax
mov edi, dword [ebp + 0x14]
jle 0x10015e98
movzx eax, byte [esi + 0x33]
test al, al
jns 0x10015e81
mov eax, dword [esi + 0x2c]
movzx ecx, byte [esi + 0x43]
test cl, cl
jns 0x10015e8c
mov ecx, dword [esi + 0x3c]
mov edi, dword [esi + 8]
lea edx, [edi + edx*2]
inc edx
mov edi, dword [ebp + 0x14]
jmp 0x10015eb4
movzx eax, byte [esi + 0x33]
test al, al
jns 0x10015ea3
mov eax, dword [esi + 0x2c]
movzx ecx, byte [esi + 0x43]
test cl, cl
jns 0x10015eae
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 8]
add edx, 2
add eax, edx
add eax, ecx
cmp eax, 0x65
jb 0x10015ee5
push eax
call fcn.100295e7
add esp, 4
mov ecx, eax
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x10015ef0
mov dword [esi + 0x24], 0
mov dword [esi + 0x1d8], 3
call fcn.1001cb8c
lea eax, [esi + 0x80]
mov dword [esi + 0x1c], eax
xor ecx, ecx
lea edx, [esi + 0x54]
xor eax, eax
dec eax
mov dword [edx], eax
lea edx, [esi + 0x50]
mov dword [edx], eax
movsx edx, byte [esi + 2]
mov eax, dword [esi + 0x20]
add ebx, eax
mov edi, dword [edi + 4]
mov dword [esi + 0x6c], edi
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x1d8], 3
movsx ecx, byte [esi + 3]
push dword [esi + 8]
lea edi, [esi + 0x28]
push edi
lea edi, [esi + 0x38]
push edi
lea edi, [esi + 0x60]
push edi
push edx
push ecx
lea ecx, [esi + 0x5c]
push ecx
push dword [esi + 0x70]
push dword [esi + 0x74]
push ebx
push eax
push dword [esi + 0x6c]
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x54]
push eax
push dword [esi + 0x1c]
call fcn.100162ac
add esp, 0x3c
mov al, byte [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 4]
mov dword [esi + 0x24], edi
mov edi, dword [esi + 0x54]
movsx eax, al
push eax
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x1c]
push ecx
push dword [ebp + 8]
call fcn.1000e360
add esp, 0x1c
mov eax, dword [esi + 4]
test eax, eax
je 0x10015f8d
push eax
call fcn.100295e7
add esp, 4
cmp byte [esi + 0x33], 0
mov edi, dword [esi + 0x4c]
jns 0x10015fa1
push dword [esi + 0x28]
call fcn.1001e3ab
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x10015fb2
push dword [esi + 0x38]
call fcn.1001e3ab
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x10015fc3
push dword [esi + 0x60]
call fcn.1001e3ab
add esp, 4
mov ecx, dword [esi + 0x14]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x10015fd7
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10015fe7
push eax
call fcn.100295e7
add esp, 4
test edi, edi
je 0x10015ff4
push edi
call fcn.100295e7
add esp, 4
mov eax, dword [esi + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.1001cb8c
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edi
call fcn.1001cb8c
nop
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x1dc]
mov ebp, dword [esi + 0x1c8]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001604a
push eax
call fcn.100295e7
add esp, 4
add esp, 0x3c
pop ebp
ret