Function at 0x10021ea0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10043288
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push 0xfde9
push eax
or edi, 0xffffffff
call fcn.10018800
mov ecx, dword [esp + 0x34]
push 0xfde9
push ecx
mov ecx, esi
mov ebx, eax
call fcn.10018800
mov edx, dword [esp + 0x38]
push 0xfde9
push edx
mov ecx, esi
mov ebp, eax
call fcn.10018800
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
push 0xfde9
push eax
mov ecx, esi
call fcn.10018800
mov ecx, dword [esp + 0x48]
push 0xfde9
push ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.10018800
mov edx, dword [esp + 0x28]
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.1001a970
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.10020b80
test al, al
jne 0x10021f5b
mov ecx, dword [esi]
push 0x98970e
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x10022058
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.10018ea0
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov dword [esp + 0x30], 0
call fcn.10018ea0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
mov byte [esp + 0x3c], 1
call fcn.10018ea0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push ebp
mov byte [esp + 0x40], 2
call fcn.10018ea0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
mov byte [esp + 0x44], 3
call fcn.10018ea0
mov ecx, dword [esp + 0x4c]
push ecx
mov byte [esp + 0x44], 4
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov ecx, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.1001e540
mov edi, eax
test edi, edi
je 0x10022035
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], 0
call edx
test eax, eax
jge 0x10022026
mov ecx, dword [esp + 0x3c]
push 0x1004adf4
push ecx
push eax
call fcn.10041d70
mov edx, dword [esp + 0x28]
mov ecx, dword [esi]
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x10022058
mov eax, 0x51eb851f
imul dword [esp + 0x3c]
mov ecx, dword [esi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
push 1
push 0
push eax
call dword [sym.imp.XecureMacuxCSM.dll_public:_char____thiscall_XWClientSM::getMediaList_int__int__int_]
call dword [sym.imp.NativeMngUAC.dll_int___stdcall_xwUACUnInitialize_void_]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call esi
push ebp
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov edx, dword [esp + 0x34]
push edx
call esi
mov eax, dword [esp + 0x38]
push eax
call esi
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x28