Function at 0x100220a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100432d8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push 0xfde9
push eax
or edi, 0xffffffff
call fcn.10018800
mov ecx, dword [esp + 0x30]
push 0xfde9
push ecx
mov ecx, esi
mov ebx, eax
call fcn.10018800
mov edx, dword [esp + 0x34]
push 0xfde9
push edx
mov ecx, esi
mov ebp, eax
call fcn.10018800
mov dword [esp + 0x2c], 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 + 0x38], eax
call fcn.10018800
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.1001a970
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.10020b80
test al, al
jne 0x1002215a
mov ecx, dword [esi]
push 0x98970e
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x1002225c
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.10018ea0
mov eax, dword [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov dword [esp + 0x2c], 0
call fcn.10018ea0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x3c], 1
call fcn.10018ea0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push ebp
mov byte [esp + 0x40], 2
call fcn.10018ea0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push ebx
mov byte [esp + 0x44], 3
call fcn.10018ea0
mov eax, dword [esp + 0x4c]
push eax
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.1001eca0
mov edi, eax
test edi, edi
je 0x10022239
call dword [sym.imp.NativeMngUAC.dll_void____cdecl_GetpObjElevator_void_]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x2c], 0
call eax
test eax, eax
jge 0x1002222a
mov ecx, dword [esp + 0x38]
push 0x1004adf4
push ecx
push eax
call fcn.10041d70
mov edx, dword [esp + 0x24]
mov ecx, dword [esi]
push edx
call dword [sym.imp.XecureMacuxCSM.dll_public:_void___thiscall_XWClientSM::setError_int_]
jmp 0x1002225c
mov eax, 0x51eb851f
imul dword [esp + 0x38]
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 + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0x30]
push edx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x2c