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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c8ce7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [eax + eax*4]
mov eax, dword [ecx + 4]
shl esi, 5
add esi, eax
mov ecx, edi
push esi
mov dword [esp + 0x10], 0
call fcn.00593450
lea eax, [esi + 4]
lea ecx, [edi + 4]
push eax
mov dword [esp + 0x1c], 0
call fcn.00593450
mov ecx, dword [esi + 8]
mov byte [esp + 0x18], 1
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x20]
mov dword [edi + 0x20], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 0x30]
mov dword [edi + 0x30], edx
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x38], ecx
mov edx, dword [esi + 0x3c]
mov dword [edi + 0x3c], edx
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x44], ecx
mov edx, dword [esi + 0x48]
mov dword [edi + 0x48], edx
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x50], ecx
mov edx, dword [esi + 0x54]
lea eax, [esi + 0x58]
lea ecx, [edi + 0x58]
push eax
mov dword [edi + 0x54], edx
call fcn.00593450
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 2
push ecx
lea ecx, [edi + 0x5c]
call fcn.00593450
lea edx, [esi + 0x60]
lea ecx, [edi + 0x60]
push edx
mov byte [esp + 0x1c], 3
call fcn.00593450
lea eax, [esi + 0x64]
mov byte [esp + 0x18], 4
push eax
lea ecx, [edi + 0x64]
call fcn.00593450
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 5
push ecx
lea ecx, [edi + 0x68]
call fcn.00593450
lea edx, [esi + 0x6c]
lea ecx, [edi + 0x6c]
push edx
mov byte [esp + 0x1c], 6
call fcn.00593450
lea eax, [esi + 0x70]
lea ecx, [edi + 0x70]
push eax
mov byte [esp + 0x1c], 7
call fcn.00593450
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 8
push ecx
lea ecx, [edi + 0x74]
call fcn.00593450
lea edx, [esi + 0x78]
lea ecx, [edi + 0x78]
push edx
mov byte [esp + 0x1c], 9
call fcn.00593450
lea eax, [esi + 0x7c]
lea ecx, [edi + 0x7c]
push eax
mov byte [esp + 0x1c], 0xa
call fcn.00593450
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 0xb
push ecx
lea ecx, [edi + 0x80]
call fcn.00593450
lea edx, [esi + 0x84]
lea ecx, [edi + 0x84]
push edx
mov byte [esp + 0x1c], 0xc
call fcn.00593450
lea eax, [esi + 0x88]
lea ecx, [edi + 0x88]
push eax
mov byte [esp + 0x1c], 0xd
call fcn.00593450
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 0xe
push ecx
lea ecx, [edi + 0x8c]
call fcn.00593450
lea edx, [esi + 0x90]
lea ecx, [edi + 0x90]
push edx
mov byte [esp + 0x1c], 0xf
call fcn.00593450
lea eax, [esi + 0x94]
lea ecx, [edi + 0x94]
push eax
mov byte [esp + 0x1c], 0x10
call fcn.00593450
mov ecx, dword [esi + 0x98]
mov eax, edi
mov dword [edi + 0x98], ecx
mov edx, dword [esi + 0x9c]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x9c], edx
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8