Function at 0x416070
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edi
mov cx, word [0x486f80]
mov eax, dword [0x486f7c]
mov dl, byte [0x486f82]
xor ebp, ebp
mov word [esp + 0x40], cx
push 6
push 0x486f74
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x44], eax
mov byte [esp + 0x4a], dl
mov byte [esp + 0x3c], 0x87
mov byte [esp + 0x3d], 0x89
mov byte [esp + 0x3e], 0x91
mov byte [esp + 0x3f], 0xa3
mov byte [esp + 0x40], 0xa5
mov byte [esp + 0x41], 0x97
call fcn.0044e650
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call fcn.0044e5b0
push 7
push 0x486f6c
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 2
call fcn.0044e650
push 7
push 0x486f64
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 3
call fcn.0044e650
push 1
push 0x486f60
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 4
call fcn.0044e650
mov al, byte [esp + 0x84]
mov dword [esp + 0x48], ebp
mov byte [esp + 0x44], al
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
push ebp
push ebp
push ebp
mov byte [esp + 0x88], 6
call fcn.00425410
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.004251d0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x44]
push edx
push 1
push esi
mov dword [esp + 0x58], esi
call fcn.00413f00
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push eax
push 1
push ecx
lea ecx, [esp + 0x50]
call fcn.00413f00
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x4c]
push edx
push 1
push eax
lea ecx, [esp + 0x50]
call fcn.00413f00
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, edi
call fcn.004202a0
test ax, ax
jne 0x416287
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
cmp esi, edi
mov byte [esp + 0x7c], 5
je 0x4161f6
push ebp
mov ecx, esi
call fcn.00414fe0
add esi, 4
cmp esi, edi
jne 0x4161e3
mov esi, dword [esp + 0x48]
push esi
call fcn.00467320
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov byte [esp + 0x7c], 4
call fcn.0044e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 3
call fcn.0044e6f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 2
call fcn.0044e6f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call fcn.0044e6f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.0044e6f0
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], 7
call fcn.00413460
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0044e6f0
or ax, 0xffff
jmp 0x4167b9
lea ecx, [esp + 0x10]
call fcn.0044e950
cmp ax, 0x2f
jle 0x4162f6
push 0x2a
lea ecx, [esp + 0x14]
call fcn.0044e8c0
push 0x2b
lea ecx, [esp + 0x14]
mov byte [0x486e3e], al
call fcn.0044e8c0
push 0x2c
lea ecx, [esp + 0x14]
mov byte [0x486e3f], al
call fcn.0044e8c0
push 0x2d
lea ecx, [esp + 0x14]
mov byte [0x486e40], al
call fcn.0044e8c0
push 0x2e
lea ecx, [esp + 0x14]
mov byte [0x486e41], al
call fcn.0044e8c0
push 0x2f
lea ecx, [esp + 0x14]
mov byte [0x486e42], al
call fcn.0044e8c0
mov byte [0x486e43], al
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
lea ebx, [edi + 4]
push ecx
push eax
push eax
mov dword [esp + 0x20], ebx
call fcn.00414860
add esp, 0xc
mov esi, eax
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push esi
call fcn.00413c80
mov dword [ebx + 8], esi
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov cl, byte [esp + eax + 0x38]
lea eax, [esp + 0x40]
mov byte [esp + 0x45], cl
push eax
mov ecx, edi
call fcn.0041c9b0
test ax, ax
jle 0x4166d6
mov cl, byte [esp + 0x18]
add cl, 0xb
push ecx
push 5
lea ecx, [esp + 0x24]
call fcn.0044e8d0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0044e5c0
lea ecx, [esp + 0x88]
call fcn.0044e790
mov edi, 0x4930f8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x8c]
push ebp
call fcn.00413860
test al, al
je 0x4163c6
mov edi, dword [esp + 0x8c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x4930f8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00413840
mov eax, dword [esp + 0x18]
cmp eax, 5
ja case.default.0x4163d3
jmp dword [eax*4 + 0x4167d0]
xor edi, edi
lea ecx, [edi + 5]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044e8c0
mov edx, dword [0x47814c]
mov ecx, dword [esp + 0x90]
sub edx, ecx
mov bl, al
cmp edx, 1
ja 0x416404
call fcn.00467340
mov eax, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [eax + 1]
push esi
call fcn.00413860
test al, al
je 0x416446
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
push esi
lea eax, [edx + ecx]
movsx ecx, bl
mov ch, cl
mov byte [eax], cl
lea ecx, [esp + 0x8c]
call fcn.00413840
inc edi
cmp edi, 0xb
jl 0x4163dc
jmp 0x4166b7
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.0044e8c0
mov ecx, dword [0x47814c]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x41647b
call fcn.00467340
mov edx, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [edx + 1]
push esi
call fcn.00413860
test al, al
je 0x4164bc
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x8c]
mov byte [eax], dl
call fcn.00413840
inc edi
cmp edi, 4
jl 0x416453
jmp 0x4166b7
xor edi, edi
lea edx, [edi + 5]
lea ecx, [esp + 0x10]
push edx
call fcn.0044e8c0
mov edx, dword [esp + 0x90]
mov bl, al
mov eax, dword [0x47814c]
sub eax, edx
cmp eax, 1
ja 0x4164f0
call fcn.00467340
mov ecx, dword [esp + 0x90]
push 0
lea esi, [ecx + 1]
lea ecx, [esp + 0x8c]
push esi
call fcn.00413860
test al, al
je 0x416531
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
movsx ecx, bl
add eax, edx
mov ch, cl
push esi
mov byte [eax], cl
lea ecx, [esp + 0x8c]
call fcn.00413840
inc edi
cmp edi, 0xb
jl 0x4164c9
jmp 0x4166b7
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.0044e8c0
mov ecx, dword [0x47814c]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x416566
call fcn.00467340
mov edx, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [edx + 1]
push esi
call fcn.00413860
test al, al
je 0x4165a7
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x8c]
mov byte [eax], dl
call fcn.00413840
inc edi
cmp edi, 3
jl 0x41653e
jmp 0x4166b7
push 9
lea ecx, [esp + 0x14]
call fcn.0044e8c0
mov dl, al
push 0xa
and edx, 0xff
lea ecx, [esp + 0x14]
shl edx, 8
mov dword [esp + 0x30], edx
call fcn.0044e8c0
mov edx, dword [esp + 0x2c]
and eax, 0xff
add edx, eax
lea eax, [esp + 0x54]
push edx
push 0x48699c
push eax
call fcn.00467c1a
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x8c]
push ebp
call fcn.00413860
test al, al
je case.default.0x4163d3
mov edi, dword [esp + 0x8c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00413840
jmp case.default.0x4163d3
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.0044e8c0
mov ecx, dword [0x47814c]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x416670
call fcn.00467340
mov edx, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [edx + 1]
push esi
call fcn.00413860
test al, al
je 0x4166b1
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x8c]
mov byte [eax], dl
call fcn.00413840
inc edi
cmp edi, 0xd
jl 0x416648
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
lea edx, [esp + 0x84]
push edx
push 1
push eax
mov ecx, ebx
call fcn.004139a0
mov edi, dword [esp + 0x30]
xor ebp, ebp
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 6
mov dword [esp + 0x18], eax
jl 0x416323
mov eax, dword [ebx + 4]
cmp eax, ebp
jne 0x4166f3
xor ebx, ebx
jmp 0x41670b
mov ebx, dword [ebx + 8]
sub ebx, eax
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
cmp esi, edi
mov byte [esp + 0x7c], 5
je 0x41672e
mov ecx, esi
call fcn.0044e6f0
add esi, 4
cmp esi, edi
jne 0x41671c
mov esi, dword [esp + 0x48]
push esi
call fcn.00467320
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov byte [esp + 0x7c], 4
call fcn.0044e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 3
call fcn.0044e6f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 2
call fcn.0044e6f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call fcn.0044e6f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.0044e6f0
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], 8
call fcn.00413460
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0044e6f0
mov ax, bx
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 0x14