Function at 0x1006cfa5
Capabilities:
Get number of processors

Disassembly:
sub esp, 0x64
mov eax, dword [0x1008c00c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
mov esi, dword [0x10090f78]
lea eax, [esp + 0x30]
push edi
push 0x3c
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x44], 0x1c
xor ebp, ebp
mov dword [esp + 0x58], 0x20
inc ebp
mov dword [esp + 0x64], ebp
push 2
pop edi
mov dword [esp + 0x5c], edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0x10090f68
push 0x10090f5c
mov dword [esp + 0x68], eax
lea eax, [esp + 0x3c]
push eax
push 0x1d
push ebx
push ebx
push edi
push ebx
mov dword [esp + 0x70], ebp
call dword [sym.imp.d3d10.dll_D3D10CreateDeviceAndSwapChain]
test eax, eax
je 0x1006d037
push eax
push str.____D3D10CreateDeviceAndSwapChain___failed.__rv:__lu__n
call fcn.100011c7
push str.____CreateDeviceD3D10___failed._n
call fcn.100011c7
add esp, 0xc
jmp 0x1006d376
push dword [0x10090f68]
push str.___DirectX10:_g_pd3dDevice:_0x_p_n
call fcn.100011c7
push dword [0x10090f5c]
push str.___DirectX10:_g_pSwapChain:_0x_p_n
call fcn.100011c7
add esp, 0x10
cmp dword [0x10090f68], ebx
je 0x1006d376
mov ecx, esi
call fcn.1006d959
mov eax, dword [0x10090f68]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], ebx
push 0x1008642c
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], ebx
push 0x1008644c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x1006d0c8
push str.____pIDXGIFactory_is_NULL._n
call fcn.100011c7
pop ecx
jmp 0x1006d376
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x10090f5c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
mov edi, dword [ecx + 0x9c]
mov eax, dword [eax]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x3c]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
call fcn.1006d3a1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10090cb0]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10092398]
cmp eax, dword [esi + 4]
jle 0x1006d16f
push 0x10092398
call fcn.1006df30
cmp dword [0x10092398], 0xffffffff
pop ecx
jne 0x1006d16f
push 0x10090f50
mov edx, 0x1006cf6d
mov ecx, ebx
call fcn.1006b43d
push 0x10092398
call fcn.1006dee6
pop ecx
mov eax, dword [0x100923b0]
cmp eax, dword [esi + 4]
jle 0x1006d1ac
push 0x100923b0
call fcn.1006df30
cmp dword [0x100923b0], 0xffffffff
pop ecx
jne 0x1006d1ac
push 0x10090f64
mov edx, 0x1006cf78
mov ecx, ebp
call fcn.1006b43d
push 0x100923b0
call fcn.1006dee6
pop ecx
mov eax, dword [0x100923a0]
cmp eax, dword [esi + 4]
jle 0x1006d1eb
push 0x100923a0
call fcn.1006df30
cmp dword [0x100923a0], 0xffffffff
pop ecx
jne 0x1006d1eb
mov ecx, dword [esp + 0x18]
mov edx, 0x1006cf87
push 0x10090f60
call fcn.1006b43d
push 0x100923a0
call fcn.1006dee6
pop ecx
mov eax, dword [0x100923a8]
cmp eax, dword [esi + 4]
jle 0x1006d22a
push 0x100923a8
call fcn.1006df30
cmp dword [0x100923a8], 0xffffffff
pop ecx
jne 0x1006d22a
mov ecx, dword [esp + 0x1c]
mov edx, 0x1006cf96
push 0x10090f48
call fcn.1006b43d
push 0x100923a8
call fcn.1006dee6
pop ecx
mov eax, dword [0x100923b4]
cmp eax, dword [esi + 4]
jle 0x1006d269
push 0x100923b4
call fcn.1006df30
cmp dword [0x100923b4], 0xffffffff
pop ecx
jne 0x1006d269
mov ecx, dword [esp + 0x20]
mov edx, 0x1006cf2e
push 0x10090f6c
call fcn.1006b43d
push 0x100923b4
call fcn.1006dee6
pop ecx
mov eax, dword [0x1009239c]
cmp eax, dword [esi + 4]
jle 0x1006d2a8
push 0x1009239c
call fcn.1006df30
cmp dword [0x1009239c], 0xffffffff
pop ecx
jne 0x1006d2a8
mov ecx, dword [esp + 0x24]
mov edx, 0x1006cf3d
push 0x10090f54
call fcn.1006b43d
push 0x1009239c
call fcn.1006dee6
pop ecx
mov eax, dword [0x100923a4]
cmp eax, dword [esi + 4]
jle 0x1006d2e7
push 0x100923a4
call fcn.1006df30
cmp dword [0x100923a4], 0xffffffff
pop ecx
jne 0x1006d2e7
mov ecx, dword [esp + 0x14]
mov edx, 0x1006cf4f
push 0x10090f58
call fcn.1006b43d
push 0x100923a4
call fcn.1006dee6
pop ecx
mov eax, dword [0x100923ac]
cmp eax, dword [esi + 4]
jle 0x1006d321
mov esi, 0x100923ac
push esi
call fcn.1006df30
cmp dword [0x100923ac], 0xffffffff
pop ecx
jne 0x1006d321
push 0x10090f4c
mov edx, 0x1006cf5e
mov ecx, edi
call fcn.1006b43d
push esi
call fcn.1006dee6
pop ecx
xor esi, esi
mov ecx, ebx
inc esi
mov edx, esi
call fcn.1006b589
mov edx, esi
mov ecx, ebp
call fcn.1006b589
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.1006b589
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.1006b589
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.1006b589
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.1006b589
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.1006b589
mov edx, esi
mov ecx, edi
call fcn.1006b589
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006dac1
add esp, 0x64
ret