Function at 0x408900
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4335c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x4430a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
add edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0x14], eax
test ecx, ecx
jne 0x408948
cmp eax, 0x64
jb 0x408ae5
push 0
push 0x64
push ecx
push eax
call fcn.0042dbb0
mov ecx, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x14]
lea edi, [esi - 1]
imul eax, ecx, 0x64
mov esi, edi
sub edx, eax
add edx, edx
mov eax, edx
mov edx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x14], edx
mov al, byte [eax + 0x437c21]
mov byte [edi], al
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
cmp byte [eax], 0
jle 0x408a19
mov eax, dword [ebp + 0x28]
inc dword [eax]
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov al, byte [eax]
mov byte [ebp + 0xb], al
movsx ecx, al
mov eax, dword [edx]
cdq
idiv ecx
test edx, edx
jne 0x408a19
cmp byte [ebp + 0xb], 0x7f
je 0x408a19
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
inc eax
mov ecx, dword [ecx + 0xc]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4089c5
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov esi, edi
add ecx, edx
cmp eax, ecx
je 0x4089de
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ebp + 0x24]
inc dword [eax]
mov eax, dword [ebp + 0x20]
sub esi, eax
mov edx, dword [ebp + 0x1c]
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
movq xmm0, qword [ebp - 0x28]
lea ecx, [edx + eax]
mov dword [ebp - 4], 0xffffffff
mov eax, esp
push ecx
push edx
movq qword [eax], xmm0
mov dword [eax + 8], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00411e50
add esp, 0x18
mov eax, dword [ebp - 0x14]
lea edi, [esi - 1]
mov esi, edi
mov al, byte [eax + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov byte [edi], al
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
cmp byte [eax], 0
jle 0x408ac9
mov eax, dword [ebp + 0x28]
inc dword [eax]
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
mov al, byte [eax]
mov byte [ebp + 0xb], al
movsx ecx, al
mov eax, dword [edx]
cdq
idiv ecx
test edx, edx
jne 0x408ac9
cmp byte [ebp + 0xb], 0x7f
je 0x408ac9
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
inc eax
mov ecx, dword [ecx + 0xc]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x408a75
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov esi, edi
add ecx, edx
cmp eax, ecx
je 0x408a8e
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp + 0x24]
inc dword [eax]
mov edx, dword [ebp + 0x20]
sub esi, edx
mov ecx, dword [ebp + 0x1c]
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
movq xmm0, qword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
movq qword [eax], xmm0
mov dword [eax + 8], 0
lea eax, [ecx + edx]
push eax
push ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.00411e50
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
test ecx, ecx
ja 0x408948
jb 0x408ae2
cmp eax, 0x64
jae 0x408948
mov edi, dword [ebp - 0x1c]
test ecx, ecx
ja 0x408b08
jb 0x408af0
cmp eax, 0xa
jae 0x408b08
add al, 0x30
mov byte [esi - 1], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [eax*2 + 0x437c21]
lea ecx, [esi - 1]
mov byte [ecx], al
lea eax, [ebp + 8]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 0x18]
push eax
call fcn.0041ca00
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
movzx eax, byte [eax*2 + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
mov byte [ecx - 1], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret