Function at 0x100316e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1004c73b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10077990]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdc]
xor ebp, ebp
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xe0]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 0x10056bb8
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], 0x10056b28
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 0x10056bc8
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0x10056b88
mov dword [esp + 0x40], 0x1c
mov dword [esp + 0x44], 0x10056bd8
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 0x10056b98
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 0x10056ba8
mov dword [esp + 0x58], 4
mov dword [esp + 0x5c], 0x10056bf8
mov dword [esp + 0x60], 4
mov dword [esp + 0x64], 0x10056b58
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 0x10056b78
mov dword [esp + 0x70], 0x64
mov dword [esp + 0x74], 0x10056b38
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x10056b48
mov dword [esp + 0x80], 0xc
mov dword [esp + 0x84], 0x10056b68
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0x10056be8
mov dword [esp + 0x90], 0x24
mov dword [esp + 0x94], 0x100607b4
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x100607d4
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x100607f4
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0x10056a68
mov dword [esp + 0xb0], 0xc
mov dword [esp + 0xb4], 0x10060844
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0x10056ad8
mov dword [esp + 0xc0], 9
test eax, eax
je 0x100318ba
mov dword [eax], ebp
test ebx, ebx
je 0x100318c0
mov dword [ebx], ebp
test edi, edi
je 0x100318c6
mov dword [edi], ebp
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov esi, dword [esi + 8]
add esi, 0x68
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x14], 0
mov dword [esp + 0xd0], 0
je 0x100319f5
test ebx, ebx
je 0x100319f5
test edi, edi
je 0x100319f5
mov dword [edi], 0
mov eax, dword [0x1007a1e0]
push 0x140
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [ebx], eax
mov eax, dword [0x1007a1e0]
push 0x50
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [edi], eax
cmp dword [ebx], 0
je 0x100319ee
test eax, eax
je 0x100319ee
mov ebp, 8
lea edx, [esp + 0x30]
lea esi, [ebp + 0x18]
nop
mov ecx, dword [ebx]
lea edx, [edx + 0x28]
mov eax, dword [edx - 0x34]
lea ebp, [ebp + 0x14]
movdqu xmm0, xmmword [eax]
mov eax, dword [edx - 0x30]
movdqu xmmword [ecx + esi - 0x20], xmm0
mov ecx, dword [edi]
mov dword [ecx + ebp - 0x1c], eax
mov ecx, dword [ebx]
mov eax, dword [edx - 0x2c]
movdqu xmm0, xmmword [eax]
mov eax, dword [edx - 0x28]
movdqu xmmword [ecx + esi - 0x10], xmm0
mov ecx, dword [edi]
mov dword [ecx + ebp - 0x18], eax
mov ecx, dword [ebx]
mov eax, dword [edx - 0x24]
movdqu xmm0, xmmword [eax]
mov eax, dword [edx - 0x20]
movdqu xmmword [ecx + esi], xmm0
mov ecx, dword [edi]
mov dword [ecx + ebp - 0x14], eax
mov eax, dword [edx - 0x1c]
mov ecx, dword [ebx]
movdqu xmm0, xmmword [eax]
mov eax, dword [edx - 0x18]
movdqu xmmword [ecx + esi + 0x10], xmm0
mov ecx, dword [edi]
mov dword [ecx + ebp - 0x10], eax
mov eax, dword [edx - 0x14]
mov ecx, dword [ebx]
movdqu xmm0, xmmword [eax]
mov eax, dword [edx - 0x10]
movdqu xmmword [ecx + esi + 0x20], xmm0
mov ecx, dword [edi]
add esi, 0x50
mov dword [ecx + ebp - 0xc], eax
cmp esi, 0x160
jb 0x10031950
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov esi, dword [esp + 0x1c]
mov dword [eax], 0x14
jmp 0x10031a54
mov ebp, 0x8007000e
jmp 0x100319fa
mov ebp, 0x80070057
mov eax, dword [esp + 0x18]
push 0
push 0x10068de8
push ebp
mov eax, dword [eax + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100105d0
test ebx, ebx
je 0x10031a34
mov edx, dword [ebx]
test edx, edx
je 0x10031a34
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x10031a2e
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov dword [ebx], 0
test edi, edi
je 0x10031a54
mov edx, dword [edi]
test edx, edx
je 0x10031a54
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x10031a4e
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov dword [edi], 0
test esi, esi
je 0x10031a5f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1003dba2
add esp, 0xc0
ret 0x10