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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ef95
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebx + 0x14]
mov esi, dword [ecx]
mov dword [ebp - 0xe0], eax
add esi, 0x30
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xf8], 0x58a634
mov ecx, dword [eax]
mov eax, dword [0x5dc8f8]
cmp eax, dword [ecx + 4]
jle 0x4504c6
push 0x5dc8f8
call fcn.00522631
add esp, 4
cmp dword [0x5dc8f8], 0xffffffff
jne 0x4504c6
mov byte [ebp - 4], 1
xor eax, eax
push 9
mov dword [0x5dc910], 0
mov ecx, 0x5dc900
mov dword [0x5dc914], 0
push str.VersionNT
mov dword [0x5dc910], 0
mov dword [0x5dc914], 7
mov word [0x5dc900], ax
call fcn.00407c60
mov byte [ebp - 4], 2
xor eax, eax
push 0xb
mov dword [0x5dc928], 0
mov ecx, 0x5dc918
mov dword [0x5dc92c], 0
push str.VersionNT64
mov dword [0x5dc928], 0
mov dword [0x5dc92c], 7
mov word [0x5dc918], ax
call fcn.00407c60
mov byte [ebp - 4], 3
xor eax, eax
push 0x10
mov dword [0x5dc940], 0
mov ecx, 0x5dc930
mov dword [0x5dc944], 0
push str.ServicePackLevel
mov dword [0x5dc940], 0
mov dword [0x5dc944], 7
mov word [0x5dc930], ax
call fcn.00407c60
mov byte [ebp - 4], 4
xor eax, eax
push 0x15
mov dword [0x5dc958], 0
mov ecx, 0x5dc948
mov dword [0x5dc95c], 0
push str.ServicePackLevelMinor
mov dword [0x5dc958], 0
mov dword [0x5dc95c], 7
mov word [0x5dc948], ax
call fcn.00407c60
mov byte [ebp - 4], 5
xor eax, eax
push 0xc
mov dword [0x5dc970], 0
mov ecx, 0x5dc960
mov dword [0x5dc974], 0
push str.WindowsBuild
mov dword [0x5dc970], 0
mov dword [0x5dc974], 7
mov word [0x5dc960], ax
call fcn.00407c60
mov byte [ebp - 4], 6
xor eax, eax
push 0x10
mov dword [0x5dc988], 0
mov ecx, 0x5dc978
mov dword [0x5dc98c], 0
push str.MsiNTProductType
mov dword [0x5dc988], 0
mov dword [0x5dc98c], 7
mov word [0x5dc978], ax
call fcn.00407c60
mov byte [ebp - 4], 1
push 0x577010
call fcn.005224e9
add esp, 4
mov byte [ebp - 4], 0
push 0x5dc8f8
call fcn.005225e7
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
push esi
call fcn.00406c50
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004e7870
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0xec]
cmp esi, dword [ebp - 0xe8]
je 0x4507d3
nop word [eax + eax]
push esi
mov edx, 0x5dc990
mov ecx, 0x5dc900
call fcn.00453940
add esp, 4
cmp eax, 0x5dc990
jne 0x4506b8
push str.AiVerMin
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.0042e300
add esp, 4
mov byte [ebp - 4], 9
mov edx, esi
push str.AiVerMax
lea ecx, [ebp - 0x5c]
call fcn.0042e300
add esp, 4
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc0]
push esi
push edx
mov ecx, dword [eax + 0x18c]
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4505a4
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp edx, 1
jne 0x4506cf
push edx
mov edx, 0x585e58
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4506cc
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x10], 0
jne 0x450694
cmp dword [edi + 0x10], 0
jne 0x450694
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [eax + 0x18c]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edi, eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xd0]
cmp eax, edi
je 0x45061b
mov ecx, eax
call fcn.00407f30
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0xd0]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [eax + 0x18c]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edi, eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xc8]
cmp ecx, edi
je 0x450682
call fcn.00407f30
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0xc8]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.00407f30
add esi, 0x18
cmp esi, dword [ebp - 0xe8]
jne 0x450510
jmp 0x4507d3
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x4506eb
cmp dword [ebp - 0x18], 8
push edx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00407c60
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [eax + 0x18c]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0xd0]
cmp esi, eax
je 0x450749
mov ecx, esi
call fcn.00407f30
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [eax + 0x18c]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov esi, eax
mov byte [ebp - 4], 0xd
cmp edi, esi
je 0x4507a3
mov ecx, edi
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov edi, dword [ebp - 0xc0]
push dword [ebp - 0xcc]
mov ecx, dword [edi + 0x18c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov esi, dword [edi + 0x18c]
mov byte [ebp - 0xb9], al
mov ecx, dword [esi]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4509c0
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ecx]
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xf0]
add eax, 0x18
push ecx
push eax
mov ecx, esi
call dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc4], eax
cmp eax, 2
je 0x45089f
cmp eax, 0xffffffff
je 0x45089f
cmp eax, 0x64
jne 0x450876
lea esi, [eax - 0x61]
jmp 0x4508a4
push dword [ebp - 0xd4]
call fcn.004528a0
xor ecx, ecx
test al, al
mov eax, dword [ebp - 0xc4]
setne cl
lea ecx, [ecx*4 + 2]
mov dword [ebp - 0xcc], ecx
mov esi, ecx
jmp 0x4508a4
mov esi, 1
mov cl, byte [ebp - 0xb9]
test cl, cl
jne 0x45090c
mov edx, dword [ebp - 0xdc]
lea ecx, [edi + 0x194]
cmp edx, ecx
je 0x4508de
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x4508c9
mov ecx, dword [ecx]
push eax
push ecx
mov ecx, edx
call fcn.00407c60
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x10], 0
jne 0x450906
cmp ecx, edx
je 0x450906
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x4508f9
mov edx, dword [edx]
push eax
push edx
call fcn.00407c60
mov eax, dword [ebp - 0xc4]
mov cl, byte [ebp - 0xb9]
cmp eax, 3
jne 0x45094a
test cl, cl
je 0x45094a
push dword [ebp - 0xd4]
call fcn.004528a0
test al, al
je 0x450942
lea eax, [edi + 0x1c4]
mov edi, dword [ebp - 0xd8]
cmp edi, eax
je 0x45096e
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x45093f
mov eax, dword [eax]
push edx
jmp 0x450966
lea eax, [edi + 0x1ac]
jmp 0x450950
lea eax, [edi + 0x1dc]
mov edi, dword [ebp - 0xd8]
cmp edi, eax
je 0x45096e
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x450965
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00407c60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x98]
call fcn.004e89b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.00406cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.004534a0
int3