Function at 0x1001cea0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d3e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [esi + 0x20], eax
lea eax, [ecx + 0x64]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x28], eax
lea edx, [ecx + 0x58]
mov dword [esi + 0x24], edx
lea eax, [ecx + 0x70]
mov dword [esi + 0x2c], eax
lea eax, [ecx + 0x54]
mov dword [esi + 0x30], eax
mov eax, 0x38e38e39
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], vtable.weasel::Layout.0
mov dword [esi + 0xc], 4
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], edi
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x11c]
mov ecx, dword [edi + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [edi + 0x120]
mov ecx, dword [edi + 0x134]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
xor eax, eax
mov dword [esi + 0x3c], ecx
cmp dword [edi + 0x4c], eax
setg al
mov dword [esi + 0x40], eax
xor eax, eax
cmp dword [edi + 0x48], eax
setg al
mov dword [esi + 0x44], eax
xor eax, eax
cmp dword [edi + 0x50], eax
mov dword [esi + 8], 0
setg al
mov dword [esi + 4], 0
xor ecx, ecx
mov dword [esi + 0x48], eax
xor edx, edx
cmp dword [edi + 0x140], ecx
je 0x1001d014
mov eax, dword [edi + 0x144]
mov ecx, dword [edi + 0x140]
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + ecx*2]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x140]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x148]
cdq
xor eax, edx
sub eax, edx
lea edx, [eax + ecx*2]
mov dword [esi + 8], edx
cmp dword [edi + 0x144], 0
mov dword [ebp + 0xc], edx
jne 0x1001cfe9
cmp dword [edi + 0x148], 0
je 0x1001d011
mov eax, dword [edi + 0x140]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [edi + 0x140]
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
sub edx, eax
mov dword [esi + 8], edx
jmp 0x1001d014
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x118]
lea eax, [ecx + eax*2]
mov ecx, 0x64
mov dword [esi + 4], eax
mov eax, dword [edi + 0x118]
mov dword [esi], vtable.weasel::StandardLayout.0
lea eax, [edx + eax*2]
mov dword [esi + 8], eax
lea eax, [esi + 0xa8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
nop dword [eax]
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1001d100
lea eax, [esi + 0x6e8]
mov ecx, 0x64
nop
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1001d130
lea eax, [esi + 0xd28]
mov ecx, 0x64
nop
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1001d160
lea eax, [esi + 0x1368]
mov ecx, 0x64
nop
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1001d190
mov dword [esi + 0x19a8], ecx
lea eax, [esi + 0x19d8]
mov dword [esi + 0x19ac], ecx
mov dword [esi + 0x19b0], ecx
mov dword [esi + 0x19b4], ecx
mov dword [esi + 0x19b8], ecx
mov dword [esi + 0x19bc], ecx
mov dword [esi + 0x19c0], ecx
mov dword [esi + 0x19c4], ecx
mov dword [esi + 0x19c8], ecx
mov dword [esi + 0x19cc], ecx
mov dword [esi + 0x19d0], ecx
mov dword [esi + 0x19d4], ecx
mov ecx, 0x64
nop word [eax + eax]
mov dword [eax], 0x1010101
lea eax, [eax + 5]
mov byte [eax - 1], 0
sub ecx, 1
jne 0x1001d210
mov byte [esi + 0x1bd0], cl
xorps xmm0, xmm0
mov dword [esi + 0x1bcc], 0x1010101
mov dword [esi + 0x1bd4], ecx
mov dword [esi + 0x1bd8], ecx
mov dword [esi + 0x1bdc], ecx
mov dword [esi + 0x1be0], ecx
mov dword [esi + 0x1be4], ecx
mov dword [esi + 0x1be8], ecx
mov dword [esi + 0x1bec], ecx
mov dword [esi + 0x1bf0], ecx
lea ecx, [esi + 0x1bf4]
push 1
movups xmmword [ecx], xmm0
push 0x1008bfc8
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003620
lea ecx, [esi + 0x1c0c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x1008bfcc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003620
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 0xc