Function at 0x10165970
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f75ec
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x1025f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp + 8], ecx
mov dword [esi], vtable.SkRefCntBase.0
mov dword [esi + 4], 1
mov dword [ebp - 4], 0
mov dword [esi], vtable.SkRefCnt.0
mov dword [ebp - 4], 1
lea eax, [esi + 8]
mov dword [esi], vtable.SkCanvas.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
mov dword [esi + 0x14], ecx
lea eax, [ecx + 0x400]
mov dword [esi + 0x1c], 0x64
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 4
add esi, 0x4b8
push ecx
mov ecx, esi
call fcn.100d2c40
push 0x50
call fcn.101b37dc
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
movups xmm0, xmmword [ebp - 0x24]
push esi
push ecx
mov ecx, eax
movups xmmword [ebp - 0x24], xmm0
call fcn.100a9a10
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
mov ecx, esi
push 0
push eax
call fcn.100a9540
mov edi, eax
or edx, 0xffffffff
lea ecx, [edi + 4]
lock xadd dword [ecx], edx
cmp edx, 1
jne 0x10165aab
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 6
mov dword [esi], vtable.SkPictureRecord.0
mov dword [esi + 0x4ec], 0
mov dword [esi + 0x4e8], 0
mov dword [esi + 0x4e4], 0
mov byte [ebp - 4], 7
mov dword [esi + 0x4f8], 0
mov dword [esi + 0x4f4], 0
mov dword [esi + 0x4f0], 0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x4fc]
call fcn.10163bb0
mov byte [ebp - 4], 9
mov dword [esi + 0x534], 0
mov dword [esi + 0x530], 8
mov dword [esi + 0x538], 0
mov dword [esi + 0x540], 0
mov dword [esi + 0x53c], 0
mov byte [ebp - 4], 0xa
mov dword [esi + 0x548], 0
mov dword [esi + 0x544], 8
mov dword [esi + 0x54c], 0
mov dword [esi + 0x554], 0
mov dword [esi + 0x550], 0
mov byte [ebp - 4], 0xb
mov dword [esi + 0x55c], 0
mov dword [esi + 0x558], 8
mov dword [esi + 0x560], 0
mov dword [esi + 0x568], 0
mov dword [esi + 0x564], 0
mov byte [ebp - 4], 0xc
lea eax, [esi + 0x56c]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 0xd
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xe
mov dword [esi + 0x588], 0
mov dword [esi + 0x584], 0
mov dword [esi + 0x580], 0
mov byte [ebp - 4], 0xf
mov dword [esi + 0x594], 0
mov dword [esi + 0x590], 0
mov dword [esi + 0x58c], 0
mov byte [ebp - 4], 0x10
mov dword [esi + 0x5a0], 0
mov dword [esi + 0x59c], 0
mov dword [esi + 0x598], 0
mov byte [ebp - 4], 0x11
mov dword [esi + 0x5a4], 0
mov dword [esi + 0x5a8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8