Function at 0x408490
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4335a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 0x18], edi
cmp ecx, 0x64
jb 0x40865a
nop
mov eax, 0x51eb851f
lea edi, [esi - 1]
mul ecx
mov esi, edi
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
add ecx, ecx
mov eax, ecx
mov ecx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0xc], ecx
mov al, byte [eax + 0x437c21]
mov byte [edi], al
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
cmp byte [eax], 0
jle 0x40859b
mov eax, dword [ebp + 0x24]
inc dword [eax]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
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 0x408598
cmp byte [ebp + 0xb], 0x7f
je 0x408598
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
inc eax
mov ecx, dword [ecx + 8]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x408544
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov esi, edi
add ecx, edx
cmp eax, ecx
je 0x40855d
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ebp + 0x20]
inc dword [eax]
mov eax, dword [ebp + 0x1c]
sub esi, eax
mov edx, dword [ebp + 0x18]
sub esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esi
movq xmm0, qword [ebp - 0x24]
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 - 0x3c]
push eax
call fcn.00411e50
add esp, 0x18
mov ecx, dword [ebp + 0xc]
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 + 0x20]
mov eax, dword [eax]
cmp byte [eax], 0
jle 0x40864e
mov eax, dword [ebp + 0x24]
inc dword [eax]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
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 0x40864b
cmp byte [ebp + 0xb], 0x7f
je 0x40864b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
inc eax
mov ecx, dword [ecx + 8]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4085f7
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov esi, edi
add ecx, edx
cmp eax, ecx
je 0x408610
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp + 0x20]
inc dword [eax]
mov edx, dword [ebp + 0x1c]
sub esi, edx
mov ecx, dword [ebp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], esi
movq xmm0, qword [ebp - 0x30]
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 - 0x48]
push eax
call fcn.00411e50
add esp, 0x18
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x64
jae 0x4084d0
mov edi, dword [ebp - 0x18]
cmp ecx, 0xa
jae 0x408678
add cl, 0x30
mov eax, edi
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esi - 1]
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
movzx eax, byte [esi*2 + 0x437c21]
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0x14]
call fcn.0041cae0
mov ecx, dword [ebp + 8]
movzx eax, byte [esi*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