Function at 0x4b9fa0
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 0x5e0d05
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x69001c]
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], 0x621794
mov ecx, dword [eax]
mov eax, dword [0x698368]
cmp eax, dword [ecx + 4]
jle 0x4ba292
push 0x698368
call fcn.00590972
add esp, 4
cmp dword [0x698368], 0xffffffff
jne 0x4ba292
mov byte [ebp - 4], 1
xor eax, eax
push 9
mov dword [0x698370], 0
mov ecx, 0x698370
mov dword [0x698380], 0
mov dword [0x698384], 0
push str.VersionNT
mov dword [0x698380], 0
mov dword [0x698384], 7
mov word [0x698370], ax
call fcn.00406e80
mov byte [ebp - 4], 2
xor eax, eax
push 0xb
mov dword [0x698388], 0
mov ecx, 0x698388
mov dword [0x698398], 0
mov dword [0x69839c], 0
push str.VersionNT64
mov dword [0x698398], 0
mov dword [0x69839c], 7
mov word [0x698388], ax
call fcn.00406e80
mov byte [ebp - 4], 3
xor eax, eax
push 0x10
mov dword [0x6983a0], 0
mov ecx, 0x6983a0
mov dword [0x6983b0], 0
mov dword [0x6983b4], 0
push str.ServicePackLevel
mov dword [0x6983b0], 0
mov dword [0x6983b4], 7
mov word [0x6983a0], ax
call fcn.00406e80
mov byte [ebp - 4], 4
xor eax, eax
push 0x15
mov dword [0x6983b8], 0
mov ecx, 0x6983b8
mov dword [0x6983c8], 0
mov dword [0x6983cc], 0
push str.ServicePackLevelMinor
mov dword [0x6983c8], 0
mov dword [0x6983cc], 7
mov word [0x6983b8], ax
call fcn.00406e80
mov byte [ebp - 4], 5
xor eax, eax
push 0xc
mov dword [0x6983d0], 0
mov ecx, 0x6983d0
mov dword [0x6983e0], 0
mov dword [0x6983e4], 0
push str.WindowsBuild
mov dword [0x6983e0], 0
mov dword [0x6983e4], 7
mov word [0x6983d0], ax
call fcn.00406e80
mov byte [ebp - 4], 6
xor eax, eax
push 0x10
mov dword [0x6983e8], 0
mov ecx, 0x6983e8
mov dword [0x6983f8], 0
mov dword [0x6983fc], 0
push str.MsiNTProductType
mov dword [0x6983f8], 0
mov dword [0x6983fc], 7
mov word [0x6983e8], ax
call fcn.00406e80
mov byte [ebp - 4], 1
push 0x609870
call fcn.0059082a
add esp, 4
mov byte [ebp - 4], 0
push 0x698368
call fcn.00590928
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
push esi
call fcn.00406350
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.005522b0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0xec]
cmp esi, dword [ebp - 0xe8]
je 0x4ba5c0
push esi
mov edx, 0x698400
mov ecx, 0x698370
call fcn.00421850
add esp, 4
cmp eax, 0x698400
jne 0x4ba496
push str.AiVerMin
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.00406b50
add esp, 4
mov byte [ebp - 4], 9
mov edx, esi
push str.AiVerMax
lea ecx, [ebp - 0x5c]
call fcn.00406b50
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 0x4ba36e
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
setae byte [ebp - 0xb9]
cmp edx, 1
jne 0x4ba4ad
push edx
mov edx, 0x6190c8
call fcn.00406e00
add esp, 4
test eax, eax
jne 0x4ba4aa
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x10], 0
jne 0x4ba472
cmp dword [edi + 0x10], 0
jne 0x4ba472
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 0x4ba3f0
mov ecx, eax
call fcn.004075e0
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
nop word [eax + eax]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
call fcn.004075e0
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 0x4ba460
call fcn.004075e0
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
nop word [eax + eax]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.004075e0
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004075e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.004075e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004075e0
add esi, 0x18
cmp esi, dword [ebp - 0xe8]
jne 0x4ba2d3
jmp 0x4ba5c0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x4ba4cc
cmp byte [ebp - 0xb9], 0
push edx
cmovne eax, dword [ebp - 0x2c]
push eax
call fcn.00406e80
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 0x4ba530
mov ecx, esi
call fcn.004075e0
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
nop word [eax + eax]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.004075e0
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 0x4ba590
mov ecx, edi
call fcn.004075e0
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
nop word [eax + eax]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.004075e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004075e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.004075e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004075e0
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 + 0x1c]
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 0x4ba7ad
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 0x4ba68c
cmp eax, 0xffffffff
je 0x4ba68c
cmp eax, 0x64
jne 0x4ba663
lea esi, [eax - 0x61]
jmp 0x4ba691
push dword [ebp - 0xd4]
call fcn.004bc570
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 0x4ba691
mov esi, 1
mov cl, byte [ebp - 0xb9]
test cl, cl
jne 0x4ba6f9
mov edx, dword [ebp - 0xdc]
lea ecx, [edi + 0x194]
cmp edx, ecx
je 0x4ba6cb
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x4ba6b6
mov ecx, dword [ecx]
push eax
push ecx
mov ecx, edx
call fcn.00406e80
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x10], 0
jne 0x4ba6f3
cmp ecx, edx
je 0x4ba6f3
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x4ba6e6
mov edx, dword [edx]
push eax
push edx
call fcn.00406e80
mov eax, dword [ebp - 0xc4]
mov cl, byte [ebp - 0xb9]
cmp eax, 3
jne 0x4ba737
test cl, cl
je 0x4ba737
push dword [ebp - 0xd4]
call fcn.004bc570
test al, al
je 0x4ba72f
lea eax, [edi + 0x1c4]
mov edi, dword [ebp - 0xd8]
cmp edi, eax
je 0x4ba75b
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4ba72c
mov eax, dword [eax]
push edx
jmp 0x4ba753
lea eax, [edi + 0x1ac]
jmp 0x4ba73d
lea eax, [edi + 0x1dc]
mov edi, dword [ebp - 0xd8]
cmp edi, eax
je 0x4ba75b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4ba752
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00406e80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x98]
call fcn.00553450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.004067e0
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.0059046a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.004833f0
int3