Function at 0x4116a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [0x41e69c], 0
jne 0x411708
mov esi, esp
push str.localeconv
call fcn.00412460
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004159d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4116f2
mov eax, dword [ebp - 8]
mov dword [ebp - 0xf4], eax
jmp 0x4116fc
mov dword [ebp - 0xf4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
mov dword [0x41e69c], ecx
cmp dword [0x41e69c], 0
jne 0x411718
xor eax, eax
jmp 0x411cf2
mov esi, esp
call dword [0x41e69c]
cmp esi, esp
call fcn.004159d0
mov dword [ebp - 0x14], eax
call fcn.0040eee0
cmp eax, 0x60001
jb 0x41173e
mov eax, dword [ebp - 0x14]
jmp 0x411cf2
call sub.msvcrt.dll____lc_codepage_func
mov dword [ebp - 0x20], eax
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax]
je 0x4117c3
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [edx + 0x10], ecx
push 2
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x60
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x40], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 4]
je 0x411843
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [edx + 0x14], ecx
push 2
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x64
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x44], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0xc]
je 0x41195c
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x411943
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x68
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x48], edx
mov dword [ebp - 0x2c], 0
jmp 0x4118e3
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
je 0x411925
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
movsx eax, byte [ecx + edx]
test eax, eax
je 0x411925
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
movsx ax, byte [ecx + edx]
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp - 0x2c]
mov word [ecx + edx*2 + 0x68], ax
jmp 0x4118da
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov word [edx + ecx*2 + 0x68], ax
jmp 0x41195c
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov dword [edx + 0x48], 0
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
cmp ecx, dword [eax + 0x10]
je 0x4119df
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x20], ecx
push 0x80
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x70
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x4c], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [eax + 0x14]
je 0x411a62
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x24], ecx
push 0x80
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x170
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x50], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax + 0x18]
je 0x411ae5
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x28], ecx
push 0x80
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x270
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x54], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x2c], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x30]
cmp ecx, dword [eax + 0x20]
je 0x411b83
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x30], ecx
push 0x80
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x370
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x58], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x34]
cmp ecx, dword [eax + 0x24]
je 0x411c06
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x34], ecx
push 0x80
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x470
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41e6f0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x5c], ecx
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x28]
mov byte [edx + 0x38], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x29]
mov byte [edx + 0x39], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2a]
mov byte [edx + 0x3a], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2b]
mov byte [edx + 0x3b], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2c]
mov byte [edx + 0x3c], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2d]
mov byte [edx + 0x3d], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2e]
mov byte [edx + 0x3e], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2f]
mov byte [edx + 0x3f], cl
mov eax, dword [0x41e6f0]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
add eax, 0x10
pop edi
pop esi
pop ebx
add esp, 0xf4
cmp ebp, esp
call fcn.004159d0
mov esp, ebp
pop ebp
ret