Function at 0x6781b3b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67980b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [esi + 0x28]
cmp eax, ebx
mov eax, edi
je 0x6781b6f0
and eax, 0xffff
add eax, 0xfffffffe
cmp eax, 0x63
ja case.0x6781b709.6
xor ecx, ecx
mov cl, byte [eax + 0x6781b964]
jmp dword [ecx*4 + 0x6781b944]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], ebx
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_strtod]
mov eax, dword [ebp + 0x10]
add esp, 8
fstp dword [esp + 0x20]
lea edx, [esp + 0x20]
mov ecx, esi
push edx
push eax
push edi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
push eax
call dword [sym.imp.MSVCRT.dll_strtod]
mov ecx, dword [ebp + 0x10]
add esp, 8
fstp qword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], ebx
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::ExchangePropDateHelper_class_CString___class_COleDateTime__
test eax, eax
je case.0x6781b709.6
fld qword [esp + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
fstp qword [eax]
mov dword [eax + 8], ecx
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp di, 0x65
jne 0x6781b593
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], ebx
mov eax, dword [edx]
lea edx, [esp + 0x24]
push edx
push str._i___i
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 2
je 0x6781b56a
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push 0x65
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp di, 0x64
jne 0x6781b636
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
mov eax, dword [edx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push str._i___i___i___i
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x18
cmp eax, 4
je 0x6781b5ff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push 0x64
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov eax, 1
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
mov ecx, esi
push edi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPPropExchange::PreformatString_class_CString__
mov ecx, dword [ebp + 0x10]
push edi
call sub.MFC42.DLL_CString::operator_3
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
push edx
mov word [esp + 0x10], bx
call sub.MFC42.DLL_COleVariant::operator_1
mov eax, dword [sym.MfcHlpr520.dll_unsigned_long_int_CMHPPropExchange::m_lcidDateTime]
mov dword [esp + 0x58], ebx
cmp eax, 0xffffffff
jne 0x6781b6bc
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
push ecx
call fcn.6781a630
add esp, 8
test eax, eax
je 0x6781b6bc
lea edx, [esp + 0x20]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_COleVariant::operator
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::CopyPropValue_unsigned_short_int__void___void_const__
lea edx, [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
and eax, 0xffff
add eax, 0xfffffffe
cmp eax, 0x63
ja case.0x6781b709.6
xor ecx, ecx
mov cl, byte [eax + 0x6781b9f0]
jmp dword [ecx*4 + 0x6781b9c8]
push edi
mov ecx, esi
mov dword [esp + 0x10], ebx
call sym.MfcHlpr520.dll_protected:_unsigned_long_int___thiscall_CMHPPropExchange::GetSizeOfVarType_unsigned_short_int_
mov esi, dword [ebp + 0x10]
mov ecx, eax
mov edx, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push 0x67a72660
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_3
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPPropExchange::PreformatString_class_CString__
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPPropExchange::ExchangePropDateHelper_class_CString___class_COleDateTime__
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
sub esp, 8
fld dword [edx]
fstp qword [esp]
push 0x67a7265c
jmp 0x6781b7eb
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push 0x67a7265c
jmp 0x6781b7eb
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push str._i___i
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push ecx
push edx
push str._i___i___i___i
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [sym.MfcHlpr520.dll_unsigned_long_int_CMHPPropExchange::m_lcidDateTime]
mov esi, dword [ebp + 0x10]
cmp edi, 0xffffffff
jne 0x6781b8c1
cmp word [esi], 7
jne 0x6781b8bf
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.6781a760
add esp, 8
mov ecx, dword [ebp + 8]
push eax
mov dword [esp + 0x5c], 1
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
lea edx, [esp + 0x40]
push edx
call sub.MFC42.DLL_AfxVariantInit
push 8
push ebx
push edi
lea eax, [esp + 0x4c]
push esi
push eax
mov dword [esp + 0x6c], 2
call dword [sym.imp.OLEAUT32.dll_SafeArrayPtrOfIndex]
test eax, eax
jl 0x6781b920
cmp word [esp + 0x40], 8
jne 0x6781b920
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.6797dc76
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10