Function at 0x4076a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x483357
push eax
mov eax, 0x2258
mov dword fs:[0], esp
call fcn.0047c8c0
push ebx
push ebp
mov edx, dword [esp + 0x2270]
push esi
mov ebp, ecx
push edi
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x268]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push ebx
lea ecx, [esp + 0x26c]
push 0x1000
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00406c10
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40771e
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x40771e
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x40771e
mov edx, dword [esp + 0x2c]
cmp edx, 0x80
jg 0x407725
xor eax, eax
jmp 0x407ac3
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push eax
push str.TargetDir
push esi
call dword [0x489104]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x498080]
mov si, word [eax]
mov dword [esp + 0x10], ecx
neg si
sbb esi, esi
and esi, eax
cmp esi, ebx
je 0x4077a0
mov edx, esi
shr edx, 0x10
jne 0x40776e
and esi, 0xffff
lea ecx, [esp + 0x10]
push esi
call fcn.004034d0
jmp 0x4077a0
push esi
call dword [0x4891e0]
mov edi, eax
cmp edi, ebx
je 0x4077a0
push edi
lea ecx, [esp + 0x14]
call fcn.004038a0
test eax, eax
je 0x4077a0
mov edx, dword [esp + 0x10]
lea eax, [edi + edi]
push eax
lea ecx, [edi + edi + 2]
push esi
push ecx
push edx
call fcn.00402de0
add esp, 0x10
mov eax, dword [0x498080]
mov dword [esp + 0x2270], ebx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2270], 1
call fcn.00423440
mov eax, dword [0x498080]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x80000002
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x1b]
mov byte [esp + 0x2270], 0x12
push ecx
lea ecx, [esp + 0x8c]
call fcn.00408f80
mov edx, dword [0x498080]
mov eax, 0x14
or esi, 0xffffffff
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0x3e8
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], 0xb4
push 0x498d6c
lea ecx, [esp + 0x20]
mov byte [esp + 0x2274], 0x13
call fcn.00407200
push eax
lea ecx, [esp + 0x4c]
call fcn.00402e80
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.00407f50
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0x227c]
cmp eax, ebx
jne 0x407a33
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x20]
push edx
call fcn.00424e30
mov eax, dword [eax]
lea ecx, [esp + 0x58]
push eax
push 0x49817c
push ecx
call fcn.00402f50
add esp, 0x10
push ebx
push str.SaveToTemp
lea ecx, [esp + 0x24]
call fcn.00407ae0
mov edx, dword [esp + 0x2278]
dec eax
neg eax
sbb eax, eax
push edx
inc eax
lea ecx, [esp + 0x34]
mov dword [esp + 0xc4], eax
call fcn.00402e80
lea eax, [esp + 0x30]
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.004085c0
lea edx, [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
call fcn.00408c30
mov ecx, dword [0x498080]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x2270], 0x14
mov esi, 1
push esi
lea edx, [esp + 0xdc]
push str.Description_d
push edx
call dword [0x489350]
add esp, 0xc
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x1c]
push eax
call fcn.00407200
push eax
lea ecx, [esp + 0x18]
call fcn.00402e80
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
je 0x4079e1
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.00408fa0
inc esi
cmp esi, 0x64
jl 0x407987
mov ecx, dword [esp + 0x50]
cmp dword [ecx - 8], ebx
jne 0x407a70
mov edx, dword [esp + 0x74]
cmp dword [edx - 8], ebx
jne 0x407a70
lea ecx, [esp + 0x14]
mov byte [esp + 0x2270], 0x13
call fcn.00403870
lea ecx, [esp + 0x30]
mov byte [esp + 0x2270], bl
call fcn.00407b00
lea ecx, [esp + 0x10]
mov dword [esp + 0x2270], 0xffffffff
call fcn.00403870
xor eax, eax
jmp 0x407ac3
cmp edi, ebx
jne 0x407920
lea ecx, [esp + 0x30]
call fcn.0040a410
test eax, eax
je 0x407920
lea ecx, [esp + 0x30]
mov byte [esp + 0x2270], bl
call fcn.00407b00
lea ecx, [esp + 0x10]
mov dword [esp + 0x2270], esi
call fcn.00403870
xor eax, eax
jmp 0x407ac3
mov ecx, dword [ebp + 0x20]
push edi
call fcn.00424e10
mov ecx, dword [eax + 8]
lea edx, [esp + 0x30]
push edx
push ecx
mov ecx, eax
call fcn.00409180
lea ecx, [esp + 0x14]
mov byte [esp + 0x2270], 0x13
call fcn.00403870
lea ecx, [esp + 0x30]
mov byte [esp + 0x2270], bl
call fcn.00407b00
lea ecx, [esp + 0x10]
mov dword [esp + 0x2270], 0xffffffff
call fcn.00403870
mov eax, 1
mov ecx, dword [esp + 0x2268]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2264
ret 8