Function at 0x1000ce00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004bc3b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
call fcn.100135e0
mov dword [esp + 0x38], vtable.CDBDataSourceAdmin.0
xor ebx, ebx
mov dword [esp + 0x50], 0
push ebx
push ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1000ce8c
mov dword [eax], ebx
mov esi, dword [esp + 0x58]
mov esi, dword [esi + 8]
add esi, 0x64
push esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov byte [esp + 0x50], 1
test ebp, ebp
je 0x1000cec0
test eax, eax
jne 0x1000cec0
mov edi, 0x80070057
jmp 0x1000cfca
xor ecx, ecx
test ebp, ebp
je 0x1000ced9
cmp dword [eax + 4], 0
je 0x1000ced1
cmp dword [eax], 0
je 0x1000ceb6
inc ecx
add eax, 0x18
cmp ecx, ebp
jb 0x1000cec6
lea ecx, [esp + 0x38]
call fcn.10014da0
mov edi, eax
test edi, edi
js 0x1000cfca
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
cmp dword [eax + 0x80], 1
jne 0x1000cf0a
mov edi, 0x80040e52
jmp 0x1000cfca
add eax, 0x98
mov dword [esp + 0x30], 0
push eax
lea ecx, [esp + 0x3c]
call fcn.10088d5c
mov edi, eax
test edi, edi
js 0x1000cfca
push 0
push dword [esp + 0x64]
lea ecx, [esp + 0x40]
push ebp
call fcn.10016d20
mov edi, eax
test edi, edi
js 0x1000cfca
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x38]
add ebp, 0x98
push eax
mov ecx, ebp
call fcn.10013a40
mov edi, eax
test edi, edi
js 0x1000cfca
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push 0
call fcn.1000f760
test eax, eax
jns 0x1000cf7c
mov edi, 0x80040e4d
jmp 0x1000cfca
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x28]
push ecx
push 0x3b
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0xa0]
call fcn.10015190
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, ebx
call fcn.1000ca20
mov edi, eax
test edi, edi
js 0x1000cfc6
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1000e200
test eax, eax
jns 0x1000cfed
mov edi, 0x80040e4d
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000d13e
push 0x10068d98
push eax
push edi
push dword [esp + 0x20]
call fcn.100106d0
jmp 0x1000d157
mov ebp, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x98
push eax
call fcn.10018130
mov edi, eax
test edi, edi
js 0x1000cfc6
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push ecx
push eax
test al, al
jns 0x1000d03d
push 0x100547c0
push str.User
push str.Serial
push ebx
push dword [esp + 0x40]
call fcn.10012e70
mov edi, eax
test edi, edi
js 0x1000cfca
jmp 0x1000d080
lea eax, [esp + 0x28]
push eax
push ebx
push dword [esp + 0x38]
push dword [esp + 0x28]
call fcn.10012d90
mov edi, eax
test edi, edi
js 0x1000cfca
lea eax, [esp + 0x18]
push eax
push 1
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.10012d60
mov edi, eax
test edi, edi
js 0x1000cfca
mov dword [esp + 0x20], 0xffffffff
push 1
push dword [esp + 0x18]
call sub.msjet40.dll_Ordinal_130
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x14], 0xffffffff
je 0x1000cfca
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call fcn.1000eb40
mov edi, eax
test edi, edi
js 0x1000cfca
push 0x9c
call fcn.1003d386
add esp, 4
mov dword [esp + 0x60], eax
mov byte [esp + 0x50], 2
test eax, eax
je 0x1000d0de
push dword [esp + 0x64]
mov ecx, eax
call fcn.1000ac20
mov ebp, eax
jmp 0x1000d0e0
xor ebp, ebp
mov byte [esp + 0x50], 1
test ebp, ebp
jne 0x1000d0f3
mov edi, 0x8007000e
jmp 0x1000cfcc
mov eax, dword [esp + 0x58]
mov ecx, ebp
mov eax, dword [eax + 8]
push dword [eax + 0x94]
push dword [eax + 0x90]
push eax
call fcn.1000b510
test eax, eax
jns 0x1000d11c
mov edi, 0x80004005
jmp 0x1000cfcc
push dword [esp + 0x6c]
mov eax, dword [ebp]
push dword [esp + 0x6c]
push ebp
call dword [eax]
mov eax, dword [esp + 0x6c]
mov ecx, 0x80004002
cmp dword [eax], 0
cmove edi, ecx
jmp 0x1000cfcc
test edi, edi
jns 0x1000d1aa
push 0
push 0x10068d98
push edi
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.100105d0
test edi, edi
jns 0x1000d1aa
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x1000d175
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
push dword [esp + 0x20]
call fcn.10012d60
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1000d186
push 1
push eax
call sub.msjet40.dll_Ordinal_130
test ebp, ebp
je 0x1000d19a
mov ecx, ebp
call fcn.1000ad90
push ebp
call fcn.1003d3fc
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x1000d1aa
mov ecx, dword [esp + 0x24]
call fcn.1000f950
test ebx, ebx
je 0x1000d1b7
push ebx
call fcn.1003d3fc
add esp, 4
test esi, esi
je 0x1000d1c2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xffffffff
call fcn.10013690
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18