Function at 0x1002a1d0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089ed3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100c9018]
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 + 0x118]
mov ecx, dword [edi + 0x12c]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
mov dword [esi + 0x38], ecx
mov eax, dword [edi + 0x11c]
mov ecx, dword [edi + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovg ecx, eax
xor eax, eax
mov dword [esi + 0x3c], ecx
cmp dword [edi + 0x64], eax
setg al
mov dword [esi + 0x40], eax
xor eax, eax
cmp dword [edi + 0x60], eax
setg al
mov dword [esi + 0x44], eax
xor eax, eax
cmp dword [edi + 0x68], 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 + 0x13c], ecx
je 0x1002a332
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + ecx*2]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x13c]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x144]
cdq
xor eax, edx
sub eax, edx
lea edx, [eax + ecx*2]
mov dword [esi + 8], edx
cmp dword [edi + 0x140], 0
jne 0x1002a316
cmp dword [edi + 0x144], 0
je 0x1002a32f
mov eax, dword [ebp + 8]
sub eax, dword [edi + 0x13c]
mov dword [esi + 4], eax
mov ecx, eax
sub edx, dword [edi + 0x13c]
mov dword [esi + 8], edx
jmp 0x1002a332
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x114]
lea eax, [ecx + eax*2]
mov ecx, 0x64
mov dword [esi + 4], eax
mov eax, dword [edi + 0x114]
mov dword [esi], vtable.weasel::StandardLayout.0
lea eax, [edx + eax*2]
mov dword [esi + 8], eax
lea eax, [esi + 0x84]
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], 0
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 [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 0x1002a3c0
lea eax, [esi + 0x6c4]
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 0x1002a3f0
lea eax, [esi + 0xd04]
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 0x1002a420
lea eax, [esi + 0x1344]
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 0x1002a450
mov dword [esi + 0x1984], ecx
lea eax, [esi + 0x19b4]
mov dword [esi + 0x1988], ecx
mov dword [esi + 0x198c], ecx
mov dword [esi + 0x1990], ecx
mov dword [esi + 0x1994], ecx
mov dword [esi + 0x1998], ecx
mov dword [esi + 0x199c], ecx
mov dword [esi + 0x19a0], ecx
mov dword [esi + 0x19a4], ecx
mov dword [esi + 0x19a8], ecx
mov dword [esi + 0x19ac], ecx
mov dword [esi + 0x19b0], 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 0x1002a4d0
mov byte [esi + 0x1bac], cl
xorps xmm0, xmm0
mov dword [esi + 0x1ba8], 0x1010101
mov dword [esi + 0x1bb0], ecx
mov dword [esi + 0x1bb4], ecx
mov dword [esi + 0x1bb8], ecx
mov dword [esi + 0x1bbc], ecx
mov dword [esi + 0x1bc0], ecx
mov dword [esi + 0x1bc4], ecx
mov dword [esi + 0x1bc8], ecx
mov dword [esi + 0x1bcc], ecx
lea ecx, [esi + 0x1bd0]
push 1
movups xmmword [ecx], xmm0
push 0x100b8b90
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003770
lea ecx, [esi + 0x1be8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 1
movups xmmword [ecx], xmm0
push 0x100b8b94
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003770
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