Function at 0x40d9e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42dbde
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x440028]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x440028]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
mov esi, ecx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 8
mov dword [esp + 0x38], 0xff
call dword [0x42f020]
mov ecx, esi
call dword [0x42f3e0]
call dword [0x42f490]
test eax, eax
jne 0x40da63
push 0xffffffffffffffff
push eax
push 0x64
call dword [0x42f464]
jmp 0x40e0db
push 0
call dword [0x42f468]
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
call dword [0x42f0d0]
push eax
call dword [0x42f228]
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
cmp eax, 2
jle 0x40dbd4
mov ebx, 2
mov edx, dword [edi + ebx*4]
push edx
lea ecx, [esp + 0x18]
call dword [0x42ff80]
mov dword [esp + 0xb8], 0
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x14]
cmp ecx, eax
jae 0x40db0f
mov ecx, dword [esi + 0x110]
lea edx, [esp + 0x14]
cmp ecx, edx
ja 0x40db0f
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0x118]
jne 0x40dae7
lea ecx, [esi + 0x110]
call fcn.0040e800
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x114]
lea eax, [eax + edi*4]
mov byte [esp + 0xb8], 1
test ecx, ecx
je 0x40db09
push eax
call dword [0x42ff7c]
mov edi, dword [esp + 0x20]
jmp 0x40db3f
cmp eax, dword [esi + 0x118]
jne 0x40db22
lea ecx, [esi + 0x110]
call fcn.0040e800
mov ecx, dword [esi + 0x114]
mov byte [esp + 0xb8], 2
test ecx, ecx
je 0x40db3f
lea edx, [esp + 0x14]
push edx
call dword [0x42ff7c]
add dword [esi + 0x114], 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], 0xffffffff
call dword [0x42ffa8]
inc ebx
cmp ebx, dword [esp + 0x2c]
jl 0x40da98
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call dword [0x42ff80]
push 0x4322ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0xbc], 3
call dword [0x42fff4]
test eax, eax
jne 0x40dba2
mov dword [esi + 0x10c], 1
jmp 0x40dbbf
push 0x4322b4
lea ecx, [esp + 0x1c]
call dword [0x42fff4]
test eax, eax
jne 0x40dbbf
mov dword [esi + 0x10c], 2
lea ecx, [esp + 0x18]
mov dword [esp + 0xb8], 0xffffffff
call dword [0x42ffa8]
test edi, edi
je 0x40dbdf
push edi
call dword [0x42f0c4]
push 0
mov ecx, esi
call dword [0x42f3e4]
push 0x4322bc
lea ecx, [esp + 0x20]
call dword [0x42ff80]
push str.Downloader
lea ecx, [esp + 0x28]
mov dword [esp + 0xbc], 4
call dword [0x42ff80]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
mov ebx, str.Software_
mov byte [esp + 0xbc], 5
call fcn.00403180
add esp, 4
push eax
lea edx, [esp + 0x1c]
push edx
mov edi, 0x430ecc
mov byte [esp + 0xc0], 6
call fcn.004030e0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
mov byte [esp + 0xc8], 7
call fcn.00403060
mov eax, dword [eax]
add esp, 0x10
push eax
push 0x80000001
call dword [0x42f240]
lea ecx, [esp + 0x20]
call dword [0x42ffa8]
lea ecx, [esp + 0x18]
call dword [0x42ffa8]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 5
call dword [0x42ffa8]
lea esi, [esp + 0x14]
call fcn.0040e490
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, 0x4307c4
mov byte [esp + 0xc0], 8
call fcn.004030e0
mov edx, dword [esp + 0x20]
add esp, 8
push edx
xor ebx, ebx
push ebx
push str.VERSIONINFO
push str.ENVIRONMENT
call dword [0x42f0e0]
cmp eax, 2
jne 0x40dce7
mov edi, dword [esp + 0x28]
mov dword [edi + 0x18c], eax
jmp 0x40dcf7
mov eax, dword [esp + 0x28]
mov dword [eax + 0x18c], 1
mov edi, eax
lea ecx, [esp + 0x18]
call dword [0x42ffa8]
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 5
call dword [0x42ffa8]
call dword [0x42f0d4]
mov ecx, 0x409
cmp ax, cx
jne 0x40dd2d
mov dword [edi + 0x18c], 1
mov eax, dword [edi + 0x18c]
dec eax
je 0x40dd40
dec eax
jne 0x40dd51
push str..libDownloaderCHN.dll
jmp 0x40dd45
push str..libDownloaderENG.dll
call dword [0x42f0cc]
mov dword [edi + 0x190], eax
mov esi, dword [edi + 0x190]
cmp esi, ebx
je 0x40e0c7
call dword [0x42ff2c]
mov dword [eax + 0xc], esi
call fcn.0040e2b0
test eax, eax
je 0x40e0c7
push str.Downloader
call dword [0x42f1c4]
mov edx, dword [edi + 0x50]
add esp, 4
push edx
mov esi, eax
call dword [0x42f1c8]
mov eax, dword [esp + 0x20]
add esp, 4
push eax
mov ecx, edi
mov dword [edi + 0x50], esi
call dword [0x42f458]
push 4
mov ecx, edi
call dword [0x42f45c]
mov ecx, edi
call dword [0x42f4cc]
mov ecx, edi
call dword [0x42f4c8]
mov ecx, edi
call dword [0x42f4c4]
or ecx, 0xffffffff
mov eax, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0xc8
mov dword [esp + 0x54], eax
call dword [0x42f48c]
push eax
push 0xffff
mov ecx, 0x451710
call dword [0x42f4bc]
mov ecx, eax
call dword [0x42f4e0]
lea esi, [esp + 0x20]
call fcn.0040e490
push eax
lea ecx, [edi + 0x188]
mov byte [esp + 0xbc], 9
call dword [0x42ffac]
mov ecx, esi
mov byte [esp + 0xb8], 5
call dword [0x42ffa8]
mov eax, edi
call fcn.0040e110
push 0x5594
call dword [0x42fe90]
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xb8], 0xa
cmp eax, ebx
je 0x40de85
push eax
call fcn.0041a270
mov esi, eax
jmp 0x40de87
xor esi, esi
mov byte [esp + 0xb8], 5
cmp esi, ebx
je 0x40e0c7
mov edx, dword [esi]
mov eax, dword [edx + 0x16c]
push ebx
push ebx
push 0xcf8000
push 0x67
mov ecx, esi
call eax
test eax, eax
je 0x40e0bc
lea ecx, [esp + 0x6c]
mov dword [edi + 0x20], esi
mov dword [edi + 0x100], esi
call dword [0x42f3b4]
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0xbc], 0xb
mov ecx, edi
mov dword [esp + 0x84], 0xffffffff
call dword [0x42f420]
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call dword [0x42f41c]
test eax, eax
jne 0x40df0f
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 5
call dword [0x42f3b0]
jmp 0x40e0c7
push ebx
push 1
push ebx
lea eax, [esi + 0x3aec]
push eax
mov ecx, esi
call dword [0x42f3c0]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x98]
push ecx
push edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
call dword [0x42f2b8]
mov ebx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
lea ecx, [ebx + 0x23a]
push 1
lea eax, [edx + 0x2bc]
mov dword [esp + 0xa8], ecx
sub ecx, ebx
push ecx
mov dword [esp + 0xa8], eax
sub eax, edx
push eax
push ebx
push edx
mov ecx, esi
call dword [0x42f4f0]
push 0
mov ecx, esi
call dword [0x42f4e8]
mov eax, dword [esi + 0x20]
mov ebx, dword [0x42f2ec]
push 0
push 0x8008
push 0x111
push eax
call ebx
mov ecx, dword [esi + 0x20]
push 0
push 0x8009
push 0x111
push ecx
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0x8025
push 0x111
push edx
call ebx
mov eax, dword [esi + 0x20]
push 0
push 0x801f
push 0x111
push eax
call ebx
mov ecx, dword [esi + 0x20]
push 0
push 0x804b
push 0x111
push ecx
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0x8060
push 0x111
push edx
call ebx
mov eax, dword [edi + 0x10c]
sub eax, 0
je 0x40e054
dec eax
je 0x40e035
dec eax
jne 0x40e066
push eax
mov eax, dword [esi + 0x20]
push 0x8009
push 0x111
push eax
call ebx
mov ecx, dword [esi + 0x2dd0]
call fcn.00425980
jmp 0x40e066
mov ecx, dword [esi + 0x20]
push 0
push 0x8008
push 0x111
push ecx
call ebx
mov eax, dword [esi + 0x2dc8]
call fcn.0040f5c0
jmp 0x40e066
mov edx, dword [esi + 0x20]
push 0
push 0x8008
push 0x111
push edx
call ebx
mov eax, dword [edi + 0x4c]
push eax
mov ecx, esi
call dword [0x42f4ec]
mov ecx, dword [esi + 0x20]
push ecx
call dword [0x42f2d0]
mov edx, dword [esi + 0x20]
push 0
push 0x3e8
push 0x6e
push edx
call dword [0x42f2b4]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 5
call dword [0x42f3b0]
lea ecx, [esp + 0x24]
call dword [0x42ffa8]
lea ecx, [esp + 0x1c]
call dword [0x42ffa8]
mov eax, 1
jmp 0x40e0dd
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x24]
call dword [0x42ffa8]
lea ecx, [esp + 0x1c]
call dword [0x42ffa8]
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00428fe6
mov esp, ebp
pop ebp
ret