Function at 0x42bb27
Capabilities:
Check for peb ntglobalflag flag
Check os version
Get number of processors

Disassembly:
push ebp
sub esp, 0x524
lea ebp, [esp - 4]
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x524], eax
push 0x18
mov eax, 0x10020de8
call fcn.0042d93b
mov eax, dword [0x100222d4]
mov esi, ecx
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x24], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi], 0x10023f00
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, dword [0x1002a068]
mov dword [ebp - 4], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
lea eax, [esi + 0x94]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [esi + 0xd4], edi
mov eax, dword [0x1002a068]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
push 0x100240ac
mov ebx, 0x104
push ebx
lea eax, [ebp + 0x31c]
push eax
mov byte [ebp - 4], 8
call fcn.0042a210
lea eax, [ebp + 0x31c]
push eax
push ebx
lea eax, [ebp + 0x114]
push eax
call fcn.00424b29
lea eax, [ebp + 0x114]
push eax
call dword [0x1002229c]
lea eax, [ebp + 0x31c]
push eax
call fcn.0042b0aa
pop ecx
lea ecx, [esi + 0x40]
cmp dword [0x1002cabc], edi
je 0x42bc21
push 0x10024098
jmp 0x42bc26
push 0x1002407c
call fcn.0042ba40
push dword [0x1002e20c]
lea eax, [ebp + 0x114]
push eax
lea eax, [ebp + 0x31c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042bad2
test eax, eax
je 0x42bc66
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp eax, 1
jne 0x42bc66
push 0x10024060
lea ecx, [esi + 0x40]
call fcn.0042ba40
mov eax, dword [0x1002cabc]
neg eax
sbb eax, eax
mov ebx, dword [0x100220ac]
and eax, 0xffffffd3
add eax, 0xcc
mov dword [esi + 0x38], eax
xor eax, eax
cmp dword [0x1002cabc], edi
push 0x66
setne al
push 0x1002404c
mov dword [esi + 0x54], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0xd0], edi
add eax, 0x1c
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x2c], eax
call ebx
push eax
call dword [0x100222f0]
push eax
lea ecx, [esi + 0x5c]
call fcn.00429fc1
push 0x6d
push 0x1002404c
call ebx
push eax
call dword [0x100222f0]
push eax
lea ecx, [esi + 0x60]
call fcn.00429fc1
push 0x67
push 0x1002404c
call ebx
push eax
call dword [0x100222f0]
push eax
lea ecx, [esi + 0x64]
call fcn.00429fc1
push 0x6a
push 0x1002404c
call ebx
push eax
call dword [0x100222f0]
push eax
lea ecx, [esi + 0x68]
call fcn.00429fc1
push 0x6b
push 0x1002404c
call ebx
push eax
call dword [0x100222f0]
push eax
lea ecx, [esi + 0x6c]
call fcn.00429fc1
push 0x6c
push 0x1002404c
call ebx
push eax
call dword [0x100222f0]
push eax
lea ecx, [esi + 0x70]
call fcn.00429fc1
push 0x10024044
push 0x20
push edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xa4], edi
push edi
push edi
xor ebx, ebx
inc ebx
push ebx
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xfffffffffffffff4
call dword [0x1002206c]
push 4
pop ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [esi + 0xb0]
push eax
mov dword [eax], edi
lea eax, [ebp - 0x20]
push eax
push 0x10024030
push 0x10023be4
push 0x80000002
mov dword [esi + 0xac], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], ebx
call dword [0x100222a0]
lea eax, [ebp]
push eax
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc8], edi
mov dword [ebp], 0x114
call dword [0x1002210c]
cmp dword [ebp + 4], 6
lea ecx, [ebp - 0x18]
sbb eax, eax
and eax, 0xfffffffc
add eax, 0xa
mov dword [esi + 0xcc], eax
mov byte [ebp - 4], 7
call fcn.00424a93
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x524]
xor ecx, ebp
call fcn.0042c556
add ebp, 0x528
leave
ret