Function at 0x41f660
Capabilities:
Check os version
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4946e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
lea esi, [ebp + 4]
push 0xa
mov ecx, esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x14], ebx
call fcn.004848f9
mov dword [esi], method.CMapStringToPtr.virtual_0
lea esi, [ebp + 0x20]
mov dword [esp + 0xa4], ebx
mov ecx, esi
call fcn.004845db
mov dword [esi], method.CPtrArray.virtual_0
mov eax, dword [0x4afb38]
lea ecx, [ebp + 0x38]
mov dword [ecx], eax
mov esi, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push esi
mov byte [esp + 0xa8], 2
mov dword [ebp], edx
call fcn.00485567
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x44], eax
push ecx
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x48], ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
mov dword [ebp + 0x34], ebx
call fcn.00485498
lea eax, [esp + 0x30]
push eax
call fcn.00401080
add esp, 8
push esi
mov byte [esp + 0xa8], 3
call fcn.00401ab0
mov ecx, eax
call fcn.004021f0
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x28], edi
jne 0x41f740
mov ecx, dword [ebp]
push esi
push 0x4aa38c
push ecx
call fcn.00403b00
add esp, 0xc
jmp 0x41fbbe
push ebx
push 0x1000
push 1
push edi
lea ecx, [esp + 0x68]
call fcn.0048b775
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 4
call fcn.00484093
lea edx, [esp + 0x30]
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0xac], 5
call fcn.00401750
add esp, 8
test eax, eax
je 0x41fb93
mov ecx, dword [esp + 0x34]
push str.CONTROL
mov eax, dword [ecx]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41fb04
push 0x2c
call fcn.00485977
add esp, 4
test eax, eax
je 0x41f7bc
mov edx, dword [0x4afb38]
mov esi, eax
mov dword [eax + 0x18], edx
jmp 0x41f7be
xor esi, esi
mov eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x20]
push esi
push eax
call fcn.00484754
mov ebx, esi
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
mov dword [esi + 0x10], eax
xor edi, edi
mov dword [esi + 0x14], ecx
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x24], 0x64
mov dword [esi + 0x1c], eax
mov dword [ebx + 8], edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [ebx + 0xc], edi
call fcn.00484093
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0xac], 6
call fcn.00401750
add esp, 8
test eax, eax
je 0x41fad3
mov edx, dword [esp + 0x18]
push str.CONTROL
mov eax, dword [edx]
push eax
call fcn.00464a16
add esp, 8
mov edi, 2
test eax, eax
jne 0x41f861
cmp dword [esp + 0x1c], edi
jl 0x41f861
mov eax, dword [esp + 0x18]
push 0x4aa37c
mov eax, dword [eax + 4]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
je 0x41fad3
mov ecx, dword [esp + 0x18]
push str.NAME
mov eax, dword [ecx]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41f894
cmp dword [esp + 0x1c], edi
jl 0x41f894
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x18]
add edx, 4
push edx
call fcn.00485517
jmp 0x41fab9
mov eax, dword [esp + 0x18]
push 0x4aca24
mov eax, dword [eax]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41f8fa
cmp dword [esp + 0x1c], 5
jl 0x41f8fa
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
push eax
call fcn.00465432
mov dword [esi], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
push eax
call fcn.00465432
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
push eax
call fcn.00465432
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x10]
push eax
call fcn.00465432
add esp, 0x10
mov dword [esi + 0xc], eax
jmp 0x41fab9
mov edx, dword [esp + 0x18]
push str.IMAGE
mov eax, dword [edx]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41fa2c
cmp dword [esp + 0x1c], edi
jl 0x41fa2c
push 1
lea ecx, [esp + 0x18]
call fcn.0044ac90
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0048519f
lea eax, [esp + 0x54]
push eax
call fcn.00401600
mov eax, dword [eax]
push 0x4aa388
push eax
call fcn.00464a16
add esp, 0x10
lea ecx, [esp + 0x50]
test eax, eax
sete bl
call fcn.0048542a
test bl, bl
je 0x41fa15
push 0xf4
call fcn.00485977
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
test edi, edi
mov byte [esp + 0xa4], 7
je 0x41f9e1
push 0
push 0x4ba4a8
push 1
lea ecx, [esp + 0x20]
call fcn.0044ac90
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.0048519f
lea ecx, [esp + 0x58]
push ecx
call fcn.004013c0
mov ebx, dword [esp + 0x20]
add esp, 8
or ebx, 1
mov dword [esp + 0x18], ebx
mov ecx, eax
mov byte [esp + 0xac], 8
call fcn.0040a270
mov edx, dword [esp + 0xb4]
push eax
push 0xffffffffffffffff
push edx
mov ecx, edi
call fcn.00406be0
jmp 0x41f9e3
xor eax, eax
mov dword [esi + 0x20], eax
mov al, byte [esp + 0x10]
test al, 1
mov dword [esp + 0xa4], 6
je 0x41fab9
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
and al, 0xfe
mov dword [esp + 0x10], eax
call fcn.0048542a
jmp 0x41fab9
mov eax, dword [esp + 0x18]
mov ecx, ebp
mov eax, dword [eax + 4]
push eax
call fcn.0041fd40
mov dword [esi + 0x1c], eax
jmp 0x41fab9
mov ecx, dword [esp + 0x18]
push 0x4aa350
mov eax, dword [ecx]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41fa70
cmp dword [esp + 0x1c], 3
jl 0x41fa70
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.00465432
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
push eax
call fcn.00465432
add esp, 8
mov dword [esi + 0x14], eax
jmp 0x41fab9
mov ecx, dword [esp + 0x18]
push str.ALPHA
mov eax, dword [ecx]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41fab9
cmp dword [esp + 0x1c], edi
jl 0x41fab9
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.00465432
mov ecx, eax
add esp, 4
shl ecx, 8
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x24], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.00401750
add esp, 8
test eax, eax
jne 0x41f821
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41faed
mov eax, dword [esi + 4]
mov edx, dword [esi]
push 0
push 0x3f800000
push eax
push edx
call fcn.00407ed0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 5
call fcn.004840c6
mov edi, dword [esp + 0x28]
jmp 0x41fb79
mov eax, dword [esp + 0x34]
push 0x4aac34
mov eax, dword [eax]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41fb37
cmp dword [esp + 0x38], 2
jl 0x41fb37
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
mov ecx, ebp
push eax
call fcn.0041fd40
mov dword [ebp + 0x34], eax
jmp 0x41fb79
mov edx, dword [esp + 0x34]
push str.SIZE
mov eax, dword [edx]
push eax
call fcn.00464a16
add esp, 8
test eax, eax
jne 0x41fb79
cmp dword [esp + 0x38], 3
jl 0x41fb79
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
push eax
call fcn.00465432
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x44], eax
mov eax, dword [ecx + 8]
push eax
call fcn.00465432
add esp, 8
mov dword [ebp + 0x48], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x58]
push edx
push eax
call fcn.00401750
add esp, 8
test eax, eax
jne 0x41f785
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 4
call fcn.004840c6
lea ecx, [esp + 0x58]
mov byte [esp + 0xa4], 3
call fcn.0048b851
xor ebx, ebx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0048519f
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401080
add esp, 8
lea ecx, [esp + 0x28]
call fcn.0048542a
cmp edi, ebx
je 0x41fbf2
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 2
call fcn.0048542a
mov ecx, dword [esp + 0x9c]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 8